# Infra Audit Log block

> Dev Ops Infrastructure Audit Log with Outcome Volume Chart, Saved Views and Diff Sheet

Audit trail of deploys, config, secrets and access changes: a denied attempts review queue, chip filters, bulk mark reviewed and CSV or JSON export. ReUI Data Grid, Filters, Code Block, Timeline. For compliance log, change history.

- Type: Pro block
- Category: [Dev Ops](https://web.dev.reui.io/blocks/solutions/dev-ops.md)
- Page: https://web.dev.reui.io/blocks/solutions/dev-ops/solution-dev-ops-2
- MCP: `get_block("solution-dev-ops-2")`
- Built with: Alert, Alert Dialog, Avatar, Badge, Button, Chart, Code Block, Data Grid, Dialog, Dropdown Menu, Empty, Field, Filters, Frame, Input, Input Group, Item, Kbd, Popover, Select, Separator, Sheet, Skeleton, Switch, Tabs, Timeline, Toggle Group, Tooltip
- Installs with a ReUI Pro or Ultimate license; setup: https://web.dev.reui.io/docs/license-setup

## Best for

A change trail narrowed by dragging across the volume chart, with a denied attempts queue to review or undo and saved views

## Agent notes

- The log comes from `EVENTS`, a fixed anchor list plus generated background rows, and every actor resolves through `ACTORS`
- Range, view and chip changes only wait out the simulated `APPLY_DELAY_MS` in `scheduleApply`, so replace it with your query call
- Reviews and saved views live only in the `events` and `views` state, and each review is stamped with `CURRENT_REVIEWER`

## When not to use

- Only the audit event detail panel is wanted, with no log grid or volume chart around it: use [Audit Event Detail](https://web.dev.reui.io/blocks/application/sheet/sheet-14.md) (`get_block("sheet-14")`)
- The audit trail is wanted as a day grouped timeline of expandable events: use [Access Audit Log](https://web.dev.reui.io/blocks/solutions/users/solution-users-6.md) (`get_block("solution-users-6")`)

## Third-party libraries

- Recharts v3: [API reference](https://recharts.github.io/en-US/api/), [docs](https://recharts.github.io/en-US/guide/getting-started/)
- TanStack Table v9: [API reference](https://tanstack.com/table/v9/docs/framework/react/reference/index), [docs](https://tanstack.com/table/v9/docs/framework/react/quick-start)
- Sonner v2: [API reference](https://sonner.emilkowal.ski/toast), [docs](https://sonner.emilkowal.ski/getting-started)
- Shiki v4: [API reference](https://shiki.style/guide/install), [docs](https://shiki.style/guide/), through ReUI Code Block

## Install

```bash
npx shadcn@latest add @reui/solution-dev-ops-2
```

## About Dev Ops blocks

### When to use

- Platform and SRE consoles for cron jobs, releases, audit trails, SLOs, edge firewalls and data sources
- On call triage of failing jobs, failed deploys, denied access, blocked requests and burning error budgets
- Operator changes made in place: pausing a job, promoting or rolling back, editing rules, rotating credentials

### When not to use

- A single table on your own columns, with no charts, lanes or ops panels around it: use [Data Grid](https://web.dev.reui.io/components/data-grid.md) (`get_component("data-grid")`)
- A table section for business records such as tickets, contacts, deals or timesheets: use the [Base blocks](https://web.dev.reui.io/blocks/data-grid/base.md)
- Only the record detail panel that slides over a list, without the console page: use the [Sheet blocks](https://web.dev.reui.io/blocks/application/sheet.md)

### Agent notes

- Every block pins now to Sep 29, 2026 14:20 UTC in `REFERENCE_MS`, set from `REFERENCE_DATE` in the audit log, and never reads the wall clock; pass your own now
- Writes only update client state and answer with a sonner `toast`; no block calls a server, so add your API at each write point
- Both page.tsx and each root set `min-h-svh`, and the root caps width at 1320px with its own padding; drop both inside an app shell

Every ReUI item has a twin like this one; the index is https://web.dev.reui.io/llms.txt. Agents with the ReUI MCP (https://web.dev.reui.io/docs/mcp) get the same guidance from the getters named above.
