Skip to content

Latest commit

Β 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Container Security Kubernetes 2026

πŸ”’ Container Security Series

Comprehensive 8-part series covering container security from image to runtime, from build to incident response β€” including AI-era threats.

Contents β€’ Quick Start β€’ Stack β€’ Stats β€’ Contributing

Stars Forks License Last Commit PRs Welcome


πŸ“š Table of Contents

# Part Topics Read Time
1 Introduction & Overview Attack surface, lifecycle framework, threat landscape, hands-on labs 15 min
2 Image Security & Supply Chain Image scanning, SBOM, Sigstore/Cosign, SLSA, Dockerfile hardening 25 min
3 Runtime Security & Monitoring eBPF, Falco, Tetragon, Seccomp, AppArmor, AI agent detection 30 min
4 Kubernetes Security Hardening RBAC, PSS, Network Policies, Secrets, Admission Control, Terraform 30 min
5 Network Security & Zero Trust mTLS, Service Mesh (Istio/Cilium), SPIFFE, micro-segmentation 25 min
6 Security Tools & Platforms Trivy, Falco, Wiz, Sysdig, Aqua, Snyk β€” comparison & cost analysis 20 min
7 Best Practices & Checklist 75-item checklist, maturity model, roadmap, automation scripts 20 min
8 K8s Security in the AI Era AI agent attacks, LLM threats, sandboxing, causal chain detection 25 min
9 Platform Engineering Reference Architecture Terraform + ArgoCD + CI/CD + security stack (end-to-end) 30 min
10 Multi-tenancy & Developer Experience Tenant isolation, Day-2 ops, security SLOs, golden images 25 min

🎯 Quick Start

New to container security? Read in order (Part 1 β†’ 8).

Need something specific?

Question Go To
"What tools should I use?" Part 6 β€” Tools & Platforms
"Give me a checklist" Part 7 β€” 75-item Checklist
"How to harden Kubernetes?" Part 4 β€” K8s Hardening
"How to detect runtime attacks?" Part 3 β€” Runtime Security
"How to secure CI/CD pipeline?" Part 2 β€” Supply Chain
"What about AI/LLM workloads?" Part 8 β€” AI Era
"I'm a platform engineer β€” where to start?" Part 9 β€” Reference Architecture
"Multi-tenancy and Day-2 ops?" Part 10 β€” Multi-tenancy & DX
"Give me deployable code" examples/ β€” Terraform, Kyverno, Falco, scripts
"How to become a Platform Engineer?" Career Guide

πŸ› οΈ Recommended Stack

Open Source (Free)

Build:    Trivy + Syft + Grype + Cosign + Hadolint
Deploy:   Kyverno + Sigstore Policy Controller
Runtime:  Falco + Tetragon + Seccomp
Network:  Cilium (CNI + Service Mesh + Hubble)
Monitor:  Prometheus + Grafana + OpenSearch

Enterprise

CNAPP:    Wiz (agentless) | Sysdig (runtime) | Aqua (container-native)
DevSec:   Snyk (developer-first) | Docker Scout
Comply:   Prisma Cloud (broadest coverage)

πŸ“Š Key Statistics (2026)

Metric Value Source
Organizations using containers in production 56% CNCF Survey 2025
K8s users in production 82% CNCF Survey 2025
Time to first attack on new K8s cluster 18 min Wiz Research
Container lifespan (70% of containers) < 5 min Sysdig
Malicious packages published (2025) 454,000+ Sonatype
K8s security incidents (organizations) 93% CNCF Survey
AI breaches involving agentic systems 1 in 8 HiddenLayer 2026
Container lateral movement attacks (YoY) +34% Vectra AI

πŸ—οΈ Repository Structure

container-security-series/
β”œβ”€β”€ README.md
β”œβ”€β”€ LICENSE
β”œβ”€β”€ CONTRIBUTING.md
β”œβ”€β”€ .gitignore
β”œβ”€β”€ docs/
β”‚   β”œβ”€β”€ part1-introduction-overview.md
β”‚   β”œβ”€β”€ part2-image-security-supply-chain.md
β”‚   β”œβ”€β”€ part3-runtime-security-monitoring.md
β”‚   β”œβ”€β”€ part4-kubernetes-security-hardening.md
β”‚   β”œβ”€β”€ part5-network-security-zero-trust.md
β”‚   β”œβ”€β”€ part6-security-tools-platforms.md
β”‚   β”œβ”€β”€ part7-best-practices-checklist.md
β”‚   β”œβ”€β”€ part8-kubernetes-security-ai-era.md
β”‚   β”œβ”€β”€ part9-platform-engineering-reference-architecture.md
β”‚   └── part10-multitenancy-developer-experience.md
└── examples/
    β”œβ”€β”€ terraform/main.tf          # Hardened EKS (VPC + KMS + ECR + GuardDuty)
    β”œβ”€β”€ kyverno/policies.yaml      # 10 production admission policies
    β”œβ”€β”€ falco/values.yaml          # Production Helm values
    β”œβ”€β”€ falco/custom-rules.yaml    # 10 custom detection rules
    └── scripts/
        β”œβ”€β”€ bootstrap-security-stack.sh   # Deploy full stack (run once)
        β”œβ”€β”€ security-audit.sh             # Quick posture assessment
        └── onboard-tenant.sh             # Create secured namespace

πŸ“– What You'll Learn

  • βœ… How container security works across the entire lifecycle
  • βœ… Practical Dockerfile hardening (before/after examples)
  • βœ… SBOM generation, image signing with Sigstore/Cosign
  • βœ… Runtime threat detection with Falco & eBPF
  • βœ… Kubernetes hardening (RBAC, PSS, NetworkPolicies, Secrets)
  • βœ… Zero Trust networking with mTLS and service mesh
  • βœ… Tool comparison with cost analysis (OSS vs Commercial)
  • βœ… Ready-to-run automation scripts for cluster hardening
  • βœ… Terraform modules for hardened EKS clusters
  • βœ… NEW: AI agent threats and LLM workload security (2026)

Mapping Voi Platform Engineering Roadmap

Series nay cover phan Security cua Platform Engineering Roadmap (by mbianchidev).

Roadmap Topic Series Coverage Part
Encryption, Certificates, TLS, PKI mTLS, Sigstore, certificate management 2, 5
Authentication, Authorization, IAM RBAC, Pod Identity, OIDC, Service Accounts 4, 9
OPA (Open Policy Agent) OPA Gatekeeper + Kyverno so sanh chi tiet 4, 6
DevSecOps (SAST, DAST, Container Scanning) Trivy, Grype, Hadolint, CI/CD pipeline 2, 6, 9
Threat Detection Falco, Tetragon, GuardDuty, eBPF 3, 8
CNAPP, CDR Wiz, Sysdig, Aqua, Prisma Cloud 6
Container (Docker, OCI, Registry) Image hardening, scanning, signing, SBOM 2
Kubernetes (full topic list) Hardening, PSS, NetworkPolicy, Secrets 3, 4, 5
Service Mesh (Istio, Linkerd) mTLS, AuthorizationPolicy, Cilium mesh 5
CNI (Cilium) Cilium vs Calico, L7 policies, Hubble 5
GitOps (ArgoCD, FluxCD) ArgoCD security config, drift detection 9
IaC (Terraform) Hardened EKS module, KMS, GuardDuty 9
Rollout (Canary, Blue-Green) Argo Rollouts + Falco, auto-rollback 9
Observability (Prometheus, Grafana) Security dashboards, SLOs, alerting 9
Platform Engineering (IDP, DevEx) Self-service, golden images, onboarding 10
Multitenancy Hard vs soft, namespace isolation, quotas 10
AI Workload Security AI agent attacks, LLM threats, sandboxing 8

🀝 Contributing

Contributions are welcome! See CONTRIBUTING.md for guidelines.

  • πŸ› Found an error? Open an issue
  • πŸ’‘ Have a suggestion? Open a PR
  • ⭐ Found this useful? Give it a star!

πŸ‘€ Author

Van Hoang Kha


πŸ“„ License

This project is licensed under the MIT License.


πŸ™ Sources & Acknowledgments

Based on research from 40+ industry sources including:

Sysdig β€’ Wiz β€’ Docker β€’ AquilaX β€’ CNCF β€’ Microsoft β€’ Aqua Security β€’ Falco Project β€’ ARMO β€’ Sigstore β€’ AppSecSanta β€’ TasrieIT β€’ BeyondScale β€’ HiddenLayer β€’ Sonatype β€’ GitGuardian β€’ and more.


⭐ Star this repo if you find it useful!

"Shift left, but never skip right." β€” Container Security Series

About

Comprehensive Container Security Series (2026) - 8 parts covering image security, runtime protection, K8s hardening, zero trust, tools, and AI-era threats

Topics

Resources

Contributing

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors