Check ID:
Provider: Oracle Cloud (OCI)
Service:
Severity: CRITICAL
Categories:
Resource type:
objectstorage_bucket_not_publicly_accessibleProvider: Oracle Cloud (OCI)
Service:
objectstorageSeverity: CRITICAL
Categories:
internet-exposedResource type:
BucketWhat this check verifies
OCI Object Storage buckets are assessed for public accessibility. Buckets configured asNoPublicAccess deny anonymous reads; any other public access setting indicates bucket contents may be reachable without authentication.
Risk
Public buckets enable unauthenticated downloads and content listing, compromising confidentiality and exposing metadata. Hotlinking can drive unexpected egress costs and degrade availability through bandwidth exhaustion and service abuse.Recommendation
Keep buckets private (NoPublicAccess) under the least privilege principle. For external sharing, use pre-authenticated requests or signed URLs with scoped permissions and expiry. Restrict access via IAM policies, enforce guardrails (e.g., Security Zones), and regularly review bucket visibility.
Remediation
- CLI
- Terraform
- Dashboard steps
oci os bucket update —namespace-name <namespace> —bucket-name <bucket-name> —public-access-type NoPublicAccess
References
- https://docs.oracle.com/en-us/iaas/Content/Object/Tasks/managingbuckets.htm
- https://www.trendmicro.com/trendaivisiononecloudriskmanagement/knowledge-base/oci/OCI-ObjectStorage/publicly-accessible-buckets.html
Where this check fires
This check runs on every scheduled scan against your Oracle Cloud (OCI) account. Findings appear at Cloud Security → Findings filterable byCheck ID = objectstorage_bucket_not_publicly_accessible. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to Oracle Cloud (OCI) checks