Pcornel
Security · Container Security

Registry Security

Cheat sheet · https://pcornel.dk/topic.php?topic=5039

Back to the Topic

Answer

Registry security protects where images are stored: authentication and RBAC for push and pull, TLS, image signing and scanning, and immutable tags so a trusted image cannot be silently replaced.

Remember

  • Require authentication for push and pull.
  • Immutable tags prevent silent replacement.
  • Scan and sign images in the registry.

First checks

  • Registry access control (push/pull roles) — permissions
  • Image immutability/tag protection — integrity
  • Registry scanning enabled — continuous

Verify in this order

CI push → registry (scan, sign) → cluster pull (verified)

Where it usually breaks

First mismatch in platform/workload identity → desired configuration → management/control plane → runtime enforcement → telemetry → workload/resource outcome; preserve identity/policy/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5039

Confirmation

Confirm action

Continue?