Security Group Firewall Change Alert
Real-time: detect overly-permissive security group rules (0.0.0.0/0 on port 22/3306/5432); flag for review and suggest remediation.
Overview
**What it does**: CloudTrail webhook (AWS) or Cloud Audit Log (GCP) on security group change → parse rule change (ingress/egress, protocol, source CIDR) → code flags overly-permissive rules (0.0.0.0/0 on SSH/RDP/DB ports) or changes to critical groups → LLM explains: what changed, risk level (public SSH on prod = critical), suggest: restrict to bastion, enable WAF, use VPN → Slack to #security-alerts immediately. **Setup (4 steps)**: 1. Configure audit log webhook: AWS CloudTrail SNS, GCP Cloud Audit to n8n 2. Define sensitive ports: 22 (SSH), 3389 (RDP), 3306 (MySQL), 5432 (PostgreSQL), 27017 (MongoDB) 3. Define sensitive groups: prod-*, database-*, api-* patterns 4. Configure Slack channel: #security-alerts **Apps/nodes**: Webhook (audit log), code node (rule analysis), Claude/OpenAI (risk assessment), Slack. **Credentials required**: Cloud audit log config, OpenAI account, Slack workspace. **Difficulty**: Medium | **Setup time**: 10 minutes. **Business outcome**: Overly-permissive rules caught instantly → attack surface ↓ minimized, compliance violations ↓ prevented.
What's included
Inside this workflow
Quickstart
- 01
Download the JSON
With an active Library Pass, download the workflow file right from this page or your dashboard.
- 02
Import into n8n
Choose Import from File and select the downloaded JSON. The full agent graph appears, ready to configure.
- 03
Plug in credentials
Each integration node prompts for credentials on first run. The setup guide lists every credential the agent expects.
- 04
Activate and test
Run once with sample input, confirm the expected output, then flip the activate toggle.
Frequently Asked Questions
How do I import this workflow into n8n?
What credentials do I need to provide?
Are the credentials included in the JSON file?
Can I edit or customize the workflow after importing?
What n8n version is required?
What if something breaks after I import it?
Can I use this workflow for my customers or business?
Will the workflow receive updates?
Do I need n8n Pro or a paid plan?
Can I ask for a custom workflow?
Reviews (0)
No reviews yet. Be the first.
Sign in to leave a review.
Included with any pass
This agent — and every other in the library — comes with a Library Pass. One pass, the whole catalog.
Get a Library Pass- Every agent in the library
- All new releases while active
- Unlimited downloads
- Commercial-use license
- Priority email support
- 30-day money-back guarantee
More in Security & IAM
Cloud Compliance Audit Report
Monthly: compile cloud resource audit logs, detect anomalies (unusual access, unencrypted data, public resources), generate compliance report — save to secure store, notify compliance team.
Console Login Anomaly Alert
Real-time: detect suspicious console login patterns (off-hours, new location, failed logins, root account); escalate to security team.
IAM Permission Drift Audit
Weekly: compare current IAM role assignments to baseline; detect unexpected access escalations or permission creep; alert with remediation steps.