check_point / check_point.mgmt / 5.2.2 / module / cp_mgmt_set_policy_settings Edit Policy settings, the changes will be applied after publish. | "added in version" 5.0.0 of check_point.mgmt" Authors: Eden Brillant (@chkp-edenbr) preview | supported by communitycheck_point.mgmt.cp_mgmt_set_policy_settings (5.2.2) — module
Install with ansible-galaxy collection install check_point.mgmt:==5.2.2
collections: - name: check_point.mgmt version: 5.2.2
Edit Policy settings, the changes will be applied after publish.
All operations are performed over Web Services API.
- name: set-policy-settings cp_mgmt_set_policy_settings: last_in_cell: any none_object_behavior: none security_access_defaults: destination: any service: any source: any
version: description: - Version of checkpoint. If not given one, the latest version taken. type: str last_in_cell: choices: - none - restore to default description: - Added object after removing the last object in cell. type: str wait_for_task: default: true description: - Wait for the task to end. Such as publish task. type: bool auto_publish_session: default: false description: - Publish the current session if changes have been performed after task completes. type: bool none_object_behavior: choices: - warning - error - none description: - a 'None' object behavior. Rules with object 'None' will never be matched. type: str wait_for_task_timeout: default: 30 description: - How many minutes to wait until throwing a timeout error. type: int security_access_defaults: description: - Access Policy default values. suboptions: destination: description: - Destination default value for new rule creation. Any or None. type: str service: description: - Service and Applications default value for new rule creation. Any or None. type: str source: description: - Source default value for new rule creation. Any or None. type: str type: dict
cp_mgmt_set_policy_settings: description: The checkpoint set-policy-settings output. returned: always. type: dict