fca7cb3794
* website: replace deprecated <tt> with <code> in front matter sidebar_title * website: wrap front matter sidebar_title in <code> for commands pages
1.3 KiB
1.3 KiB
layout | page_title | sidebar_title | sidebar_current | description |
---|---|---|---|---|
docs | audit list - Command | <code>list</code> | docs-commands-audit-list | 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:
$ vault audit list
Path Type Description
---- ---- -----------
file/ file n/a
List detailed audit device information:
$ 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 flags included on all commands.
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 theVAULT_FORMAT
environment variable.
Command Options
-detailed
(bool: false)
- Print detailed information such as options and replication status about each auth device.