2017-09-08 02:06:48 +00:00
|
|
|
---
|
2020-01-18 00:18:09 +00:00
|
|
|
layout: docs
|
|
|
|
page_title: audit list - Command
|
2017-09-08 02:06:48 +00:00
|
|
|
description: |-
|
|
|
|
The "audit list" command lists the audit devices enabled. The output lists the
|
|
|
|
enabled audit devices and options for those devices.
|
|
|
|
---
|
|
|
|
|
|
|
|
# audit list
|
|
|
|
|
|
|
|
The `audit list` command lists the audit devices enabled. The output lists the
|
|
|
|
enabled audit devices and options for those devices.
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
|
|
|
List all audit devices:
|
|
|
|
|
2020-05-21 17:18:17 +00:00
|
|
|
```shell-session
|
2017-09-08 02:06:48 +00:00
|
|
|
$ vault audit list
|
|
|
|
Path Type Description
|
|
|
|
---- ---- -----------
|
|
|
|
file/ file n/a
|
|
|
|
```
|
|
|
|
|
|
|
|
List detailed audit device information:
|
|
|
|
|
2020-05-21 17:18:17 +00:00
|
|
|
```shell-session
|
2017-09-08 02:06:48 +00:00
|
|
|
$ vault audit list -detailed
|
|
|
|
Path Type Description Replication Options
|
|
|
|
---- ---- ----------- ----------- -------
|
|
|
|
file/ file n/a replicated file_path=/var/log/audit.log
|
|
|
|
```
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
The following flags are available in addition to the [standard set of
|
2023-01-26 00:12:15 +00:00
|
|
|
flags](/vault/docs/commands) included on all commands.
|
2017-09-08 02:06:48 +00:00
|
|
|
|
2018-02-12 23:12:16 +00:00
|
|
|
### Output Options
|
|
|
|
|
|
|
|
- `-format` `(string: "table")` - Print the output in the given format. Valid
|
|
|
|
formats are "table", "json", or "yaml". This can also be specified via the
|
|
|
|
`VAULT_FORMAT` environment variable.
|
|
|
|
|
|
|
|
### Command Options
|
|
|
|
|
2017-09-08 02:06:48 +00:00
|
|
|
- `-detailed` `(bool: false)` - Print detailed information such as options and
|
|
|
|
replication status about each auth device.
|