zia_get_malware_settings
Retrieves ZIA Malware Protection threat-class settings with 16 boolean controls for virus, trojan, ransomware, and more. Use before updating settings to preserve existing configuration.
Instructions
Get the full ZIA Malware Protection threat-class settings block (read-only) — 16 booleans covering virus, trojan, worm, adware, spyware, ransomware, remote-access tool, and unwanted-application enforcement, each with a matching *_capture PCAP toggle. Always call this before zia_update_malware_settings so partial updates can be merged onto the existing payload (the update is PUT-replace; omitted fields are reset to False). Supports JMESPath client-side filtering via the query parameter.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | JMESPath expression for client-side filtering/projection of the returned settings dict (e.g. "{ransomware: ransomware_blocked}"). | |
| service | No | The service to use. | zia |