Kubernetes for SOC 2 controls

How a self-managed Kubernetes cluster can supply evidence for SOC 2 logical access, system operations and change management criteria, and where the platform stops.

On this page

Kubernetes for SOC 2 controls: what the platform covers and what it does not

If your SaaS or service organization runs on self-managed Kubernetes and must show the SOC 2 Security criteria, the cluster can supply much of the evidence for CC6.1, CC6.3, CC7.2 and CC8.1, but it does not make the organization compliant. The auditor forms the opinion, not the platform and not DeployOpen. DeployOpen plans and configures the controls, sets up the logs and records that show them working, and prepares the evidence an examination team will ask for. It does not issue audit reports, attestations or certifications. The first decision is to agree which controls the cluster owns and which belong to people and processes, such as access reviews, incident response and vendor management, so that nobody assumes a Kubernetes setting covers a gap in a policy.

Two report types matter for planning. A SOC 2 Type 1 report describes the system and tests whether controls are suitably designed as of a date. A Type 2 report adds an opinion on operating effectiveness over a period, which means the controls must have run consistently throughout that window and left evidence each time. For a cluster, that makes retention and collection the hard part. RBAC bindings, API audit logs, pipeline approvals and alert records must be kept and sampled across the whole period, not produced once before the audit. Confirm with your auditor the observation period, the populations and sample sizes they will use, and which system descriptions they expect, since these shape what you must retain from day one.

Mapping SOC 2 criteria to Kubernetes controls and configuration

This table maps four SOC 2 common criteria to the Kubernetes capabilities that usually support them and the settings to confirm in your cluster. Points of focus in the 2017 Trust Services Criteria help design controls but are not separate requirements, so read each row as a starting point for your own system description. Your auditor decides whether a control is sufficient for your scope.

RequirementPlatform capabilityConfiguration to confirm
CC6.1 Logical access security software and architectureAuthentication through OIDC or X.509 client certificates, RBAC, and Pod Security Admission for workload isolationHuman users authenticate through your identity provider, no shared static tokens or long-lived service account tokens, and Pod Security Standards are enforced per namespace
CC6.3 Grant, change and remove access by role, least privilege and segregation of dutiesRBAC roles and role bindings, namespace scoping, and Git-managed access definitionsAccess is granted through reviewed manifests, cluster-admin is limited to named break-glass accounts, and deprovisioning removes bindings when people change roles or leave
CC7.2 Monitoring for anomalous activityAPI audit logs, cluster and node monitoring, and alert rules on privileged or unusual requestsAudit policy captures authentication, RBAC and Secret access events, logs ship to a store outside the cluster, and someone reviews alerts with a documented triage path
CC8.1 Change management from authorization through implementationGitOps reconciliation, pull request review, and versioned cluster configurationProtected branches require approval, deployment tooling is restricted to pipeline identities, and change records link commits to tickets and test results

How Kubernetes authentication and RBAC support CC6.1 and CC6.3

Kubernetes does not store normal users as API objects, so the cluster has no user list of its own to show an auditor. Instead, the API server trusts an identity source you configure: X.509 client certificates, bearer tokens including OpenID Connect (OIDC) and JWT tokens, webhook token authentication, or an authenticating proxy. For CC6.1, the evidence therefore sits in your identity provider. Confirm which method the cluster uses for human access, which OIDC issuer and client the API server is configured against, and whether the --oidc-issuer-url and related settings are recorded in your configuration repository. Also confirm that the offboarding process in your identity provider removes a leaver's ability to get a token, because a disabled account in the identity provider is what ends cluster access. Client certificates are harder to revoke quickly, so check how a departed engineer's certificate would be stopped before relying on it for human users.

For CC6.3, grant access through RBAC with Role and RoleBinding objects scoped to namespaces, and reserve ClusterRole bindings for platform administrators. Keep read access to Secrets narrow. Restricting list and watch on Secrets matters as much as restricting get, because a principal that can list Secrets can read every value in its scope. This matters more because Secrets are stored unencrypted in etcd by default, so the RBAC boundary is a main control. Separate the deployer role, which applies manifests through the pipeline, from the operator role, which investigates and changes the running cluster. Segregation of duties is easier to show when one person cannot both approve a change and apply it to production. Export your bindings regularly so the evidence shows who held each role on each date.

Access reviews and joiner, mover and leaver workflows happen outside the cluster. Kubernetes will enforce the bindings you write, but it does not decide who should hold them, ask managers to recertify access, or record why a role was granted. Those steps belong in your identity governance process, ticketing system or HR-driven provisioning. Plan for a periodic review that compares group membership in the identity provider against the subjects named in RoleBindings and ClusterRoleBindings, and document who signs off. Ask your auditor early which population of access records they will sample, because they will expect the cluster configuration and the review records to agree.

Evidence auditors ask for from a Kubernetes cluster

Auditors testing logical access, system operations and change management will ask for records that show who could do what, what actually happened, and who approved each change. The cards below cover the sources that answer those questions, how to keep them for the full audit period, and who on your side should review them before the auditor does.

RBAC role and binding exports

Export every Role, ClusterRole, RoleBinding and ClusterRoleBinding on a schedule, and store each export with a timestamp and the commit or change ticket that produced it. Auditors use these to test the access granted under CC6.3, so each export must be dated inside the audit period. Keep the history in Git or in immutable storage. Reviews should be done by the access owner for each namespace, with a named reviewer who signs off on any binding that grants secret access or cluster-admin rights.

Kubernetes authentication docs

API server audit logs

The API server audit log records requests to the cluster and the authorization decision for each one, so it is the primary record of who authenticated and what they were allowed to do. Confirm the audit policy captures requests for Secrets, RBAC objects and namespace labels at an appropriate level, and that logs are shipped off the control plane nodes. Show coverage by sampling entries across each month of the audit period. Your security team should review denied requests and changes to RBAC or admin roles, supporting the CC7.2 monitoring criterion.

Git history and pull request approvals

When cluster configuration is delivered through GitOps, the Git history becomes the record of change under CC8.1: who proposed a change, the design or ticket behind it, the reviewer, and the time it was merged. Protect the main branch so that merges require an approval from someone other than the author, and retain the history for the full period. Ask whether the GitOps controller's sync history maps each merged commit to a deployment, since auditors will test that the approved change is the one that ran.

Secrets good practices

Monitoring alerts and triage tickets

Alert rules and their firing history show that system components are monitored for anomalies, which is the CC7.2 requirement. Keep alert definitions in version control, export the alert history for each period, and link every alert that fired to a triage ticket that records whether it was classified as a security event, an error or a false positive. Review the triage queue weekly with the security lead, and check that tickets are closed with a reason rather than left open.

Pod Security Admission namespace labels

Pod Security Admission enforces the Privileged, Baseline or Restricted standard per namespace through labels such as pod-security.kubernetes.io/enforce. Export the labels for every namespace at regular intervals, and keep the Git change that set each one. Auditors use this to confirm that workloads were held to a defined standard during the period. Confirm which namespaces are exempt and why, and have the platform owner review any namespace running at a weaker level than the rest of the cluster.

Pod Security Standards

Backup and restore test records

Logs and exports show the cluster was configured as described, but auditors also test whether recovery works. Record the etcd snapshot schedule, the location and retention of each snapshot, and the outcome of periodic restore tests in a non-production environment. Each test record should state the date, the snapshot used and the person who verified the result. Ask your operations lead to review these records, because a missing or failed restore test is often the gap that surfaces in a system operations review.

Configuration sequence before the audit period starts

This sequence puts the identity, access, logging, secrets, admission, change and alerting controls in place and checks each one before the SOC 2 evidence window opens. The result is a cluster whose controls can be described as operating from the first day of the period, so the auditor has a clean baseline to test.

  1. Connect the identity provider to cluster authentication

    The platform team configures the API server to trust your identity provider through OpenID Connect, so that people sign in with their workforce accounts rather than shared or long-lived credentials. Kubernetes does not store normal users as API objects, so group claims from the provider become the basis for access decisions later. Done means a test user signs in with an individual account, that account is listed in the audit log, and no shared kubeconfig with administrative rights remains in circulation. Confirm the exact flags and claim mapping against the authentication documentation for your distribution and version.

  2. Define RBAC roles and bindings from group membership

    The team writes Roles and ClusterRoles for each job function, then binds them to identity provider groups instead of individual users. Cluster-admin rights go to a small named group, and read access to Secrets is removed from broad roles because list and watch on Secrets expose their values. Done means an access review export shows every binding with its owning group, and a test account from each group can perform only its intended actions. This is the evidence base for the logical access criteria, so keep the role definitions in version control from the start.

  3. Enable API audit logging with a policy and retention

    The platform team writes an audit policy that records who changed what, at a level of detail that answers an auditor's questions, and points the API server at a log destination the cluster operators cannot silently edit. Retention is set to match your own policy and the period your auditor will sample, and the team confirms the logs are shipped off the control plane nodes. Done means a test change, such as creating and deleting a non-sensitive ConfigMap, appears in the central log store with the user, verb and resource recorded. Confirm the retention period with your compliance lead before the window opens.

  4. Turn on Secrets encryption at rest and restrict access

    Secrets are stored unencrypted in etcd by default, so the team configures encryption at rest for Secret resources and verifies that existing Secrets are rewritten under the new provider. Where secret values should not live in etcd at all, the team plans an external store through the Secrets Store CSI Driver. Done means a direct read of a Secret from etcd shows ciphertext, and an RBAC test confirms that only the intended group can read Secret objects. Record the key management process, since the encryption key itself becomes a control to evidence.

  5. Enforce Pod Security Standards in each namespace

    The platform team labels each namespace with the Pod Security Standards level it requires, usually Baseline or Restricted for application workloads, and sets the enforce mode through the built-in Pod Security Admission controller. Privileged is reserved for named system namespaces with a documented reason. Done means a deliberately non-compliant test pod is rejected in an enforced namespace, and the namespace labels are exported and stored with the change records. Review the labels whenever a new namespace is created, because an unlabeled namespace is a gap in the control.

  6. Route cluster changes through GitOps with protected branches

    Manifests, Helm values and cluster configuration move into a Git repository, and a GitOps controller applies only what is merged to the protected branch. Branch protection requires review by someone other than the author, and direct changes to the cluster are blocked or flagged by drift detection. Done means a sample change shows a proposal, a reviewer approval, an automated sync and a recorded commit, and that a manual kubectl change is detected as drift. This flow is what the change management criteria examine, so the approval rules must be written down and enforced in the repository settings, not just agreed informally.

  7. Wire monitoring alerts to a ticketing process

    The team connects alerts for control-relevant events, such as failed authentication spikes, privileged role binding changes, Pod Security rejections in enforced namespaces and GitOps sync failures, to a monitored channel that opens a ticket. Each ticket needs an owner and a disposition, which is how an anomaly becomes a documented security event or a closed error. Done means a test alert creates a ticket, the ticket is assigned and closed with a note, and the alert rule definitions are stored in version control. Ask your auditor which events they expect you to monitor so the rules cover what they will sample.

How a change moves from request to evidence

The diagram starts with a change request in the ticketing system and follows it through a pull request with review, a merge to the GitOps repository, and a GitOps controller that applies the change through the Kubernetes API server. The dashed trust boundary marks where the Git platform, the identity provider and the cluster are separate systems, so each hand-off needs its own identity and logging. Check that every hop writes a record you can retrieve later: the ticket, the review approval, the Git commit, and the API audit log entry. Monitoring alerts flow back into incident tickets, closing the loop for CC7.2. This is an illustrative view; confirm the actual tools and approval paths in your environment.

Illustrative change path from request to evidence, with the trust boundary around the Git platform.

What Kubernetes and its add-ons do not cover for SOC 2

Who writes the organization-wide policies and risk assessment behind the cluster controls?

The organization does, and no cluster setting can substitute for them. The control environment described in the common criteria CC1 to CC5 covers board and management oversight, an organization structure with defined responsibilities, a commitment to competence, accountability for internal control, and a formal risk assessment process. Kubernetes can enforce a policy once it exists, for example through RBAC or Pod Security Admission, but someone must decide the policy, approve it, review it on a schedule and tie each cluster control back to a documented risk. Expect your auditor to ask for these documents first. Confirm with your auditor which policy set and review cadence they expect for your system description.

Who handles HR onboarding and offboarding for cluster access?

Your HR and identity processes do, and the cluster only honors what they feed it. Kubernetes does not represent normal users as API objects, so it relies on X.509 certificates, OpenID Connect tokens or another external authentication source. When someone joins, changes role or leaves, the change must reach the identity provider, the group mappings and the RBAC bindings, and the process must leave a record. Auditors typically sample leavers and check that access was removed in a timely way, so you need a ticket or workflow that proves it. Confirm how your identity provider reflects terminations and whether any cluster credentials, such as static kubeconfig files, sit outside that flow.

Which physical and cloud account controls must the organization own?

The organization owns the facilities, hardware and cloud accounts beneath the cluster, and their evidence. Controls related to physical access to data centers, server racks and bare-metal nodes, along with the cloud account structure, root or owner access, billing and account-level logging, sit outside Kubernetes. If you run on a managed cloud, the provider's own attestation may cover parts of this, but you must still review it and map its scope to your system description. Keep a list of who can reach the node operating system, the hypervisor and the cloud console, and confirm how those accesses are logged and reviewed.

Why must cluster logs be shipped off the cluster and protected?

Audit logs stored only on the control plane can be lost, overwritten or altered along with the cluster they describe, so you need an off-cluster copy with separate access. Kubernetes API audit logs record requests according to the audit policy you configure, and that policy is your decision. Forward these logs, along with node, runtime and identity provider logs, to a store that the cluster administrators cannot quietly edit. Define retention, who may read the logs, and how integrity is protected. Confirm the retention period your auditor expects, since it depends on your commitments and your system description.

Which availability and incident response processes sit outside the cluster?

Your business continuity, incident response and availability processes do, and Kubernetes supplies only the technical mechanisms they rely on. Replicas, multi-zone control planes and etcd backups help with availability, but the criteria also expect you to define availability targets, test recovery, and run a documented process for detecting, classifying, escalating and resolving security incidents. The monitoring criteria in CC7.2 require you to analyze anomalies and decide which are security events, which is a human process. Write the runbooks, name the owners, run tabletop exercises and keep the records of what happened and what changed afterward.

How does vendor management apply to the distribution and add-ons?

You must assess and monitor every vendor and open-source project in the stack, and that work is yours. A distribution, a Helm chart, an operator, a GitOps tool or a secrets store each becomes part of your system, so their security posture, support status and release cadence affect your controls. Kubernetes minor releases happen about three times a year, and the project maintains only the three most recent minor versions, so an out-of-support component is a finding waiting to happen. Keep an inventory of components and versions, record the due diligence you performed, track vulnerability notices and define who approves an upgrade. If you use a commercial distribution or support contract, review its terms and the vendor's own reports.

Are Kubernetes Secrets encrypted in etcd by default?

No. Secrets are stored unencrypted in etcd by default, so encryption at rest must be configured on purpose before you can describe it in your system. Set up an encryption configuration for the API server, confirm it covers Secrets, rotate the keys on a documented schedule and verify that existing data was re-encrypted. Also check etcd snapshots, since backups carry the same data and need equal protection. Restrict list and watch access to Secrets through least-privilege RBAC, or move sensitive values to an external store through the Secrets Store CSI Driver. Ask your engineers to show you the active configuration and a test that proves the encryption works.

How Type 1 and Type 2 reports change the cluster evidence

The report type you are aiming for decides how much of your cluster evidence has to be continuous. A SOC 2 Type 1 report describes the system and the suitability of control design as of a single date. A Type 2 report adds an opinion on operating effectiveness over a period. For a cluster, a Type 1 can rest on a snapshot: the RBAC bindings, audit policy, encryption configuration and pipeline settings as they stood on that day. A Type 2 needs proof that those controls worked throughout the window the auditor covers. That means audit logs retained for the whole period, a record of every RBAC change, and evidence that GitOps-applied changes followed the approval path each time, not only at the start.

Two responsibilities sit with management, not the auditor. Management prepares the description of the system, which should name the cluster components, namespaces, identity provider and deployment tooling in scope, and it gives written representations to the service auditor under AT-C section 205 of the AICPA attestation standards. Those representations are assertions about the controls, so the team should only write down what the cluster evidence can actually support. Confirm with your auditor which description and representation wording they expect before you lock the scope, because a description that names a control your logs cannot prove will create findings in a Type 2.

Report distribution also shapes who sees the cluster design. A SOC 3 report covers the same categories in less detail and is a general use report that can be freely distributed, while use of a SOC 2 report is generally restricted to specified parties. If customers will read your cluster controls through a SOC 3, the description you publish should be written for a general audience, and the detailed control evidence stays in the SOC 2 package. Ask your auditor early which report types your customers need, since that choice determines both the audit period and how much detail reaches the market.

How much work and cost does Kubernetes SOC 2 evidence take?

What does Kubernetes SOC 2 evidence work cost and what drives the price?

The price depends on how many systems are in scope, how much of the cluster's control set is already configured and how much evidence has to be produced by hand. DeployOpen does not publish a price list; a quote follows from a written scope. The main cost components are planning the control design, configuring RBAC, audit logging, GitOps change flow and monitoring, collecting and retaining evidence, and supporting the auditor during the examination. Costs rise with the number of clusters, the number of namespaces and teams with access, the number of Trust Services categories added beyond security, and whether the GitOps pipeline and monitoring stack already exist. Ask any provider for a quote that separates one-time build work from recurring evidence collection and retesting, and that names who pays the audit firm, which is not part of an implementation engagement.

How long does Kubernetes SOC 2 preparation take before an audit window?

Duration depends on the state of the cluster and on the audit period you choose. A SOC 2 Type 1 report covers the design of controls as of a date, while a Type 2 report covers operating effectiveness over a period, so the controls must have run consistently for that period before the auditor can test them. Start by confirming the audit window with your auditor, then work backward: controls need to be designed, deployed and producing logs before the observation period begins. Timing risks include unfinished identity integration, audit log retention that was not set up early, and change approvals that happen outside the pipeline. Ask for a schedule in the written scope that ties each control to a date and to the evidence it produces.

What does the organization have to provide for Kubernetes SOC 2 evidence?

The organization provides the decisions and the access that only it can supply. This includes the in-scope system description, the list of clusters, namespaces and services, the identity provider and group structure used for access, the owners of each role and who approves access changes, and the change approval policy. It also includes access to cloud accounts or data center systems, the Git repositories and CI pipelines that change cluster state, the monitoring and log destinations, and retention requirements. Someone with authority must confirm the policies that the controls implement, because a technical control cannot define the organization's own rules. Engineers should expect to review the evidence before it goes to the auditor.

Can our own team build Kubernetes SOC 2 controls without a partner?

Yes, a capable platform team can build these controls internally, and many do. The work requires skills in Kubernetes RBAC, API server audit policy, GitOps tooling, monitoring and written control design, and it requires someone who understands how the auditor will test each criterion. The main questions to ask are whether the team has time to build and then run the evidence process for the whole observation period, and whether a second person can review changes to access and policy. A partner is useful when the team needs an outside check of control design, a faster build or a documented evidence pack. Whichever path you choose, the organization remains responsible for the SOC 2 report and for management's description of the system.

Does a Kubernetes control on its own satisfy a SOC 2 criterion?

No. A Kubernetes control is a technical mechanism that supports a criterion, but a SOC 2 criterion is met only as part of the organization's whole control system, including policies, approvals, people and monitoring. For example, RBAC restricts what an account can do, but the criterion on granting, changing and removing access also depends on a documented request and approval process and a review of who holds access. Similarly, API audit logs record activity, but someone must review and act on anomalies for the monitoring criterion to be met. The Trust Services Criteria also describe points of focus that help design controls but are not separate requirements. Treat each Kubernetes setting as evidence for a control objective, not as the control itself.

Which Trust Services categories apply to Kubernetes SOC 2 evidence?

The security category applies to every SOC 2 report, and its common criteria CC1 to CC9 cover control environment, communication, risk assessment, monitoring, control activities, logical and physical access, system operations, change management and risk mitigation. The other four categories are availability, processing integrity, confidentiality and privacy, and each adds criteria only when the organization includes it in scope. For Kubernetes, the criteria most often tied to cluster evidence are CC6.1, CC6.3, CC7.2 and CC8.1. Availability may matter if the cluster hosts customer-facing services with uptime commitments, and confidentiality may matter for Secrets and sensitive data. Confirm the category selection with your auditor before building evidence, because each category added increases the number of controls to design and test.

What should we ask for in a written scope before starting Kubernetes SOC 2 work?

A useful written scope names the clusters and systems in scope, the Trust Services categories and criteria it covers, the controls to be configured and the evidence each produces. It should describe the deliverables, such as configuration documentation, RBAC and audit policy manifests, GitOps repository structure, monitoring alert definitions and an evidence index. It should also state what is not included, such as the auditor's examination, the attestation itself and ongoing operation after handover, and it should say whether support or retesting is offered as a retainer. Ask for a timeline tied to the audit window, a list of assumptions about access and existing tooling, and the process for changing scope if the auditor requests more evidence.

How do DeployOpen's services relate to a SOC 2 report?

DeployOpen plans, implements, documents and supports self-hosted open-source platforms inside your own infrastructure, and it can prepare systems, controls and evidence for compliance assessments. It does not issue audit reports, attestations or certifications; an independent CPA firm performs the SOC 2 examination. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts, and a quote follows from that written scope. Ongoing support, upgrades and continuous testing are available as retainers. Ask the engagement to define which criteria the evidence supports and which evidence the auditor will need, so the organization can review the result before the examination begins.

How DeployOpen prepares Kubernetes controls and evidence for SOC 2

DeployOpen plans, builds and documents the Kubernetes controls that support SOC 2 criteria in infrastructure you control, then hands over the configuration and evidence your auditor will ask for. We do not issue SOC 2 reports, which remain the work of an independent CPA firm. Engagements start from a written scope that sets out which criteria and systems are covered.

How we scope

  • We agree in writing which clusters, namespaces, identity sources and tools fall inside the SOC 2 scope.
  • We map each in-scope control to the criteria it supports, such as CC6.1, CC6.3, CC7.2 and CC8.1.
  • We confirm with your auditor which evidence period, sampling approach and system description they expect before build work starts.

How we build

  • We configure OIDC-based cluster sign-in, least-privilege RBAC roles and documented access request and removal steps.
  • We enable API audit logging, route logs to retained storage and set alerts for security-relevant events.
  • We set up GitOps change flow with reviewed merges, protected branches and recorded approvals for cluster changes.

How we hand over

  • We deliver a control matrix linking each configured control to its SOC 2 criterion, owner and evidence source.
  • We document runbooks for access reviews, change records, log retention checks and monitoring response.
  • We walk your compliance and platform teams through the evidence they will pull for each sampled period.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after handover.
  • We can review evidence gaps before each audit window so your team has time to correct them.
  • Your auditor and certification or attestation bodies remain responsible for the opinion on your controls.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.