Kubernetes Labs
Explore 1 lab in Kubernetes.
By default, containers are allowed to make modification to files. This unnecessary privilege increases the cluster attack surface as commonly containers do not need a writable filesystem.
The following example makes the root file system read only.
apiVersion: apps/v1
kind: Deployment
spec:
template:
spec:
containers:
- name: app
securityContext:
readOnlyRootFilesystem: true
Select a language to explore available labs for this vulnerability.
Try adjusting your language filter.
Want to skill-up in secure coding and AppSec? Try SecDim Wargames to learn how to find, hack and fix security vulnerabilities inspired by real-world incidents.
Join our secure coding and AppSec community. A discussion board to share and discuss all aspects of secure programming, AppSec, DevSecOps, fuzzing, cloudsec, AIsec code review, and more.
Read more