cp_mgmt_get_attachment
Retrieves a packet capture or blob data, according to the attributes of a log record through native controller HTTPAPI with owned sessions
Collection: check_point.mgmt
Full Name: check_point.mgmt.cp_mgmt_get_attachment
Controller module — runs on the local controller, not on remote hosts.
Synopsis
Retrieves a packet capture or blob data, according to the attributes of a log record through native controller HTTPAPI with owned sessions
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| attachment_id | str | Attachment identifier from a log record. | ||
| auto_publish_session | bool | false | Publish this owned session explicitly after the operation; default false. | |
| id | str | Log id from a log record. | ||
| 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: get-attachment
check_point.mgmt.cp_mgmt_get_attachment:
attachment_id: MjY5HlNtYXJ0RGVmZW5zZR5jbj1jcF9tZ210LG89aHVnbzEtYmxvYkFwaS1uZXctdGFrZS0yLmNoZWNrcG9pbnQuY29tLnM2MjdvMx57MHg1OTg4