---
title: Ensure no resources are created in the root compartment
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: >-
  Docs > Datadog Security > OOTB Rules > Ensure no resources are created in the
  root compartment
---

# Ensure no resources are created in the root compartment
 
## Description{% #description %}

Resources should not be created in the root compartment of an OCI tenancy. Placing resources in the root compartment makes it difficult to organize and isolate them, reducing the effectiveness of access controls and resource management. This rule reports a finding against the tenancy when any audited resource is found in the root compartment.

**Note**: This rule audits VCNs, compute instances, buckets, block volumes, boot volumes, file systems, autonomous databases, and database systems. Resource types outside this set are not evaluated.

## Remediation{% #remediation %}

Move any flagged resource out of the root compartment into a dedicated child compartment. For step-by-step instructions on relocating resources between compartments, see [Managing Compartments](https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/managingcompartments.htm).

## References{% #references %}
