Document sending audit entries to Dagu Console
Summary
Dagu servers can now send their audit entries to Dagu Console (dagucloud/dagu#4090, #4099, #4117), controlled by two new settings, cloud.audit and cloud.audit_drain_timeout, that the docs do not mention yet. This documents both. RFC 021 task D5 (tracker dagucloud/cloud#51).
Hold the merge until a Dagu release carries these settings. The release waits for Dagu Console's audit endpoint (gate GR on the tracker). Add the version ("Needs v2.N or later") to both env entries when merging, as the reference does for other recent settings.
Changes
server-admin/reference.md:auditandaudit_drain_timeoutin thecloud:YAML example.DAGU_CLOUD_AUDITandDAGU_CLOUD_AUDIT_DRAIN_TIMEOUTin the Dagu Console environment variables, with levels, conditions, defaults, and where Dagu Console stores the entries.
server-admin/server.md, Audit Logging:- A note that entries are masked before they are written.
- A "Send to Dagu Console" subsection covering:
- the levels, and what
changesskips; - that only masked entries are sent, masked again before sending;
- that one process per installation sends;
- storage in the United States for the workspace's retention;
- gaps;
- the drain on stop;
- where the license page shows the setting.
- the levels, and what
Testing
pnpm build: the site builds, and the social metadata of all 304 pages validates.
Out of scope
- A full page on audit logs in Dagu Console, and the pricing page: P1 on the tracker.
Summary by cubic
Documents cloud.audit and cloud.audit_drain_timeout, the settings that let a Dagu server send its audit entries to Dagu Console.
server-admin/reference.mdadds both settings to thecloud:YAML example and the two new environment variables.server-admin/server.mdexplains the levels, masking behavior, storage location, gaps, and drain on stop.
Hold the merge until a Dagu release carries these settings; add the required version to both env entries when merging.
Summary by CodeRabbit
- Documentation
- Added configuration guidance for cloud audit reporting levels, Console requirements, retention, and shutdown drain behavior.
- Expanded audit logging documentation with secret masking details, MCP call filtering, storage and retention information, and shutdown reporting.