Note
This plugin is part of the check_point.mgmt collection (version 2.0.0).
To install it use: ansible-galaxy collection install check_point.mgmt
.
To use it in a playbook, specify: check_point.mgmt.checkpoint_access_rule
.
Parameter | Choices/Defaults | Comments |
---|---|---|
action string | Default: "drop" | Action of the access rule (accept, drop, inform, etc). |
auto_install_policy boolean |
| Install the package policy if changes have been performed after the task completes. |
auto_publish_session boolean |
| Publish the current session if changes have been performed after task completes. |
destination string | Destination object of the access rule. | |
enabled boolean |
| Enabled or disabled flag. |
layer string | Layer to attach the access rule to. | |
name string / required | Name of the access rule. | |
policy_package string | Default: "standard" | Package policy name to be installed. |
position string | Position of the access rule. | |
source string | Source object of the access rule. | |
state string | Default: "present" | State of the access rule (present or absent). Defaults to present. |
targets list / elements=string | Targets to install the package policy on. |
- name: Create access rule checkpoint_access_rule: layer: Network name: "Drop attacker" position: top source: attacker destination: Any action: Drop - name: Delete access rule checkpoint_access_rule: layer: Network name: "Drop attacker"
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
checkpoint_access_rules list / elements=string | always, except when deleting the access rule. | The checkpoint access rule object created or updated. |
© 2012–2018 Michael DeHaan
© 2018–2021 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.11/collections/check_point/mgmt/checkpoint_access_rule_module.html