# Security Command Center V2 API - Class Google::Cloud::SecurityCenter::V2::MitreAttack (v1.8.0)

1.8.0 (latest) 1.7.1 1.6.0 1.5.1 1.4.0 1.3.0 1.2.0 1.1.1 1.0.0 0.6.0 0.5.0 0.4.1 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Security Command Center V2 API class Google::Cloud::SecurityCenter::V2::MitreAttack.

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

## Inherits

- [Object](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center-v2/latest/Google-Cloud-SecurityCenter-V2-Kubernetes-Object)

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #additional_tactics

    def additional_tactics() -> ::Array<::Google::Cloud::SecurityCenter::V2::MitreAttack::Tactic>

**Returns**

- (::Array\<[::Google::Cloud::SecurityCenter::V2::MitreAttack::Tactic](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center-v2/latest/Google-Cloud-SecurityCenter-V2-MitreAttack-Tactic)\>) --- Additional MITRE ATT\&CK tactics related to this finding, if any.

### #additional_tactics=

    def additional_tactics=(value) -> ::Array<::Google::Cloud::SecurityCenter::V2::MitreAttack::Tactic>

**Parameter**

- **value** (::Array\<[::Google::Cloud::SecurityCenter::V2::MitreAttack::Tactic](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center-v2/latest/Google-Cloud-SecurityCenter-V2-MitreAttack-Tactic)\>) --- Additional MITRE ATT\&CK tactics related to this finding, if any.
**Returns**

- (::Array\<[::Google::Cloud::SecurityCenter::V2::MitreAttack::Tactic](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center-v2/latest/Google-Cloud-SecurityCenter-V2-MitreAttack-Tactic)\>) --- Additional MITRE ATT\&CK tactics related to this finding, if any.

### #additional_techniques

    def additional_techniques() -> ::Array<::Google::Cloud::SecurityCenter::V2::MitreAttack::Technique>

**Returns**

- (::Array\<[::Google::Cloud::SecurityCenter::V2::MitreAttack::Technique](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center-v2/latest/Google-Cloud-SecurityCenter-V2-MitreAttack-Technique)\>) --- Additional MITRE ATT\&CK techniques related to this finding, if any, along with any of their respective parent techniques.

### #additional_techniques=

    def additional_techniques=(value) -> ::Array<::Google::Cloud::SecurityCenter::V2::MitreAttack::Technique>

**Parameter**

- **value** (::Array\<[::Google::Cloud::SecurityCenter::V2::MitreAttack::Technique](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center-v2/latest/Google-Cloud-SecurityCenter-V2-MitreAttack-Technique)\>) --- Additional MITRE ATT\&CK techniques related to this finding, if any, along with any of their respective parent techniques.
**Returns**

- (::Array\<[::Google::Cloud::SecurityCenter::V2::MitreAttack::Technique](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center-v2/latest/Google-Cloud-SecurityCenter-V2-MitreAttack-Technique)\>) --- Additional MITRE ATT\&CK techniques related to this finding, if any, along with any of their respective parent techniques.

### #primary_tactic

    def primary_tactic() -> ::Google::Cloud::SecurityCenter::V2::MitreAttack::Tactic

**Returns**

- ([::Google::Cloud::SecurityCenter::V2::MitreAttack::Tactic](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center-v2/latest/Google-Cloud-SecurityCenter-V2-MitreAttack-Tactic)) --- The MITRE ATT\&CK tactic most closely represented by this finding, if any.

### #primary_tactic=

    def primary_tactic=(value) -> ::Google::Cloud::SecurityCenter::V2::MitreAttack::Tactic

**Parameter**

- **value** ([::Google::Cloud::SecurityCenter::V2::MitreAttack::Tactic](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center-v2/latest/Google-Cloud-SecurityCenter-V2-MitreAttack-Tactic)) --- The MITRE ATT\&CK tactic most closely represented by this finding, if any.
**Returns**

- ([::Google::Cloud::SecurityCenter::V2::MitreAttack::Tactic](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center-v2/latest/Google-Cloud-SecurityCenter-V2-MitreAttack-Tactic)) --- The MITRE ATT\&CK tactic most closely represented by this finding, if any.

### #primary_techniques

    def primary_techniques() -> ::Array<::Google::Cloud::SecurityCenter::V2::MitreAttack::Technique>

**Returns**

- (::Array\<[::Google::Cloud::SecurityCenter::V2::MitreAttack::Technique](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center-v2/latest/Google-Cloud-SecurityCenter-V2-MitreAttack-Technique)\>) --- 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`).

### #primary_techniques=

    def primary_techniques=(value) -> ::Array<::Google::Cloud::SecurityCenter::V2::MitreAttack::Technique>

**Parameter**

- **value** (::Array\<[::Google::Cloud::SecurityCenter::V2::MitreAttack::Technique](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center-v2/latest/Google-Cloud-SecurityCenter-V2-MitreAttack-Technique)\>) --- 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`).
**Returns**

- (::Array\<[::Google::Cloud::SecurityCenter::V2::MitreAttack::Technique](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-security_center-v2/latest/Google-Cloud-SecurityCenter-V2-MitreAttack-Technique)\>) --- 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`).

### #version

    def version() -> ::String

**Returns**

- (::String) --- The MITRE ATT\&CK version referenced by the above fields. E.g. "8".

### #version=

    def version=(value) -> ::String

**Parameter**

- **value** (::String) --- The MITRE ATT\&CK version referenced by the above fields. E.g. "8".
**Returns**

- (::String) --- The MITRE ATT\&CK version referenced by the above fields. E.g. "8".