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 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.