Skip to content

Instantly share code, notes, and snippets.

@mattray
Created June 12, 2018 13:26
Show Gist options
  • Save mattray/3fd0dd9a85c4c315bf2f4d9c2ee0be9d to your computer and use it in GitHub Desktop.
Save mattray/3fd0dd9a85c4c315bf2f4d9c2ee0be9d to your computer and use it in GitHub Desktop.
---
driver:
name: ec2
instance_type: m3.medium
aws_ssh_key_id: mattray-apac
region: ap-southeast-1
associate_public_ip: true
interface: public
tags:
Name: inspec-aws-exceptions-cis
created-by: "test-kitchen"
transport:
ssh_key: ~/.ssh/mattray-apac
provisioner:
name: chef_zero
always_update_cookbooks: true
deprecations_as_errors: true
product_name: chef
product_version: 13.8.5
verifier:
name: inspec
platforms:
- name: rhel-7.0
- name: rhel-7.1
- name: rhel-7.2
- name: rhel-7.3
- name: rhel-7.4
- name: rhel-7.5
suites:
- name: base
run_list:
- recipe[cis-el7-l1-hardening::enable_sudo_no_tty]
verifier:
inspec_tests:
- .
- name: upgrade
run_list:
- recipe[packages]
- recipe[cis-el7-l1-hardening::enable_sudo_no_tty]
attributes:
packages-cookbook:
audit: 'upgrade'
verifier:
inspec_tests:
- .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment