Forum Discussion

John_Grovender's avatar
2 years ago

How to Enable Security Events to be Sent to the System Logs Using the WebUI and CLI

Since data protection has merged with cyber security, it’s critical to know how to configure NetBackup to send its events to the syslog. This is done with the WebUI and CLI procedures below. These procedures have been used and tested at customer sites by our Sales Engineering staff.

Once added to the system logs (syslog), these events become part of the security records of the server operating system records. They are then available for forwarding to other systems, security analysis/reporting, and troubleshooting.

WebUI Procedures

  1. In the Security events window, click on the “Security events settings” in the top right of the window.

  1. The security events settings window appears. Mark the checkbox for “Send the audit events to the system logs” and then click on the box “Select audit event categories.”

  1. Select the categories of events desired and click “Save”.

  1. This updates the bp.conf file with the SYSLOG_AUDIT_CATEGORIES parameter.

CLI Procedures

Add the following line to the primary server bp.conf file. This activates the event forwarding feature:

SYSLOG_AUDIT_CATEGORIES = [categories]

The categories that you select will depend on what you want to be logged.  For login and backup policy events, the minimum categories selected will be LOGIN, and POLICY. When selecting more than one category, there needs to be a comma between each category. For example:

SYSLOG_AUDIT_CATEGORIES = LOGIN, POLICY

Here is a list of all categories:

  • ALL – All of the below categories are selected
  • ALERT - Alert
  • ANOMALY - Anomaly
  • ANOMALY_EXTENSIONS – Anomaly extensions
  • ANOMALY_EXTENSIONS_DETAILS – Anomaly extensions details
  • ANOMALY_NEW – Anomaly new
  • ANOMALY_RULES_RESULTS – Anomaly rules results
  • JOB_STATUS – Job status
  • ASSET - Asset
  • AUDITCFG – Audit Configuration
  • AUDITDB – Audit database
  • AUDIT_LOG_FORWARD – Audit log forward
  • AUDITSVC – Audit service
  • AZFAILURE – Authorization failure
  • PAUSED_CLIENTS – Paused Clients
  • BMR – Bare Metal Restore
  • BPCONF – bp.conf
  • CATALOG – Catalog
  • CERT – Certificate
  • CONFIG – Config
  • CONNECTION – Connection
  • CREDENTIALS – Credentials
  • CREDENTIAL_SCHEMA – Credential schema
  • DATAACCESS – Data Access
  • DISCOVERY – Discovery
  • EVENT_AUDIT – Event audit
  • EVENT_LOG – Event log
  • ECMS – External CMS Server
  • HOLD – Hold
  • HOST – Host
  • ASSETGROUP – Intelligent group
  • IRE – Isolated Recovery Environment
  • JOB – Job
  • LICENSING – Licensing
  • LOGIN – Login
  • MALWARE_IMPACTED – Malware Impacted
  • MALWARE_SCAN – Malware Scan – NBU v10.4
  • MALWARE_SCAN_CONFIGURATION – Malware Scan Configuration - NBU v10.4
  • MALWARE_SCAN_STATUS – Malware Scan Status
  • MALWARE_SCAN_TRIGGER - Malware Scan Trigger
  • POLICY – Policy
  • POOL – Pool
  • PROTECTION_PLAN_SVC – Protection plan
  • RETENTION_LEVEL – Retention Level
  • SEC_CONFIG – Security configuration
  • SLP – Storage lifecycle policy
  • STORAGESRV – Storage server
  • STU – Storage unit
  • TICKET – Ticket
  • TOKEN – Token
  • USER – User

Here is an example of how NetBackup events will appear in the operating system logs after performing the procedures above:

4 Replies

  • Awesome article, really really helpful. Also, can you please tell from which command the last output will show, which is showing about LOGIN and POLICY etc?

    • davidmoline's avatar
      davidmoline
      Level 6

      Hi shdwp​ 

      The messages are being sent by the nbaudit process. 

      The methods described are two ways to achieve the same result - one uses the WebUI in a nice to configure user interface, the other is simply updating the bp.conf (or equivalent) on the server directly.

      Most of the output shown can also be provided using the nbauditreport command.

      Hopes that helps. 

      Cheers

  • Thank you for your reply, Actually our client wants to integrate these system logs for SIEM Integration. So, we have done the above command line changes that you have told, but as it's NetBackup 8.1.1 there is no WebUI. But unfortunately, some logs are coming but not all logs are showing, which is why the issue still remains.

  • shdwp​ that is because these features are being added recently to NetBackup, I believe from 10.3 onward, this option is added
    anyway, their NetBackup version is out support (and extended support) so they should be on a compatible version.

    Regards,