Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 748 Bytes

File metadata and controls

29 lines (24 loc) · 748 Bytes

DevOps Security Checklist

Docker Images

  • Minimal base image (alpine)
  • No :latest tag
  • Non-root user
  • HEALTHCHECK in place
  • Trivy scan with no critical vulnerabilities
  • Complete .dockerignore

Kubernetes

  • Resource limits on each container
  • No privileged containers
  • NetworkPolicies in place
  • Secrets via Secret Manager (not in plain text)
  • RBAC configured

Pipeline

  • Secrets in GitHub Secrets (not in the code)
  • Automatic dependency scan
  • Automatic image scan
  • Secret detection (gitleaks)
  • Environments with protection

Infrastructure

  • Encrypted Terraform state
  • No hard-coded credentials in IaC files
  • Principle of least privilege (IAM)