class Google::Apis::ContaineranalysisV1alpha1::ComplianceNote

ComplianceNote encapsulates all information about a specific compliance check.

Attributes

cis_benchmark[RW]

A compliance check that is a CIS benchmark. Corresponds to the JSON property `cisBenchmark` @return [Google::Apis::ContaineranalysisV1alpha1::CisBenchmark]

description[RW]

A description about this compliance check. Corresponds to the JSON property `description` @return [String]

rationale[RW]

A rationale for the existence of this compliance check. Corresponds to the JSON property `rationale` @return [String]

remediation[RW]

A description of remediation steps if the compliance check fails. Corresponds to the JSON property `remediation` @return [String]

scan_instructions[RW]

Serialized scan instructions with a predefined format. Corresponds to the JSON property `scanInstructions` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]

title[RW]

The title that identifies this compliance check. Corresponds to the JSON property `title` @return [String]

version[RW]

The OS and config versions the benchmark applies to. Corresponds to the JSON property `version` @return [Array<Google::Apis::ContaineranalysisV1alpha1::ComplianceVersion>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/containeranalysis_v1alpha1/classes.rb, line 640
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_v1alpha1/classes.rb, line 645
def update!(**args)
  @cis_benchmark = args[:cis_benchmark] if args.key?(:cis_benchmark)
  @description = args[:description] if args.key?(:description)
  @rationale = args[:rationale] if args.key?(:rationale)
  @remediation = args[:remediation] if args.key?(:remediation)
  @scan_instructions = args[:scan_instructions] if args.key?(:scan_instructions)
  @title = args[:title] if args.key?(:title)
  @version = args[:version] if args.key?(:version)
end