Interface CustomConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CustomConfig
,CustomConfig.Builder
public interface CustomConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CustomConfig.CustomOutputSpec
getCustomOutput()
Custom output properties.CustomConfig.CustomOutputSpecOrBuilder
getCustomOutputOrBuilder()
Custom output properties.String
getDescription()
Text that describes the vulnerability or misconfiguration that the custom module detects.com.google.protobuf.ByteString
getDescriptionBytes()
Text that describes the vulnerability or misconfiguration that the custom module detects.com.google.type.Expr
getPredicate()
The CEL expression to evaluate to produce findings.com.google.type.ExprOrBuilder
getPredicateOrBuilder()
The CEL expression to evaluate to produce findings.String
getRecommendation()
An explanation of the recommended steps that security teams can take to resolve the detected issue.com.google.protobuf.ByteString
getRecommendationBytes()
An explanation of the recommended steps that security teams can take to resolve the detected issue.CustomConfig.ResourceSelector
getResourceSelector()
The resource types that the custom module operates on.CustomConfig.ResourceSelectorOrBuilder
getResourceSelectorOrBuilder()
The resource types that the custom module operates on.CustomConfig.Severity
getSeverity()
The severity to assign to findings generated by the module.int
getSeverityValue()
The severity to assign to findings generated by the module.boolean
hasCustomOutput()
Custom output properties.boolean
hasPredicate()
The CEL expression to evaluate to produce findings.boolean
hasResourceSelector()
The resource types that the custom module operates on.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasPredicate
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:
- Whether the predicate field is set.
-
getPredicate
com.google.type.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:
- The predicate.
-
getPredicateOrBuilder
com.google.type.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;
-
hasCustomOutput
boolean hasCustomOutput()
Custom output properties.
.google.cloud.securitycenter.v1.CustomConfig.CustomOutputSpec custom_output = 2;
- Returns:
- Whether the customOutput field is set.
-
getCustomOutput
CustomConfig.CustomOutputSpec getCustomOutput()
Custom output properties.
.google.cloud.securitycenter.v1.CustomConfig.CustomOutputSpec custom_output = 2;
- Returns:
- The customOutput.
-
getCustomOutputOrBuilder
CustomConfig.CustomOutputSpecOrBuilder getCustomOutputOrBuilder()
Custom output properties.
.google.cloud.securitycenter.v1.CustomConfig.CustomOutputSpec custom_output = 2;
-
hasResourceSelector
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:
- Whether the resourceSelector field is set.
-
getResourceSelector
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:
- The resourceSelector.
-
getResourceSelectorOrBuilder
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;
-
getSeverityValue
int getSeverityValue()
The severity to assign to findings generated by the module.
.google.cloud.securitycenter.v1.CustomConfig.Severity severity = 4;
- Returns:
- The enum numeric value on the wire for severity.
-
getSeverity
CustomConfig.Severity getSeverity()
The severity to assign to findings generated by the module.
.google.cloud.securitycenter.v1.CustomConfig.Severity severity = 4;
- Returns:
- The severity.
-
getDescription
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:
- The description.
-
getDescriptionBytes
com.google.protobuf.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:
- The bytes for description.
-
getRecommendation
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:
- The recommendation.
-
getRecommendationBytes
com.google.protobuf.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:
- The bytes for recommendation.
-
-