check_point.mgmt.cp_mgmt_threat_exception – Manages threat-exception objects on Check Point over Web Services API¶
Note
This plugin is part of the check_point.mgmt collection (version 1.0.6).
To install it use: ansible-galaxy collection install check_point.mgmt
.
To use it in a playbook, specify: check_point.mgmt.cp_mgmt_threat_exception
.
New in version 2.9: of check_point.mgmt
Synopsis¶
Manages threat-exception objects on Check Point devices including creating, updating and removing objects.
All operations are performed over Web Services API.
Parameters¶
Examples¶
- name: add-threat-exception
cp_mgmt_threat_exception:
layer: New Layer 1
name: Exception Rule
position: 1
protected_scope: All_Internet
rule_name: Threat Rule 1
state: present
track: Log
- name: set-threat-exception
cp_mgmt_threat_exception:
layer: New Layer 1
name: Exception Rule
rule_name: Threat Rule 1
state: present
- name: delete-threat-exception
cp_mgmt_threat_exception:
name: Exception Rule
layer: New Layer 1
rule_name: Threat Rule 1
state: absent
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
cp_mgmt_threat_exception
dictionary
|
always, except when deleting the object. |
The checkpoint object created or updated.
|
Authors¶
Or Soffer (@chkp-orso)