π‘οΈ Oracle Storage Bucket allows public accessπ’
- Contextual name: π‘οΈ Storage Bucket allows public accessπ’
- ID:
/ce/ca/oracle/bucket/bucket-public-access - Tags:
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
SECURITY
Logicβ
- π§ prod.logic.yamlπ’
Similar Policiesβ
- Internal:
dec-x-87b8e6c7
Similar Internal Rulesβ
| Rule | Policies | Flags |
|---|---|---|
| βοΈ dec-x-87b8e6c7 | 1 |
Descriptionβ
Descriptionβ
This policy identifies Oracle Storage Buckets that allow public access.
Rationaleβ
Public Object Storage buckets can expose stored objects to anonymous users without requiring Oracle Cloud authentication. If public access is enabled, data can be discovered, downloaded, or indexed outside the intended trust boundary, which increases the risk of data leakage and unauthorized disclosure.
Object Storage buckets should remain private unless there is a documented business requirement for public distribution and the bucket contains only data approved for public access.
Impactβ
Disabling public access can interrupt workloads that intentionally serve objects directly from the bucket. Review application dependencies before changing the setting and use signed URLs, pre-authenticated requests, a CDN, or another controlled distribution pattern where public delivery is required.
Auditβ
This policy flags an Oracle Storage Bucket as
INCOMPLIANTwhenPublic Access Typeis set to ObjectRead or ObjectReadWithoutList.... see more
Remediationβ
Remediationβ
Disable Public Access for the Object Storage Bucketβ
Set the affected bucket visibility to private by changing its public access type to NoPublicAccess. Before remediation, confirm that no approved workload depends on anonymous object reads. If public delivery is required, use a controlled access pattern such as pre-authenticated requests, signed URLs, or a CDN configuration that exposes only approved content.
From Oracle Cloud Consoleβ
- Open the OCI Console.
- Go to Storage > Object Storage & Archive Storage > Buckets.
- Select the compartment that contains the affected bucket.
- Open the affected bucket.
- Click Edit Visibility or edit the bucket visibility settings.
- Set visibility to Private or set Public Access Type to NoPublicAccess.
- Save the change.
From Command Lineβ
For each affected bucket, run:
oci os bucket update \
--namespace-name "{{namespace-name}}" \
--bucket-name "{{bucket-name}}" \
--public-access-type "NoPublicAccess"
... [see more](remediation.md)