# audit

> Who changed what in your organization, from where, newest first.

Who changed what in your organization, from where, newest first.

## nexus audit

```sh
nexus audit [options]
```

Who changed what in your organization, from where, newest first.

| Option | Meaning |
| --- | --- |
| `--since <7d>` | From this long ago (30m, 24h, 7d, 2w) or an ISO time; default 7d |
| `--until <time>` | Up to this time |
| `--action <a>` | An action (team.moved), a list (a,b) or a prefix (team.*) |
| `--actor <email>` | Changes made by this person (email or user id) |
| `--team <slug>` | Changes to this team and the teams under it |
| `--target <id>` | Changes to this target (id or slug) |
| `--limit <n>` | Events per page (1 to 500, default 50); --cursor <c> for the next page |
| `--csv` | Every matching event as CSV on stdout (owners, admins and team leads) |

```sh
nexus audit --since 24h
nexus audit --action 'team.*' --json
nexus audit --csv > audit.csv
```
