https://github.com/stelligent/reinvent_nag_demo
https://github.com/stelligent/reinvent_nag_demo
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/stelligent/reinvent_nag_demo
- Owner: stelligent
- License: mit
- Created: 2016-09-07T18:12:30.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-01-07T21:33:00.000Z (over 6 years ago)
- Last Synced: 2025-05-14T19:17:21.891Z (about 1 year ago)
- Language: Ruby
- Size: 4.88 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Installation
This is tested on MacOSX version 10.11.6
## Prerequisites
The following explicit versions were used. Mileage will vary with other versions
but the versions probably don't have to be so strict:
* Install Virtual Box (5.0.26 r108824)
* https://www.virtualbox.org/wiki/Downloads
* Install Vagrant (1.7.4)
* https://www.vagrantup.com/downloads.html
* Install chefdk 0.12.0
* https://downloads.chef.io/chef-dk/
## Usage
* Converge and test the VM
* `kitchen converge`
* `kitchen verify`
* Login to the VM and do your worst:
* `kitchen login`
* `ls -l /srv`
* `cfn_nag --input-json-path /srv/security_group_without_explicit_egress.json`
* `cfn_nag --input-json-path /srv/security_group_with_explicit_egress.json`
* `cfn_nag --input-json-path /srv/ebs_volume_without_server_side_encryption.json`
* `cfn_nag --input-json-path /srv/ebs_volume_with_server_side_encryption.json`