# Audit Trail

## Overview

An [audit trail](https://en.wikipedia.org/wiki/Audit_trail) is a security-relevant chronological record, set of records, and/or destination and source of records that provide documentary evidence of the sequence of activities that have affected at any time a specific operation, procedure, or event.

Two widgets are supported at [Labii ELN & LIMS](https://www.labii.com).

| Category    | Widget                  | Type    | Description                      |
| ----------- | ----------------------- | ------- | -------------------------------- |
| Audit Trail | [Activities](#activity) | Section | Show edit activities of a record |
| Audit Trail | [Versions](#version)    | Section | Display the change history       |
| Audit Trail | [Visitors](#visitor)    | Section | Show visitor log of a record     |

## Activities

**Activity** is the widget to show user activities. It captures the timestamps, user identity, as well as before and after values.

**Activity** is a read-only widget, which means it will capture all activities in the background even it is not added to a record. Users can not change any records created by the widget.

All content displayed in this widget is the same as the page at Activities.

On default, 10 most recent activities are loaded in the detail view, click the "Load More" button to load more activities.

{% hint style="info" %}
The Print view loads all activities.
{% endhint %}

## Versions

**Version** is the widget to show the change history of a record. The changes are captured automatically, whenever changes were made, a new version will be created and saved.

Please see [here](/user-guide/detail-view/versions.md) for more detail about the version.

## Visitors

The Visitor widget is the widget to display a list of visitors.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.labii.com/widgets/section-widgets/regulation/audit-trail.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
