sophos_create_policy
Create a new endpoint policy by specifying type, name, priority, and settings as JSON. Supports threat protection, web control, and other policy types.
Instructions
Create a new endpoint policy. Specify the policy type, name, and optionally priority, enabled state, and settings as a JSON string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for the new policy | |
| type | Yes | Policy type | |
| enabled | No | Whether the policy is enabled (default true) | |
| priority | No | Policy priority (lower number = higher priority) | |
| settings | No | Policy settings as a JSON string. Structure depends on policy type. Use sophos_get_policy on an existing policy to see the expected format. | |
| tenant_id | Yes | Target tenant ID |