aws-security-test

Test automation to determine adherence to pre-defined set of security recommendations


Keywords
aws, security, test, iam, networking, logging, monitoring, ec2, vpc, boto3, ci
License
Apache-2.0
Install
pip install aws-security-test==0.1.0

Documentation

Runtime

Requirements

  • Python: 2.6.6
  • Boto3: 1.4.1

Configuring Tests

Credentials

Credentials need to be setup as described in Boto3 Documentation. Access needed by the users' API keys configured:

  • AmazonEC2ReadOnlyAccess
  • IAMReadOnlyAccess
Tests to run

Setup a config file similar to config.yml to execute desired tests. Value for each test should be True or False.

Execution Steps

python main.py -c config.yml - Will use the credentials from the environment variables if found or will fall back to the default profile in ~/.aws/config

python main.py -c config.yml -p profile_name - Will use the credentials from the corresponding profile defined in ~/.aws/config

Development

Requirements

  • Vagrant : Version 1.8.5
  • VirtualBox : Version 5.1.4

License

Apache License 2.0