sophos_dns_update_policy
Update DNS Protection policy settings, including locations, custom domains, safe search, and category controls. Send full replacement arrays or add/remove objects for array fields.
Instructions
Update a DNS Protection policy. For array fields (locationIds, allowedCustomDomainIds, etc.) send a full replacement array, null to clear, or an add/remove object.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Updated policy name | |
| policy_id | Yes | DNS policy UUID | |
| tenant_id | Yes | Tenant UUID | |
| description | No | Updated description | |
| location_ids | No | JSON array of location UUIDs (full replacement), or comma-separated for convenience | |
| custom_domains_enabled | No | Enable/disable allowed/blocked custom domain lists | |
| rejected_web_categories | No | JSON array of rejected web categories (full replacement) | |
| allowed_custom_domain_ids | No | Comma-separated allowed custom domain list UUIDs (full replacement) | |
| blocked_custom_domain_ids | No | Comma-separated blocked custom domain list UUIDs (full replacement) | |
| category_group_action_settings | No | JSON object mapping category group identifiers to actions (allow|block|alert|custom) | |
| safe_search_for_youtube_enabled | No | Enable/disable SafeSearch for YouTube | |
| safe_search_youtube_restriction_level | No | Updated YouTube restriction level | |
| safe_search_for_search_engines_enabled | No | Enable/disable SafeSearch for search engines |