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 classMitreAttack.BuilderMITRE ATT&CK tactics and techniques related to this finding.static classMitreAttack.TacticMITRE ATT&CK tactics that can be referenced by SCC findings.static classMitreAttack.TechniqueMITRE 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 intADDITIONAL_TACTICS_FIELD_NUMBERstatic intADDITIONAL_TECHNIQUES_FIELD_NUMBERstatic intPRIMARY_TACTIC_FIELD_NUMBERstatic intPRIMARY_TECHNIQUES_FIELD_NUMBERstatic intVERSION_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)MitreAttack.TacticgetAdditionalTactics(int index)Additional MITRE ATT&CK tactics related to this finding, if any.intgetAdditionalTacticsCount()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.intgetAdditionalTacticsValue(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.TechniquegetAdditionalTechniques(int index)Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques.intgetAdditionalTechniquesCount()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.intgetAdditionalTechniquesValue(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 MitreAttackgetDefaultInstance()MitreAttackgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<MitreAttack>getParserForType()MitreAttack.TacticgetPrimaryTactic()The MITRE ATT&CK tactic most closely represented by this finding, if any.intgetPrimaryTacticValue()The MITRE ATT&CK tactic most closely represented by this finding, if any.MitreAttack.TechniquegetPrimaryTechniques(int index)The MITRE ATT&CK technique most closely represented by this finding, if any.intgetPrimaryTechniquesCount()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.intgetPrimaryTechniquesValue(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.intgetSerializedSize()StringgetVersion()The MITRE ATT&CK version referenced by the above fields.com.google.protobuf.ByteStringgetVersionBytes()The MITRE ATT&CK version referenced by the above fields.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static MitreAttack.BuildernewBuilder()static MitreAttack.BuildernewBuilder(MitreAttack prototype)MitreAttack.BuildernewBuilderForType()protected MitreAttack.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static MitreAttackparseDelimitedFrom(InputStream input)static MitreAttackparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MitreAttackparseFrom(byte[] data)static MitreAttackparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MitreAttackparseFrom(com.google.protobuf.ByteString data)static MitreAttackparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MitreAttackparseFrom(com.google.protobuf.CodedInputStream input)static MitreAttackparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MitreAttackparseFrom(InputStream input)static MitreAttackparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MitreAttackparseFrom(ByteBuffer data)static MitreAttackparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<MitreAttack>parser()MitreAttack.BuildertoBuilder()voidwriteTo(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:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein 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:
getPrimaryTacticValuein 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:
getPrimaryTacticin 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:
getPrimaryTechniquesListin 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:
getPrimaryTechniquesCountin 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:
getPrimaryTechniquesin 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:
getPrimaryTechniquesValueListin 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:
getPrimaryTechniquesValuein 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:
getAdditionalTacticsListin 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:
getAdditionalTacticsCountin 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:
getAdditionalTacticsin 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:
getAdditionalTacticsValueListin 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:
getAdditionalTacticsValuein 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:
getAdditionalTechniquesListin 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:
getAdditionalTechniquesCountin 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:
getAdditionalTechniquesin 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:
getAdditionalTechniquesValueListin 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:
getAdditionalTechniquesValuein 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:
getVersionin 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:
getVersionBytesin interfaceMitreAttackOrBuilder- Returns:
- The bytes for version.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein 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:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MitreAttack.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein 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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public MitreAttack getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-