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.
Implements
IMessageCustomConfig, IEquatableCustomConfig, IDeepCloneableCustomConfig, IBufferMessage, IMessageNamespace
Google.Cloud.SecurityCenterManagement.V1Assembly
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 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 in the nextSteps
property of the finding
JSON.
Property Value | |
---|---|
Type | Description |
string |
ResourceSelector
public CustomConfig.Types.ResourceSelector ResourceSelector { get; set; }
Optional. The CAI resource types that the custom module operates on (see go/gcp-cai-doc/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 |