Difference between revisions of "Chef InSpec"

From wikieduonline
Jump to navigation Jump to search
Line 13: Line 13:
  
  
== Example: Install packages ==
+
* Example: [[Install packages using Chef InSpec]]
 
 
control 'package-02' do
 
  [[impact 1.0]]
 
  title 'Do not install Telnet server'
 
  desc 'Telnet protocol uses unencrypted communication, that means the password and other sensitive data are unencrypted.
 
http://www.nsa.gov/ia/_files/os/redhat/rhel5-guide-i731.pdf, Chapter 3.2.2'
 
  describe package('telnetd') do
 
    it { should_not be_installed }
 
  end
 
end<ref>https://github.com/dev-sec/linux-baseline/blob/master/controls/package_spec.rb</ref>
 
  
 
== Related terms ==
 
== Related terms ==

Revision as of 05:26, 27 July 2021

Advertising: