What This Workflow Does
This automation bridges the gap between Qualys vulnerability scanning and TheHive security incident management. It automatically transfers completed scan reports from Qualys into TheHive cases, ensuring security teams have immediate access to the latest vulnerability data without manual intervention.
The workflow handles report formatting, metadata preservation, and proper case assignment within TheHive. It transforms raw scan data into actionable security tickets complete with severity ratings, affected systems, and remediation recommendations.
How It Works
1. Qualys Report Trigger
The workflow initiates when a new Qualys scan report is generated, either on a schedule or manually triggered. It authenticates with Qualys API using your credentials and retrieves the completed report.
2. Data Processing
The raw report data is parsed and transformed into TheHive's required format. Critical fields like vulnerability severity, CVSS scores, and affected assets are extracted and mapped.
3. TheHive Case Creation
The workflow creates a new case in TheHive with all relevant vulnerability data. It sets appropriate tags, severity levels, and assigns the case to the correct security team based on predefined rules.
Pro tip: Configure the workflow to tag cases by vulnerability type (e.g., "SQLi", "XSS") for easier filtering and reporting in TheHive.
Who This Is For
This automation is ideal for security operations centers (SOCs), IT security teams, and compliance officers who need to streamline vulnerability management. It's particularly valuable for organizations that:
- Run regular Qualys vulnerability scans
- Use TheHive for security case management
- Need to accelerate mean time to remediation (MTTR)
- Require audit trails for compliance reporting
What You'll Need
- An active Qualys subscription with API access
- TheHive instance (self-hosted or cloud) with API credentials
- n8n instance (self-hosted or cloud)
- Network connectivity between n8n and both Qualys/TheHive
Quick Setup Guide
- Download the JSON template file
- Import into your n8n instance
- Configure Qualys API credentials in the HTTP Request node
- Set up TheHive connection details in the corresponding nodes
- Test with a sample Qualys report
- Schedule the workflow or trigger it manually
Key Benefits
Reduced manual work: Eliminates hours spent downloading, formatting, and uploading reports between systems.
Faster response times: Security teams get vulnerability data in their workflow system immediately after scans complete.
Improved accuracy: Automated transfers prevent human errors in report handling and data entry.
Enhanced visibility: All vulnerability data resides in TheHive's searchable, trackable case management system.
Audit compliance: Creates a documented chain of custody for vulnerability findings from detection to remediation.