cp_mgmt_set_policy_settings
Edit Policy settings, the changes will be applied after publish through native controller HTTPAPI with owned sessions
Collection: check_point.mgmt
Full Name: check_point.mgmt.cp_mgmt_set_policy_settings
Controller module — runs on the local controller, not on remote hosts.
Synopsis
Edit Policy settings, the changes will be applied after publish through native controller HTTPAPI with owned sessions
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| auto_publish_session | bool | false | Publish this owned session explicitly after the operation; default false. | |
| last_in_cell | str | Added object after removing the last object in cell. | ||
| none_object_behavior | str | a ‘None’ object behavior. Rules with object ‘None’ will never be matched. | ||
| security_access_defaults | dict | Access Policy default values. | ||
| version | str | Management API version path; omitted uses the default API version. | ||
| wait_for_task | bool | true | Wait for returned asynchronous task identifiers; default true. | |
| wait_for_task_timeout | int | 30 | Polling deadline in minutes; default 30, negative values use 30, maximum 1440. |
Example
yaml
- name: set-policy-settings
check_point.mgmt.cp_mgmt_set_policy_settings:
none_object_behavior: none
security_access_defaults:
destination: any
service: any
source: any