From 50bfdbc2faee5baeb6e7c75309627194b0cd0e4d Mon Sep 17 00:00:00 2001 From: Nicolas G Date: Mon, 4 May 2020 13:25:28 -0400 Subject: [PATCH] docs: update `kubectl scan` to `kubectl kubesec-scan` --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 897a833..07cdda4 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ curl -sL https://github.com/controlplaneio/kubectl-kubesec/releases/download/0.3 Scan a Deployment: ```bash -kubectl scan -n kube-system deployment kubernetes-dashboard +kubectl kubesec-scan -n kube-system deployment kubernetes-dashboard ``` Result: @@ -62,7 +62,7 @@ Drop all capabilities and add only those required to reduce syscall attack surfa Scan a DaemonSet: ```bash -kubectl scan -n weave daemonset weave-scope-agent +kubectl kubesec-scan -n weave daemonset weave-scope-agent ``` Result: @@ -84,7 +84,7 @@ Mounting the docker.socket leaks information about other containers and can allo Scan a StatefulSet: ```bash -kubectl scan statefulset memcached +kubectl kubesec-scan statefulset memcached ``` Result: @@ -107,7 +107,7 @@ Run as a high-UID user to avoid conflicts with the host's user table Scan a Pod: ```bash -kubectl scan -n kube-system pod tiller-deploy-5c688d5f9b-ztjbt +kubectl kubesec-scan -n kube-system pod tiller-deploy-5c688d5f9b-ztjbt ``` Result: