com.google.cloud.securitycenter.v1.CustomConfigOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-securitycenter-v1 Show documentation
Show all versions of proto-google-cloud-securitycenter-v1 Show documentation
PROTO library for proto-google-cloud-securitycenter-v1
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/securitycenter/v1/security_health_analytics_custom_config.proto
// Protobuf Java Version: 3.25.3
package com.google.cloud.securitycenter.v1;
public interface CustomConfigOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.CustomConfig)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* 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;
*
* @return Whether the predicate field is set.
*/
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;
*
* @return The predicate.
*/
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;
*/
com.google.type.ExprOrBuilder getPredicateOrBuilder();
/**
*
*
*
* Custom output properties.
*
*
* .google.cloud.securitycenter.v1.CustomConfig.CustomOutputSpec custom_output = 2;
*
* @return Whether the customOutput field is set.
*/
boolean hasCustomOutput();
/**
*
*
*
* Custom output properties.
*
*
* .google.cloud.securitycenter.v1.CustomConfig.CustomOutputSpec custom_output = 2;
*
* @return The customOutput.
*/
com.google.cloud.securitycenter.v1.CustomConfig.CustomOutputSpec getCustomOutput();
/**
*
*
*
* Custom output properties.
*
*
* .google.cloud.securitycenter.v1.CustomConfig.CustomOutputSpec custom_output = 2;
*/
com.google.cloud.securitycenter.v1.CustomConfig.CustomOutputSpecOrBuilder
getCustomOutputOrBuilder();
/**
*
*
*
* 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;
*
*
* @return Whether the resourceSelector field is set.
*/
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;
*
*
* @return The resourceSelector.
*/
com.google.cloud.securitycenter.v1.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;
*
*/
com.google.cloud.securitycenter.v1.CustomConfig.ResourceSelectorOrBuilder
getResourceSelectorOrBuilder();
/**
*
*
*
* The severity to assign to findings generated by the module.
*
*
* .google.cloud.securitycenter.v1.CustomConfig.Severity severity = 4;
*
* @return The enum numeric value on the wire for severity.
*/
int getSeverityValue();
/**
*
*
*
* The severity to assign to findings generated by the module.
*
*
* .google.cloud.securitycenter.v1.CustomConfig.Severity severity = 4;
*
* @return The severity.
*/
com.google.cloud.securitycenter.v1.CustomConfig.Severity getSeverity();
/**
*
*
*
* 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;
*
* @return The description.
*/
java.lang.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;
*
* @return The bytes for description.
*/
com.google.protobuf.ByteString getDescriptionBytes();
/**
*
*
*
* 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;
*
* @return The recommendation.
*/
java.lang.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;
*
* @return The bytes for recommendation.
*/
com.google.protobuf.ByteString getRecommendationBytes();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy