> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gitar.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Audit Logs

> Track configuration changes and user activity in your organization

export const ThemeImage = ({src, alt}) => {
  let lightSrc, darkSrc;
  if (src.includes("-light.")) {
    lightSrc = src;
    darkSrc = src.replace("-light.", "-dark.");
  } else if (src.includes("-dark.")) {
    darkSrc = src;
    lightSrc = src.replace("-dark.", "-light.");
  } else {
    lightSrc = src;
    darkSrc = src;
  }
  return <span>
      <img className="block dark:hidden rounded-lg border" src={lightSrc} alt={alt} />
      <img className="hidden dark:block rounded-lg border" src={darkSrc} alt={alt} />
    </span>;
};

## Overview

Audit logs provide visibility into configuration changes made across your organization. Every change to organization, repository, and agent settings is tracked with user attribution and timestamps.

<Note>Audit logs are available on the **Enterprise plan**.</Note>

## What Gets Logged

Gitar tracks the following types of events:

| Category                     | Examples                                                      |
| ---------------------------- | ------------------------------------------------------------- |
| **Organization settings**    | Enabling/disabling code review, changing auto-fix defaults    |
| **Repository configuration** | Adding or updating repository-level settings                  |
| **Agent settings**           | Modifications to agent behavior and rules                     |
| **Integrations**             | Setup and removal of Jira, Slack, and Linear connections      |
| **SSO configuration**        | Changes to single sign-on settings                            |
| **Members and seats**        | Seat assignments, role changes, and member management actions |

## Viewing Audit Logs

To access your audit logs:

1. Navigate to your organization settings in the [Gitar dashboard](https://app.gitar.ai).
2. Select **Audit Logs** from the sidebar.

Each log entry includes:

* **Timestamp** -- When the change occurred
* **User** -- Who made the change
* **Event** -- What was changed
* **Details** -- The old and new values

## Filtering and Search

You can narrow down audit log entries using the following filters:

* **Date range** -- View events within a specific time period
* **User** -- Filter by the user who performed the action
* **Event type** -- Filter by the category of change

## Retention

Audit logs are retained for the duration of your Enterprise subscription.
