全然うまく行っていません。。。
Dockerのビルド
git clone https://github.com/duo-labs/cloudmapper.gitcd cloudmapperdocker build -t mycloudmapper --build-arg ACCOUNT=123412341234 --build-arg AWS_DEFAULT_REGION=ap-northeast-1 --build-arg AWS_REGION=ap-northeast-1 .
Dockerの起動〜表示まで
docker run --rm -p 8000:8000 -it mycloudmapper /bin/bashpip install awscli pyjq netaddr boto3aws configure- Default region nameを指定しておくこと。
config.jsonを作成id: アカウント(12桁)name: アカウント名(任意?)
- データ収集
python cloudmapper.py gather --account-name アカウント名
http://localhost:8000/にアクセス