Keep security reports organized without manual work. This setup collects finished scan reports from Qualys and files them into TheHive as cases with the report attached. It suits SOC teams that need steady tracking, audit trails, and clear ownership.
Here is how it runs. A schedule kicks off every hour, and you can also test by hand. Global settings load the Qualys base URL and pull the last saved timestamp from a small helper workflow. The flow calls the Qualys API to list finished reports, converts XML to JSON, and splits the list into single items. A filter checks each report date against the saved timestamp to avoid duplicates. If new items exist, the loop pauses briefly to avoid rate limits, creates a case in TheHive with the report details, downloads the PDF, and attaches it to the case. The timestamp gets updated so the next run only picks up newer items.
You will need credentials for Qualys, TheHive, and the n8n API. Set the base URL to match your Qualys platform and confirm the helper workflow used for timestamp storage is connected. Expect faster handoffs, fewer missed reports, and a clean record of scans for audits and compliance across your security team.