Explain the OWASP Top 10 and which items are most relevant to DevOps engineers.
The OWASP Top 10 are the most critical web application security risks. Most relevant to DevOps:
- A01: Broken Access Control — Enforce least privilege in IAM, K8s RBAC. Verify RBAC policies in code review.
- A05: Security Misconfiguration — Public S3 buckets, default credentials, exposed management ports. Caught by infrastructure scanning tools like Checkov, tfsec.
- A06: Vulnerable Components — Use Dependabot and Trivy to catch outdated dependencies with known CVEs.
- A09: Security Logging Failures — Ensure CloudTrail, K8s audit logs, and application audit logs are enabled and shipped to a SIEM.