Console Login Anomaly Alert
Real-time: detect suspicious console login patterns (off-hours, new location, failed logins, root account); escalate to security team.
Overview
**What it does**: CloudTrail webhook (AWS) or Cloud Audit Log (GCP) on console login → extract: user, timestamp, source IP, success/failure → code flags anomalies (off-hours login, login from new country, failed logins >3x, root account use) → LLM analyzes: is this suspicious? (developer on-call OK, root account use = red flag) → Slack to #security with alert and recommended action (MFA review, force password reset, block access if critical breach detected). **Setup (4 steps)**: 1. Configure audit log webhook: AWS CloudTrail SNS, GCP Cloud Audit to n8n 2. Define anomalies: off-hours (22:00-06:00), new geo (>1000km from previous login), failed>3, root account 3. Define trusted users/IPs: on-call users, office IP ranges 4. Configure Slack channel: #security **Apps/nodes**: Webhook (audit log), code node (anomaly detection), Claude/OpenAI (risk assessment), Slack. **Credentials required**: Cloud audit log config, OpenAI account, Slack workspace. **Difficulty**: Medium | **Setup time**: 10 minutes. **Business outcome**: Suspicious logins ↑ caught, account compromise ↓ risk minimized, security breach ↑ early detection.
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.
IAM Permission Drift Audit
Weekly: compare current IAM role assignments to baseline; detect unexpected access escalations or permission creep; alert with remediation steps.
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.