Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2MitreAttack
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2MitreAttack
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta2/classes.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb
Overview
MITRE ATT&CK tactics and techniques related to this finding. See: https:// attack.mitre.org
Instance Attribute Summary collapse
-
#additional_tactics ⇒ Array<String>
Additional MITRE ATT&CK tactics related to this finding, if any.
-
#additional_techniques ⇒ Array<String>
Additional MITRE ATT&CK techniques related to this finding, if any, along with any of their respective parent techniques.
-
#primary_tactic ⇒ String
The MITRE ATT&CK tactic most closely represented by this finding, if any.
-
#primary_techniques ⇒ Array<String>
The MITRE ATT&CK technique most closely represented by this finding, if any.
-
#version ⇒ String
The MITRE ATT&CK version referenced by the above fields.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2MitreAttack
constructor
A new instance of GoogleCloudSecuritycenterV2MitreAttack.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2MitreAttack
Returns a new instance of GoogleCloudSecuritycenterV2MitreAttack.
6804 6805 6806 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6804 def initialize(**args) update!(**args) end |
Instance Attribute Details
#additional_tactics ⇒ Array<String>
Additional MITRE ATT&CK tactics related to this finding, if any.
Corresponds to the JSON property additionalTactics
6776 6777 6778 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6776 def additional_tactics @additional_tactics end |
#additional_techniques ⇒ Array<String>
Additional MITRE ATT&CK techniques related to this finding, if any, along with
any of their respective parent techniques.
Corresponds to the JSON property additionalTechniques
6782 6783 6784 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6782 def additional_techniques @additional_techniques end |
#primary_tactic ⇒ String
The MITRE ATT&CK tactic most closely represented by this finding, if any.
Corresponds to the JSON property primaryTactic
6787 6788 6789 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6787 def primary_tactic @primary_tactic end |
#primary_techniques ⇒ Array<String>
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).
Corresponds to the JSON property primaryTechniques
6797 6798 6799 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6797 def primary_techniques @primary_techniques end |
#version ⇒ String
The MITRE ATT&CK version referenced by the above fields. E.g. "8".
Corresponds to the JSON property version
6802 6803 6804 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6802 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6809 6810 6811 6812 6813 6814 6815 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 6809 def update!(**args) @additional_tactics = args[:additional_tactics] if args.key?(:additional_tactics) @additional_techniques = args[:additional_techniques] if args.key?(:additional_techniques) @primary_tactic = args[:primary_tactic] if args.key?(:primary_tactic) @primary_techniques = args[:primary_techniques] if args.key?(:primary_techniques) @version = args[:version] if args.key?(:version) end |