duo-labs / cloudmapper

CloudMapper helps you analyze your Amazon Web Services (AWS) environments.
BSD 3-Clause "New" or "Revised" License
5.98k stars 805 forks source link

Failure iam.amazonaws.com #833

Closed flex2000 closed 3 years ago

flex2000 commented 3 years ago

Hello ,

tried the cloudmapper already with different Linux distributions but get everytime Failures: iam.get_account_authorization_details({}): Connection was closed before we received a valid response from endpoint URL: "https://iam.amazonaws.com/". root@2a04454fd49a:/opt/cloudmapper#

==>Found the solution. The permission mentioned are not enough.

flex2000 commented 3 years ago

if I try the report anyway afterwards I get:

The question: Is there any possibility to have in future a solution that ignores if some data is not available?

root@2a04454fd49a:/opt/cloudmapper# python cloudmapper.py report --account Training

0xdabbad00 commented 3 years ago

For the first issue, it looks like your internet connection was broken. For the second issue, nothing will work if you can't get the IAM data.