Comments (3)
You just need to supply your account name, so you should be running:
aws-vault exec REDACTED -- python cloudmapper.py gather --account-name your_account
I could have cloudmapper provide a default name for your account, or identify your account ID if it has AWS access and use your account ID as your account name. Those are possibilities. I think it's better to ensure the user specifies which account they are interested in though, as many users have many accounts.
from cloudmapper.
The collect_data.sh
script just wraps the aws cli which will use the AWS related environmental variables by default. Likewise, using cloudmapper.py gather
uses boto which does this by default, so I'm not sure what you mean. Can you explain further?
from cloudmapper.
I think this default behavior in boto3/awscli is reset with the following lines:
- https://github.com/duo-labs/cloudmapper/blob/master/cloudmapper.py#L44
- https://github.com/duo-labs/cloudmapper/blob/master/collect_data.sh#L45
(ins)(venv) [~/build/cloudmapper]$ aws-vault exec REDACTED -- python cloudmapper.py gather
Enter token for arn:aws:iam::REDACTED:mfa/REDACTED: REDACTED
usage: cloudmapper.py [-h] --account-name ACCOUNT_NAME
cloudmapper.py: error: argument --account-name is required
(ins)(venv) [~/build/cloudmapper]$ aws-vault exec REDACTED -- ./collect_data.sh
* Startup checks
ERROR: No account Name Specified
Usage:
./collect_data.sh --account my_account [--profile aws_profile]
I attempted to fix it with the linked PR, which is probably not ideal.
from cloudmapper.
Related Issues (20)
- KMS - Origin External issue HOT 1
- cdk deploy fails on amazon linux HOT 1
- "Note the Network Visualization functionality (command prepare) is no longer maintained." HOT 1
- Install fails due to python3.7-dev on Kali HOT 1
- Remove connections from mapping HOT 2
- import json file
- Weboftrust fails if there are no SAML providerws
- Cloudmapper - No mapping?
- scipy==1.7.1 causing issues on 3.10.0 HOT 4
- Redirect/expose the cloudmapper webserver content to httpd for access via HTTP/HTTPS HOT 1
- Add S3 bucket-level public access block collection
- The security token included in the request is expired
- An error occurred (unauthorizedoperation) when calling the describeregions operation HOT 1
- Approaching larger installations - tips/tricks/best practices?
- Default Region in collect.py code HOT 2
- Failed on Run HOT 2
- MacOS Ventura, Python 3.10 - pip install -r requirements fails HOT 3
- Region Data Not found HOT 5
- Is this project still active? HOT 1
- region issue with report command
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloudmapper.