-
-
Notifications
You must be signed in to change notification settings - Fork 6
Features Audit
Tuck edited this page Jun 28, 2026
·
1 revision
Query the action audit log and clear history. Every action dispatched through the daemon is logged with a timestamp, action type, status, and originating agent session.
Retrieve audit log entries.
| Parameter | Type | Description |
|---|---|---|
limit |
uint? | Max entries to return (default: 50) |
action_type |
string? | Filter by action type (e.g., windows.list, system.info) |
status |
string? | Filter by status (ok, error, denied) |
deskbrid audit.log '{"limit": 10}'
deskbrid audit.log '{"action_type": "windows.list", "status": "ok"}'{"type": "audit.log", "limit": 10}Response:
{
"type": "response",
"status": "ok",
"data": [
{
"id": 1423,
"timestamp": 1705312800,
"action_type": "windows.list",
"status": "ok",
"agent": "agent-1",
"duration_ms": 12
},
{
"id": 1422,
"timestamp": 1705312799,
"action_type": "system.info",
"status": "error",
"agent": "agent-1",
"duration_ms": 5,
"error": "Permission denied"
}
]
}Clear all audit log entries.
deskbrid audit.clear{"type": "audit.clear"}from deskbrid import Deskbrid
client = Deskbrid()
# Get recent errors
errors = client.audit_log(status="error", limit=20)
for entry in errors:
print(f"[{entry['timestamp']}] {entry['action_type']}: {entry.get('error', '')}")
# Clear log
client.audit_clear()The audit log is stored in SQLite at ~/.config/deskbrid/deskbrid.db in the
audit_log table. Logs are automatically trimmed to prevent unbounded growth
(configurable via permissions.toml).
Stable — log querying and clearing supported.
- Accessibility
- Apps
- Audio
- Backlight (LED driver)
- Bluetooth
- Clipboard
- Color Picker
- Desktop Portal
- Desktop Settings
- Files
- Hotkeys
- Input
- Keyboard Layouts
- Media (MPRIS)
- Monitors
- Network
- Notifications
- Print (CUPS)
- Screenshots
- Screen Recording
- Screencast
- Self-Update
- System
- System Tray
- Systemd Units & Timers
- Terminals (PTY)
- Windows & Workspaces