{
  "name": "Monitor cybersecurity compliance and send weekly reports via SIEM, Jira, PostgreSQL, Slack and email",
  "nodes": [
    {
      "id": "9724511a-114a-4e93-a57b-fdc020723868",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1456,
        144
      ],
      "parameters": {
        "width": 820,
        "height": 720,
        "content": "## Cybersecurity compliance monitoring & reporting\n\nAutomates weekly compliance monitoring across IT, OT, and cloud environments. Validates security controls against ISO 27001, NIST, GDPR, and SOC2, a"
      }
    },
    {
      "id": "879c86d6-c0e9-49bf-b6f5-3463c03323f5",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -528,
        352
      ],
      "parameters": {
        "width": 468,
        "height": 465,
        "content": "## 1. Trigger compliance check\n\nRuns every Monday at 9 AM to initiate the weekly security audit cycle"
      }
    },
    {
      "id": "b37965a2-b108-475b-b99d-24cf4c231ae2",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -30,
        351
      ],
      "parameters": {
        "width": 668,
        "height": 353,
        "content": "## 2. Scan, collect & analyze\n\nRuns security scans, fetches SIEM logs, validates policies, and detects anomalies in parallel"
      }
    },
    {
      "id": "e9050345-47ef-428c-9101-88bb2e38cddc",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        672,
        96
      ],
      "parameters": {
        "width": 476,
        "height": 905,
        "content": "## 3. Score, alert & remediate\n\nCalculates compliance score, creates tickets, sends critical alerts, and stores results to database"
      }
    },
    {
      "id": "d708d76c-63c9-46d9-8c9c-8e50bf01aed7",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1184,
        256
      ],
      "parameters": {
        "width": 960,
        "height": 553,
        "content": "## 4. Report & notify\n\nGenerates audit-ready HTML compliance report and delivers to team via Email and Slack"
      }
    },
    {
      "id": "0ed7197c-e590-41b9-9658-c7b80ad118b9",
      "name": "Weekly compliance check every Monday 9 AM",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -416,
        544
      ]
    },
    {
      "id": "d7137554-b81d-417b-ba61-6f2025e5db56",
      "name": "Initiate full security scan across environments",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -192,
        448
      ]
    },
    {
      "id": "bd6b07d3-3857-4994-98c7-d1d67b47e7c0",
      "name": "Fetch 7 days of SIEM security logs",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -192,
        640
      ]
    },
    {
      "id": "361e37b6-7887-4e80-b6d8-df53881233c5",
      "name": "Merge scan results and log data",
      "type": "n8n-nodes-base.merge",
      "position": [
        32,
        544
      ]
    },
    {
      "id": "9a5cdde8-cf35-4789-bcd4-c8dc42d9631a",
      "name": "Analyze scan results and detect log anomalies",
      "type": "n8n-nodes-base.code",
      "position": [
        256,
        544
      ]
    },
    {
      "id": "139d56f5-3e30-4a36-bf9e-d8236b533b66",
      "name": "Check for duplicate compliance reports",
      "type": "n8n-nodes-base.code",
      "position": [
        480,
        544
      ]
    },
    {
      "id": "5c9cd279-d61b-4550-b26c-8f3bdc01efaa",
      "name": "Route by compliance status",
      "type": "n8n-nodes-base.switch",
      "position": [
        704,
        528
      ]
    },
    {
      "id": "3058a9cb-b31a-48e7-85a8-f0f0133b004a",
      "name": "Send critical compliance alert",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        928,
        256
      ]
    },
    {
      "id": "0131735a-c60a-4d15-8b0a-6be6a298a5c9",
      "name": "Create remediation tickets in Jira",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        928,
        448
      ]
    },
    {
      "id": "c659bc88-765a-4654-a5ec-49c51b05ff03",
      "name": "Store compliance report in PostgreSQL",
      "type": "n8n-nodes-base.postgres",
      "position": [
        928,
        640
      ]
    },
    {
      "id": "b4261796-048e-4a39-9ee3-f1702c6408b5",
      "name": "Update existing report in PostgreSQL",
      "type": "n8n-nodes-base.postgres",
      "position": [
        928,
        832
      ]
    },
    {
      "id": "503ae646-8970-4b01-9f8b-b3c54c87cd57",
      "name": "Generate audit-ready HTML compliance report",
      "type": "n8n-nodes-base.code",
      "position": [
        1216,
        544
      ]
    },
    {
      "id": "bad858d6-007e-441d-9071-5c83da6ba2a9",
      "name": "Filter for non-compliant and warning reports",
      "type": "n8n-nodes-base.filter",
      "position": [
        1376,
        544
      ]
    },
    {
      "id": "f89a8f4b-dbd8-4843-bff3-2217b3fd1b08",
      "name": "Post compliance summary to Slack",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1600,
        448
      ]
    },
    {
      "id": "4174b783-2d40-4b6f-9bf6-9a71de1657d2",
      "name": "Email audit-ready report to team",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        1600,
        640
      ]
    },
    {
      "id": "2198e4d1-26ac-419e-851a-10cbd7365144",
      "name": "Log success and track compliance statistics",
      "type": "n8n-nodes-base.code",
      "position": [
        1824,
        544
      ]
    }
  ],
  "connections": {
    "Route by compliance status": {
      "main": [
        [
          {
            "node": "Send critical compliance alert",
            "type": "main",
            "index": 0
          },
          {
            "node": "Create remediation tickets in Jira",
            "type": "main",
            "index": 0
          },
          {
            "node": "Store compliance report in PostgreSQL",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Create remediation tickets in Jira",
            "type": "main",
            "index": 0
          },
          {
            "node": "Store compliance report in PostgreSQL",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Store compliance report in PostgreSQL",
            "type": "main",
            "index": 0
          },
          {
            "node": "Update existing report in PostgreSQL",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send critical compliance alert": {
      "main": [
        [
          {
            "node": "Generate audit-ready HTML compliance report",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge scan results and log data": {
      "main": [
        [
          {
            "node": "Analyze scan results and detect log anomalies",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Email audit-ready report to team": {
      "main": [
        [
          {
            "node": "Log success and track compliance statistics",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Post compliance summary to Slack": {
      "main": [
        [
          {
            "node": "Log success and track compliance statistics",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create remediation tickets in Jira": {
      "main": [
        [
          {
            "node": "Generate audit-ready HTML compliance report",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch 7 days of SIEM security logs": {
      "main": [
        [
          {
            "node": "Merge scan results and log data",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Update existing report in PostgreSQL": {
      "main": [
        [
          {
            "node": "Generate audit-ready HTML compliance report",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Store compliance report in PostgreSQL": {
      "main": [
        [
          {
            "node": "Generate audit-ready HTML compliance report",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check for duplicate compliance reports": {
      "main": [
        [
          {
            "node": "Route by compliance status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Weekly compliance check every Monday 9 AM": {
      "main": [
        [
          {
            "node": "Initiate full security scan across environments",
            "type": "main",
            "index": 0
          },
          {
            "node": "Fetch 7 days of SIEM security logs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate audit-ready HTML compliance report": {
      "main": [
        [
          {
            "node": "Filter for non-compliant and warning reports",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter for non-compliant and warning reports": {
      "main": [
        [
          {
            "node": "Post compliance summary to Slack",
            "type": "main",
            "index": 0
          },
          {
            "node": "Email audit-ready report to team",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Analyze scan results and detect log anomalies": {
      "main": [
        [
          {
            "node": "Check for duplicate compliance reports",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Initiate full security scan across environments": {
      "main": [
        [
          {
            "node": "Merge scan results and log data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}