Security Automation
Turn manual security work into systems
Repeatable is recoverable. These are the Bash, Python, n8n, and GitHub Actions scripts and workflows I use to automate DNS backup, repository backup, alerting, and evidence work — so the security tasks you'd otherwise do by hand run on their own and leave a trail.
Built by Myles Agnew · Bash · Python · n8n · GitHub Actions · Terraform · Sydney, AU
Backup & recovery automation
Make recovery boring — version the things that break and keep them off-platform.
Cloudflare DNS Backup →Retrieve every Cloudflare zone, convert records to BIND, and create timestamped daily backups automatically.
github-backup →Bash scripts that snapshot every GitHub repository an account owns — off-platform backup before restructuring or incidents.
cloudflare-backup ↗The underlying automated Cloudflare DNS record backup script on GitHub.
Alerting & pipeline workflows
n8n-json ↗Ready-to-import n8n workflows for security alerts, notifications, and operational reporting pipelines.
promptgenie in CI →Drop prompt linting and risk scanning into CI so risky AI-agent prompts are caught before production.
poc_opencti ↗Docker deployment that stands up a full OpenCTI threat-intelligence platform for a lab or evaluation.
Automation principles
- Automate the repeatable, recoverable work first
- Keep backups off-platform and versioned
- Leave an audit trail — every run is evidence
- Prefer small, composable scripts over frameworks
- Run checks in CI, not from memory
- Make the safe path the default path
Related focus areas
Follow the Tools
Automate the boring security work
Get reusable n8n, Bash, Python, and GitHub Actions templates, plus early access to the Security Automation Template Library.