You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am looking at running this InSpec profile against the Azure Kubernetes Service, however I'm not sure this is actually possible. I looked at a different (closed) issue, and it states that we need to run this scan against the master/worker nodes.
However, based on the AKS documentation, I do not believe that we have access to the master. There documentation states this:
AKS provides a single-tenant cluster master, with a dedicated API server, Scheduler, etc. You define the number and size of the nodes, and the Azure platform configures the secure communication between the cluster master and nodes. Interaction with the cluster master occurs through Kubernetes APIs, such as kubectl or the Kubernetes dashboard.
This managed cluster master means that you do not need to configure components like a highly available etcd store, but it also means that you cannot access the cluster master directly. Upgrades to Kubernetes are orchestrated through the Azure CLI or Azure portal, which upgrades the cluster master and then the nodes.
In AKS, the Kubernetes master components are part of the managed service provided by Microsoft. Each AKS cluster has their own single-tenanted, dedicated Kubernetes master to provide the API Server, Scheduler, etc. This master is managed and maintained by Microsoft
Based on the above, we have access to the API Server endpoint and access via kubectl.
I'm curious if you know of a way to run the benchmark in this setup against the applicable checks?
As AKS manages the various Kubernetes components for you it's not possible to run this benchmark against their platform. To test for CIS compliancy with this profile you'll need access to either the running process or the configuration on the system. Both are restricted.
The few checks that can be run against the API are not automated in this profile at the time, as they require manual inspection anyway.
I think your best option is to check with your Microsoft rep on whether they provide any other options to verify or any guarantees on CIS compliance.
I am looking at running this InSpec profile against the Azure Kubernetes Service, however I'm not sure this is actually possible. I looked at a different (closed) issue, and it states that we need to run this scan against the master/worker nodes.
However, based on the AKS documentation, I do not believe that we have access to the master. There documentation states this:
Based on the above, we have access to the API Server endpoint and access via kubectl.
I'm curious if you know of a way to run the benchmark in this setup against the applicable checks?
Reference:
https://docs.microsoft.com/en-us/azure/aks/concepts-clusters-workloads#cluster-master
The text was updated successfully, but these errors were encountered: