# Firewall Request block

> Firewall request detail sheet with a decision trace and raw log JSON

Inspect one logged WAF request: a verdict alert, IP, ASN, bot score and rate facts, J and K stepping, and Block IP, Allow IP or Create Rule actions. ReUI Alert, CodeBlock, Badge; shadcn Sheet, Tabs, Kbd. Firewall event log, edge security.

- Type: Pro block
- Category: [Sheet](https://web.dev.reui.io/blocks/application/sheet.md)
- Page: https://web.dev.reui.io/blocks/application/sheet/sheet-19
- Docs (Base UI): https://ui.shadcn.com/docs/components/base/sheet.md
- Docs (Radix UI): https://ui.shadcn.com/docs/components/radix/sheet.md
- MCP: `get_block("sheet-19")`
- Built with: Alert, Badge, Button, Code Block, Filters, Kbd, Marker, Sheet, Tabs, Tooltip
- Installs with a ReUI Pro or Ultimate license; setup: https://web.dev.reui.io/docs/license-setup

## Best for

A logged request's verdict, bot score and rate facts, a rule by rule decision trace, and Block IP or Allow IP buttons that add list entries

## Agent notes

- `LOG` is a seeded half hour from `seedTraffic` and `REQUEST_TEMPLATES`; replace it with your judged request log entries
- Block IP and Allow IP only add to local `entries` state and show a toast; persist them from `addEntry`
- Create Rule closes the sheet, then `newRule` only shows a toast; hand its seed query to your own rule editor

## When not to use

- An audit event with actor and target facts, a config diff and raw JSON: use [Audit Event Detail](https://web.dev.reui.io/blocks/application/sheet/sheet-14.md) (`get_block("sheet-14")`)
- A failed CI deploy with its pipeline stages, full log and a Retry button: use [Failed Deploy](https://web.dev.reui.io/blocks/application/sheet/sheet-16.md) (`get_block("sheet-16")`)

## Third-party libraries

- 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/sheet-19
```

## About Sheet blocks

### When to use

- Record detail opened over a list or table: a ticket, metric, cron job, audit event, deploy, SLO or data source
- Create and edit forms in a side panel for a project, cron job, firewall rule, SLO or data connection
- Utility panels for help guides, keyboard shortcuts, an AI assistant, comments, notifications or view settings

### When not to use

- A bare side panel with your own header, body and footer, nothing prebuilt: use [Sheet](https://web.dev.reui.io/components/sheet.md) (`get_component("sheet")`)
- A persistent sidebar or navigation layout that stays around every page: use the [App Shell blocks](https://web.dev.reui.io/blocks/application/app-shell.md)
- An assistant conversation that fills the whole page rather than a side panel: use the [AI Chat blocks](https://web.dev.reui.io/blocks/ai-agents/ai-chat.md)

### Agent notes

- Each root renders a demo `SheetTrigger` button and opens on mount via `defaultOpen` or a `useState` seeded true; start it closed in your app
- Each `SheetContent` className floats it inset with `inset-y-4`, `right-4` and `rounded-xl` and sets its own width; resize it there, not in the primitive
- Each page.tsx only centers the trigger in a `min-h-svh` main with an `sr-only` h1; render the root component alone inside your page

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.
