Huawei Cloud support in Prowler is community-maintained. For commercial support or to request additional service coverage, contact us.
Prerequisites
Set up authentication for Huawei Cloud with the Huawei Cloud Authentication guide before starting:- Create an Access Key ID and Secret Access Key (AK/SK) for an IAM user with read-only permissions.
- Prowler reads the credentials exclusively from environment variables, so secrets are never passed on the command line.
Prowler CLI
Run Prowler for Huawei Cloud
Once authenticated, export the credentials as environment variables and run Prowler for Huawei Cloud. Environment variables keep secrets out of shell history and process listings:Run Specific Checks
Run a Specific Service
Regions and Clouds
Huawei Cloud operates as three separate clouds, and every account belongs to exactly one of them:- International — served from the
.comendpoints (for examplemyhuaweicloud.com). - China — also served from the
.comendpoints, on the China regions (cn-*). - Huawei Cloud Europe — served from the
.euendpoints (for examplemyhuaweicloud.eu).
Region Selection Precedence
Prowler resolves the regions to scan from the first source that is set, in this order:--regionflag (aliases--filter-region,-f) — one or more explicit region IDs.HUAWEICLOUD_REGION(orHW_REGION) environment variable — one or more region IDs, separated by spaces or commas.--cloudselector (orHUAWEICLOUD_CLOUD/HW_CLOUD) — expands to every region of the selected cloud.- Default — when none is set, Prowler falls back to its built-in region list.
--region overrides HUAWEICLOUD_REGION, which overrides --cloud.
Select Specific Regions
To scan a defined set of regions, pass the region IDs to--region or set HUAWEICLOUD_REGION. Accounts outside China must select a region they can reach — for example eu-west-101 for Huawei Cloud Europe or ap-southeast-1 for International.
Scan an Entire Cloud
To scan every region of an account’s cloud without listing regions, use the--cloud selector or the HUAWEICLOUD_CLOUD environment variable. Prowler expands it to that cloud’s regions and selects the matching endpoint automatically:
--cloud flag accepts three values: international, europe, and china. The HUAWEICLOUD_CLOUD (or HW_CLOUD) environment variable additionally accepts the short aliases intl/com (International), eu (Europe), and cn (China).
A single set of credentials belongs to one cloud, so
--cloud selects which cloud to scan — it cannot authenticate against both .com and .eu at once. To scan accounts on different clouds, run Prowler once per account with that account’s credentials.How Prowler Handles Regions and Endpoints
Prowler manages several Huawei Cloud specifics automatically during a scan:- Endpoint selection: The endpoint domain (
.euor.com) is derived from each region, so every service targets the right cloud. This corrects services whose bundled metadata still points Europe regions at.com. - Project resolution: The per-region project ID is resolved automatically, so multi-region scans work without any project configuration.
- Credential validation: Credentials are validated against a region in the account’s cloud that exposes IAM, so validation succeeds even when the requested regions do not all offer IAM.
- Unsupported regions: Any region a given service does not offer is skipped and logged, so scanning an entire cloud never fails on regions where a service is unavailable.
Supported Regions
Prowler recognizes the following region IDs, grouped by cloud. International (.com)
Huawei Cloud Europe (
.eu)
China (
.com)

