Monitor cybersecurity compliance and send weekly reports via SIEM, Jira, PostgreSQL, Slack and email
Ready for 3.0What this workflow does
This workflow has 16 nodes and runs on a schedule (cron 0 9 * * 1). Along the way it connects Postgres.
How it runs
Trigger: On a schedule (cron 0 9 * * 1).
- Initiate full security scan across environments (HTTP Request): calls an HTTP API (POST)
- Fetch 7 days of SIEM security logs (HTTP Request): calls an HTTP API
- Merge: merges the data from its input branches
- Analyze scan results and detect log anomalies (Code): runs custom JavaScript code
- Check for duplicate compliance reports (Code): runs custom JavaScript code
- Route by compliance status (Switch): routes items into 3 branches
- Send critical compliance alert (HTTP Request): calls an HTTP API (POST)
- Create remediation tickets in Jira (HTTP Request): calls an HTTP API (POST)
- Store compliance report in PostgreSQL (Postgres): uses Postgres
- Update existing report in PostgreSQL (Postgres): uses Postgres
…plus 5 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 (8)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - Code
n8n-nodes-base.code - Switch
n8n-nodes-base.switch - Postgres
n8n-nodes-base.postgres - Filter
n8n-nodes-base.filter - Send Email
n8n-nodes-base.emailSend
From the author
This n8n workflow automates continuous compliance monitoring across IT, OT, and cloud environments by aggregating security controls, validating policies (ISO 27001, NIST, GDPR, SOC2), detecting anomalies in logs and configurations, generating real-time…