GoogleCloudSecuritycenterV1CustomConfig class

Defines the properties in a custom module configuration for Security Health Analytics. Use the custom module configuration to create custom detectors that generate custom findings for resources that you specify.

Constructors

GoogleCloudSecuritycenterV1CustomConfig({Input<GoogleCloudSecuritycenterV1CustomOutputSpec>? customOutput, Input<String>? description, Input<Expr>? predicate, Input<String>? recommendation, Input<GoogleCloudSecuritycenterV1ResourceSelector>? resourceSelector, Input<GoogleCloudSecuritycenterV1CustomConfigSeverity>? severity})
Creates a new GoogleCloudSecuritycenterV1CustomConfig. customOutput Custom output properties. description Text that describes the vulnerability or misconfiguration that the custom module detects. This explanation is returned with each finding instance to help investigators understand the detected issue. The text must be enclosed in quotation marks. predicate The CEL expression to evaluate to produce findings. When the expression evaluates to true against a resource, a finding is generated. recommendation An explanation of the recommended steps that security teams can take to resolve the detected issue. This explanation is returned with each finding generated by this module in the nextSteps property of the finding JSON. resourceSelector The resource types that the custom module operates on. Each custom module can specify up to 5 resource types. severity The severity to assign to findings generated by the module.
const
GoogleCloudSecuritycenterV1CustomConfig.fromMap(Map<String, dynamic> map)
factory

Properties

customOutput → Input<GoogleCloudSecuritycenterV1CustomOutputSpec>?
Custom output properties.
final
description → Input<String>?
Text that describes the vulnerability or misconfiguration that the custom module detects. This explanation is returned with each finding instance to help investigators understand the detected issue. The text must be enclosed in quotation marks.
final
hashCode → int
The hash code for this object.
no setterinherited
predicate → Input<Expr>?
The CEL expression to evaluate to produce findings. When the expression evaluates to true against a resource, a finding is generated.
final
recommendation → Input<String>?
An explanation of the recommended steps that security teams can take to resolve the detected issue. This explanation is returned with each finding generated by this module in the nextSteps property of the finding JSON.
final
resourceSelector → Input<GoogleCloudSecuritycenterV1ResourceSelector>?
The resource types that the custom module operates on. Each custom module can specify up to 5 resource types.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
severity → Input<GoogleCloudSecuritycenterV1CustomConfigSeverity>?
The severity to assign to findings generated by the module.
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