audit import
Import an audit log secret that was exported using the audit export command. The Import command reads a wrapped log secret from a file, and sends it to the HSM where it will be unwrapped using that HSM's KCV If the second HSM is in the same domain, it can then be used to verify logs that were generated on the first one.
NOTE After initializing the Audit role on a password-authenticated HSM, log in as the Auditor and set the domain (see role setdomain for the command syntax). This step is required before setting logging parameters or the log filepath, or importing/exporting audit logs.
Syntax
audit import [file <filename>] [list]
Option | Shortcut | Description |
---|---|---|
file <filename> | f |
Name of file containing the wrapped log secret. If a file name is not specified, the user will be given a list of files in the directory which was set by a previous audit config p [path] If this path does not exist, or the configuration was not set for any reason, an error will be returned. If name was specified, it is examined to see if it contains subdirectories. If it does, then the path is treated as a fully qualified path name. If not the file is retrieved from the default log path. |
list | l | Display a list of the files which reside in the log path. |
Example
lunacm:>audit import file 150718.lws
Command Result : No Error