zia-look-up-rule-targets
Installation
SKILL.md
ZIA: Look Up Rule Targets
Why this skill exists
Every ZIA rule resource (Cloud Firewall, DNS, IPS, URL Filtering, SSL Inspection, Web DLP, File Type Control, Sandbox, Cloud App Control) scopes by the same set of "who/where/when/what-device" target fields:
users,groups,departments— who the rule applies tolocations,location_groups— where the user is connecting fromurl_categories— which URL category the request hitsdevices,device_groups— which managed device the user is onworkload_groups— which workload (cloud-asset) the connection is to/fromlabels— admin-assigned tags for organisation/reportingtime_windows— which time-of-day schedule the rule honours
Every one of those fields takes IDs (or, for url_categories, canonical UPPER_SNAKE strings), not display names. The admin will almost always name them by display name. This skill is the single source of truth for "given a name, find the ID."
Centralising it here means every rule skill (zia-create-firewall-filtering-rule, zia-create-cloud-app-control-rule, etc.) can chain to this one instead of repeating — and re-decaying — the same lookup table.