on (tag matching)
Reference for the on field in lunar-config.yml — tag-matching expressions used by collectors, policies, and initiatives to target components.
Array Form
on: [tag1, tag2, tag3]Expression Form
on: "tag1 OR tag2 AND NOT tag3"Operator Precedence
Special Tags
Domain Tags
Component Tags
Collector Reference
Policy Reference
Combining Array and Expression Forms
Examples
All components in a domain
Components with specific tags
All components except those with a specific tag
All except a specific component
Domain with exclusions
Include back after exclusion
Components that must have multiple tags
Domain filtering with required tag
Complex targeting across domains
Last updated
