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.v1.MitreAttack
Static Fields
ADDITIONAL_TACTICS_FIELD_NUMBER
public static final int ADDITIONAL_TACTICS_FIELD_NUMBER
Field Value
ADDITIONAL_TECHNIQUES_FIELD_NUMBER
public static final int ADDITIONAL_TECHNIQUES_FIELD_NUMBER
Field Value
PRIMARY_TACTIC_FIELD_NUMBER
public static final int PRIMARY_TACTIC_FIELD_NUMBER
Field Value
PRIMARY_TECHNIQUES_FIELD_NUMBER
public static final int PRIMARY_TECHNIQUES_FIELD_NUMBER
Field Value
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static MitreAttack getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static MitreAttack.Builder newBuilder()
Returns
newBuilder(MitreAttack prototype)
public static MitreAttack.Builder newBuilder(MitreAttack prototype)
Parameter
Returns
public static MitreAttack parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static MitreAttack parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static MitreAttack parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MitreAttack parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static MitreAttack parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MitreAttack parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MitreAttack parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static MitreAttack parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static MitreAttack parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static MitreAttack parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static MitreAttack parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MitreAttack parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<MitreAttack> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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.v1.MitreAttack.Tactic additional_tactics = 3;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
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;
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.v1.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.v1.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.v1.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.v1.MitreAttack.Technique additional_techniques = 4;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
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;
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.v1.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.v1.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.v1.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
getParserForType()
public Parser<MitreAttack> getParserForType()
Returns
Overrides
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;
Returns
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;
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.v1.MitreAttack.Technique primary_techniques = 2;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
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;
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.v1.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.v1.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.v1.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
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public MitreAttack.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MitreAttack.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public MitreAttack.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions