duo-labs/cloudmapper sits at 6.3k stars on GitHub, written primarily in JavaScript. CloudMapper helps you analyze your Amazon Web Services (AWS) environments.
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
Note the Network Visualization functionality (command prepare) is no longer maintained.
CloudMapper helps you analyze your Amazon Web Services (AWS) environments.
The original purpose was to generate network diagrams and display them in your browser (functionality no longer maintained).
It now contains much more functionality, including auditing for security issues.
Network mapping demo
Report demo
Intro post
Post to show spotting misconfigurations in networks
Post on performing continuous auditing
Commands
audit: Check for potential misconfigurations.
collect: Collect metadata about an account. More details here.
find_admins: Look at IAM policies to identify admin users and roles, or principals with specific privileges. More details here.
find_unused: Look for unused resources in the account. Finds unused Security Groups, Elastic IPs, network interfaces, volumes and elastic load balancers.
prepare/webserver: See Network Visualizations
public: Find public hosts and port ranges. More details here.
sg_ips: Get geoip info on CIDRs trusted in Security Groups. More details here.
stats: Show counts of resources for accounts. More details here.
weboftrust: Show Web Of Trust. More details here.
report: Generate HTML report. Includes summary of the accounts and audit findings. More details here.
iam_report: Generate HTML report for the IAM information of an account. More details here.
If you want to add your own private commands, you can create a private_commands directory and add them there.
Screenshots
Installation
Requirements:
python 3 (3.7.0rc1 is known to work), pip, and virtualenv
You will also need jq (https://stedolan.github.io/jq/) and the library pyjq (https://github.com/doloopwhile/pyjq), which require some additional tools installed that will be shown.
A small set of demo data is provided. This will display the same environment as the demo site https://duo-labs.github.io/cloudmapper/
# Generate the data for the network map
python cloudmapper.py prepare --config config.json.demo --account demo
# Generate a report
python cloudmapper.py report --config config.json.demo --account demo
python cloudmapper.py webserver
This will run a local webserver at http://127.0.0.1:8000/
View the network map from that link, or view the report at http://127.0.0.1:8000/account-data/report.html
Setup
Configure information about your account.
Collect information about an AWS account.
1. Configure your account
Copy the config.json.demo to config.json and edit it to include your account ID and name (ex. "prod"), along with any external CIDR names. A CIDR is an IP range such as 1.2.3.4/32 which means only the IP 1.2.3.4.
2. Collect data about the account
This step uses the CLI to make describe and list calls and records the json in the folder specified by the account name under account-data.
AWS Privileges required
You must have AWS credentials configured that can be used by the CLI with read permissions for the different metadata to collect. I recommend using aws-vault. CloudMapper will collect IAM information, which means you MUST use MFA. Only the collect step requires AWS access.
You must have the following privileges (these grant various read access of metadata):
You need to be authenticated to the AWS CLI and have the permission organization:ListAccounts prior to running this command.
Using audit config overrides
You may find that you don't care about some of audit items. You may want to ignore the check entirely, or just specific resources. Copy config/audit_config_override.yaml.example to config/audit_config_override.yaml and edit the file based on the comments in there.
Using a Docker container
The docker container that is created is meant to be used interactively.
docker build -t cloudmapper .
Cloudmapper needs to make IAM calls and cannot use session credentials for collection, so you cannot use the aws-vault server if you want to collect data, and must pass role credentials in directly or configure aws credentials manually inside the container. The following code exposes your raw credentials inside the container.
This will drop you into the container. Run aws sts get-caller-identity to confirm this was setup correctly. Cloudmapper demo data is not copied into the docker container so you will need to collect live data from your system. Note docker defaults may limit the memory available to your container. For example on Mac OS the default is 2GB which may not be enough to generate the report on a medium sized account.
You should then be able to view the report by visiting http://127.0.0.1:8000/account-data/report.html
Running CloudMapper regularly to audit your environment
A CDK app for deploying CloudMapper via Fargate so that it runs nightly, sends audit findings as alerts to a Slack channel, and generating a report that is saved on S3, is described here.
Alternatives
For network diagrams, you may want to try https://github.com/lyft/cartography or https://github.com/anaynayak/aws-security-viz
For auditing and other AWS security tools see https://github.com/toniblyx/my-arsenal-of-aws-security-tools
Licenses
cytoscape.js: MIT
https://github.com/cytoscape/cytoscape.js/blob/master/LICENSE
cytoscape.js-qtip: MIT
https://github.com/cytoscape/cytoscape.js-qtip/blob/master/LICENSE
cytoscape.js-grid-guide: MIT
https://github.com/iVis-at-Bilkent/cytoscape.js-grid-guide
cytoscape.js-panzoom: MIT
https://github.com/cytoscape/cytoscape.js-panzoom/blob/master/LICENSE
jquery: JS Foundation
https://github.com/jquery/jquery/blob/master/LICENSE.txt
jquery.qtip: MIT
https://github.com/qTip2/qTip2/blob/master/LICENSE
cytoscape-navigator: MIT
https://github.com/cytoscape/cytoscape.js-navigator/blob/c249bd1551c8948613573b470b30a471def401c5/bower.json#L24
cytoscape.js-autopan-on-drag: MIT
https://github.com/iVis-at-Bilkent/cytoscape.js-autopan-on-drag
font-awesome: MIT
http://fontawesome.io/
FileSave.js: MIT
https://github.com/eligrey/FileSaver.js/blob/master/LICENSE.md
circular-json: MIT
https://github.com/WebReflection/circular-json/blob/master/LICENSE.txt
rstacruz/nprogress: MIT
https://github.com/rstacruz/nprogress/blob/master/License.md
How active is development on duo-labs/cloudmapper?
The most recent commit recorded on duo-labs/cloudmapper was 2.3 years ago, based on the GitHub push timestamp. The repository has 830 forks — one of the better signals of community interest.
How does duo-labs/cloudmapper compare to other Security projects?
duo-labs/cloudmapper is tracked by TopGit in the Security category, with 6.3k GitHub stars and written in JavaScript. Browse the Security topic page on TopGit to compare it against similar projects by stars and activity.
How many stars does duo-labs/cloudmapper have?
duo-labs/cloudmapper has 6.3k GitHub stars — refresh the page for the live number, or check github.com/duo-labs/cloudmapper. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
Is duo-labs/cloudmapper open source?
Yes — duo-labs/cloudmapper ships under the BSD-3-Clause license, which makes its source code freely readable (and, depending on license terms, forkable and reusable). Source: github.com/duo-labs/cloudmapper.
What is duo-labs/cloudmapper?
duo-labs/cloudmapper (duo-labs/cloudmapper) is a JavaScript project on GitHub. From the project's own README: CloudMapper helps you analyze your Amazon Web Services (AWS) environments.
Where do I read more about duo-labs/cloudmapper?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/duo-labs/cloudmapper is the definitive source.
Read full README in the tab above.
Curious whether cloudmapper is right for you?
Let ChatGPT, Claude, or Perplexity look into it — click below and see what AI actually says about cloudmapper.