Last updated: April 29, 2026
Why this module. “Shift-left” — find security issues earlier — became dogma. But shift-left has limits: bugs ship anyway, dependencies have CVEs you can’t anticipate, attackers find new exploits. Modern teams add “shift-right” — runtime detection and response — without abandoning shift-left.
Where shift-left fails
- Zero-day exploits — by definition unknowable at build time
- Configuration drift — code reviewed; production config differs
- Behavioural attacks — credential stuffing, scraping, fraud — code is fine; attackers exploit business logic
- Compromised dependencies — dependency was clean when added; turned malicious in update
The runtime tools
- RASP (Runtime Application Self-Protection) — agent inside the app. Detects SQLi, XSS, path traversal in real time and blocks. Imperva, Contrast Security, Sqreen-style.
- WAF — covered earlier. Edge.
- Falco — Kubernetes / container runtime detection. Alerts on suspicious syscalls.
- Tetragon — Cilium’s eBPF-based; similar to Falco, deeper kernel insight.
- EDR — endpoint behaviour. CrowdStrike, SentinelOne, Defender.
- Observability — Datadog, New Relic, Honeycomb. Anomaly detection.
Feature flags as security tool
Dark launches: ship the code; don’t enable for users. Test in production with sampling. If something breaks (security or otherwise), kill the feature in 30 seconds via flag, not 30 minutes via redeploy.
Tools: LaunchDarkly, Unleash, Flagsmith, GrowthBook. Every modern team uses one.
Canary deployments + security monitoring
Deploy new version to 1% of traffic. Monitor for:
- Error rate increase
- Latency increase
- WAF/IDS signal increase
- Authentication failure rate
- Database query anomalies
If any spike: auto-rollback. Then investigate.
Production observability for security
Security signals in your APM:
- Failed auth rate per endpoint
- Permission-denied response rate
- Unusual query patterns (e.g., 1000 IDOR-shaped requests in a minute)
- Distinct sessions accessing the same account (account takeover indicator)
- Geographic anomalies in user logins
SOC consumes this alongside traditional logs.
The shift-left + shift-right whole
| Phase | Tools | Catches |
|---|---|---|
| Pre-commit | Hooks, secret scan | Obvious mistakes |
| CI | SAST, DAST, SCA | Known vuln patterns |
| Pre-deploy | Container scan, IaC scan | Build-time issues |
| Canary | Observability + WAF | Production-only issues |
| Production | RASP, Falco, EDR, observability | Active attacks, drift, novel |
Shift-left without shift-right = blind to live attacks. Shift-right without shift-left = expensive to fix.
Defender’s checklist
- WAF in front of every public service.
- Falco / Tetragon on every Kubernetes cluster.
- EDR on every endpoint.
- Feature flags for every risky deploy.
- Canary deployment with security monitoring.
- Security signals in APM dashboards.
- SOAR playbooks that consume runtime signals.
Module Quiz · 6 questions
Pass with 80%+ to mark this module complete. Unlimited retries. Each question shows an explanation.
Custom team training + practitioner advisory
Beyond the free academy — we run private workshops, vCISO advisory, and red-team exercises tailored to your stack. For Indian SMBs scaling past their first hire.