public sealed class CustomConfig : IMessage<CustomConfig>, IEquatable<CustomConfig>, IDeepCloneable<CustomConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Security Command Center 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
GoogleCloudGoogle.Cloud.SecurityCenterV1Assembly
Google.Cloud.SecurityCenter.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; }
Custom output properties.
Property Value | |
---|---|
Type | Description |
CustomConfigTypesCustomOutputSpec |
Description
public string Description { get; set; }
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; }
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; }
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; }
The resource types that the custom module operates on. Each custom module can specify up to 5 resource types.
Property Value | |
---|---|
Type | Description |
CustomConfigTypesResourceSelector |
Severity
public CustomConfig.Types.Severity Severity { get; set; }
The severity to assign to findings generated by the module.
Property Value | |
---|---|
Type | Description |
CustomConfigTypesSeverity |