Skip to main content

# Runtime #### Requirements - Python: 2.7.12 - Boto3: 1.4.1

#### Configuring Tests

##### Credentials

Credentials need to be setup as described in [Boto3 Documentation](http://boto3.readthedocs.io/en/latest/guide/configuration.html). Access needed by the users’ API keys configured:

##### Tests to run

Setup a config file similar to [default.yml](https://github.com/mikhailadvani/aws-security-test/blob/master/config/default.yml) to execute desired tests. Value for each test should be True or False.

#### Execution Steps

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

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

#### Artifacts

Certain artifacts will be created at the end of every execution for additional verification. The will be in the artifacts directory

root_login.txt : Will be useful in monitoring root account access in case CloudWatch is not used.

sns_subscribers.csv : Lists subscribers for each SNS topic. Can be used to ensure notifications are being sent to the right audience.

internet_open_security_groups.csv : Lists security groups with access open to the Internet. This list might contain rules where access open from the Internet is desired, but can also be used to check for misconfigurations.

# License Apache License 2.0

Metadata

Release files for aws-security-test 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aws-security-test 0.1.0
File Size Uploaded
aws-security-test-0.1.0.tar.gz 20.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aws-security-test 0.1.0
File Interpreter ABI Platform
aws_security_test-0.1.0-py2-none-any.whl Python 2 none any Details

Total release size: 50.9 kB

Release files / aws-security-test-0.1.0.tar.gz

Download URL aws-security-test-0.1.0.tar.gz
Size 20.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5335650f03206fdac7850837a488d46afb103edd95449f23153aed413fc682fe
BLAKE2b-256 checksum
How to use checksums
19ede15d9c855bf429ee526005784f9ef9c2cb80f21524dd507f1c7c99ab319f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / aws_security_test-0.1.0-py2-none-any.whl

Download URL aws_security_test-0.1.0-py2-none-any.whl
Size 30.6 kB
Tags Python 2
SHA-256 checksum
How to use checksums
b9d5b57d3e33c38e85223a1e533c0a816232aa585bab5ceba7b1b3533d2bd1ed
BLAKE2b-256 checksum
How to use checksums
4f168f4af0b916374d785a1fe6821f8f66794bf111f1b49646f5aee6746b2c9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page