-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Goal
Add detailed audit log views to the Streamlit dashboard showing all vendor events (license creation, activation, heartbeat, revocation, policy changes) with filtering, search, pagination, and CSV export.
Requirements
Functional
- Audit event table displaying last 100 events with pagination.
- Filter by: date range, event type (
LICENSE_CREATED,ACTIVATED,HEARTBEAT_RECEIVED,LICENSE_REVOKED,POLICY_UPDATED), status (SUCCESS,FAILED). - Search by: license key, customer name, device fingerprint hash.
- Drill-down view: click an event row to see full payload details.
- Export filtered events as RFC 4180 CSV with timestamp in filename.
- Real-time event count widget on the main dashboard.
Technical
- Event Types:
LICENSE_CREATED,LICENSE_MODIFIED,LICENSE_REVOKED,ACTIVATION_REQUESTED,ACTIVATION_SUCCESS,ACTIVATION_FAILED,HEARTBEAT_RECEIVED,HEARTBEAT_GRACE_ENTERED,HEARTBEAT_EXPIRED,POLICY_UPDATED. - Tenant isolation enforced: vendor sees only their own events.
Acceptance Criteria
- Audit table loads with correct events for the authenticated vendor.
- Filters and search correctly narrow results.
- Drill-down shows full event payload.
- CSV export downloads correctly with all filtered events.
Dependencies
- Blocked by: Issue 15: Audit Event Service and CSV Export #15, Issue 26: Vendor Management Dashboard (Streamlit) #26.
- Blocks: Nothing.
Reactions are currently unavailable