check_point / check_point.mgmt / 5.2.2 / module / cp_mgmt_get_attachment Retrieves a packet capture or blob data, according to the attributes of a log record. | "added in version" 5.0.0 of check_point.mgmt" Authors: Eden Brillant (@chkp-edenbr) preview | supported by communitycheck_point.mgmt.cp_mgmt_get_attachment (5.2.2) — module
Install with ansible-galaxy collection install check_point.mgmt:==5.2.2
collections: - name: check_point.mgmt version: 5.2.2
Retrieves a packet capture or blob data, according to the attributes of a log record.
All operations are performed over Web Services API.
- name: get-attachment cp_mgmt_get_attachment: attachment_id: MjY5HlNtYXJ0RGVmZW5zZR5jbj1jcF9tZ210LG89aHVnbzEtYmxvYkFwaS1uZXctdGFrZS0yLmNoZWNrcG9pbnQuY29tLnM2MjdvMx57MHg1OTg4
id: description: - Log id from a log record. type: str version: description: - Version of checkpoint. If not given one, the latest version taken. type: str attachment_id: description: - Attachment identifier from a log record. type: str wait_for_task: default: true description: - Wait for the task to end. Such as publish task. type: bool auto_publish_session: default: false description: - Publish the current session if changes have been performed after task completes. type: bool wait_for_task_timeout: default: 30 description: - How many minutes to wait until throwing a timeout error. type: int
cp_mgmt_get_attachment: description: The checkpoint get-attachment output. returned: always. type: dict