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

Collect single region #886

Closed nsu700 closed 2 years ago

nsu700 commented 3 years ago

I am an organisation user of AWS, however the command python cloudmapper.py collect --account $MYACCOUNT will scan across all of the regions, how can I specific it to scan only one region please?

Or can I limit it to scan only the resource created under my account, thank you

Lusitaniae commented 3 years ago

please do this, no point spending hours scanning all regions when most accounts will use only one or two

w0rmr1d3r commented 3 years ago

Exists this file, can it help? https://github.com/duo-labs/cloudmapper/blob/main/config/custom_auditor.py

ankurloriya commented 2 years ago

Found this flag from document @nicksu-kdkd --regions 'us-south-1,us-north-1'

MathRig commented 2 years ago

Hi,

I tried the --regions option but is continue to scan the default us region. Is there a way to add the default region to a config file ?

Thanks. Math.

0xdabbad00 commented 2 years ago

The default region is always collected as it is needed for the global services (ex. IAM) and I didn't break out functionality to only collect the global services there.