Automated GitHub scanner for exposed AWS IAM keys
Ready for 3.0What this workflow does
This workflow has 16 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Slack. It also calls iam.amazonaws.com over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- List AWS Users (HTTP Request): calls iam.amazonaws.com (POST)
- Extract AWS Usernames (Code): runs custom JavaScript code
- Split Users for Processing (Loop Over Items (Split in Batches)): loops over the items in batches
- Get User Access Keys (HTTP Request): calls iam.amazonaws.com (POST)
- Filter Active Keys Only (If): checks a condition and branches into true / false
- Prepare Github Search (Code): runs custom JavaScript code
- Rate Limit Wait (Wait): pauses before continuing
- Search GitHub for Exposed Keys (HTTP Request): calls an HTTP API
- Aggregate Search Results (Code): runs custom JavaScript code
- Check For Compromised Keys (If): checks a condition and branches into true / false
…plus 4 more steps. See the full node list below.
Services it uses
HTTP calls to: iam.amazonaws.com
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.
Nodes used (8)
- Manual Trigger
n8n-nodes-base.manualTrigger - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - Code
n8n-nodes-base.code - No Operation, do nothing
n8n-nodes-base.noOp - Slack
n8n-nodes-base.slack - Wait
n8n-nodes-base.wait
From the author
Automated GitHub Scanner for Exposed AWS IAM Keys Overview This n8n workflow automatically scans GitHub for exposed AWS IAM access keys associated with your AWS account, helping security teams quickly identify and respond to potential security breaches. When…