From the course: Certified Kubernetes Security Specialist (CKS) Cert Prep

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Scan manifests for vulnerabilities with kube-linter

Scan manifests for vulnerabilities with kube-linter - Kubernetes Tutorial

From the course: Certified Kubernetes Security Specialist (CKS) Cert Prep

Scan manifests for vulnerabilities with kube-linter

- Doing static analysis within Kubernetes really starts with those that are going to be doing the deployment. And the ability to be able to do a quick check before you do a deployment is something that's very useful and that's where KubeLinter comes into play. In order to be able to get this in place, we're going to need to install it. So let's go ahead and install the configuration so that we have the ability to be able to put this into place. First thing we'll do is we'll download the latest version and we'll pull that down from the GitHub repository where it lives. And then from here we'll go ahead and extract that particular file and we'll move it over into the binary directory. And then from here we should be able to test it. So let's go ahead and clear the screen and then let's just do a quick version on it. So it is running 0.6.8, which is the latest version, and we should be able to take advantage of it. So let's go ahead and test this with a YAML file. So we will create a…

Contents