PARALLAX

cp_mgmt_export_smart_task

Export SmartTask to a file through native controller HTTPAPI with owned sessions

Collection: check_point.mgmt

Full Name: check_point.mgmt.cp_mgmt_export_smart_task

Controller module — runs on the local controller, not on remote hosts.

Synopsis

Export SmartTask to a file through native controller HTTPAPI with owned sessions

Parameters

NameTypeRequiredDefaultDescription
auto_publish_sessionboolfalsePublish this owned session explicitly after the operation; default false.
file_pathstrPath to the SmartTask file to be exported.
Should be the full file path (example, “/home/admin/exported-smart-task.txt)”.
If no path was inserted the default will be, “/var/log/<task_name>.txt”.
namestryesName of task to be exported.
versionstrManagement API version path; omitted uses the default API version.
wait_for_taskbooltrueWait for returned asynchronous task identifiers; default true.
wait_for_task_timeoutint30Polling deadline in minutes; default 30, negative values use 30, maximum 1440.

Example

yaml
- name: export-smart-task
  check_point.mgmt.cp_mgmt_export_smart_task:
    name: Validate Session Name Before Publish
Search
    ↑ ↓ move↵ openesc close