Interface CustomConfigOrBuilder (0.23.0)

public interface CustomConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCustomOutput()

public abstract CustomConfig.CustomOutputSpec getCustomOutput()

Optional. Custom output properties.

.google.cloud.securitycentermanagement.v1.CustomConfig.CustomOutputSpec custom_output = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CustomConfig.CustomOutputSpec

The customOutput.

getCustomOutputOrBuilder()

public abstract CustomConfig.CustomOutputSpecOrBuilder getCustomOutputOrBuilder()

Optional. Custom output properties.

.google.cloud.securitycentermanagement.v1.CustomConfig.CustomOutputSpec custom_output = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CustomConfig.CustomOutputSpecOrBuilder

getDescription()

public abstract String getDescription()

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.

string description = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

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.

string description = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for description.

getPredicate()

public abstract Expr getPredicate()

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.

.google.type.Expr predicate = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.Expr

The predicate.

getPredicateOrBuilder()

public abstract ExprOrBuilder getPredicateOrBuilder()

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.

.google.type.Expr predicate = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.ExprOrBuilder

getRecommendation()

public abstract String getRecommendation()

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.

string recommendation = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The recommendation.

getRecommendationBytes()

public abstract ByteString getRecommendationBytes()

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.

string recommendation = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for recommendation.

getResourceSelector()

public abstract CustomConfig.ResourceSelector getResourceSelector()

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.

.google.cloud.securitycentermanagement.v1.CustomConfig.ResourceSelector resource_selector = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CustomConfig.ResourceSelector

The resourceSelector.

getResourceSelectorOrBuilder()

public abstract CustomConfig.ResourceSelectorOrBuilder getResourceSelectorOrBuilder()

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.

.google.cloud.securitycentermanagement.v1.CustomConfig.ResourceSelector resource_selector = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CustomConfig.ResourceSelectorOrBuilder

getSeverity()

public abstract CustomConfig.Severity getSeverity()

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

.google.cloud.securitycentermanagement.v1.CustomConfig.Severity severity = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CustomConfig.Severity

The severity.

getSeverityValue()

public abstract int getSeverityValue()

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

.google.cloud.securitycentermanagement.v1.CustomConfig.Severity severity = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for severity.

hasCustomOutput()

public abstract boolean hasCustomOutput()

Optional. Custom output properties.

.google.cloud.securitycentermanagement.v1.CustomConfig.CustomOutputSpec custom_output = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the customOutput field is set.

hasPredicate()

public abstract boolean hasPredicate()

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.

.google.type.Expr predicate = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the predicate field is set.

hasResourceSelector()

public abstract boolean hasResourceSelector()

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.

.google.cloud.securitycentermanagement.v1.CustomConfig.ResourceSelector resource_selector = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the resourceSelector field is set.