DNA AUDIT TOOL
DNA Audit tool helps you to check whether the application built on AWS is following the AWS Well-Architected framework by validating it against various AWS services security requirements and the best practices. Generates report to validate the security requirements and security best practices.
AWS Hardening Standards & Best Practices
https://codaglobal.atlassian.net/l/cp/UP1BxJTr
AWS Tagging Standards
https://codaglobal.atlassian.net/l/cp/oj0Ngsdb
AWS Naming Standards
https://codaglobal.atlassian.net/l/cp/s99nYLEC
Audit tool setup
The project basically uses boto client to connect to the aws services.
-
Update the session credentials in the terminal.
-
Specify the region name if you need to perform the audit for services in a specific region by mentioning the region name as argument while running the program.
-
If no region is specified us-east-1 is taken as default region and audit checks are performed for the services in us-east-1.
-
If you need to check tags. Update the Config.Json file by mentioning the tags in the account tags provided.
Audit Tool Execution
Creating Virtual Environment
python3 -m venv venv
Activating the virtual environment
source venv/bin/activate
Installing the dependencies in the virtual environment
pip install -r requirements.txt
Run the following command
python3 src/main.py --region {region_name}
Test Cases Execution
nosetests
Final Report
The overall report is provided as a HTML document.
sample report
Release files for toolk123 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| toolk123-0.1.tar.gz | 27.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| toolk123-0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 74.2 kB
Release files / toolk123-0.1.tar.gz
| Download URL | toolk123-0.1.tar.gz |
|---|---|
| Size | 27.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
121b5488bed03cc2913a0a5a295e9fcdbef18dec3c2f8aa9fc740923d6fa035c
|
|
BLAKE2b-256 checksum How to use checksums |
cc9bd3f0d7bdc42c6b8d02888b405e182e9c71fd9a0cd8b86c0db6d4f29567a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.6
|
Release files / toolk123-0.1-py3-none-any.whl
| Download URL | toolk123-0.1-py3-none-any.whl |
|---|---|
| Size | 47.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f35a3b1972a00267efe1410d73d4e9f69111caf0568996b642ad1a7608cd8e41
|
|
BLAKE2b-256 checksum How to use checksums |
b420e62887a185f86671a8f184a3d8b9a9c08f99cbd63639c7b9fd64d71c81eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.6
|