class Google::Apis::ContaineranalysisV1::ComplianceNote
Attributes
A compliance check that is a CIS benchmark. Corresponds to the JSON property ‘cisBenchmark` @return [Google::Apis::ContaineranalysisV1::CisBenchmark]
A description about this compliance check. Corresponds to the JSON property ‘description` @return [String]
A rationale for the existence of this compliance check. Corresponds to the JSON property ‘rationale` @return [String]
A description of remediation steps if the compliance check fails. Corresponds to the JSON property ‘remediation` @return [String]
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]
The title that identifies this compliance check. Corresponds to the JSON property ‘title` @return [String]
The OS and config versions the benchmark applies to. Corresponds to the JSON property ‘version` @return [Array<Google::Apis::ContaineranalysisV1::ComplianceVersion>]
Public Class Methods
# File lib/google/apis/containeranalysis_v1/classes.rb, line 876 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/containeranalysis_v1/classes.rb, line 881 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