Security Center Management v1 API - Class CustomConfig (1.2.0)

public sealed class CustomConfig : IMessage<CustomConfig>, IEquatable<CustomConfig>, IDeepCloneable<CustomConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Security Center Management v1 API class CustomConfig.

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.

Inheritance

object > CustomConfig

Namespace

Google.Cloud.SecurityCenterManagement.V1

Assembly

Google.Cloud.SecurityCenterManagement.V1.dll

Constructors

CustomConfig()

public CustomConfig()

CustomConfig(CustomConfig)

public CustomConfig(CustomConfig other)
Parameter
Name Description
other CustomConfig

Properties

CustomOutput

public CustomConfig.Types.CustomOutputSpec CustomOutput { get; set; }

Optional. Custom output properties.

Property Value
Type Description
CustomConfigTypesCustomOutputSpec

Description

public string Description { get; set; }

Optional. 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.

Property Value
Type Description
string

Predicate

public Expr Predicate { get; set; }

Optional. The Common Expression Language (CEL) expression to evaluate to produce findings. When the expression evaluates to true against a resource, a finding is generated.

Property Value
Type Description
Expr

Recommendation

public string Recommendation { get; set; }

Optional. 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.

Property Value
Type Description
string

ResourceSelector

public CustomConfig.Types.ResourceSelector ResourceSelector { get; set; }

Optional. The Cloud Asset Inventory resource types that the custom module operates on. For information about resource types, see Supported asset types. Each custom module can specify up to 5 resource types.

Property Value
Type Description
CustomConfigTypesResourceSelector

Severity

public CustomConfig.Types.Severity Severity { get; set; }

Optional. The severity to assign to findings generated by the module.

Property Value
Type Description
CustomConfigTypesSeverity