Class: Google::Apis::ContaineranalysisV1alpha1::CisBenchmark
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ContaineranalysisV1alpha1::CisBenchmark
 
 
- Includes:
 - Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/containeranalysis_v1alpha1/classes.rb,
lib/google/apis/containeranalysis_v1alpha1/representations.rb,
lib/google/apis/containeranalysis_v1alpha1/representations.rb 
Overview
A compliance check that is a CIS benchmark.
Instance Attribute Summary collapse
- 
  
    
      #profile_level  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The profile level of this CIS benchmark check.
 - 
  
    
      #severity  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The severity level of this CIS benchmark check.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ CisBenchmark 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of CisBenchmark.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ CisBenchmark
Returns a new instance of CisBenchmark.
      968 969 970  | 
    
      # File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 968 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#profile_level ⇒ Fixnum
The profile level of this CIS benchmark check.
Corresponds to the JSON property profileLevel
      961 962 963  | 
    
      # File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 961 def profile_level @profile_level end  | 
  
#severity ⇒ String
The severity level of this CIS benchmark check.
Corresponds to the JSON property severity
      966 967 968  | 
    
      # File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 966 def severity @severity end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      973 974 975 976  | 
    
      # File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 973 def update!(**args) @profile_level = args[:profile_level] if args.key?(:profile_level) @severity = args[:severity] if args.key?(:severity) end  |