k8s-security.pro
kubernetes security compliance iso-27001 audit cis-benchmark

ISO 27001 for Kubernetes: Mapping Annex A to Cluster Settings

How ISO 27001:2022 Annex A controls map to Kubernetes settings (RBAC, Pod Security, NetworkPolicy, encryption, audit logs, backups) and the evidence auditors accept.

K8s Security Pro Team | | 11 min read

ISO 27001 for Kubernetes: Mapping Annex A to Cluster Settings

If you are preparing a SaaS company for ISO 27001 and your product runs on Kubernetes, you will hit the same wall most teams hit. The standard talks about access control, logging and change management. Your cluster talks about ClusterRoleBindings, admission controllers and audit policies. Nobody hands you the translation.

This post maps the ISO/IEC 27001:2022 Annex A controls that touch a cluster to concrete settings, and then to the evidence an auditor will accept.

What ISO 27001 actually asks of your cluster

ISO 27001 does not prescribe a single Kubernetes setting. What it requires is a management system: you assess information security risk, pick controls to treat that risk, record those choices in a Statement of Applicability (clause 6.1.3), and then show the controls are implemented and working.

So the auditor’s question is never “is your cluster CIS compliant?”. It is “your SoA says A.8.2 privileged access rights is applicable and implemented. Show me.” For a cluster, “show me” means command output, policy files, reports and logs with dates on them.

Annex A in the 2022 version has 93 controls in four themes: Organizational (A.5, 37 controls), People (A.6, 8), Physical (A.7, 14) and Technological (A.8, 34). The transition from the 2013 version ended in October 2025, so if your spreadsheet still says A.9.2.3, it is out of date. Almost all the cluster work sits in A.8, plus a few A.5 controls on access and cloud services.

The CIS Kubernetes Benchmark is the closest thing to a prescriptive Kubernetes baseline. Use CIS for “what good looks like” and ISO for “how we govern it”. The CIS Benchmark and SOC 2 guide covers the CIS side in more depth.

The mapping table

Each row is an Annex A control, what it means in a cluster, the setting or tool that implements it, and the evidence that holds up in an audit.

Annex A controlWhat it means in a clusterSetting or toolEvidence an auditor accepts
A.5.15 Access controlAccess to the API and to namespaces follows a written rule, not habitRBAC Roles scoped per namespace, group-based bindings from your IdPAccess control policy, plus kubectl get rolebindings,clusterrolebindings -A -o wide export
A.5.17 Authentication informationCredentials (kubeconfigs, ServiceAccount tokens) are issued, protected and expireShort-lived projected SA tokens, no legacy token Secrets, no shared kubeconfigsQuery showing zero kubernetes.io/service-account-token Secrets; IdP token lifetime settings
A.5.18 Access rightsAccess is granted, reviewed and removed on a cycleBindings to IdP groups, quarterly review of bindingsDated review export with sign-off; leaver removed from IdP group
A.5.23 Information security for use of cloud servicesYou know what the provider secures and what you secureEKS/GKE/AKS shared responsibility documented; provider settings reviewedCloud services policy, provider config exports, provider’s own certificates
A.8.2 Privileged access rightscluster-admin is rare, named and justifiedFew cluster-admin bindings, break-glass account, no wildcard Roles (CIS 5.1.1, 5.1.3)List of cluster-admin subjects with a justification for each
A.8.5 Secure authenticationHumans log in through SSO with MFAOIDC or cloud IAM auth for kubectl, local/static admin credentials disabledIdP MFA policy, cluster auth config, proof local accounts are off
A.8.8 Management of technical vulnerabilitiesImages and nodes are scanned and patched on a timelineTrivy in CI and Trivy Operator in cluster, supported Kubernetes versionScan reports, patch SLA, tickets for high and critical findings
A.8.9 Configuration managementThere is a secure baseline, it is enforced, drift is detectedPod Security Admission (CIS 5.2.x), Kyverno or Gatekeeper, kube-benchNamespace PSA labels, Kyverno PolicyReports, scheduled kube-bench reports
A.8.12 Data leakage preventionWorkloads cannot send data anywhere they likeEgress NetworkPolicies, secrets mounted as files not env vars (CIS 5.4.1)Egress policy manifests, scan showing no secrets in env vars
A.8.13 Information backupCluster state and persistent volumes are backed up and restores are testedVelero schedules, volume snapshots, off-cluster storageBackup schedule, velero backup get output, restore test record
A.8.14 Redundancy of information processing facilitiesWorkloads survive a node or zone failureMulti-zone node pools, replicas over 1, PodDisruptionBudgetsNode topology export, PDB list, failover test notes
A.8.15 LoggingAPI activity is recorded, protected and retainedAPI server audit policy (CIS 3.2.1), shipped off-cluster with retentionAudit policy file, log destination config, retention setting
A.8.16 Monitoring activitiesSomeone gets alerted on suspicious activityFalco runtime rules, alerts on exec, secret reads, RBAC changesAlert rules, a sample alert and the ticket it produced
A.8.20 Networks securityThe API server and node network are not wide openPrivate or IP-restricted API endpoint, cloud metadata endpoint blockedEndpoint config, firewall rules, metadata block policy
A.8.22 Segregation of networksNamespaces and tiers are isolated from each otherDefault-deny NetworkPolicy in every namespace (CIS 5.3.2)kubectl get networkpolicy -A showing coverage of all namespaces
A.8.24 Use of cryptographySecrets are encrypted at rest, traffic is encrypted in transitetcd encryption via KMS, TLS on ingress, optional service mesh mTLSEncryptionConfiguration or provider KMS setting, cert-manager config
A.8.25 Secure development life cycleSecurity checks are part of the delivery pipelineImage and manifest scanning in CI, signed imagesPipeline definition, a failed build that was blocked
A.8.28 Secure codingManifests and Helm charts are reviewed and linted like codekubescape or similar on manifests, PR review requiredCI lint results, branch protection settings
A.8.31 Separation of development, test and production environmentsProduction is separated from dev and testSeparate clusters, or at minimum separate namespaces with separate accessCluster inventory, RBAC showing devs have no write in prod
A.8.32 Change managementChanges to production go through review and are traceableGitOps (Argo CD or Flux), PR approvals, no direct kubectl apply to prodPR history, sync history, audit log showing writes come from the GitOps controller

You will not need every row. If a control is not applicable, the SoA says so with a reason. But for a typical SaaS on managed Kubernetes, all of these end up applicable.

For a worked example, every finding in this sample audit report is mapped to CIS, SOC 2 and ISO 27001:2022 the same way.

Access control: RBAC and cluster-admin (A.5.15, A.5.18, A.8.2)

Auditors look at privileged access first: who can do anything to this cluster?

# Every subject bound to cluster-admin (CIS 5.1.1, ISO A.8.2)
kubectl get clusterrolebindings -o json | jq -r '
  .items[]
  | select(.roleRef.name == "cluster-admin")
  | .metadata.name + ": " + ([.subjects[]? | .kind + "/" + .name] | join(", "))'

Expect to see system:masters and a few system components. Anything else needs a name, a reason and an owner in your access register. Bind IdP groups rather than individual users, so a leaver loses access when removed from the group.

For A.5.18, export bindings once a quarter, have each namespace owner confirm or revoke, and keep the signed export.

ServiceAccount tokens (A.5.17, A.8.2)

Workload credentials are authentication information too. Since Kubernetes 1.24, ServiceAccounts no longer get a long-lived token Secret automatically, and pods receive short-lived projected tokens. Old clusters upgraded in place often still carry the legacy Secrets.

# Legacy long-lived SA token Secrets (should be empty or justified)
kubectl get secrets -A --field-selector type=kubernetes.io/service-account-token

# Pods using the default ServiceAccount (CIS 5.1.5)
kubectl get pods -A -o jsonpath='{range .items[?(@.spec.serviceAccountName=="default")]}{.metadata.namespace}/{.metadata.name}{"\n"}{end}'

Set automountServiceAccountToken: false on ServiceAccounts or pods that never call the API (CIS 5.1.6). Most application pods never do.

Pod Security Admission and network segregation (A.8.9, A.8.20, A.8.22)

A.8.9 asks for a defined secure configuration that is enforced and monitored. In a cluster, the built-in enforcement is Pod Security Admission, available as stable since 1.25. Label every application namespace and keep the labels in Git:

apiVersion: v1
kind: Namespace
metadata:
  name: payments
  labels:
    pod-security.kubernetes.io/enforce: restricted
    pod-security.kubernetes.io/enforce-version: latest
    pod-security.kubernetes.io/warn: restricted
---
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
  name: default-deny-all
  namespace: payments
spec:
  podSelector: {}
  policyTypes:
    - Ingress
    - Egress

The second document is a default-deny NetworkPolicy, which is where A.8.22 segregation starts (CIS 5.3.2). Then add explicit allow rules for DNS and each tier’s traffic. NetworkPolicy only works if your CNI enforces it, so test a blocked connection from a debug pod and keep that output as evidence.

For the evidence itself, two commands do most of the work:

kubectl get ns -L pod-security.kubernetes.io/enforce
kubectl get networkpolicy -A

Any application namespace missing from the second list is a gap in A.8.22. If you run Kyverno, its PolicyReports (kubectl get policyreport -A) give you a continuous record of violations, which covers the “monitored” part of A.8.9 better than a one-off scan.

Secrets and cryptography (A.8.24, A.8.12)

Kubernetes Secrets are base64-encoded, not encrypted. A.8.24 needs encryption at rest in etcd. On self-managed clusters, that is an EncryptionConfiguration passed to the API server with a KMS provider (KMS v2 is stable from 1.29). On EKS, GKE and AKS, it is a provider setting that points at a cloud KMS key. Either way, the evidence is the config or the provider setting plus the key’s rotation policy.

External Secrets Operator keeps secret values out of manifests entirely by syncing from AWS Secrets Manager, Vault or a similar store, so rotation happens in one place (A.5.17).

For A.8.12, mount secrets as files rather than environment variables (CIS 5.4.1), since env vars leak into crash dumps and debug output. Add egress NetworkPolicies so a compromised pod cannot post data to an arbitrary host. That is only the cluster’s share of A.8.12; the control also covers email, endpoints and SaaS tools.

Logging and monitoring (A.8.15, A.8.16)

A.8.15 wants logs that record activity, are protected from tampering and are kept for a defined period. For a cluster, the API server audit log is the primary source. CIS 3.2.1 asks for a minimal audit policy; in practice you want metadata-level logging for Secret access, request-level logging for RBAC changes, and exec events.

On managed clusters you turn the audit log on (EKS control plane logging, AKS diagnostic settings, GKE Cloud Audit Logs) and set retention on the destination. ISO does not give you a retention number. Your logging policy does. Write it down and make the log group or bucket retention match it, because auditors compare the two.

A.8.16 is about someone acting on the logs. Show alert rules for high-signal events (a new cluster-admin binding, kubectl exec into a production pod, Secret reads by a human) and one alert that became a ticket. Falco covers the runtime side. The audit logging guide has a full policy you can adapt.

Vulnerabilities and the delivery pipeline (A.8.8, A.8.25, A.8.28)

For A.8.8 the auditor wants a process: find vulnerabilities, rank them, fix them within a stated time, track exceptions. In Kubernetes that means scanning images in CI, scanning running workloads (Trivy Operator writes VulnerabilityReports into the cluster), and staying on a supported Kubernetes version. An end-of-life control plane is an A.8.8 finding by itself.

For A.8.25 and A.8.28, treat manifests and Helm charts as code: lint them in CI, block on high-severity misconfigurations, require review before merge. Cosign signing plus a Kyverno verifyImages policy means the cluster refuses images your pipeline did not build. The evidence is the pipeline definition and one blocked build.

Backup and redundancy (A.8.13, A.8.14)

A.8.13 needs backups taken according to a policy and restores that are actually tested. Most teams have the first half. Velero handles both cluster objects and persistent volumes:

# Daily backup at 02:00, kept for 30 days
velero schedule create daily-cluster --schedule="0 2 * * *" --ttl 720h0m0s

# Evidence: completed backups and a restore test into a scratch namespace
velero backup get
velero restore create --from-backup daily-cluster-20261020020000 \
  --namespace-mappings payments:payments-restore-test

Store backups outside the cluster, and ideally outside its cloud account. Then write down each restore test: date, what was restored, how long it took, whether the app came up. That record matters more than the schedule.

A.8.14 redundancy is the availability side: node pools across zones, at least two replicas for anything customer-facing, and PodDisruptionBudgets so node drains do not take a service to zero. Evidence is a topology export and the PDB list.

Change management through GitOps (A.8.32, A.8.31)

If Argo CD or Flux is the only thing that writes to production, your A.8.32 change record is the Git history: who proposed the change, who approved it, when it merged, when it synced.

Auditors probe the bypass. If engineers can still kubectl apply to production, Git is not the full record. Close it with RBAC that gives humans read-only access in production plus a documented break-glass path. Then show an audit log query proving that writes in production namespaces come from the GitOps controller’s ServiceAccount. That query is strong evidence because it tests the control rather than describing it.

Separate clusters for production and non-production give you A.8.31 at the same time. If budget forces a shared cluster, document the namespace and RBAC separation and expect more questions.

ISO 27017 and the cloud provider’s share (A.5.23)

On EKS, GKE or AKS, the provider runs the control plane and etcd, so you cannot show etcd file permissions and do not need to. A.5.23 asks you to define how you select, use and manage cloud services, including where the provider’s responsibility ends. Keep the provider’s ISO 27001 certificate on file and write down which cluster controls are yours.

ISO/IEC 27017 is the code of practice for cloud services. It is not required for 27001 certification, but its guidance on shared responsibility is useful when you write that A.5.23 policy, and some enterprise customers ask about it.

How to prepare

A practical order for a team six months out from a certification audit:

  1. Draft the SoA and mark which A.8 controls the cluster carries.
  2. Run kube-bench and kubescape once to see the starting point. File the failures as tickets.
  3. Fix privileged access, ServiceAccount tokens and Pod Security Admission first. They are high value and easy to evidence.
  4. Roll out default-deny NetworkPolicies namespace by namespace.
  5. Turn on audit logging with a stated retention and add a few alerts.
  6. Set up Velero and do one restore test with written notes.
  7. Move production deploys to GitOps and remove direct human write access.
  8. Schedule the scans and the access review so you have months of evidence by audit day, not one week.

Auditors are not Kubernetes specialists, and they do not need to be. Give them a mapping like the table above, with dated output for each row, and the cluster part of the audit becomes one of the easier conversations.

If you want a second pair of eyes before the auditor arrives, our Kubernetes audit service runs this review against your cluster and delivers each finding with its CIS, SOC 2 and ISO 27001:2022 mapping, so it can go straight into your evidence folder.

Want this handled for you?

Done-for-you cluster audit with a prioritized fix plan, every finding mapped to CIS, SOC 2 and ISO 27001. See a sample report. First 3 customers: $99 pilot. Or do it yourself with the free Claude skill or the free kit.

Get the $99 Pilot Audit

Get the Free K8s Security Quick-Start Kit

Get 5 essential templates + audit checklist highlights delivered to your inbox.

No spam. Unsubscribe anytime.

Secure Your Kubernetes Clusters

Get the complete 50-point audit checklist and 20+ production-ready YAML templates.

View Pricing Plans