This lab provides practice scenarios to help prepare you for the Certified Kubernetes Security Specialist (CKS) exam. You will be presented with tasks to complete, as well as server(s) and/or an existing Kubernetes cluster to complete them in. You will need to use your knowledge of Kubernetes to successfully complete the provided tasks, much like you would on the real CKS exam. Good luck!
Successfully complete this lab by achieving the following learning objectives:
- Create a Falco Rules File
There is a Pod on the worker node called
defaultnamespace. Its only container is also called
On the worker node, create a Falco rules file at
Configure a rule to detect spawning processes within the container. The output should be in the format
[timestamp],[container id],[container image name],[uid],[process name].
- Log Activity from a Suspicious Container
- Run Falco for 45 seconds or so to check for activity in the container.
- Save the output to a file located at
/home/cloud_user/falco_output.logon the worker node.