# View Audit Log Detail

## User Story

As a user with the appropriate role, I want to view the full details of an audit log entry, so that I can see what changed (before/after values).

## Story Diagram

```mermaid
flowchart TD
    A[Open Audit Log List] --> B[Click entry]
    B --> C[Open Audit Log Detail]
    C --> D[Display actor and timestamp]
    D --> E[Display old values]
    D --> F[Display new values]
```

## Scenario Patterns

- View detail of an update entry that includes both old and new values
- View detail of a creation entry where no old values exist

## Test Cases

- Click an update entry in the audit log list; verify the detail screen shows the actor, timestamp, and both old and new field values
- Click a creation entry; verify old values are empty and new values reflect the created record

## Screens

- [audit-entry-list](../../../screen/audit-entry-list.md)
- [audit-entry-detail](../../../screen/audit-entry-detail.md)

## Resolvers

- None
