Interface CustomConfigOrBuilder (2.30.0)

public interface CustomConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCustomOutput()

public abstract CustomConfig.CustomOutputSpec getCustomOutput()

Custom output properties.

.google.cloud.securitycenter.v1.CustomConfig.CustomOutputSpec custom_output = 2;

Returns
TypeDescription
CustomConfig.CustomOutputSpec

The customOutput.

getCustomOutputOrBuilder()

public abstract CustomConfig.CustomOutputSpecOrBuilder getCustomOutputOrBuilder()

Custom output properties.

.google.cloud.securitycenter.v1.CustomConfig.CustomOutputSpec custom_output = 2;

Returns
TypeDescription
CustomConfig.CustomOutputSpecOrBuilder

getDescription()

public abstract String getDescription()

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;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

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;

Returns
TypeDescription
ByteString

The bytes for description.

getPredicate()

public abstract Expr getPredicate()

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;

Returns
TypeDescription
com.google.type.Expr

The predicate.

getPredicateOrBuilder()

public abstract ExprOrBuilder getPredicateOrBuilder()

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;

Returns
TypeDescription
com.google.type.ExprOrBuilder

getRecommendation()

public abstract String getRecommendation()

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;

Returns
TypeDescription
String

The recommendation.

getRecommendationBytes()

public abstract ByteString getRecommendationBytes()

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;

Returns
TypeDescription
ByteString

The bytes for recommendation.

getResourceSelector()

public abstract CustomConfig.ResourceSelector getResourceSelector()

The resource types that the custom module operates on. Each custom module can specify up to 5 resource types.

.google.cloud.securitycenter.v1.CustomConfig.ResourceSelector resource_selector = 3;

Returns
TypeDescription
CustomConfig.ResourceSelector

The resourceSelector.

getResourceSelectorOrBuilder()

public abstract CustomConfig.ResourceSelectorOrBuilder getResourceSelectorOrBuilder()

The resource types that the custom module operates on. Each custom module can specify up to 5 resource types.

.google.cloud.securitycenter.v1.CustomConfig.ResourceSelector resource_selector = 3;

Returns
TypeDescription
CustomConfig.ResourceSelectorOrBuilder

getSeverity()

public abstract CustomConfig.Severity getSeverity()

The severity to assign to findings generated by the module.

.google.cloud.securitycenter.v1.CustomConfig.Severity severity = 4;

Returns
TypeDescription
CustomConfig.Severity

The severity.

getSeverityValue()

public abstract int getSeverityValue()

The severity to assign to findings generated by the module.

.google.cloud.securitycenter.v1.CustomConfig.Severity severity = 4;

Returns
TypeDescription
int

The enum numeric value on the wire for severity.

hasCustomOutput()

public abstract boolean hasCustomOutput()

Custom output properties.

.google.cloud.securitycenter.v1.CustomConfig.CustomOutputSpec custom_output = 2;

Returns
TypeDescription
boolean

Whether the customOutput field is set.

hasPredicate()

public abstract boolean hasPredicate()

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;

Returns
TypeDescription
boolean

Whether the predicate field is set.

hasResourceSelector()

public abstract boolean hasResourceSelector()

The resource types that the custom module operates on. Each custom module can specify up to 5 resource types.

.google.cloud.securitycenter.v1.CustomConfig.ResourceSelector resource_selector = 3;

Returns
TypeDescription
boolean

Whether the resourceSelector field is set.