Missing continuous audit evidence in streaming pipelines can invalidate a SOC 2 audit.
Most organizations run data streams on platforms such as Apache Kafka, Amazon Kinesis, or other message brokers. Engineers provision topics, grant service‑account credentials, and let producers and consumers talk directly to the broker. The connection stays open for hours or days, and the broker itself does not retain a detailed, per‑message log of who read or wrote each record. Auditors therefore see only occasional snapshots of configuration or manually exported logs, which leaves a gap in the evidence required for the SOC 2 Trust Services Criteria.
Even when identity providers enforce least‑privilege tokens and service accounts are scoped to specific topics, the data path remains uncontrolled. A request still reaches the broker without any inline verification, masking, or approval step. There is no built‑in way to replay a specific session, to prove that a privileged consumer did not exfiltrate confidential fields, or to demonstrate that a write operation was authorized in real time. In short, the setup supplies authentication but no enforcement or continuous audit.
SOC 2 evidence requirements for streaming
SOC 2 auditors look for three kinds of evidence related to streaming workloads:
- Access logs that show which identity accessed which topic, when, and what operations were performed.
- Data handling records that prove any sensitive payloads were masked or redacted according to policy.
- Approval trails that confirm high‑risk actions, such as schema changes or bulk deletions, received proper human sign‑off before execution.
These artifacts must be collected continuously, stored securely, and remain unchanged for the audit period. Traditional streaming tools do not provide a single control surface that can guarantee all three.
Why a Layer 7 gateway solves the gap
Placing a protocol‑aware gateway between identities and the streaming broker creates the only point where enforcement can happen. The gateway can inspect every publish or consume request, apply policy, and emit a record of the interaction. Because the gateway sits in the data path, it can also mask fields in messages before they reach downstream systems, block commands that violate safety rules, and route risky operations to a human approver.
This architectural approach satisfies the SOC 2 requirement for continuous evidence while preserving the existing identity model. The gateway does not replace the broker; it merely proxies the connection, keeping the broker unchanged and allowing existing client libraries to work without modification.
How hoop.dev implements the gateway for streaming
hoop.dev provides an open‑source Layer 7 gateway that can front any supported streaming target. After deploying the gateway, using the getting‑started guide, you register the broker as a connection and supply the broker credentials to the gateway. The gateway holds those credentials, so users and automated agents never see them.
Identity is verified through OIDC or SAML. hoop.dev reads the token, extracts group membership, and decides whether the request may proceed. When a producer or consumer connects through the gateway, hoop.dev records each session, captures the exact payloads sent and received, and keeps the log for audit. If a message contains fields marked as confidential, hoop.dev masks those fields in real time before the data leaves the gateway.
For high‑risk actions, such as creating a new topic, altering retention policies, or issuing a bulk delete, hoop.dev can pause the request and forward it to an approval workflow. Only after a designated approver signs off does the gateway release the command to the broker.
