Skip to main content
Prowler for Huawei Cloud scans your Huawei Cloud account for security misconfigurations across compute, storage, networking, identity, encryption, database, and logging services.
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 .com endpoints (for example myhuaweicloud.com).
  • China — also served from the .com endpoints, on the China regions (cn-*).
  • Huawei Cloud Europe — served from the .eu endpoints (for example myhuaweicloud.eu).
The cloud is a property of the region: each region ID maps to exactly one endpoint domain. Prowler selects the correct endpoint automatically from the region, so no endpoint configuration is required.

Region Selection Precedence

Prowler resolves the regions to scan from the first source that is set, in this order:
  1. --region flag (aliases --filter-region, -f) — one or more explicit region IDs.
  2. HUAWEICLOUD_REGION (or HW_REGION) environment variable — one or more region IDs, separated by spaces or commas.
  3. --cloud selector (or HUAWEICLOUD_CLOUD / HW_CLOUD) — expands to every region of the selected cloud.
  4. Default — when none is set, Prowler falls back to its built-in region list.
A more specific source always wins: --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:
The --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 (.eu or .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)

Available Services

Prowler for Huawei Cloud currently supports the following services: