As an
Org administrator
I want to
view all user and system actions that have occurred within my organization
So that
I can monitor activity, investigate incidents, and ensure operational accountability
✅ Acceptance Criteria
🖥️ Web Dashboard Functionality
-
Access Control:
- Only users with the
admin role can access the Audit Log tab/page.
- Users without
admin see no link to this section.
-
Audit Log Table View:
-
Filtering & Search:
-
Drill-Down View:
-
Pagination:
- 50 logs per page with pagination controls
-
Performance:
- Logs should load within 1s for typical orgs (indexes required)
🛠 GitHub Tasks
Frontend
Backend
📌 Additional Notes
- ❌ No CLI access to logs — all audit visibility is centralized in the dashboard
- ✅ This matches the future v2 goal of having org-wide observability and incident history
- 📦 You can build this atop Postgres and extend later to export logs via CSV
As an
Org administrator
I want to
view all user and system actions that have occurred within my organization
So that
I can monitor activity, investigate incidents, and ensure operational accountability
✅ Acceptance Criteria
🖥️ Web Dashboard Functionality
Access Control:
adminrole can access the Audit Log tab/page.adminsee no link to this section.Audit Log Table View:
Display the following columns:
user_id)diagnosis.run,fix.applied, etc.)cli,slack,webhook)success,error)api-123”)Filtering & Search:
Filters:
Keyword search across
pod name,user name,commandDrill-Down View:
Click a row to open a modal or drawer with:
contextJSON (prettified)Pagination:
Performance:
🛠 GitHub Tasks
Frontend
Backend
GET /audit/logsfor Admins📌 Additional Notes