check_point.mgmt.cp_mgmt_best_practice_facts module – Get best-practice objects facts on Checkpoint over Web Services API
Note
This module is part of the check_point.mgmt collection (version 6.7.0).
You might already have this collection installed if you are using the ansible package.
It is not included in ansible-core.
To check whether it is installed, run ansible-galaxy collection list.
To install it, use: ansible-galaxy collection install check_point.mgmt.
To use it in a playbook, specify: check_point.mgmt.cp_mgmt_best_practice_facts.
New in check_point.mgmt 6.7.0
Synopsis
Get best-practice objects facts on Checkpoint devices.
All operations are performed over Web Services API.
This module handles both operations, get a specific object and get several objects, For getting a specific object use the parameter ‘name’ or ‘best_practice_id’.
Available from R82.10 management version.
Parameters
Parameter |
Comments |
|---|---|
Best Practice ID. |
|
Returns all the relevant Best Practices of the selected Software Blades. When empty will return all the Best Practices. Choices:
|
|
Returns all the relevant Best Practices of the selected type. Choices:
|
|
The level of detail for some of the fields in the response can vary from showing only the UID value of the object to a fully detailed representation of the object. Choices:
|
|
Returns all the relevant Best Practices of the selected Security Gateway object. |
|
The maximal number of returned results. This parameter is relevant only for getting few objects. Valid values are between 1 and 500. |
|
Best Practice Name. This parameter is relevant only for getting a specific object. |
|
Number of the results to initially skip. This parameter is relevant only for getting few objects. |
|
Indicates whether the query should return only objects from the current local domain. This parameter is only valid for local domain. Choices:
|
|
Show the applicable regulations of the Best Practice. Choices:
|
|
Returns all the relevant best practices with the selected statuses. When empty will return all best practices. Choices:
|
|
Version of checkpoint. If not given one, the latest version taken. |
Examples
- name: show-best-practice
cp_mgmt_best_practice_facts:
best_practice_id: FW183
- name: show-best-practices
cp_mgmt_best_practice_facts:
limit: '5'