Viewing the audit report
You can view the actions NetBackup audits in the Security events in the NetBackup web user interface or in the NetBackup Administration Console. You can see full audit event details in the audit report.
To view the audit report, use either the nbauditreport command on a NetBackup master server or view the settings using NetBackup OpsCenter. In OpsCenter, go to Monitor > Audit Trails to see audit log details and export it or save it as a file.
See the Veritas NetBackup OpsCenter Administrator's Guide for more details.
To view the NetBackup audit report
- From a command prompt, locate the nbauditreport command on the master server in the following directory:
On Windows:
Install_path\Veritas\NetBackup\bin\admincmd
On UNIX:
/usr/openv/netbackup/bin/admincmd
- In its simplest form, enter the nbauditreport command using the following syntax:
nbauditreport
The nbauditreport can also be used with a number of options.
- The audit report contains the following details:
DESCRIPTION
The details of the action that was performed. The details include the new values that are given to a modified object and the new values of all attributes for a newly created object. The details also include the identification of any deleted objects.
USER
The identity of the user who performed the action. The identity includes the user name and the domain of the authenticated user.
TIMESTAMP
The time that the action was performed. The time is given in Coordinated Universal Time (UTC) and indicated in seconds. (For example, 12/06/11 10:32:48.)
Note:
For certificate verification failures (CVFs) that involve SSL handshakes and revoked certificates, the timestamp indicates when the audit record is posted to the master server rather than when an individual certificate verification fails. A CVF audit record represents a group of CVF events over a time period. The record details provide the start and end times of the time period as well as the total number of CVFs that occurred in that period.
CATEGORY
The category of user action that was performed. The CATEGORY displays only with the -fmt DETAIL|PARSABLE options.
Examples include the following:
AUDITSVC START, AUDITSVC STOP
POLICY CREATE, POLICY MODIFY, POLICY DELETE
ACTION
The action that was performed. The ACTION displays only with the -fmt DETAIL|PARSABLE options.
Examples include the following:
START, STOP
CREATE, MODIFY, DELETE
REASON
The reason that the action was performed. A reason displays if a reason was specified in the command that created the change. The bpsetconfig and the nbsetconfig commands accept the -r option.
See Using the command line -reason or -r option.
The reason displays only with the -fmt DETAIL|PARSABLE options.
DETAILS
An account of all of the changes, listing the old values and the new values. Displays only with the -fmt DETAIL|PARSABLE options.
If an exit status appears in the output, look up the code in the NetBackup Administration Console (Troubleshooter) or the Status Codes Reference Guide.
Example of the audit report:
[root@server1 admincmd]# ./nbauditreport TIMESTAMP USER DESCRIPTION 04/20/2018 11:52:43 root@server1 Policy 'test_pol_1' was saved but no changes were detected 04/20/2018 11:52:42 root@server1 Schedule 'full' was added to Policy 'test_pol_1' 04/20/2018 11:52:41 root@server1 Policy 'test_pol_1' was saved but no changes were detected 04/20/2018 11:52:08 root@server1 Policy 'test_pol_1' was created 04/20/2018 11:17:00 root@server1 Audit setting(s) of master server 'server1' were modified Audit records fetched: 5