๐ก๏ธ Oracle Tenancy has no active customer-managed compartments๐ข
- Contextual name: ๐ก๏ธ Tenancy has no active customer-managed compartments๐ข
- ID:
/ce/ca/oracle/tenancy/tenancy-without-compartments - Tags:
- ๐ข Policy with categories
- ๐ข Policy with type
- ๐ข Production policy
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
SECURITY
Logicโ
- ๐ง prod.logic.yaml๐ข
Descriptionโ
Descriptionโ
This policy identifies Oracle Tenancies that do not contain any active customer-managed compartments. Each tenancy should have at least one active customer-managed compartment so OCI resources can be organized under clear administrative and security boundaries instead of relying only on the root compartment or Oracle-managed compartments.
Rationaleโ
Compartments are a foundational OCI governance control. They provide clear boundaries for resource isolation, delegated administration, IAM policy scoping, quotas, tagging, and operational ownership. Creating dedicated compartments helps organizations separate workloads by environment, application, business unit, or data sensitivity.
When a tenancy does not have any active customer-managed compartments, teams are forced to rely on the root compartment or Oracle-managed compartments for resource organization. This weakens least-privilege administration, makes policy scoping less precise, and reduces clarity around ownership and accountability.
Establishing at least one active customer-managed compartment is a basic tenancy governance requirement and a prerequisite for building a scalable compartment strategy across environments, teams, and workloads.
... see more
Remediationโ
Remediationโ
Create and Use a Customer-Managed Compartmentโ
Create at least one active customer-managed compartment and use it as the administrative boundary for OCI workloads instead of relying only on the root compartment or the OCI-managed
ManagedCompartmentForPaaScompartment.Before remediation, confirm the following:
- The compartment naming standard aligns with your tenancy governance model.
- Required IAM policies are in place for administrators, automation, and services.
- Tags, quotas, budgets, and monitoring are configured for the new compartment as needed.
- Existing workloads that should not remain in the root compartment are planned for migration.
From Oracle Cloud Consoleโ
- Open
Identity & Security, then selectCompartments.- Click
Create Compartment.- For the parent compartment, select the tenancy root compartment unless your governance model requires a different parent.
- Enter a compartment name and description that match your organizational standard.
- Click
Create Compartment.... see more
policy.yamlโ
Linked Framework Sectionsโ
| Section | Sub Sections | Internal Rules | Policies | Flags | Compliance |
|---|---|---|---|---|---|
| ๐ผ CIS Oracle v3.1.0 โ ๐ผ 6.1 Create at least one compartment in your tenancy to store cloud resources - Level 1 (Automated) | 1 | no data | |||
| ๐ผ Cloudaware Framework โ ๐ผ General Access Controls | 20 | no data |