cp_mgmt_task_facts
Get task objects facts on Checkpoint over Web Services API through native controller HTTPAPI with owned sessions
Collection: check_point.mgmt
Full Name: check_point.mgmt.cp_mgmt_task_facts
Controller module — runs on the local controller, not on remote hosts.
Synopsis
Get task objects facts on Checkpoint over Web Services API through native controller HTTPAPI with owned sessions
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| details_level | str | 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. | ||
| from_date | str | The date from which tracking tasks is to be performed, by the task’s last update date. ISO 8601. If timezone isn’t specified in the input, the Management server’s timezone is used. | ||
| initiator | str | Initiator’s name. If name isn’t specified, tasks from all initiators will be shown. | ||
| limit | int | The maximal number of returned results. This parameter is relevant only for getting few objects. | ||
| offset | int | Number of the results to initially skip. This parameter is relevant only for getting few objects. | ||
| order | list | Sorts results by the given field. By default the results are sorted in the descending order by the task’s last update date. This parameter is relevant only for getting few objects. | ||
| status | str | Status. | ||
| task_id | list | Unique identifier of one or more tasks. | ||
| to_date | str | The date until which tracking tasks is to be performed, by the task’s last update date. ISO 8601. If timezone isn’t specified in the input, the Management server’s timezone is used. | ||
| version | str | Management API version path; omitted uses the default API version. |
Example
yaml
- name: show-task
check_point.mgmt.cp_mgmt_task_facts:
task_id: 2eec70e5-78a8-4bdb-9a76-cfb5601d0bcb
- name: show-tasks
check_point.mgmt.cp_mgmt_task_facts:
from_date: '2018-05-23T08:00:00'
initiator: admin1
status: successful