Templates / Automated GitHub scanner for exposed AWS IAM keys

Automated GitHub scanner for exposed AWS IAM keys

Ready for 3.0

by Niranjan G ✓ · 1,390 views · created 2025-06-18 · SecOps

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What 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”.

  1. List AWS Users (HTTP Request): calls iam.amazonaws.com (POST)
  2. Extract AWS Usernames (Code): runs custom JavaScript code
  3. Split Users for Processing (Loop Over Items (Split in Batches)): loops over the items in batches
  4. Get User Access Keys (HTTP Request): calls iam.amazonaws.com (POST)
  5. Filter Active Keys Only (If): checks a condition and branches into true / false
  6. Prepare Github Search (Code): runs custom JavaScript code
  7. Rate Limit Wait (Wait): pauses before continuing
  8. Search GitHub for Exposed Keys (HTTP Request): calls an HTTP API
  9. Aggregate Search Results (Code): runs custom JavaScript code
  10. 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

Slack

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)

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…

Excerpt from Niranjan G's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.