Class MitreAttack (2.51.0)

public final class MitreAttack extends GeneratedMessageV3 implements MitreAttackOrBuilder

MITRE ATT&CK tactics and techniques related to this finding. See: https://attack.mitre.org

Protobuf type google.cloud.securitycenter.v2.MitreAttack

Static Fields

ADDITIONAL_TACTICS_FIELD_NUMBER

public static final int ADDITIONAL_TACTICS_FIELD_NUMBER
Field Value
Type Description
int

ADDITIONAL_TECHNIQUES_FIELD_NUMBER

public static final int ADDITIONAL_TECHNIQUES_FIELD_NUMBER
Field Value
Type Description
int

PRIMARY_TACTIC_FIELD_NUMBER

public static final int PRIMARY_TACTIC_FIELD_NUMBER
Field Value
Type Description
int

PRIMARY_TECHNIQUES_FIELD_NUMBER

public static final int PRIMARY_TECHNIQUES_FIELD_NUMBER
Field Value
Type Description
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static MitreAttack getDefaultInstance()
Returns
Type Description
MitreAttack

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static MitreAttack.Builder newBuilder()
Returns
Type Description
MitreAttack.Builder

newBuilder(MitreAttack prototype)

public static MitreAttack.Builder newBuilder(MitreAttack prototype)
Parameter
Name Description
prototype MitreAttack
Returns
Type Description
MitreAttack.Builder

parseDelimitedFrom(InputStream input)

public static MitreAttack parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MitreAttack
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MitreAttack parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MitreAttack
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static MitreAttack parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
MitreAttack
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MitreAttack parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MitreAttack
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MitreAttack parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
MitreAttack
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MitreAttack parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MitreAttack
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MitreAttack parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
MitreAttack
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MitreAttack parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MitreAttack
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static MitreAttack parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MitreAttack
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MitreAttack parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MitreAttack
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static MitreAttack parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
MitreAttack
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MitreAttack parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MitreAttack
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<MitreAttack> parser()
Returns
Type Description
Parser<MitreAttack>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAdditionalTactics(int index)

public MitreAttack.Tactic getAdditionalTactics(int index)

Additional MITRE ATT&CK tactics related to this finding, if any.

repeated .google.cloud.securitycenter.v2.MitreAttack.Tactic additional_tactics = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
MitreAttack.Tactic

The additionalTactics at the given index.

getAdditionalTacticsCount()

public int getAdditionalTacticsCount()

Additional MITRE ATT&CK tactics related to this finding, if any.

repeated .google.cloud.securitycenter.v2.MitreAttack.Tactic additional_tactics = 3;

Returns
Type Description
int

The count of additionalTactics.

getAdditionalTacticsList()

public List<MitreAttack.Tactic> getAdditionalTacticsList()

Additional MITRE ATT&CK tactics related to this finding, if any.

repeated .google.cloud.securitycenter.v2.MitreAttack.Tactic additional_tactics = 3;

Returns
Type Description
List<Tactic>

A list containing the additionalTactics.

getAdditionalTacticsValue(int index)

public int getAdditionalTacticsValue(int index)

Additional MITRE ATT&CK tactics related to this finding, if any.

repeated .google.cloud.securitycenter.v2.MitreAttack.Tactic additional_tactics = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of 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.v2.MitreAttack.Tactic additional_tactics = 3;

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for additionalTactics.

getAdditionalTechniques(int index)

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.v2.MitreAttack.Technique additional_techniques = 4;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
MitreAttack.Technique

The additionalTechniques at the given index.

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.v2.MitreAttack.Technique additional_techniques = 4;

Returns
Type Description
int

The count of additionalTechniques.

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.v2.MitreAttack.Technique additional_techniques = 4;

Returns
Type Description
List<Technique>

A list containing the additionalTechniques.

getAdditionalTechniquesValue(int index)

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.v2.MitreAttack.Technique additional_techniques = 4;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of 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.v2.MitreAttack.Technique additional_techniques = 4;

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for additionalTechniques.

getDefaultInstanceForType()

public MitreAttack getDefaultInstanceForType()
Returns
Type Description
MitreAttack

getParserForType()

public Parser<MitreAttack> getParserForType()
Returns
Type Description
Parser<MitreAttack>
Overrides

getPrimaryTactic()

public MitreAttack.Tactic getPrimaryTactic()

The MITRE ATT&CK tactic most closely represented by this finding, if any.

.google.cloud.securitycenter.v2.MitreAttack.Tactic primary_tactic = 1;

Returns
Type Description
MitreAttack.Tactic

The primaryTactic.

getPrimaryTacticValue()

public int getPrimaryTacticValue()

The MITRE ATT&CK tactic most closely represented by this finding, if any.

.google.cloud.securitycenter.v2.MitreAttack.Tactic primary_tactic = 1;

Returns
Type Description
int

The enum numeric value on the wire for primaryTactic.

getPrimaryTechniques(int index)

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.v2.MitreAttack.Technique primary_techniques = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
MitreAttack.Technique

The primaryTechniques at the given index.

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.v2.MitreAttack.Technique primary_techniques = 2;

Returns
Type Description
int

The count of primaryTechniques.

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.v2.MitreAttack.Technique primary_techniques = 2;

Returns
Type Description
List<Technique>

A list containing the primaryTechniques.

getPrimaryTechniquesValue(int index)

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.v2.MitreAttack.Technique primary_techniques = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of 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.v2.MitreAttack.Technique primary_techniques = 2;

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for primaryTechniques.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getVersion()

public String getVersion()

The MITRE ATT&CK version referenced by the above fields. E.g. "8".

string version = 5;

Returns
Type Description
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

The MITRE ATT&CK version referenced by the above fields. E.g. "8".

string version = 5;

Returns
Type Description
ByteString

The bytes for version.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public MitreAttack.Builder newBuilderForType()
Returns
Type Description
MitreAttack.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MitreAttack.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
MitreAttack.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public MitreAttack.Builder toBuilder()
Returns
Type Description
MitreAttack.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException