command/audit: Recommend multiple audit devices (#18348)
* command/audit: Add note about enabling multiple audit devices * docs: Recommend multiple audit devices
This commit is contained in:
parent
b2aa164c21
commit
4b8747ab51
|
@ -23,6 +23,10 @@ Usage: vault audit <subcommand> [options] [args]
|
|||
This command groups subcommands for interacting with Vault's audit devices.
|
||||
Users can list, enable, and disable audit devices.
|
||||
|
||||
*NOTE*: Once an audit device has been enabled, failure to audit could prevent
|
||||
Vault from servicing future requests. It is highly recommended that you enable
|
||||
multiple audit devices.
|
||||
|
||||
List all enabled audit devices:
|
||||
|
||||
$ vault audit list
|
||||
|
|
|
@ -11,10 +11,22 @@ requests and response to Vault. Because every operation with Vault is an API
|
|||
request/response, when using a single audit device, the audit log contains _every authenticated_ interaction with
|
||||
Vault, including errors.
|
||||
|
||||
Multiple audit devices can be enabled and Vault will attempt to send the audit logs to
|
||||
all of them. This allows you to not only have redundant copies, but also a way to check for data tampering in the logs themselves.
|
||||
## Enabling Multiple Devices
|
||||
|
||||
When multiple audit devices are enabled, Vault will attempt to send the audit
|
||||
logs to all of them. This allows you to not only have redundant copies, but also
|
||||
a way to check for data tampering in the logs themselves.
|
||||
|
||||
Vault considers a request to be successful if it can log to *at least* one
|
||||
configured audit device (see: [Blocked Audit
|
||||
Devices](/docs/audit#blocked-audit-devices) section below). Therefore in order
|
||||
to build a complete picture of all audited actions, use the aggregate/union of
|
||||
the logs from each audit device.
|
||||
|
||||
~> Note: It is **highly recommended** that you configure Vault to use multiple audit
|
||||
devices. Audit failures can prevent Vault from servicing requests, so it is
|
||||
important to provide at least one other device.
|
||||
|
||||
~> Note: When using multiple audit devices, Vault considers a request to be successful if it can log to *at least* one configured audit device (see: [Blocked Audit Devices](/docs/audit#blocked-audit-devices) section below). Therefore in order to build a complete picture of all audited actions, use the aggregate/union of the logs from each audit device.
|
||||
|
||||
## Format
|
||||
|
||||
|
|
Loading…
Reference in New Issue