Home >

LunaCM Command Reference Guide > LunaCM Commands > audit > audit import

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.

Syntax

audit import [file <filename>] [list]

Parameter Shortcut Description
file 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