Block 1 - Switch
- Type / Role
- n8n-nodes-base.switch - switch
- Config choices
- Version 3.4
SecretOps, DevSecOps Real Time Repos Secret Leak Remediation SecretOps is an n8n security automation workflow that monitors Git push events, detects high risk secrets in commits, and automatically ...
n8n-nodes-base.switch, n8n-nodes-base.aggregate, @n8n/n8n-nodes-langchain.lmchatopenrouter, n8n-nodes-base.githubtrigger, n8n-nodes-base.code, n8n-nodes-base.httprequest, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.set
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Taiwo Hassan.
Original n8n.io sourceSecretOps is an n8n security automation workflow that monitors Git push events, detects high-risk secrets in commits, and automatically responds in real time.
Unlike typical scanners that only notify, SecretOps acts immediately:
This workflow demonstrates how n8n can function as a lightweight SOAR (Security Orchestration, Automation, and Response) system for DevOps teams.
Developers sometimes commit secrets such as:
These leaks can result in:
Most tools detect and notify. SecretOps detects and reacts.
SecretOps listens to repository push events from GitHub/GitLab.
A Code node scans changed files and extracts only high-impact secrets:
AKIA... → AWS access keyssk_live_, pk_test_ → payment processor keyspostgres://, mongodb://, mysql://, redis:// → database URLsAn AI node receives detected items and decides the correct action:
REVOKE_AWS_KEYPAYMENT_PROCESSOR_KEY_ALERTROTATE_DB_PASSWORDIGNORE_KEYIt also generates ready-to-use Jira ticket content and Slack alert messages.
| Action | Automated Response |
|---|---|
| REVOKE_AWS_KEY | Disable key in AWS IAM → Create Jira ticket → Send Slack alert |
| PAYMENT_PROCESSOR_KEY_ALERT | Create Jira ticket → Send Slack alert |
| ROTATE_DB_PASSWORD | Create Jira ticket → Send Slack alert |
| IGNORE_KEY | End workflow |
SecretOps turns secret leaks from a silent vulnerability into an immediate, traceable, and automated incident response — reducing the window of exploitation from hours to seconds.
Ideal for DevOps, security teams, and engineering organizations that want proactive protection without complex security tooling.
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.
Showing the first 24 of 26 workflow blocks. Download the JSON for the full node graph.
| Workflow | Detect and remediate leaked secret on repo with GitHub, AWS, Jira, Slack, Claude |
|---|---|
| Complexity | advanced |
| Nodes | 26 |
| Categories | SecOps, AI Summarization |
| Author | Taiwo Hassan |
| Published | 26 Apr 2026 |
Use the JSON export at /data/workflows/15314/15314.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.
SecretOps, DevSecOps Real Time Repos Secret Leak Remediation SecretOps is an n8n security automation workflow that monitors Git push events, detects high risk secrets in commits, and automatically ...
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, AI Summarization use case.