{"id":16512,"date":"2021-06-23T19:41:31","date_gmt":"2021-06-23T14:11:31","guid":{"rendered":"http:\/\/onlineappsdba.com\/?p=16512"},"modified":"2021-06-23T19:49:56","modified_gmt":"2021-06-23T14:19:56","slug":"kube-bench-cis","status":"publish","type":"post","link":"https:\/\/onlineappsdba.com\/index.php\/2021\/06\/23\/kube-bench-cis\/","title":{"rendered":"Secure and Harden Kubernetes, AKS and EKS Cluster with kube-bench, kube-hunter and CIS Benchmarks"},"content":{"rendered":"<p>\ud83d\udee1\ufe0fSecurity is a concern that never fades away! And Kubernetes is no exception.<\/p>\n<p>\u2638\ufe0f Is security a concern in Kubernetes?<\/p>\n<p>Well, yes and no. No, because it doesn\u2019t come with the most secure environment by default. Yes, since configuring or clusters with the CIS Benchmarks and 3-party tools can be hardened and secured.<\/p>\n<p>\u2705 What are the best security best practices for K8s?<\/p>\n<p>\u27a4 Use kube-bench for testing cluster<\/p>\n<p>\u27a4 Keep Kubernetes up to date<\/p>\n<p>\u27a4 Make sure you\u2019re using namespace<\/p>\n<p>\u27a4 Have regular security reviews and much more&#8230;<\/p>\n<p>\ud83d\udd10 What are CIS Benchmarks?<\/p>\n<p>Center for Internet Security (CIS) lays down guidelines and benchmarks for secure software development and maintenance. It also provides guidelines for Kubernetes, and kube-bench implements these benchmarks to scan a cluster.<\/p>\n<p>\ud83d\udd0d What is kube-bench? Kube Bench is an open-source Go application that runs the CIS Kubernetes Benchmark and tests a K8s cluster to ensure that it meets the CIS guidelines for security.<\/p>\n<p>If you are interested to know more, check out our blog &gt;&gt; <a href=\"https:\/\/k21academy.com\/docker-kubernetes\/kubernetes-security\/kube-bench-cis\/?utm_source=onlineappsdba&amp;utm_medium=referral&amp;utm_campaign=kubernetessec15_june21\" target=\"_blank\" rel=\"noopener noreferrer\"><em><strong>k21academy.com\/kubernetessec15<\/strong><\/em><\/a> Want to learn more?<\/p>\n<p>Join our FREE Class on Certified Kubernetes Security Specialist at<a href=\"https:\/\/k21academy.com\/kubernetes-security-specialist-certification-free-class\/?utm_source=onlineappsdba&amp;utm_medium=referral&amp;utm_campaign=kubernetessec02_june21\" target=\"_blank\" rel=\"noopener noreferrer\"> <em><strong>https:\/\/k21academy.com\/kubernetessec02<\/strong><\/em><\/a>.<\/p>\n<p><a href=\"https:\/\/k21academy.com\/kubernetes-security-specialist-certification-free-class\/?utm_source=onlineappsdba&amp;utm_medium=referral&amp;utm_campaign=kubernetessec02_june21\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-73482 size-full\" src=\"https:\/\/k21academy.com\/wp-content\/uploads\/2020\/09\/CKACKS_CU_GIF.gif\" alt=\"\" width=\"1354\" height=\"203\" \/><\/a><\/p>\n<p>Also, don&#8217;t forget to join our FREE Telegram group at <a href=\"https:\/\/t.me\/k21dockerkubernetes\"><em><strong>https:\/\/t.me\/k21dockerkubernetes<\/strong><\/em><\/a> and be the first to receive Docker &amp; Kubernetes-related news and updates.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ud83d\udee1\ufe0fSecurity is a concern that never fades away! And Kubernetes is no exception. \u2638\ufe0f Is security a concern in Kubernetes? [&hellip;]<\/p>\n","protected":false},"author":115,"featured_media":16513,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[539],"tags":[],"class_list":["post-16512","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-kubernetes-security"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Kube bench Cluster Hardening | CIS Benchmark | EKS, AKS, GKE<\/title>\n<meta name=\"description\" content=\"Configuring our Kubernetes is a tough ask, but we have kube-bench to the resuce. It follows the CIS Benchmarks and tests the any kind of clsuter for issues.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/onlineappsdba.com\/index.php\/2021\/06\/23\/kube-bench-cis\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Kube bench Cluster Hardening | CIS Benchmark | EKS, AKS, GKE\" \/>\n<meta property=\"og:description\" content=\"Configuring our Kubernetes is a tough ask, but we have kube-bench to the resuce. It follows the CIS Benchmarks and tests the any kind of clsuter for issues.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/onlineappsdba.com\/index.php\/2021\/06\/23\/kube-bench-cis\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-06-23T14:11:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-06-23T14:19:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/onlineappsdba.com\/wp-content\/uploads\/2021\/06\/KuberntesSecurity.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1125\" \/>\n\t<meta property=\"og:image:height\" content=\"629\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Masroof Ahmad\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Masroof Ahmad\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2021\/06\/23\/kube-bench-cis\/\",\"url\":\"https:\/\/onlineappsdba.com\/index.php\/2021\/06\/23\/kube-bench-cis\/\",\"name\":\"Kube bench Cluster Hardening | CIS Benchmark | EKS, AKS, GKE\",\"isPartOf\":{\"@id\":\"https:\/\/onlineappsdba.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2021\/06\/23\/kube-bench-cis\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2021\/06\/23\/kube-bench-cis\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/onlineappsdba.com\/wp-content\/uploads\/2021\/06\/KuberntesSecurity.png\",\"datePublished\":\"2021-06-23T14:11:31+00:00\",\"dateModified\":\"2021-06-23T14:19:56+00:00\",\"author\":{\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb\"},\"description\":\"Configuring our Kubernetes is a tough ask, but we have kube-bench to the resuce. It follows the CIS Benchmarks and tests the any kind of clsuter for issues.\",\"breadcrumb\":{\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2021\/06\/23\/kube-bench-cis\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/onlineappsdba.com\/index.php\/2021\/06\/23\/kube-bench-cis\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2021\/06\/23\/kube-bench-cis\/#primaryimage\",\"url\":\"https:\/\/onlineappsdba.com\/wp-content\/uploads\/2021\/06\/KuberntesSecurity.png\",\"contentUrl\":\"https:\/\/onlineappsdba.com\/wp-content\/uploads\/2021\/06\/KuberntesSecurity.png\",\"width\":1125,\"height\":629,\"caption\":\"kube bench CIS kubernetes\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2021\/06\/23\/kube-bench-cis\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/onlineappsdba.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Secure and Harden Kubernetes, AKS and EKS Cluster with kube-bench, kube-hunter and CIS Benchmarks\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/onlineappsdba.com\/#website\",\"url\":\"https:\/\/onlineappsdba.com\/\",\"name\":\"\",\"description\":\"Oracle Implementation &amp; Training Experts\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/onlineappsdba.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb\",\"name\":\"Masroof Ahmad\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g\",\"caption\":\"Masroof Ahmad\"},\"url\":\"https:\/\/onlineappsdba.com\/index.php\/author\/masroof\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Kube bench Cluster Hardening | CIS Benchmark | EKS, AKS, GKE","description":"Configuring our Kubernetes is a tough ask, but we have kube-bench to the resuce. It follows the CIS Benchmarks and tests the any kind of clsuter for issues.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/onlineappsdba.com\/index.php\/2021\/06\/23\/kube-bench-cis\/","og_locale":"en_US","og_type":"article","og_title":"Kube bench Cluster Hardening | CIS Benchmark | EKS, AKS, GKE","og_description":"Configuring our Kubernetes is a tough ask, but we have kube-bench to the resuce. It follows the CIS Benchmarks and tests the any kind of clsuter for issues.","og_url":"https:\/\/onlineappsdba.com\/index.php\/2021\/06\/23\/kube-bench-cis\/","article_published_time":"2021-06-23T14:11:31+00:00","article_modified_time":"2021-06-23T14:19:56+00:00","og_image":[{"width":1125,"height":629,"url":"https:\/\/onlineappsdba.com\/wp-content\/uploads\/2021\/06\/KuberntesSecurity.png","type":"image\/png"}],"author":"Masroof Ahmad","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Masroof Ahmad","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/onlineappsdba.com\/index.php\/2021\/06\/23\/kube-bench-cis\/","url":"https:\/\/onlineappsdba.com\/index.php\/2021\/06\/23\/kube-bench-cis\/","name":"Kube bench Cluster Hardening | CIS Benchmark | EKS, AKS, GKE","isPartOf":{"@id":"https:\/\/onlineappsdba.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/onlineappsdba.com\/index.php\/2021\/06\/23\/kube-bench-cis\/#primaryimage"},"image":{"@id":"https:\/\/onlineappsdba.com\/index.php\/2021\/06\/23\/kube-bench-cis\/#primaryimage"},"thumbnailUrl":"https:\/\/onlineappsdba.com\/wp-content\/uploads\/2021\/06\/KuberntesSecurity.png","datePublished":"2021-06-23T14:11:31+00:00","dateModified":"2021-06-23T14:19:56+00:00","author":{"@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb"},"description":"Configuring our Kubernetes is a tough ask, but we have kube-bench to the resuce. It follows the CIS Benchmarks and tests the any kind of clsuter for issues.","breadcrumb":{"@id":"https:\/\/onlineappsdba.com\/index.php\/2021\/06\/23\/kube-bench-cis\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/onlineappsdba.com\/index.php\/2021\/06\/23\/kube-bench-cis\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/onlineappsdba.com\/index.php\/2021\/06\/23\/kube-bench-cis\/#primaryimage","url":"https:\/\/onlineappsdba.com\/wp-content\/uploads\/2021\/06\/KuberntesSecurity.png","contentUrl":"https:\/\/onlineappsdba.com\/wp-content\/uploads\/2021\/06\/KuberntesSecurity.png","width":1125,"height":629,"caption":"kube bench CIS kubernetes"},{"@type":"BreadcrumbList","@id":"https:\/\/onlineappsdba.com\/index.php\/2021\/06\/23\/kube-bench-cis\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/onlineappsdba.com\/"},{"@type":"ListItem","position":2,"name":"Secure and Harden Kubernetes, AKS and EKS Cluster with kube-bench, kube-hunter and CIS Benchmarks"}]},{"@type":"WebSite","@id":"https:\/\/onlineappsdba.com\/#website","url":"https:\/\/onlineappsdba.com\/","name":"","description":"Oracle Implementation &amp; Training Experts","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/onlineappsdba.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb","name":"Masroof Ahmad","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g","caption":"Masroof Ahmad"},"url":"https:\/\/onlineappsdba.com\/index.php\/author\/masroof\/"}]}},"_links":{"self":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts\/16512","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/users\/115"}],"replies":[{"embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/comments?post=16512"}],"version-history":[{"count":0,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts\/16512\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/media\/16513"}],"wp:attachment":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/media?parent=16512"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/categories?post=16512"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/tags?post=16512"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}