zia_list_workload_groups
Retrieve ZIA workload groups for use in Cloud Firewall, URL Filtering, SSL Inspection, and Web DLP rules. Filter results using JMESPath queries to find groups by name.
Instructions
List ZIA workload groups, referenced by ID on the workload_groups operand of Cloud Firewall, URL Filtering, SSL Inspection, and Web DLP rules. Read-only — workload group authoring (with its expression DSL) is intentionally left to the ZIA UI. The ZIA list endpoint has no server-side name filter; pair with JMESPath query (e.g. "[?name=='WG-AWS-Prod']") to look up a group by name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page offset for pagination. | |
| page_size | No | Page size. Default 250; maximum 1000. | |
| query | No | JMESPath expression for client-side filtering/projection. Useful when looking up a workload group by name — the ZIA list endpoint does not expose a server-side ``name`` filter, so projection like ``[?name=='WG-AWS-Prod'].id`` is the supported path. | |
| service | No | The service to use. | zia |