Skip to content

Audit log #2860

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 27 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
0c49f07
Use WIP audit log Omicron API
benjaminleonard Jul 8, 2025
91ea5ec
Stub out virtualised audit log page
benjaminleonard Jul 8, 2025
5eb3ec0
Denser inputs
benjaminleonard Jul 8, 2025
fdb4506
Re-add missing link
benjaminleonard Jul 8, 2025
35be627
Update API
benjaminleonard Jul 8, 2025
82e58ac
Merge branch 'main' into audit-log
benjaminleonard Jul 8, 2025
8c25eb0
Mock type fixes
benjaminleonard Jul 8, 2025
9d46415
merge main, resolve conflicts, tweak some stuff
david-crespo Jul 23, 2025
accfe37
move audit log to a system page
david-crespo Jul 23, 2025
34b7437
fix path and breadcrumbs snapshot tests
david-crespo Jul 23, 2025
b19f5d1
merge main, bump api, and fix type errors
david-crespo Aug 4, 2025
c6f5d96
take out json stuff and row expansion
david-crespo Aug 5, 2025
09b1df8
don't define components in render
david-crespo Aug 5, 2025
98ccb62
make fewer than 200000 mock audit log entries (fix test failure)
david-crespo Aug 5, 2025
28e9807
rename auditLogs to auditLog everywhere
david-crespo Aug 5, 2025
f0ab97b
show user and silo IDs with middle truncation
david-crespo Aug 5, 2025
0018531
put back the expandable JSON thing and fix the height
david-crespo Aug 5, 2025
0f6bde1
request_uri is the full URI
david-crespo Aug 5, 2025
f50cc3a
camelToSnakeJson for json body
david-crespo Aug 5, 2025
849e425
make HighlightJSON a normal recursive component
david-crespo Aug 6, 2025
3d1b37a
fix date rendering
david-crespo Aug 6, 2025
ea4142a
fix a11y lint error by making rows focusable and interactive
david-crespo Aug 6, 2025
fb15493
update API for auth_method -> access_method
david-crespo Aug 7, 2025
07dc1ea
merge main
david-crespo Aug 8, 2025
c1dab54
merge main
david-crespo Aug 15, 2025
4703c88
sort by time descending in API call, fix timestamp col width
david-crespo Aug 15, 2025
0455abe
real status code display and remove POST
david-crespo Aug 15, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions app/layouts/SystemLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import { apiQueryClient } from '@oxide/api'
import {
Cloud16Icon,
IpGlobal16Icon,
Logs16Icon,
Metrics16Icon,
Servers16Icon,
} from '@oxide/design-system/icons/react'
Expand Down Expand Up @@ -63,6 +64,7 @@ export default function SystemLayout() {
{ value: 'Utilization', path: pb.systemUtilization() },
{ value: 'Inventory', path: pb.sledInventory() },
{ value: 'IP Pools', path: pb.ipPools() },
{ value: 'Audit Log', path: pb.auditLog() },
]
// filter out the entry for the path we're currently on
.filter((i) => i.path !== pathname)
Expand Down Expand Up @@ -106,6 +108,9 @@ export default function SystemLayout() {
<NavLinkItem to={pb.ipPools()}>
<IpGlobal16Icon /> IP Pools
</NavLinkItem>
<NavLinkItem to={pb.auditLog()}>
<Logs16Icon /> Audit Log
</NavLinkItem>
</Sidebar.Nav>
</Sidebar>
<ContentPane />
Expand Down
2 changes: 1 addition & 1 deletion app/layouts/helpers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export function ContentPane() {
>
<div className="flex grow flex-col pb-8">
<SkipLinkTarget />
<main className="[&>*]:gutter">
<main className="[&>*]:gutter h-full">
<Outlet />
</main>
</div>
Expand Down
Loading
Loading