Network vulnerability scanner with NMAP and automated CVE reporting
Ready for 3.0What this workflow does
This workflow has 22 nodes and runs on a schedule (every day at 01:00) (plus 3 other triggers). Along the way it connects Telegram.
How it runs
Trigger: On a schedule (every day at 01:00) (plus 3 other triggers).
- Pre-Set-Target (Edit Fields (Set)): sets 1 field: network
- 1. Set Parameters (Edit Fields (Set)): sets 3 fields: network, timestamp, report_password
- Add NMAP-HELPER (Execute Command): runs a shell command on the n8n host
- Optional Params Setter (Edit Fields (Set)): sets 5 fields: setter, max-retries, min-parallelism…
- 2. Execute Nmap Scan (Execute Command): runs a shell command on the n8n host
- 3. Parse NMAP JSON to Services (Code): runs custom JavaScript code
- 4. Save Scan Data to File (Read/Write Files from Disk): writes a file to disk
- 5. CVE Enrichment Loop (Code): runs custom JavaScript code
- 6. Save Enriched Data (Read/Write Files from Disk): writes a file to disk
- 7. Aggregate All Data (Aggregate): combines items into one
…plus 8 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (11)
- Webhook
n8n-nodes-base.webhook - Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - Execute Command
n8n-nodes-base.executeCommand - Read/Write Files from Disk
n8n-nodes-base.readWriteFile - Code
n8n-nodes-base.code - Aggregate
n8n-nodes-base.aggregate - n8n Form Trigger
n8n-nodes-base.formTrigger - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Telegram
n8n-nodes-base.telegram - Send Email
n8n-nodes-base.emailSend
From the author
Network Vulnerability Scanner (used NMAP as engine) with Automated CVE Report Workflow Overview This n8n workflow provides comprehensive network vulnerability scanning with automated CVE enrichment and professional report generation. It performs Nmap scans,…