public final class CustomConfig extends com.google.protobuf.GeneratedMessageV3 implements CustomConfigOrBuilder
Defines the properties in a custom module configuration for Security Health Analytics. Use the custom module configuration to create custom detectors that generate custom findings for resources that you specify.Protobuf type
google.cloud.securitycenter.v1.CustomConfig| Modifier and Type | Class and Description |
|---|---|
static class |
CustomConfig.Builder
Defines the properties in a custom module configuration for Security
Health Analytics.
|
static class |
CustomConfig.CustomOutputSpec
A set of optional name-value pairs that define custom source properties to
return with each finding that is generated by the custom module.
|
static interface |
CustomConfig.CustomOutputSpecOrBuilder |
static class |
CustomConfig.ResourceSelector
Resource for selecting resource type.
|
static interface |
CustomConfig.ResourceSelectorOrBuilder |
static class |
CustomConfig.Severity
Defines the valid value options for the severity of a finding.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CUSTOM_OUTPUT_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
PREDICATE_FIELD_NUMBER |
static int |
RECOMMENDATION_FIELD_NUMBER |
static int |
RESOURCE_SELECTOR_FIELD_NUMBER |
static int |
SEVERITY_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
CustomConfig.CustomOutputSpec |
getCustomOutput()
Custom output properties.
|
CustomConfig.CustomOutputSpecOrBuilder |
getCustomOutputOrBuilder()
Custom output properties.
|
static CustomConfig |
getDefaultInstance() |
CustomConfig |
getDefaultInstanceForType() |
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.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<CustomConfig> |
getParserForType() |
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.
|
int |
getSerializedSize() |
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.
|
int |
hashCode() |
boolean |
hasPredicate()
The CEL expression to evaluate to produce findings.
|
boolean |
hasResourceSelector()
The resource types that the custom module operates on.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CustomConfig.Builder |
newBuilder() |
static CustomConfig.Builder |
newBuilder(CustomConfig prototype) |
CustomConfig.Builder |
newBuilderForType() |
protected CustomConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static CustomConfig |
parseDelimitedFrom(InputStream input) |
static CustomConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CustomConfig |
parseFrom(byte[] data) |
static CustomConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CustomConfig |
parseFrom(ByteBuffer data) |
static CustomConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CustomConfig |
parseFrom(com.google.protobuf.ByteString data) |
static CustomConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CustomConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CustomConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CustomConfig |
parseFrom(InputStream input) |
static CustomConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CustomConfig> |
parser() |
CustomConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int PREDICATE_FIELD_NUMBER
public static final int CUSTOM_OUTPUT_FIELD_NUMBER
public static final int RESOURCE_SELECTOR_FIELD_NUMBER
public static final int SEVERITY_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int RECOMMENDATION_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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;hasPredicate in interface CustomConfigOrBuilderpublic 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;getPredicate in interface CustomConfigOrBuilderpublic 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;getPredicateOrBuilder in interface CustomConfigOrBuilderpublic boolean hasCustomOutput()
Custom output properties.
.google.cloud.securitycenter.v1.CustomConfig.CustomOutputSpec custom_output = 2;hasCustomOutput in interface CustomConfigOrBuilderpublic CustomConfig.CustomOutputSpec getCustomOutput()
Custom output properties.
.google.cloud.securitycenter.v1.CustomConfig.CustomOutputSpec custom_output = 2;getCustomOutput in interface CustomConfigOrBuilderpublic CustomConfig.CustomOutputSpecOrBuilder getCustomOutputOrBuilder()
Custom output properties.
.google.cloud.securitycenter.v1.CustomConfig.CustomOutputSpec custom_output = 2;getCustomOutputOrBuilder in interface CustomConfigOrBuilderpublic 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;
hasResourceSelector in interface CustomConfigOrBuilderpublic 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;
getResourceSelector in interface CustomConfigOrBuilderpublic 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;
getResourceSelectorOrBuilder in interface CustomConfigOrBuilderpublic int getSeverityValue()
The severity to assign to findings generated by the module.
.google.cloud.securitycenter.v1.CustomConfig.Severity severity = 4;getSeverityValue in interface CustomConfigOrBuilderpublic CustomConfig.Severity getSeverity()
The severity to assign to findings generated by the module.
.google.cloud.securitycenter.v1.CustomConfig.Severity severity = 4;getSeverity in interface CustomConfigOrBuilderpublic 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;getDescription in interface CustomConfigOrBuilderpublic 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;getDescriptionBytes in interface CustomConfigOrBuilderpublic 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;getRecommendation in interface CustomConfigOrBuilderpublic 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;getRecommendationBytes in interface CustomConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static CustomConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CustomConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CustomConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CustomConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CustomConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CustomConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CustomConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static CustomConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CustomConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static CustomConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CustomConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static CustomConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic CustomConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static CustomConfig.Builder newBuilder()
public static CustomConfig.Builder newBuilder(CustomConfig prototype)
public CustomConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected CustomConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static CustomConfig getDefaultInstance()
public static com.google.protobuf.Parser<CustomConfig> parser()
public com.google.protobuf.Parser<CustomConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public CustomConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.