Interface CustomConfigOrBuilder (0.4.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for description.

getPredicate()

public abstract Expr getPredicate()

Optional. The 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
TypeDescription
com.google.type.Expr

The predicate.

getPredicateOrBuilder()

public abstract ExprOrBuilder getPredicateOrBuilder()

Optional. The 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
TypeDescription
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 in the nextSteps property of the finding JSON.

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

Returns
TypeDescription
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 in the nextSteps property of the finding JSON.

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

Returns
TypeDescription
ByteString

The bytes for recommendation.

getResourceSelector()

public abstract CustomConfig.ResourceSelector getResourceSelector()

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.

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

Returns
TypeDescription
CustomConfig.ResourceSelector

The resourceSelector.

getResourceSelectorOrBuilder()

public abstract CustomConfig.ResourceSelectorOrBuilder getResourceSelectorOrBuilder()

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.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the customOutput field is set.

hasPredicate()

public abstract boolean hasPredicate()

Optional. The 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
TypeDescription
boolean

Whether the predicate field is set.

hasResourceSelector()

public abstract boolean hasResourceSelector()

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.

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

Returns
TypeDescription
boolean

Whether the resourceSelector field is set.