Check provider logo

OBS buckets are not publicly accessible

obs_bucket_public_access

Severitycritical
Serviceobs
by Prowler

Ensure that Object Storage Service (OBS) buckets are not publicly accessible to prevent unauthorized access to stored objects.

Risk

Publicly accessible OBS buckets allow anyone on the internet to list, read, or modify stored objects, potentially exposing sensitive data to unauthorized access.

Run this check with Prowler CLI

prowler huaweicloud --checks obs_bucket_public_access

Recommendation

Remove public access permissions from OBS buckets and use IAM policies for controlled access.

Remediation

CLI

obsutil chattri obs://<bucket_name> -acl=private

Other
  1. Log on to the Huawei Cloud console.
  2. Navigate to Object Storage Service.
  3. Select the bucket.
  4. Click the Permissions tab.
  5. Remove any public read or public read/write permissions.
  6. Click Save.

Source Code

Resource Type

NotDefined

References