inspec/examples/meta-profile/controls/example.rb

15 lines
341 B
Ruby
Raw Normal View History

# encoding: utf-8
# copyright: 2015, The Authors
# license: All rights reserved
# import full profile
include_controls 'hardening/ssh-hardening'
# select only individual controls
include_controls 'ssl-benchmark' do
control "tls1.2"
end
# inspec knows that it cannot run Windows tests on Linux
include_controls 'windows-patch-benchmark'