- Commercial:
aws - China:
aws-cn - European Sovereign Cloud:
aws-eusc - GovCloud (US):
aws-us-gov
To check the available regions for each partition and service, refer to: aws_regions_by_service.json
Scanning AWS China, European Sovereign Cloud and GovCloud Partitions in Prowler
When scanning the China (aws-cn), European Sovereign Cloud (aws-eusc) or GovCloud (aws-us-gov) partitions, ensure one of the following:
- Your AWS credentials include a valid region within the desired partition.
-
Specify the regions to audit within that partition using the
-f/--regionflag.
Refer to: https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html#configuring-credentials for more information about the AWS credential configuration.
Scanning Specific Regions
To scan a particular AWS region with Prowler, use:Excluding Specific Regions
To scan all supported AWS regions except a specific subset, use the--excluded-region flag:
PROWLER_AWS_DISALLOWED_REGIONS environment variable as a comma-separated list:
config.yaml:
--excluded-regionPROWLER_AWS_DISALLOWED_REGIONSaws.disallowed_regionsinconfig.yaml
For self-hosted App or API-triggered scans, set
PROWLER_AWS_DISALLOWED_REGIONS in the runtime environment of the backend scan containers such as api and worker. The ui container does not enforce AWS region selection.AWS Credentials Configuration
For details on configuring AWS credentials, refer to the following Botocore file.Scanning AWS Partitions in Prowler
AWS China
To scan an account in the AWS China partition (aws-cn):
-
By using the
-f/--regionflag: -
By using the region configured in your AWS profile at
~/.aws/credentialsor~/.aws/config:
With this configuration, all partition regions will be scanned without needing the
-f/--region flagAWS GovCloud (US)
To scan an account in the AWS GovCloud (US) partition (aws-us-gov):
-
By using the
-f/--regionflag: -
By using the region configured in your AWS profile at
~/.aws/credentialsor~/.aws/config:
With this configuration, all partition regions will be scanned without needing the
-f/--region flagAWS European Sovereign Cloud
To scan an account in the AWS European Sovereign Cloud partition (aws-eusc):
-
By using the
-f/--regionflag: -
By using the region configured in your AWS profile at
~/.aws/credentialsor~/.aws/config:
With this configuration, all partition regions will be scanned without needing the
-f/--region flag
