Ensure that your OCI cloud resources are using default tags in order implement consistent resource metadata, improve governance, simplify cost tracking, and accelerate incident response by providing immediate context.
excellence
Default tags apply to new OCI resources, ensuring consistent tagging from creation. To follow best practices, implement them early at the root compartment for broad coverage, and protect tag namespaces with IAM policies to prevent unauthorized changes. Default tags such as "CreatedBy" provide immediate resource ownership information during incidents, eliminating time-consuming audit log searches. This speeds up incident response and accountability.
As an example, this guide demonstrates how to check and manage the "CreatedBy" default tag.
Audit
To determine if your Oracle Cloud Infrastructure (OCI) resources are using default tags, perform the following operations:
Remediation / Resolution
To create and configure default tags for your Oracle Cloud Infrastructure (OCI) resources at the root compartment level, perform the following operations:
References
- Oracle Cloud Infrastructure Documentation
- Managing Tag Defaults
- Listing Tag Defaults
- Creating a Tag Default
- Oracle Cloud Infrastructure CLI Documentation
- compartment list
- tag-default list
- tag-namespace create
- tag create
- tag-default create