← Back to Risk Mitigation Techniques Risk Mitigation Techniques

Azure Policy tag enforcement

Category
Prevent / Govern
Creatures
Tag Master (#10), Orphanite (#5), Ghostdev (#7)

Description

Using Azure Policy to require tags (owner, cost centre, application, expiry) so cost lands in the correct FinOps scope and abandoned resources can be traced to an owner.

How to apply it

  • Enforce required tags with Azure Policy.
  • Use expiry and owner tags (e.g. expires-on, owner) with a cleanup process (Ghostdev, Orphanite).
  • Review tags in IaC templates copied from other projects before deploying.
  • Pair with a FinOps scope and budget per application.

Examples

  • Tag Master: a template copied from a similar project kept the old cost centre and application tags, so cost appeared in the wrong place until reconciliation much later. Separately, an untagged project raised unallocated cost.
  • Ghostdev: an abandoned PoC had no tags showing owner or expiry, so no one knew it could be removed.
  • Orphanite: tagging policy (owner, expiry) is listed as a defence.

Limitations

  • Policy enforces presence of tags, not correctness; copied-but-wrong tags (Tag Master example 2) still pass, so IaC review and scope-level budgets are needed.

Related techniques