Class MitreAttack
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.securitycenter.v1.MitreAttack
-
- All Implemented Interfaces:
MitreAttackOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class MitreAttack extends com.google.protobuf.GeneratedMessageV3 implements MitreAttackOrBuilder
MITRE ATT&CK tactics and techniques related to this finding. See: https://attack.mitre.org
Protobuf typegoogle.cloud.securitycenter.v1.MitreAttack
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MitreAttack.Builder
MITRE ATT&CK tactics and techniques related to this finding.static class
MitreAttack.Tactic
MITRE ATT&CK tactics that can be referenced by SCC findings.static class
MitreAttack.Technique
MITRE ATT&CK techniques that can be referenced by SCC findings.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static int
ADDITIONAL_TACTICS_FIELD_NUMBER
static int
ADDITIONAL_TECHNIQUES_FIELD_NUMBER
static int
PRIMARY_TACTIC_FIELD_NUMBER
static int
PRIMARY_TECHNIQUES_FIELD_NUMBER
static int
VERSION_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
MitreAttack.Tactic
getAdditionalTactics(int index)
Additional MITRE ATT&CK tactics related to this finding, if any.int
getAdditionalTacticsCount()
Additional MITRE ATT&CK tactics related to this finding, if any.List<MitreAttack.Tactic>
getAdditionalTacticsList()
Additional MITRE ATT&CK tactics related to this finding, if any.int
getAdditionalTacticsValue(int index)
Additional MITRE ATT&CK tactics related to this finding, if any.List<Integer>
getAdditionalTacticsValueList()
Additional MITRE ATT&CK tactics related to this finding, if any.MitreAttack.Technique
getAdditionalTechniques(int index)
Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques.int
getAdditionalTechniquesCount()
Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques.List<MitreAttack.Technique>
getAdditionalTechniquesList()
Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques.int
getAdditionalTechniquesValue(int index)
Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques.List<Integer>
getAdditionalTechniquesValueList()
Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques.static MitreAttack
getDefaultInstance()
MitreAttack
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Parser<MitreAttack>
getParserForType()
MitreAttack.Tactic
getPrimaryTactic()
The MITRE ATT&CK tactic most closely represented by this finding, if any.int
getPrimaryTacticValue()
The MITRE ATT&CK tactic most closely represented by this finding, if any.MitreAttack.Technique
getPrimaryTechniques(int index)
The MITRE ATT&CK technique most closely represented by this finding, if any.int
getPrimaryTechniquesCount()
The MITRE ATT&CK technique most closely represented by this finding, if any.List<MitreAttack.Technique>
getPrimaryTechniquesList()
The MITRE ATT&CK technique most closely represented by this finding, if any.int
getPrimaryTechniquesValue(int index)
The MITRE ATT&CK technique most closely represented by this finding, if any.List<Integer>
getPrimaryTechniquesValueList()
The MITRE ATT&CK technique most closely represented by this finding, if any.int
getSerializedSize()
String
getVersion()
The MITRE ATT&CK version referenced by the above fields.com.google.protobuf.ByteString
getVersionBytes()
The MITRE ATT&CK version referenced by the above fields.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static MitreAttack.Builder
newBuilder()
static MitreAttack.Builder
newBuilder(MitreAttack prototype)
MitreAttack.Builder
newBuilderForType()
protected MitreAttack.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static MitreAttack
parseDelimitedFrom(InputStream input)
static MitreAttack
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MitreAttack
parseFrom(byte[] data)
static MitreAttack
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MitreAttack
parseFrom(com.google.protobuf.ByteString data)
static MitreAttack
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MitreAttack
parseFrom(com.google.protobuf.CodedInputStream input)
static MitreAttack
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MitreAttack
parseFrom(InputStream input)
static MitreAttack
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static MitreAttack
parseFrom(ByteBuffer data)
static MitreAttack
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<MitreAttack>
parser()
MitreAttack.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
PRIMARY_TACTIC_FIELD_NUMBER
public static final int PRIMARY_TACTIC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRIMARY_TECHNIQUES_FIELD_NUMBER
public static final int PRIMARY_TECHNIQUES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ADDITIONAL_TACTICS_FIELD_NUMBER
public static final int ADDITIONAL_TACTICS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ADDITIONAL_TECHNIQUES_FIELD_NUMBER
public static final int ADDITIONAL_TECHNIQUES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getPrimaryTacticValue
public int getPrimaryTacticValue()
The MITRE ATT&CK tactic most closely represented by this finding, if any.
.google.cloud.securitycenter.v1.MitreAttack.Tactic primary_tactic = 1;
- Specified by:
getPrimaryTacticValue
in interfaceMitreAttackOrBuilder
- Returns:
- The enum numeric value on the wire for primaryTactic.
-
getPrimaryTactic
public MitreAttack.Tactic getPrimaryTactic()
The MITRE ATT&CK tactic most closely represented by this finding, if any.
.google.cloud.securitycenter.v1.MitreAttack.Tactic primary_tactic = 1;
- Specified by:
getPrimaryTactic
in interfaceMitreAttackOrBuilder
- Returns:
- The primaryTactic.
-
getPrimaryTechniquesList
public List<MitreAttack.Technique> getPrimaryTechniquesList()
The MITRE ATT&CK technique most closely represented by this finding, if any. primary_techniques is a repeated field because there are multiple levels of MITRE ATT&CK techniques. If the technique most closely represented by this finding is a sub-technique (e.g. `SCANNING_IP_BLOCKS`), both the sub-technique and its parent technique(s) will be listed (e.g. `SCANNING_IP_BLOCKS`, `ACTIVE_SCANNING`).
repeated .google.cloud.securitycenter.v1.MitreAttack.Technique primary_techniques = 2;
- Specified by:
getPrimaryTechniquesList
in interfaceMitreAttackOrBuilder
- Returns:
- A list containing the primaryTechniques.
-
getPrimaryTechniquesCount
public int getPrimaryTechniquesCount()
The MITRE ATT&CK technique most closely represented by this finding, if any. primary_techniques is a repeated field because there are multiple levels of MITRE ATT&CK techniques. If the technique most closely represented by this finding is a sub-technique (e.g. `SCANNING_IP_BLOCKS`), both the sub-technique and its parent technique(s) will be listed (e.g. `SCANNING_IP_BLOCKS`, `ACTIVE_SCANNING`).
repeated .google.cloud.securitycenter.v1.MitreAttack.Technique primary_techniques = 2;
- Specified by:
getPrimaryTechniquesCount
in interfaceMitreAttackOrBuilder
- Returns:
- The count of primaryTechniques.
-
getPrimaryTechniques
public MitreAttack.Technique getPrimaryTechniques(int index)
The MITRE ATT&CK technique most closely represented by this finding, if any. primary_techniques is a repeated field because there are multiple levels of MITRE ATT&CK techniques. If the technique most closely represented by this finding is a sub-technique (e.g. `SCANNING_IP_BLOCKS`), both the sub-technique and its parent technique(s) will be listed (e.g. `SCANNING_IP_BLOCKS`, `ACTIVE_SCANNING`).
repeated .google.cloud.securitycenter.v1.MitreAttack.Technique primary_techniques = 2;
- Specified by:
getPrimaryTechniques
in interfaceMitreAttackOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The primaryTechniques at the given index.
-
getPrimaryTechniquesValueList
public List<Integer> getPrimaryTechniquesValueList()
The MITRE ATT&CK technique most closely represented by this finding, if any. primary_techniques is a repeated field because there are multiple levels of MITRE ATT&CK techniques. If the technique most closely represented by this finding is a sub-technique (e.g. `SCANNING_IP_BLOCKS`), both the sub-technique and its parent technique(s) will be listed (e.g. `SCANNING_IP_BLOCKS`, `ACTIVE_SCANNING`).
repeated .google.cloud.securitycenter.v1.MitreAttack.Technique primary_techniques = 2;
- Specified by:
getPrimaryTechniquesValueList
in interfaceMitreAttackOrBuilder
- Returns:
- A list containing the enum numeric values on the wire for primaryTechniques.
-
getPrimaryTechniquesValue
public int getPrimaryTechniquesValue(int index)
The MITRE ATT&CK technique most closely represented by this finding, if any. primary_techniques is a repeated field because there are multiple levels of MITRE ATT&CK techniques. If the technique most closely represented by this finding is a sub-technique (e.g. `SCANNING_IP_BLOCKS`), both the sub-technique and its parent technique(s) will be listed (e.g. `SCANNING_IP_BLOCKS`, `ACTIVE_SCANNING`).
repeated .google.cloud.securitycenter.v1.MitreAttack.Technique primary_techniques = 2;
- Specified by:
getPrimaryTechniquesValue
in interfaceMitreAttackOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of primaryTechniques at the given index.
-
getAdditionalTacticsList
public List<MitreAttack.Tactic> getAdditionalTacticsList()
Additional MITRE ATT&CK tactics related to this finding, if any.
repeated .google.cloud.securitycenter.v1.MitreAttack.Tactic additional_tactics = 3;
- Specified by:
getAdditionalTacticsList
in interfaceMitreAttackOrBuilder
- Returns:
- A list containing the additionalTactics.
-
getAdditionalTacticsCount
public int getAdditionalTacticsCount()
Additional MITRE ATT&CK tactics related to this finding, if any.
repeated .google.cloud.securitycenter.v1.MitreAttack.Tactic additional_tactics = 3;
- Specified by:
getAdditionalTacticsCount
in interfaceMitreAttackOrBuilder
- Returns:
- The count of additionalTactics.
-
getAdditionalTactics
public MitreAttack.Tactic getAdditionalTactics(int index)
Additional MITRE ATT&CK tactics related to this finding, if any.
repeated .google.cloud.securitycenter.v1.MitreAttack.Tactic additional_tactics = 3;
- Specified by:
getAdditionalTactics
in interfaceMitreAttackOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The additionalTactics at the given index.
-
getAdditionalTacticsValueList
public List<Integer> getAdditionalTacticsValueList()
Additional MITRE ATT&CK tactics related to this finding, if any.
repeated .google.cloud.securitycenter.v1.MitreAttack.Tactic additional_tactics = 3;
- Specified by:
getAdditionalTacticsValueList
in interfaceMitreAttackOrBuilder
- Returns:
- A list containing the enum numeric values on the wire for additionalTactics.
-
getAdditionalTacticsValue
public int getAdditionalTacticsValue(int index)
Additional MITRE ATT&CK tactics related to this finding, if any.
repeated .google.cloud.securitycenter.v1.MitreAttack.Tactic additional_tactics = 3;
- Specified by:
getAdditionalTacticsValue
in interfaceMitreAttackOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of additionalTactics at the given index.
-
getAdditionalTechniquesList
public List<MitreAttack.Technique> getAdditionalTechniquesList()
Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques.
repeated .google.cloud.securitycenter.v1.MitreAttack.Technique additional_techniques = 4;
- Specified by:
getAdditionalTechniquesList
in interfaceMitreAttackOrBuilder
- Returns:
- A list containing the additionalTechniques.
-
getAdditionalTechniquesCount
public int getAdditionalTechniquesCount()
Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques.
repeated .google.cloud.securitycenter.v1.MitreAttack.Technique additional_techniques = 4;
- Specified by:
getAdditionalTechniquesCount
in interfaceMitreAttackOrBuilder
- Returns:
- The count of additionalTechniques.
-
getAdditionalTechniques
public MitreAttack.Technique getAdditionalTechniques(int index)
Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques.
repeated .google.cloud.securitycenter.v1.MitreAttack.Technique additional_techniques = 4;
- Specified by:
getAdditionalTechniques
in interfaceMitreAttackOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The additionalTechniques at the given index.
-
getAdditionalTechniquesValueList
public List<Integer> getAdditionalTechniquesValueList()
Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques.
repeated .google.cloud.securitycenter.v1.MitreAttack.Technique additional_techniques = 4;
- Specified by:
getAdditionalTechniquesValueList
in interfaceMitreAttackOrBuilder
- Returns:
- A list containing the enum numeric values on the wire for additionalTechniques.
-
getAdditionalTechniquesValue
public int getAdditionalTechniquesValue(int index)
Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques.
repeated .google.cloud.securitycenter.v1.MitreAttack.Technique additional_techniques = 4;
- Specified by:
getAdditionalTechniquesValue
in interfaceMitreAttackOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of additionalTechniques at the given index.
-
getVersion
public String getVersion()
The MITRE ATT&CK version referenced by the above fields. E.g. "8".
string version = 5;
- Specified by:
getVersion
in interfaceMitreAttackOrBuilder
- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()
The MITRE ATT&CK version referenced by the above fields. E.g. "8".
string version = 5;
- Specified by:
getVersionBytes
in interfaceMitreAttackOrBuilder
- Returns:
- The bytes for version.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static MitreAttack parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MitreAttack parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MitreAttack parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MitreAttack parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MitreAttack parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MitreAttack parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MitreAttack parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static MitreAttack parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static MitreAttack parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static MitreAttack parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static MitreAttack parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static MitreAttack parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public MitreAttack.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static MitreAttack.Builder newBuilder()
-
newBuilder
public static MitreAttack.Builder newBuilder(MitreAttack prototype)
-
toBuilder
public MitreAttack.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MitreAttack.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static MitreAttack getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<MitreAttack> parser()
-
getParserForType
public com.google.protobuf.Parser<MitreAttack> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public MitreAttack getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-