Skip to content

Audit Record Repository

Vrinda edited this page Mar 27, 2023 · 1 revision

Overview

This page explains how one can add an Audit Record Repository, to make use of Audit logging features.

Configuration

Using Archive UI

  1. Go to Menu -> Configuration, then on Devices page. From More functions dropdown select Create device. Enter value in Device Name field and Save.
  2. Go to Child Objects and + Add a Network Connection. Enter values in fields Name, Hostname, Port and Save.
  3. Next go to its Extensions, then select + for adding Network Connection Extension to append proprietary dcm4che attributes. Select SYSLOG_TLS or SYSLOG_UDP from Protocol dropdown and Save.
  4. Next go to the Extensions of the newly created device and Edit extension of Device extension. Again go to its Extensions and select + for adding Audit Record Repository. Select the connection for Network Connection Reference field and Save.

Using LDAP

One may either

  • create a LDIF file (e.g.):

          version: 1
          
          dn: dicomDeviceName=logstash,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org
          objectClass: dcmDevice
          objectClass: dicomDevice
          dicomDeviceName: logstash
          dicomInstalled: TRUE
          dicomPrimaryDeviceType: LOG
          
          dn: cn=syslog,dicomDeviceName=logstash,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org
          objectClass: dcmNetworkConnection
          objectClass: dicomNetworkConnection
          dicomHostname: localhost
          cn: syslog
          dcmProtocol: SYSLOG_UDP
          dicomPort: 514
          
          dn: cn=Audit Record Repository,dicomDeviceName=logstash,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org
          objectClass: dcmAuditRecordRepository
          cn: Audit Record Repository
          dicomNetworkConnectionReference: cn=syslog,dicomDeviceName=logstash,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org
    

    and import it to the LDAP Server by using the ldapmodify command line utility.

One may refer Device, Network Connection, dcm4che Network Connection and Audit Record Repository to understand the description of attributes.

Ensure that after creation of an Audit Record Repository as explained above, Audit logger is configured as well.

Go to the Control tab on Configuration page in archive UI and reload the configuration.

Clone this wiki locally