Class: Google::Apis::SecuritycenterV1beta1::Compliance
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::Compliance
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta1/classes.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb
Overview
Contains compliance information about a security standard indicating unmet recommendations.
Instance Attribute Summary collapse
-
#ids ⇒ Array<String>
Policies within the standard/benchmark e.g.
-
#standard ⇒ String
Refers to industry wide standards or benchmarks e.g.
-
#version ⇒ String
Version of the standard/benchmark e.g.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Compliance
constructor
A new instance of Compliance.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Compliance
Returns a new instance of Compliance.
511 512 513 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 511 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ids ⇒ Array<String>
Policies within the standard/benchmark e.g. A.12.4.1
Corresponds to the JSON property ids
498 499 500 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 498 def ids @ids end |
#standard ⇒ String
Refers to industry wide standards or benchmarks e.g. "cis", "pci", "owasp",
etc.
Corresponds to the JSON property standard
504 505 506 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 504 def standard @standard end |
#version ⇒ String
Version of the standard/benchmark e.g. 1.1
Corresponds to the JSON property version
509 510 511 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 509 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
516 517 518 519 520 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 516 def update!(**args) @ids = args[:ids] if args.key?(:ids) @standard = args[:standard] if args.key?(:standard) @version = args[:version] if args.key?(:version) end |