• Stars
    star
    141
  • Rank 259,971 (Top 6 %)
  • Language
  • Created over 4 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

References for CKS Exam Objectives - Certified Kubernetes Security Specialist

PRs Welcome

Cluster Setup – 10%

Use Network security policies to restrict cluster level access

Use CIS benchmark to review the security configuration of Kubernetes components (etcd, kubelet, kubedns, kubeapi)

# install kube-bench in the current host dir
docker run --rm -it -v `pwd`:/host aquasec/kube-bench:latest install

# benchmarking your cluster ( verify the curren kubeconfig before)
./kube-bench <name-of-node>

Properly set up Ingress objects with security control

Protect node metadata and endpoints

  • Prevent unauthenticated / unauthorised to api-server (authorization-mode, .. son on)

Minimize use of, and access to, GUI elements

Verify platform binaries before deploying

Cluster Hardening – 15%

Restrict access to Kubernetes API

Use Role Based Access Controls to minimize exposure

Exercise caution in using service accounts e.g. disable defaults, minimize permissions on newly created ones

Update Kubernetes frequently

System Hardening – 15%

Minimize host OS footprint (reduce attack surface)

Minimize IAM roles

Minimize external access to the network

Appropriately use kernel hardening tools such as AppArmor, seccomp

Minimize Microservice Vulnerabilities – 20%

Setup appropriate OS level security domains e.g. using PSP, OPA, security contexts

Manage Kubernetes secrets

Use container runtime sandboxes in multi-tenant environments (e.g. gvisor, kata containers)

Implement pod to pod encryption by use of mTLS

Supply Chain Security – 20%

Minimize base image footprint

Secure your supply chain: whitelist allowed registries, sign and validate images

Use static analysis of user workloads (e.g.Kubernetes resources, Docker files)

Scan images for known vulnerabilities

Monitoring, Logging and Runtime Security – 20%

Perform behavioral analytics of syscall process and file activities at the host and container level to detect malicious activities

Detect threats within physical infrastructure, apps, networks, data, users and workloads

Detect all phases of attack regardless where it occurs and how it spreads

Perform deep analytical investigation and identification of bad actors within environment

Ensure immutability of containers at runtime

Use Audit Logs to monitor access


Other links :


Disclaimer

The given links are our assumptions and ideas - we neither have insights into the exam requirements, nor do we know how exactly it will look like. We are guessing about possibilities and try to collect resources.

License

License: CC BY-SA 4.0

Stargazers over time

Stargazers over time

More Repositories

1

react-progressbar

Basic progress bar in React.js
JavaScript
88
star
2

hijri-date

HijriDate
JavaScript
29
star
3

ansible-course

JavaScript
18
star
4

dockerfiles

Container images Kitchen
HTML
16
star
5

ansible-lab-environment-in-containers

Fully dockerized environment For Ansible's Labs
Shell
14
star
6

eks-training

EKS Course
HCL
12
star
7

ansible-course-capstone-project

9
star
8

mufa

event driven programming
JavaScript
8
star
9

example-helm-postrender-with-yq

Using yq command with the Helm postrender feature - Instead of kustomize
Mustache
6
star
10

ansible-role-golang

Go language Software installation
Python
5
star
11

meetup-argocd-next-level

Meetup ArgoCD Next Level
Shell
5
star
12

in-mem

JavaScript
4
star
13

miscs.sh

utils for linux TCL
Shell
4
star
14

knockout-es6-components-webpack-boilerplate

A boilerplate for knockout components application using ES6 features and Webpack 4
JavaScript
3
star
15

meetup-deployment-k8s

Deployment Controller & Strategies in kubernetes
HTML
2
star
16

meetup-argocd-01

Shell
2
star
17

node-console-warn

console.warn nodejs
JavaScript
2
star
18

ansible-role-helmfile

installs helmfile to /usr/local/bin
Python
2
star
19

babel-autobind

JavaScript
2
star
20

redux-declarative-request

JavaScript
1
star
21

react-annotations

Hub of react decorators
JavaScript
1
star
22

gin-helloworld

helloworld go gin app - ping pong
Dockerfile
1
star
23

example-static-website

Simplest example static website
HTML
1
star
24

javamissing

Contains files missing on JDK or JRE by OS by Java version
1
star
25

pretty-size

JavaScript
1
star
26

ansible-role-bootstrap

Bootstrap Passwordless SSH User
Python
1
star
27

chocolata

JavaScript
1
star
28

example-heroku-python

Example of deployable python HTTP server on Heroku
Python
1
star
29

react-nanodegree-mobile-flashcards

An assessment project assigned by Udacity in the context of React nanodegree program
JavaScript
1
star
30

go-http-proxy

a squid like HTTP Proxy , but 6Mi and faster
Shell
1
star
31

binding

JavaScript
1
star
32

hello-nabla-container

Provision from Scratch an Ubuntu Server and having NABLA Containers UP & Running!
Shell
1
star