cp_mgmt_show_tasks
Retrieve all tasks and show their progress and details through native controller HTTPAPI with owned sessions
Collection: check_point.mgmt
Full Name: check_point.mgmt.cp_mgmt_show_tasks
Controller module — runs on the local controller, not on remote hosts.
Synopsis
Retrieve all tasks and show their progress and details through native controller HTTPAPI with owned sessions
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| auto_publish_session | bool | false | Publish this owned session explicitly after the operation; default false. | |
| 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. | ||
| offset | int | Number of the results to initially skip. | ||
| 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. | ||
| status | str | Status. | ||
| 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. | ||
| wait_for_task | bool | true | Wait for returned asynchronous task identifiers; default true. | |
| wait_for_task_timeout | int | 30 | Polling deadline in minutes; default 30, negative values use 30, maximum 1440. |
Example
yaml
- name: show-tasks
check_point.mgmt.cp_mgmt_show_tasks:
from_date: '2018-05-23T08:00:00'
initiator: admin1
status: successful