zia_list_network_services
List ZIA network services with support for case-insensitive name matching, protocol filtering, and JMESPath queries to fetch service details.
Instructions
List ZIA network services (read-only). Pass name="<friendly admin-supplied name>" (e.g. name="http", name="ftp", name="dns") for a case-insensitive substring match resolved client-side — this is the right knob when the admin gives a service name in any casing. ZIA's canonical service names are uppercase enums (HTTP, FTP, DNS, ...), so server-side search is case-sensitive and unreliable for friendly inputs. Also supports protocol / locale filters and JMESPath projection via query.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Case-insensitive substring match on the network service's `name` field. Resolved client-side AFTER fetching the full service catalog, so 'http', 'HTTP', and 'Http' all match the predefined `HTTP` service. Use this when the admin gives a literal service name in any casing (e.g. 'http', 'ftp', 'dns') and you just need to find its ID. Recommended for find-by-name workflows over `search` (which is server-side and case-sensitive against the canonical uppercase names). | |
| search | No | Server-side query forwarded to the ZIA list_network_services endpoint. Matches against name and description, but is effectively case-sensitive against ZIA's canonical uppercase service names — so `search='http'` will NOT match the predefined `HTTP` service. Prefer `name` for case-insensitive lookups; use `search` only when you need server-side semantics. | |
| protocol | No | Filter by protocol. Supported values: 'ICMP', 'TCP', 'UDP', 'GRE', 'ESP', 'OTHER'. | |
| locale | No | Locale for localized descriptions. Supported: 'en-US', 'de-DE', 'es-ES', 'fr-FR', 'ja-JP', 'zh-CN'. | |
| query | No | JMESPath expression for client-side filtering/projection of results. | |
| service | No | The service to use. | zia |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |