Block 1 - When clicking ‘Execute workflow’
- Type / Role
- n8n-nodes-base.manualTrigger - manualTrigger
- Config choices
- Version 1
This workflow is provided as-is. Please review and test before using in production.
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 quic...
n8n-nodes-base.manualtrigger, n8n-nodes-base.splitinbatches, n8n-nodes-base.httprequest, n8n-nodes-base.if, n8n-nodes-base.code, n8n-nodes-base.noop, n8n-nodes-base.slack, n8n-nodes-base.stickynote
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Niranjan G.
Original n8n.io sourceThis 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 compromised keys are found, the workflow generates detailed security reports and sends Slack notifications with actionable remediation steps.
AWS Credentials:
GitHub Credentials:
Slack Credentials:
AWS Configuration:
GitHub Configuration:
Slack Configuration:
This workflow is compatible with both public and private GitHub repositories to which you have access. It will scan all repositories you have permission to view based on your GitHub credentials.
When a compromised key is detected:
This workflow template is provided for reference purposes only to demonstrate how to automate AWS IAM key exposure scanning. Please note:
IMPORTANT: Use this workflow with caution and only after thoroughly understanding your AWS environment. The authors of this template are not responsible for any disruptions or damages resulting from its use.
The Slack Block Kit notification format supports interactive buttons that can be implemented if you want to perform actions directly from Slack:
To make these buttons functional:
Set up a Slack Socket Mode App:
block_actions event to capture button clicksCreate an n8n Webhook Endpoint:
Implement AWS Key Disabling:
UpdateAccessKey APIMethod: POST
URL: https://iam.amazonaws.com/
Query Parameters:
Action: UpdateAccessKey
AccessKeyId: AKIAIOSFODNN7EXAMPLE
Status: Inactive
UserName: {{$json.username}}
Version: 2010-05-08
Update the Slack Message Format:
Format Slack Alert node to include your webhook URL in the button action valuesThis implementation allows for immediate response to security incidents directly from the Slack interface, reducing response time and improving security posture.
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Automated GitHub scanner for exposed AWS IAM keys |
|---|---|
| Complexity | advanced |
| Nodes | 18 |
| Categories | SecOps |
| Author | Niranjan G |
| Published | 18 Jun 2025 |
Use the JSON export at /data/workflows/5021/5021.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
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 quic...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your SecOps use case.