[Teksaro guides](https://foundaro.io/docs-teksaro)

# Audit Log

The Audit Log is a timestamped record of all significant actions in Teksaro. Every content creation, edit, publish, delete, role change, and settings update is captured. The log is append-only and cannot be edited or deleted.

## Log Entries

Each log entry shows:

- **Timestamp**: When the action occurred (UTC).
- **Actor**: The user who performed the action.
- **Action**: What was done (e.g. `content.published`, `site.settings.updated`, `user.role.changed`).
- **Target**: The content item, site, or settings object that was affected.
- **Details**: Additional context such as the old value and new value for changed fields.

## Filtering the Log

The log can be filtered by:

- **Date range**: Narrow to a specific time window.
- **Actor**: Filter to actions by a specific user.
- **Action type**: Filter to a category of actions (content, sites, themes, users, settings).
- **Site**: Filter to actions affecting a specific site.
- **Search**: Full-text search across action descriptions and target names.

Tips:

- Use date range + actor filters when investigating an unexpected change.
- Use action type filter to review all publish events for a specific time window.

## Action Types

Common action types captured in the log:

**Content actions:**

- `content.created` — A new content item was created.
- `content.updated` — A content item was edited and saved.
- `content.published` — A content item was published.
- `content.unpublished` — A published item was reverted to Draft.
- `content.scheduled` — A content item was scheduled for future publishing.
- `content.archived` — A content item was archived.
- `content.deleted` — A content item was permanently deleted.
- `content.restored` — A previous revision was restored.

**Review actions:**

- `review.submitted` — An author submitted an item for review.
- `review.approved` — A reviewer approved an item.
- `review.rejected` — A reviewer rejected an item.

**Site actions:**

- `site.created` — A new site was created.
- `site.settings.updated` — Site settings were changed.
- `site.domain.added` — A domain was added to a site.
- `site.domain.removed` — A domain was removed from a site.
- `site.menu.updated` — A site navigation menu was changed.
- `site.redirect.added` — A redirect rule was added.

**Theme actions:**

- `theme.created` — A new theme was created.
- `theme.customization.updated` — Theme colors or fonts were changed.
- `theme.template.updated` — A Twig template was edited.

**Team actions:**

- `team.role.updated` — A team member's Front role was changed.
- `team.member.added` — A user was granted a Front role.
- `team.member.removed` — A user's Front access was revoked.

## Exporting

The full filtered audit log can be exported to CSV for compliance reporting, external analysis, or archiving.

Why it matters:

An exportable audit log is often required by compliance frameworks (SOC 2, ISO 27001, GDPR) and is useful when auditors ask for evidence of access controls and change management.
