You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b4b06ed
Browse filesBrowse the repository at this point in the historyBrowse files
## Description
Document the audit record changes in Docker Sandboxes 0.46. Sandboxes
now writes a record when a user resolves a pending approval, records
HTTP request evaluations separately from the network connection, and
includes the enforcement mode on evaluation records.
| Page | What changed |
| --- | --- |
|
[`record-reference.md`](https://deploy-preview-26189--docsdocker.netlify.app/ai/sandboxes/governance/audit/record-reference/)
| Adds the `enforcement_mode` and `approval` fields. Fixes the approval
decisions to `AUDIT_DECISION_APPROVAL_ALLOW` and
`AUDIT_DECISION_APPROVAL_DENY`, which replace values that don't exist in
the schema. New **Enforcement modes** section. New **Approval fields**
section that covers `approval_request_id`, `grant_scope`, and how a
failed grant is recorded. Adds the `http_request` action type, a new
**HTTP request payload** section, and a sample approved HTTP request
record |
## Related issues or tickets
docker/sandboxes#6656
## Reviews
- [ ] Technical review
- [ ] Editorial review
- [ ] Product review
---------
Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
|`approval.reason_codes`| Policy reasons for requiring approval. Present on `AUDIT_DECISION_APPROVAL_REQUIRED` records when the policy supplies reasons, and on declined MCP approvals when reasons are available. |
94
+
|`approval.approval_request_id`| ID that links an approval required record to the record that resolves it. |
95
+
|`approval.grant_scope`| Scope the user accepted. Present only on `AUDIT_DECISION_APPROVAL_ALLOW` records. |
96
+
|`approval.context_digest`| SHA-256 digest of the request that was resolved, which shows it matches the request that was held. Present only on declined MCP approvals. |
97
+
98
+
For network approvals, Docker Sandboxes records `approval.grant_scope` as
99
+
`AUDIT_APPROVAL_GRANT_SCOPE_PERSISTENT`, which means that the approval applies
100
+
to later requests.
101
+
102
+
If a user approves a request but Docker can't apply the grant, the record has
103
+
an `AUDIT_DECISION_DENY` decision and includes the `approval` object.
56
104
57
105
## Action types
58
106
59
107
The `action_type` field identifies the action-specific payload in the record.
0 commit comments