Auditing - verifying audit record packages using the command-line interface

Use the command-line interface to verify audit record packages.

Before you begin

Download the command line tool from the Welcome page in the console. See the Related tasks section below for instructions.

You must be assigned the Auditing role with permission to View all auditing reports (Read-only) to perform these steps.

About this task

The following steps require an active connection between the server where you downloaded the audit record package and the IBM® Cloud Pak System Software for Power® server. These steps also require use of bash, python, and openssl commands.

Procedure

  1. Locate the verifyAllAuditpackages.sh file in the samples directory on the IBM Cloud Pak System Software for Power server.
  2. Run the following command:
    # samples/verifyAllAuditpackages.sh username=[username] password=[password] server=[PureApp server] targetdir=/path/to/download_directory/ type=PureAS crypto=sha512
    where [username] and [password] are your IBM Cloud Pak System Software for Power administrator credentials.
  3. Open the verifyAllAuditpackages_[date].log file and confirm the status of the audit record package, for example:
    2013-12-02 22:56:04.717: verifyAllAuditpackages.sh: line=147 --- Start to verify ./testdata//puresystems-audit-2013_11_26_131910_UTC-2013_11_26_135107_UTC-version-714.zip ---
    2013-12-02 22:56:04.781: verifyAllAuditpackages.sh: line=174 Verification success: audit record: Verified OK
    2013-12-02 22:56:04.793: verifyAllAuditpackages.sh: line=179 --- End to verify ./testdata//puresystems-audit-2013_11_26_131910_UTC-2013_11_26_135107_UTC-version-714.zip ---
    2013-12-02 22:56:04.805: verifyAllAuditpackages.sh: line=147 --- Start to verify ./testdata//puresystems-auto-audit-2013_11_22_050315_GMT-2013_11_22_114621_GMT-version-758.zip ---
    2013-12-02 22:56:05.47: verifyAllAuditpackages.sh: line=174 Verification success: audit record: Verified OK
    2013-12-02 22:56:05.61: verifyAllAuditpackages.sh: line=179 --- End to verify ./testdata//puresystems-auto-audit-2013_11_22_050315_GMT-2013_11_22_114621_GMT-version-758.zip ---
    2013-12-02 22:56:05.72: verifyAllAuditpackages.sh: line=147 --- Start to verify ./testdata//puresystems-auto-audit-2013_11_22_114621_GMT-2013_11_22_193509_GMT-version-858.zip ---
    2013-12-02 22:56:05.323: verifyAllAuditpackages.sh: line=174 Verification success: audit record: Verified OK
    2013-12-02 22:56:05.338: verifyAllAuditpackages.sh: line=179 --- End to verify ./testdata//puresystems-auto-audit-2013_11_22_114621_GMT-2013_11_22_193509_GMT-version-858.zip ---
    2013-12-02 22:56:05.351: verifyAllAuditpackages.sh: line=147 --- Start to verify ./testdata//puresystems-auto-audit-2013_11_22_193511_GMT-2013_11_23_024955_GMT-version-974.zip ---
    2013-12-02 22:56:05.599: verifyAllAuditpackages.sh: line=174 Verification success: audit record: Verified OK
    2013-12-02 22:56:05.613: verifyAllAuditpackages.sh: line=179 --- End to verify ./testdata//puresystems-auto-audit-2013_11_22_193511_GMT-2013_11_23_024955_GMT-version-974.zip ---
    2013-12-02 22:57:17.682: verifyAllAuditpackages.sh: line=147 --- Start to verify ./testdata/puresystems-audit-2013_11_26_131910_UTC-2013_11_26_135107_UTC-version-714.zip ---
    2013-12-02 22:57:17.745: verifyAllAuditpackages.sh: line=174 Verification success: audit record: Verified OK
    2013-12-02 22:57:17.758: verifyAllAuditpackages.sh: line=179 --- End to verify ./testdata/puresystems-audit-2013_11_26_131910_UTC-2013_11_26_135107_UTC-version-714.zip ---
    2013-12-02 22:57:17.770: verifyAllAuditpackages.sh: line=147 --- Start to verify ./testdata/puresystems-auto-audit-2013_11_22_050315_GMT-2013_11_22_114621_GMT-version-758.zip ---
    2013-12-02 22:57:18.5: verifyAllAuditpackages.sh: line=174 Verification success: audit record: Verified OK
    2013-12-02 22:57:18.20: verifyAllAuditpackages.sh: line=179 --- End to verify ./testdata/puresystems-auto-audit-2013_11_22_050315_GMT-2013_11_22_114621_GMT-version-758.zip ---
    2013-12-02 22:57:18.32: verifyAllAuditpackages.sh: line=147 --- Start to verify ./testdata/puresystems-auto-audit-2013_11_22_114621_GMT-2013_11_22_193509_GMT-version-858.zip ---
    2013-12-02 22:57:18.250: verifyAllAuditpackages.sh: line=174 Verification success: audit record: Verified OK
    2013-12-02 22:57:18.263: verifyAllAuditpackages.sh: line=179 --- End to verify ./testdata/puresystems-auto-audit-2013_11_22_114621_GMT-2013_11_22_193509_GMT-version-858.zip ---
    2013-12-02 22:57:18.274: verifyAllAuditpackages.sh: line=147 --- Start to verify ./testdata/puresystems-auto-audit-2013_11_22_193511_GMT-2013_11_23_024955_GMT-version-974.zip ---
    2013-12-02 22:57:18.505: verifyAllAuditpackages.sh: line=174 Verification success: audit record: Verified OK
    2013-12-02 22:57:18.520: verifyAllAuditpackages.sh: line=179 --- End to verify ./testdata/puresystems-auto-audit-2013_11_22_193511_GMT-2013_11_23_024955_GMT-version-974.zip ---