pci_download_scan_report
Download a Qualys PCI scan report PDF for a given scan ID and get the local file path. Returns 404 if no report has been generated yet.
Instructions
Download a scan's report PDF and return the path it was saved to.
Args:
scan_id: The scan's scan_id from pci_list_scans.
PDF is the only format Qualys offers here. The bytes are written to disk and only a path is returned -- a PDF is not usable as tool output.
A 404 is the normal case, not a failure. Reports must be generated in the Qualys console first, and generation is a write operation this server does not perform. A 404 means only "no report has been generated for this scan yet". It does not mean the scan is missing, and it is not a compliance finding -- do not report it as one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scan_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||