sophos_dns_create_policy
Create a DNS Protection policy to filter web categories, manage custom domain allow/block lists, and enforce safe search settings.
Instructions
Create a new DNS Protection policy with category filtering, allowed/blocked custom domain lists, and safe-search settings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Policy name (required) | |
| tenant_id | Yes | Tenant UUID | |
| description | No | Policy description | |
| location_ids | No | Comma-separated location UUIDs to assign this policy to | |
| custom_domains_enabled | No | Enable allowed/blocked custom domain lists | |
| rejected_web_categories | No | JSON array of rejected web category identifiers | |
| allowed_custom_domain_ids | No | Comma-separated allowed custom domain list UUIDs | |
| blocked_custom_domain_ids | No | Comma-separated blocked custom domain list UUIDs | |
| category_group_action_settings | No | JSON object mapping category group identifiers to actions (allow|block|alert|custom). E.g. {"productivity":"allow","social":"block"} | |
| safe_search_for_youtube_enabled | No | Enable SafeSearch for YouTube | |
| safe_search_youtube_restriction_level | No | YouTube restriction level (e.g. strict, moderate) | |
| safe_search_for_search_engines_enabled | No | Enable SafeSearch for search engines |