Many assume that giving an AI agent a Kubernetes service account automatically satisfies PCI DSS audit requirements. In reality, the mere presence of credentials does not produce the logs, approvals, or data protection that auditors expect.
Today, most teams hand their agents a static kubeconfig that grants wide‑ranging cluster permissions. The agent talks directly to the Kubernetes API server, can list secrets, read ConfigMaps, and execute arbitrary pods. No central point records which pod accessed cardholder data, no workflow forces a human to approve a privileged operation, and response payloads that contain PANs flow unfiltered into log aggregators. When a breach investigation begins, the evidence trail is either missing or polluted with raw card numbers, violating the PCI DSS requirement to protect stored and transmitted cardholder data and to maintain an immutable audit log.
PCI DSS expects four core controls that are especially relevant to AI‑driven workloads on Kubernetes:
- Restrict access to cardholder data. Only the minimal set of identities should be able to read or modify resources that contain PANs.
- Log all access to cardholder data. Every request that touches sensitive objects must be captured with user, time, and action details.
- Mask PAN in logs and reports. When card numbers appear in output, they must be redacted before storage.
- Enforce approval for high‑risk actions. Commands that could expose or alter card data need a just‑in‑time (JIT) workflow.
AI agents, however, are typically provisioned with long‑lived service accounts that already have the permissions needed to perform those actions. The setup fixes the “who can connect” part of the problem, identity is established, but it leaves the request path completely open. The agent still reaches the Kubernetes API directly, bypassing any checkpoint that could enforce masking, approval, or detailed logging. In PCI DSS terms, the control surface is missing, so the organization cannot produce the evidence required for compliance.
Why a gateway is required for PCI DSS on Kubernetes
The missing piece is an identity‑aware proxy that sits in the data path between the AI agent and the Kubernetes control plane. By placing enforcement at that boundary, the organization gains a single, tamper‑resistant point where every request can be inspected, altered, or blocked before it reaches the cluster.
In a compliant architecture, the following three layers work together:
- Setup. An OIDC identity provider issues short‑lived tokens to the AI agent. The token carries the agent’s group membership and is scoped to the minimal set of Kubernetes roles required for its workload.
- The data path. A Layer 7 gateway intercepts the API traffic, evaluates the request against policy, and forwards it only after the policy check succeeds.
- Enforcement outcomes. The gateway records the request, masks any PAN in the response, requires JIT approval for privileged verbs, and blocks commands that violate policy.
Only the component in the data path can guarantee that every interaction is observed and controlled. That component is hoop.dev.
How hoop.dev satisfies PCI DSS evidence requirements
Session recording. hoop.dev records each Kubernetes API call, capturing the caller identity, timestamp, verb, and resource path. These records form the immutable audit trail that PCI DSS mandates for every access to cardholder data.
