auditverify
Verification utility for ProtectServer audit log records.
The auditverify utility allows the Auditor to read and verify audit logs that have been encrypted using the Audit Key on the HSM appliance. The Auditor's PIN must be entered at the prompt.
NOTE This utility is not applicable to ProtectServer PCIe 2 HSMs.
Syntax
auditverify -l<logfilename> [-d<devicenum>]
Argument(s) | Description |
---|---|
-d<devicenum> |
--device=<device> If the client machine is connected to multiple ProtectServer HSMs, this argument specifies which Audit Key to use when verifying the log file. |
-l<logfilename> |
--logfile=<logfilename> Specify the filename of the audit log to be verified. |
Example
>auditverify -l applog Please Enter the Auditor's PIN: Starting to verify 2017-07-12 14:12:29,success,0,Audit Log initial message ,0000000000000000000000000000000000000000000000000000000000000000,692f41f2ec2bbb42411c7b2c5e3230b39dab28bd5178ef1b3e71b34331500765 2017-07-12 14:53:44,success,0,CS_Initialize: ,692f41f2ec2bbb42411c7b2c5e3230b39dab28bd5178ef1b3e71b34331500765,6afe98063371c25d675616827ec51d5d23f879312d935c230ebe566db3e064a0 2017-07-12 14:53:44,success,1,CS_OpenSession: ,6afe98063371c25d675616827ec51d5d23f879312d935c230ebe566db3e064a0,868b4457c44c525febad5c87d9d27ee745829aa38f9ac6bf2405a788f8c3ea89 2017-07-12 14:53:44,success,1,CS_OpenSession: ,868b4457c44c525febad5c87d9d27ee745829aa38f9ac6bf2405a788f8c3ea89,8e65ee17ce0d0b835fd746558d5c114a45baf6e4e7f579b1f7b22f204db51538 2017-07-12 14:53:44,success,1,CS_FindObjects: ,8e65ee17ce0d0b835fd746558d5c114a45baf6e4e7f579b1f7b22f204db51538,7ff4201694d9b5a68b6f3e205c75380e10975cddd9ff45641cd82fdb7d7eee17 2017-07-12 14:53:44,success,1,CS_GetAttributeValue: ,7ff4201694d9b5a68b6f3e205c75380e10975cddd9ff45641cd82fdb7d7eee17,c2fd9b7bd90e370a8684259f120beda70f3ce2a7aa217e753f02864618066fc8 2017-07-12 14:53:44,success,1,CS_CloseSession: ,c2fd9b7bd90e370a8684259f120beda70f3ce2a7aa217e753f02864618066fc8,a3ef1d28edcf2b1eb4efa2f7d075241e2bf1253f85b7dc36895b2ce07cd4732b ...<snip>... 2017-07-11 19:12:40,success,0,CS_Login: ,afc0b246dda667297c4a546c5c7db3b241381ed103589acf920f4c681dbedf14,527710e30d5ff9f13f2922a0a4ffaaeb7d25724587f92224e27d9e6f7abf4618 2017-07-11 19:12:40,success,0,CS_GenerateKeyPair: ,527710e30d5ff9f13f2922a0a4ffaaeb7d25724587f92224e27d9e6f7abf4618,12ef60bbd62da32a7daf16b2769a557a342ee0ad02f790386340af942d684ace 2017-07-11 19:12:40,success,0,CS_CloseSession: ,12ef60bbd62da32a7daf16b2769a557a342ee0ad02f790386340af942d684ace,7ba56613669ef06ac298014ac8b51bcff09fe00a0561a16de53ff7ba567d91eb 2017-07-11 19:12:40,success,0,CS_Finalize: ,7ba56613669ef06ac298014ac8b51bcff09fe00a0561a16de53ff7ba567d91eb,29bdaa88157935cb3d7962f7cbaf0c8311a1da7440e34b1a8aee9fcdda6bd360 File is verified successfully