PosturePolicySetPolicyConstraintSecurityHealthAnalyticsCustomModuleConfig class
Constructors
-
PosturePolicySetPolicyConstraintSecurityHealthAnalyticsCustomModuleConfig({Input<
PosturePolicySetPolicyConstraintSecurityHealthAnalyticsCustomModuleConfigCustomOutput?> ? customOutput, Input<String?> ? description, required Input<PosturePolicySetPolicyConstraintSecurityHealthAnalyticsCustomModuleConfigPredicate> predicate, Input<String?> ? recommendation, required Input<PosturePolicySetPolicyConstraintSecurityHealthAnalyticsCustomModuleConfigResourceSelector> resourceSelector, required Input<String> severity}) -
Creates a new PosturePolicySetPolicyConstraintSecurityHealthAnalyticsCustomModuleConfig.
customOutputCustom output properties. A set of optional name-value pairs that define custom source properties todescriptionText that describes the vulnerability or misconfiguration that the custompredicateThe CEL expression to evaluate to produce findings.When the expressionrecommendationAn explanation of the recommended steps that security teams can take toresourceSelectorThe resource types that the custom module operates on. Each custom moduleseverityThe severity to assign to findings generated by the module.const -
PosturePolicySetPolicyConstraintSecurityHealthAnalyticsCustomModuleConfig.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
customOutput
→ Input<
PosturePolicySetPolicyConstraintSecurityHealthAnalyticsCustomModuleConfigCustomOutput?> ? -
Custom output properties. A set of optional name-value pairs that define custom source properties to
return with each finding that is generated by the custom module. The custom
source properties that are defined here are included in the finding JSON
under
sourceProperties. Structure is documented below.final -
description
→ Input<
String?> ? -
Text that describes the vulnerability or misconfiguration that the custom
module detects.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
predicate
→ Input<
PosturePolicySetPolicyConstraintSecurityHealthAnalyticsCustomModuleConfigPredicate> -
The CEL expression to evaluate to produce findings.When the expression
evaluates to true against a resource, a finding is generated.
Structure is documented below.
final
-
recommendation
→ Input<
String?> ? -
An explanation of the recommended steps that security teams can take to
resolve the detected issue
final
-
resourceSelector
→ Input<
PosturePolicySetPolicyConstraintSecurityHealthAnalyticsCustomModuleConfigResourceSelector> -
The resource types that the custom module operates on. Each custom module
can specify up to 5 resource types.
Structure is documented below.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
severity
→ Input<
String> -
The severity to assign to findings generated by the module.
Possible values are:
SEVERITY_UNSPECIFIED,CRITICAL,HIGH,MEDIUM,LOW.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited