Class: AbideDevUtils::XCCDF::StigControl
- Inherits:
 - 
      XccdfElement
      
        
- Object
 - XccdfObject
 - XccdfElement
 - AbideDevUtils::XCCDF::StigControl
 
 
- Defined in:
 - lib/abide_dev_utils/xccdf.rb
 
Constant Summary
Constants included from Common
Common::CIS_CONTROL_NUMBER, Common::CIS_CONTROL_PARTS, Common::CIS_LEVEL_CODE, Common::CIS_NEXT_GEN_WINDOWS, Common::CIS_PROFILE_PARTS, Common::CIS_TITLE_MARKER, Common::CONTROL_PARTS, Common::CONTROL_PREFIX, Common::PROFILE_PARTS, Common::STIG_CONTROL_PARTS, Common::STIG_PROFILE_PARTS, Common::STIG_TITLE_MARKER, Common::UNDERSCORED, Common::XPATHS
Instance Method Summary collapse
- 
  
    
      #initialize(control, benchmark)  ⇒ StigControl 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of StigControl.
 
Methods inherited from XccdfElement
#hiera_title, #reference, #to_h, #to_s
Methods included from Common
#==, #abide_object?, #control_parts, #control_profile_text, #name_normalize_control, #normalize_control_name, #normalize_profile_name, #normalize_string, #number_normalize_control, #profile_parts, #text_normalize, #validate_xccdf, #xpath
Methods inherited from XccdfObject
#control_class, #control_sort_key, #controls_class
Constructor Details
#initialize(control, benchmark) ⇒ StigControl
Returns a new instance of StigControl.
      651 652 653 654 655  | 
    
      # File 'lib/abide_dev_utils/xccdf.rb', line 651 def initialize(control, benchmark) super(control, benchmark) @vulnid, @ruleid, @title = control_parts(control_profile_text(control)) properties :vulnid, :ruleid, :title end  |