Last active
July 10, 2019 14:48
-
-
Save smford22/4ca229bb56bda14a1492994152281d23 to your computer and use it in GitHub Desktop.
quick cve control
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Simple Inspec control | |
control 'cve-blah-blah-blah' do | |
impact 1.0 | |
title 'Ensure our systems are not vulnerable to the blah blah blah cve' | |
desc 'Blah Blah Blah VVE is dangerous' | |
describe file('/tmp/blahblahblah') do | |
it { should_not exist } | |
end | |
end | |
# Simple chef recipe | |
file '/tmp/blahblahblah' do | |
action :delete | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment