An offboarded contractor still has a personal access token that lets a CI job fetch configuration data from an internal service. Because there is no session recording, the service returns JSON payloads that are validated against a schema, but nobody ever sees a record of which fields were queried, who asked for them, or what the exact response looked like. The token was granted broad read rights, never revoked, and the team has no reliable way to prove that the contractor didn’t exfiltrate sensitive values.
In many organizations, JSON APIs are accessed directly from scripts, monitoring tools, or ad‑hoc queries. Engineers rely on static credentials stored in shared vaults, and the connections bypass any central audit layer. The result is a blind spot: while the schema guarantees shape, it provides no evidence of who exercised the API, when, or what data was returned.
Introducing a dedicated identity provider and least‑privilege roles fixes the credential‑sprawl problem. The request now originates from a token that reflects a specific service account, and the policy limits the scope to the exact API path. However, the request still travels straight to the target service, and the organization still lacks a replayable log of the JSON exchange, inline redaction of secrets, or a workflow to pause a suspicious query.
That missing control point belongs in the data path. hoop.dev acts as an identity‑aware proxy that sits between the requester and the JSON service. By routing every API call through hoop.dev, the gateway can enforce just‑in‑time approvals, mask sensitive fields in real time, and record the full request‑response cycle for later analysis. Because the enforcement happens in the gateway, the underlying service never sees the raw credential, and the organization gains an audit trail that is retained for review.
Why session recording matters for JSON schema
JSON schema defines the structure of data, but it does not capture the context in which that data was produced. Session recording fills that gap by preserving the exact payloads that passed validation, along with the identity of the caller and the time of the interaction. This evidence is essential for:
- Detecting accidental leakage of personally identifiable information (PII) that may be hidden inside a nested object.
- Providing auditors with concrete examples of compliant versus non‑compliant requests.
- Enabling forensic replay when a breach investigation requires reconstruction of the data flow.
When the recording lives outside the service process, the service cannot tamper with or delete the log, ensuring integrity.
How hoop.dev captures every JSON interaction
Setup: an OIDC or SAML identity provider issues short‑lived tokens that encode the caller’s group membership. The token is presented to hoop.dev, which validates it before allowing any traffic to pass.
The data path: hoop.dev terminates the client’s TLS session, inspects the JSON payload at the protocol layer, and forwards the request to the target service using its own managed credential. Because the gateway is the only point where the request is visible, it can apply enforcement outcomes such as:
