# urbestack-audit-prune

First published 3 Oct 2026 (release 0.1.0) · Unchanged since publication

UrbeStack release 0.2.35 command, run as root in the server shell.

## Usage

```
urbestack-audit-prune
```

## Description

Deletes audit log entries older than the retention period set by security.audit_retention_days, which defaults to 365 days. The nightly timer runs this command. If it deletes any entries, it records how many it deleted in a new audit log entry.

## Command family: audit

- [urbestack-audit-list](https://urbestack.com/docs/commands/urbestack-audit-list.md): Lists audit log entries one page at a time, newest first.
