Check ID:
Provider: Oracle Cloud (OCI)
Service:
Severity: HIGH
Categories:
Resource type:
identity_no_resources_in_root_compartmentProvider: Oracle Cloud (OCI)
Service:
identitySeverity: HIGH
Categories:
trust-boundaries, identity-accessResource type:
CompartmentWhat this check verifies
OCI root compartment is evaluated for the presence of user resources. The finding highlights any assets created at the tenancy root and provides a count perresource_type.
Risk
Resources in the root compartment inherit broad tenancy-level policies, weakening least privilege. Compromise or error can enable wide unauthorized access, lateral movement, and destructive changes, degrading confidentiality and integrity, while complicating audits and quota governance.Recommendation
Reserve the root compartment for governance only.- Create workload-specific child compartments
- Scope IAM to them per least privilege and separation of duties
- Enforce boundaries with quotas and tags
- Update automation to avoid root placement
- Regularly audit and relocate stray resources
Remediation
- Terraform
- Dashboard steps
References
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 = identity_no_resources_in_root_compartment. 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