Static analysis of workload manifests
Scenario cks-sup-002 · about 8 minutes · 7 points · 4 grader checks
Review six Deployment manifests against four security rules, report the violators and deploy only the compliant ones.
- static-analysis
- manifests
- supply-chain
- securitycontext
- review
What you will practise
- Read manifests for privileged, root, hostPath and mutable-tag risks
- Gate deployment on a static review
- Apply a selected subset of manifests
Start this lab
With the CLI installed and signed in, this command provisions a single node cluster on your Mac, applies the scenario setup and prints the task below.
goldenkube start cks-sup-002Task
The task text exactly as the CLI shows it. Solve it on the cluster, then run goldenkube submit.
Requirements and details
- Certification
- CKS · Certified Kubernetes Security Specialist
- Domain
- Supply Chain Security
- Difficulty
- Easy
- Cluster topology
- Single node
- Cluster features
- None beyond the base cluster
- Recommended time
- 8 minutes
- Points
- 7
- Grader checks
- 4
- Kubernetes version
- 1.35
- Minimum CLI version
- 0.1.0
- Scenario version
- 1
- Published
Grading runs locally: 4 state checks read your cluster when you submit; the scenario passes when every check passes. Hints, the reference solution and the check definitions are available only inside the CLI, not on this page.
More Supply Chain Security labs
Permitted registries with ValidatingAdmissionPolicy
Allow only images from one registry in labelled namespaces using a CEL ValidatingAdmissionPolicy and its binding.
Single node · ~9 min · 9 points
- validatingadmissionpolicy
- cel
- admission
- image-registry
- supply-chain
goldenkube start cks-sup-001
Pin a workload image by digest
Replace a mutable image tag with the digest of the image the running pods already use.
Single node · ~6 min · 7 points
- image-digest
- supply-chain
- immutability
- deployment
- containerd
goldenkube start cks-sup-003
Verify platform binaries before deploying
Check downloaded Kubernetes binaries against published SHA-512 checksums and discard the tampered ones.
Single node · ~6 min · 6 points
- checksums
- sha512
- binaries
- supply-chain
- upgrade
goldenkube start cks-sup-004
Independent community project, not affiliated with or endorsed by CNCF or The Linux Foundation. Lab results are practice feedback, not an exam score.