Skip to Content
RabbitLock Docs

Receipt format

Fields and decisions in .rabbitlock/receipts.jsonl.

One JSON object per line.

Fields

FieldPresent onMeaning
tsallISO 8601 timestamp
sessionallsession id; the same as RABBITLOCK_SESSION
decisionallsee below
secretsrequest decisions, session_start, generatednames involved; never values
host, method, pathrequest decisionsdestination host, HTTP method, path without query string
statusinjectedupstream HTTP status
blockedblocked_host, denied_approvalwhich secrets caused the block
errorupstream_errornetwork error code
command, sandboxsession_startthe launched command and the sandbox in use
commandgeneratedcharset, length and hand-off mode; session is cli
exitCodesession_endthe agent's exit code

Decisions

DecisionMeaning
session_start / session_enda rabbitlock run began or finished
injectedreal value(s) swapped in and the request was forwarded
blocked_hosta secret's placeholder was sent to a host not allowed for it; 403
blocked_insecurea placeholder was sent over plain HTTP; 403
denied_approvala required approval was denied, timed out or unavailable; 403
upstream_errorinjection was allowed, but the upstream connection failed
generatedrabbitlock set --generate created and stored a value

On this page