Skip to content

Commit efcf9c1

Browse files
ai: update audit logs (#25679)
<!--Delete sections as needed --> ## Description Updated audit logs. ## Related issues or tickets <!-- Related issues, pull requests, or Jira tickets --> ## Reviews <!-- Notes for reviewers here --> <!-- List applicable reviews (optionally @tag reviewers) --> - [ ] Technical review - [ ] Editorial review - [ ] Product review --------- Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
1 parent 88b21be commit efcf9c1

8 files changed

Lines changed: 440 additions & 143 deletions

File tree

content/manuals/ai/sandboxes/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Docker account, and run sandboxes at no cost.
1313

1414
The only paid component is organization governance: centrally managed network
1515
and filesystem policies, [sign-in enforcement](governance/sign-in-enforcement.md),
16-
and [audit logs](governance/audit.md). These
16+
and [audit logs](governance/audit/). These
1717
[organization governance features](governance/) require a separate paid
1818
subscription —
1919
[contact Docker Sales](https://www.docker.com/products/ai-governance/#contact-sales)

content/manuals/ai/sandboxes/governance/_index.md

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,16 @@ Sandbox governance covers the policy system that controls what sandboxes can
99
access over the network and on the filesystem. It operates at two layers, and
1010
only one applies at a time:
1111

12-
**Local policy** is configured per machine using the `sbx policy` CLI. It
13-
lets individual developers customize which domains their sandboxes can reach.
14-
See [Local policy](local.md).
12+
**Local policy** is configured per machine using the `sbx policy` CLI. It lets
13+
individual developers customize which domains their sandboxes can reach. See
14+
[Local policy](local.md).
1515

16-
**Organization policy** is configured centrally in Docker Home or
17-
via the [Governance API](/reference/api/ai-governance/). Rules defined at the org level apply
18-
uniformly across every sandbox in the organization. When organization
19-
governance is active, it replaces local policy entirely: local `sbx policy`
20-
rules are no longer evaluated. See [Organization policy](org.md).
16+
**Organization policy** is configured centrally in the Docker Admin Console or
17+
via the [Governance API](/reference/api/ai-governance/). Rules defined at the
18+
org level apply uniformly across every sandbox in the organization. When
19+
organization governance is active, it replaces local policy entirely: local
20+
`sbx policy` rules are no longer evaluated. See
21+
[Organization policy](org.md).
2122

2223
Alongside this access-control policy, admins can require developers to sign in
2324
as members of their organization before using sandboxes at all.
@@ -32,17 +33,17 @@ personal account.
3233
3334
## Learn more
3435

35-
- [Policy concepts](concepts.md): resource model, rule syntax, evaluation,
36-
and precedence
36+
- [Policy concepts](concepts.md): resource model, rule syntax, evaluation, and
37+
precedence
3738
- [Local policy](local.md): configure network and filesystem rules on your
3839
machine with the `sbx policy` CLI
39-
- [Organization policy](org.md): centrally manage sandbox policies across
40-
your organization
40+
- [Organization policy](org.md): centrally manage sandbox policies across your
41+
organization from the Admin Console
4142
- [Sign-in enforcement](sign-in-enforcement.md): require developers to sign in
4243
as organization members, enforced through endpoint management
43-
- [Monitoring](monitoring.md): inspect active rules and monitor sandbox
44-
network traffic with `sbx policy ls` and `sbx policy log`
45-
- [Audit logs](audit.md): capture a durable, structured record of every
46-
policy decision for SIEM ingestion and compliance
44+
- [Monitoring](monitoring.md): inspect active rules and monitor sandbox network
45+
traffic with `sbx policy ls` and `sbx policy log`
46+
- [Audit logs](audit/): view, configure, export, and collect governance audit
47+
records
4748
- [API reference](/reference/api/ai-governance/): manage org policies
4849
programmatically via the Governance API

content/manuals/ai/sandboxes/governance/audit.md

Lines changed: 0 additions & 126 deletions
This file was deleted.
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
---
2+
title: AI Governance Audit Logs
3+
linkTitle: Audit logs
4+
weight: 28
5+
description: Capture, view, export, and collect structured audit records for Docker AI Governance policy decisions.
6+
keywords: docker sandboxes, audit log, audit logging, AI Governance, policy decision, SIEM, compliance, jsonl
7+
---
8+
9+
AI Governance Audit Logs record Docker AI Governance activity for your
10+
organization. Each record captures the principal, action, target, decision, and
11+
time for a governance event. Records contain metadata only. They don't contain
12+
prompt content, agent output, or parameter values.
13+
14+
Audit logs are exposed when AI Governance is enabled for your organization.
15+
Docker Sandboxes send audit records only for signed-in users who have an AI
16+
Governance license and are governed by an enforced centralized [organization
17+
policy](../org.md). Docker Sandboxes users without both don't send audit data to
18+
audit logs.
19+
20+
> [!NOTE]
21+
> AI Governance Audit Logs are part of Docker AI Governance and require a
22+
> separate paid subscription.
23+
> [Contact Docker Sales](https://www.docker.com/products/ai-governance/#contact-sales)
24+
> to request access.
25+
26+
## Requirements
27+
28+
To use AI Governance Audit Logs, your organization needs:
29+
30+
- A Docker [AI Governance plan](/manuals/subscription/plans/ai-governance.md)
31+
- An enforced organization governance policy
32+
- A Docker organization account
33+
- An organization owner, or a user with a [custom role](/manuals/enterprise/security/roles-and-permissions/custom-roles.md) that includes AI Governance audit permissions, to configure delivery and view hosted events
34+
35+
> [!NOTE]
36+
> Other Docker subscriptions are not sufficient on their own to use AI Governance
37+
> Audit Logs. Users without an AI Governance license and an enforced organization
38+
> policy will not generate audit data and will not appear in audit events or SIEM
39+
> forwarding output. Personal accounts are not supported.
40+
41+
## Coverage
42+
43+
AI Governance Audit Logs cover Docker Sandboxes policy decisions and sandbox
44+
session events. Other Docker AI sources can emit records through the same schema
45+
as they become available.
46+
47+
## Delivery modes
48+
49+
Docker supports two delivery modes for audit records:
50+
51+
- **Local disk**: the sandbox daemon writes JSON Lines (`.jsonl`)
52+
files on each host. Use this mode for host-local retention, air-gapped
53+
collection, or collection through your own log shipper.
54+
- **Docker Cloud**: Docker stores audit records in Docker Cloud. Cloud
55+
delivery powers the hosted audit log view, CSV export, and SIEM streaming from
56+
app.docker.com. Cloud delivery is on by default when AI Governance is enabled.
57+
Organization owners can disable it in [audit delivery settings](configure.md).
58+
59+
Organization owners and users with a [custom role](/manuals/enterprise/security/roles-and-permissions/custom-roles.md) that includes AI Governance audit permissions can configure local disk, Docker Cloud, or both.
60+
61+
Organizations that used local audit logging before hosted audit logs were
62+
available start with cloud delivery off until an owner opts in from
63+
[audit delivery settings](configure.md).
64+
65+
## Data handling
66+
67+
When Docker Cloud delivery is enabled, Docker stores audit records in Docker
68+
Cloud for the retention window configured by your organization. For legal and
69+
privacy terms that govern Docker services, see Docker's [Terms of
70+
Service](https://www.docker.com/legal/docker-terms-service/) and [Privacy
71+
Policy](https://www.docker.com/legal/privacy/).
72+
73+
## Learn more
74+
75+
- [Local audit logs](local.md)
76+
- [Configure audit delivery](configure.md)
77+
- [View and export audit events](view-export.md)
78+
- [Audit record reference](record-reference.md)
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
---
2+
title: Configure audit delivery
3+
linkTitle: Configure delivery
4+
weight: 20
5+
description: Configure local and cloud delivery, retention, and history for Docker AI Governance Audit Logs.
6+
keywords: docker sandboxes, audit delivery, AI Governance, audit logs, retention, cloud delivery, AI Platform
7+
---
8+
9+
Organization owners and users with a [custom role](/manuals/enterprise/security/roles-and-permissions/custom-roles.md) that includes AI Governance audit permissions can configure where Docker writes audit events.
10+
Two delivery destinations are available and can be used independently or
11+
together:
12+
13+
- **Local disk**: The sandbox daemon writes audit events to the local disk
14+
on each host.
15+
- **Docker Cloud**: Audit events are sent to Docker's cloud platform, enabling
16+
the hosted log view, CSV export, and SIEM forwarding.
17+
18+
## Before you begin
19+
20+
Your organization needs:
21+
22+
- A Docker [AI Governance plan](/manuals/subscription/plans/ai-governance.md)
23+
- An enforced organization governance policy
24+
- Organization owner access, or a [custom role](/manuals/enterprise/security/roles-and-permissions/custom-roles.md) with AI Governance audit permissions
25+
26+
Only users who have an AI Governance license and are governed by the enforced
27+
organization policy send Docker Sandboxes audit data.
28+
29+
## Configure delivery
30+
31+
To configure audit delivery:
32+
33+
1. Sign in to [Docker Home](https://app.docker.com/).
34+
2. Open your organization.
35+
3. Go to **AI Platform** > **Audit logs**.
36+
4. Open **Audit Delivery**.
37+
5. Choose one or both delivery modes:
38+
- **Local disk** writes audit records to JSON Lines files on each host.
39+
- **Docker Cloud** stores audit records in Docker Cloud for hosted search,
40+
CSV export, and SIEM forwarding.
41+
6. Save your changes.
42+
43+
Cloud delivery is on by default when AI Governance is enabled. To keep records
44+
local to your hosts, turn off **Docker Cloud** and keep **Local disk** on.
45+
46+
Organizations that used local audit logging before hosted audit logs were
47+
available start with cloud delivery off until an owner opts in.
48+
49+
## Configure retention
50+
51+
When **Docker Cloud** is selected, you can also configure how long cloud-stored
52+
events are retained:
53+
54+
| Field | Description | Default |
55+
| ------------------------------ | ------------------------------------------------------------------ | ------- |
56+
| Searchable retention (days) | How long events stay searchable in the hosted audit log view. | 90 days |
57+
| Archive retention (days) | How long events are kept in long-term archive storage. | 90 days |
58+
59+
Archive retention must be greater than or equal to searchable retention.
60+
61+
Retention reductions apply going forward. They don't delete records that were
62+
already retained under a longer retention window.
63+
64+
## Audit delivery change history
65+
66+
Docker keeps a record of every change made to your organization's audit delivery
67+
settings. Each entry captures the timestamp, the user who made the change, and
68+
the delivery configuration that was set. Use this history to audit configuration
69+
changes and verify when delivery modes or retention windows were modified.
70+
71+
Open **History** to review delivery and retention changes for your organization.
72+
History entries show who made the change, when it happened, and the before and
73+
after values.

0 commit comments

Comments
 (0)