class Google::Apis::ContaineranalysisV1::ComplianceVersion

Describes the CIS benchmark version that is applicable to a given OS and os version.

Attributes

benchmark_document[RW]

The name of the document that defines this benchmark, e.g. “CIS Container- Optimized OS”. Corresponds to the JSON property ‘benchmarkDocument` @return [String]

cpe_uri[RW]

The CPE URI (cpe.mitre.org/specification/) this benchmark is applicable to. Corresponds to the JSON property ‘cpeUri` @return [String]

version[RW]

The version of the benchmark. This is set to the version of the OS-specific CIS document the benchmark is defined in. Corresponds to the JSON property ‘version` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/containeranalysis_v1/classes.rb, line 941
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/containeranalysis_v1/classes.rb, line 946
def update!(**args)
  @benchmark_document = args[:benchmark_document] if args.key?(:benchmark_document)
  @cpe_uri = args[:cpe_uri] if args.key?(:cpe_uri)
  @version = args[:version] if args.key?(:version)
end