On 6/20/18 5:03 PM, Trevor Vaughan wrote:
As part of delving into InSpec for my CI tests, I decided that I need to have some form of baseline to follow.
To that end, our public STIG profile does the following:
- Build a system
- Download and compile the SSG
- Run an oscap remediate using the SSG
- Check the system using InSpecThe idea here is that the remediation should get the system to a point where the more static OVAL checks that SCAP uses should be used as a low water mark for the more dynamic InSpec checks.
I wanted to share the tests in Travis CI in case it helps anyone here find issues with the SSG in the future. For instance, some of the profile renaming just bit us and makes automating the scans pretty interesting.
Anyway, you can watch the 'System Test' build stage here https://travis-ci.org/simp/inspec-profile-disa_stig-el7 that will get triggered any time things are updated in the repo and, of course, you can also download it and run it locally.
Ideally, these tests will start showing a 100% pass across the board and this can serve as some help to the community.
Thanks for sharing! Will check it out.
Any intent to contribute your Inspec remediations? Would be great to get them folded into SSG!
scap-security-guide mailing list -- firstname.lastname@example.org
To unsubscribe send an email to email@example.com
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://firstname.lastname@example.org/message/TE3MXLNZ5VCF4UERYXTNX4CHV6QY7YJA/