Creating a Rule
Go to Settings > Resource Enrichment, click New Rule, and complete the wizard:1
Basic Information
Name the rule, choose the resource type it enriches, and optionally add a description.
2
Query Rules
Add filters to select which resources the rule applies to (for example, Technology equals ACR Container Image). Only resources that meet all the criteria are enriched.
3
Actions
Choose an enrichment action and configure it. Today you can add custom tags — one or more key/value pairs, with each key used only once per rule.
How Enrichment Works
A rule never overwrites a value it doesn’t own. If a resource already has a conflicting value — set by another rule or by hand — the rule skips it and reports it instead.Only the rule that applied an enrichment can update it. Conflicting enrichments from other rules are restricted to avoid conflicts.
Rule Status
After each run, the rule shows a status:- Completed — every matched resource was enriched.
- Partially Applied — some resources were enriched and others failed.
- Failed — every matched resource failed to be enriched.