Requests made with a secret
getAudit() returns the requests authenticated with a secret, across every sandbox that used it, newest first:
upstreamStatus from the real service:
| Field | Description |
|---|---|
ts | When the request was made |
sandboxId / sandboxName | The sandbox that used the secret (sandboxName is null if it’s since been deleted) |
method · host · path | The request line |
status | Status returned to the sandbox |
upstreamStatus | Status from the upstream service |
latencyMs | Round-trip time |
errorCode | Set when the request was blocked or failed |
Filtering
Narrow to a status class, or page back with thebefore cursor:
status accepts "2xx", "3xx", "4xx", "5xx", or "errors" (requests that failed before reaching the service).
Sandboxes using a secret
To see where a secret is bound,getSandboxes() lists the live bindings: