Skip to main content

Auditing and Logging Configuration

This guide describes the configuration properties for auditing and logging across SAMO services.

Kafka Configuration

PropertyTypeRequiredDescriptionExample value
kafka.urlstringtrueKafka cluster URLserver.company.local:10092
audit.kafka.topicstringfalseKafka topic name for auditing messages, default: auditdev_audit
logging.kafka.topicstringfalseKafka topic name for logging messages, default: logsdev_logs
logging.[logger].writeToKafkabooleanfalseFlag to indicate which log messages should be sent to Kafkatrue, false

LIDS AS

Environment Properties

PropertyTypeRequiredDescriptionExample value
lids.audit.typestringtrueOutput source of auditingkafka, database
lids.audit.actionsstringtrueList of actions which will be audited. Instead of list, value all can be used.authentication,features

XML Configuration (Future work)

This configuration is enabled if value features is present in lids.audit.actions property. In that case, audit.xml file under /lids-as/extensions in metadata should be created.

info

This feature is planned for future implementation.

<?xml version="1.0" encoding="UTF-8"?>
<ber:audit xmlns="http://www.berit.com/ber">
<ber:version>
<ber:metadata>1</ber:metadata>
<ber:minClient>?</ber:minClient>
<ber:minAS>?</ber:minAS>
</version>
<ber:featureTypeArray>
<ber:featureType xlink:href="model.xml#ftexample">
<ber:operations>
<ber:select/>
<ber:insert/>
<ber:update/>
<ber:delete/>
</ber:operations>
</ber:featureType>
</ber:featureTypeArray>
</ber:audit>

Gateway

Environment Properties

PropertyTypeRequiredDescriptionExample value
gateway.audit.typestringtrueOutput source of auditingkafka, database
gateway.audit.actionsstringtrueList of actions which will be audited. Instead of list, value all can be used.authentication

Security Server

Environment Properties

PropertyTypeRequiredDescriptionExample value
security.audit.typestringtrueOutput source of auditingkafka, database
security.audit.actionsstringtrueList of actions which will be audited. Instead of list, value all can be used.authentication,accessRightsModification,userModification,userImport

User Service

Environment Properties

PropertyTypeRequiredDescriptionExample value
userService.audit.typestringtrueOutput source of auditingkafka, database
userService.audit.actionsstringtrueList of actions which will be audited. Instead of list, value all can be used.authentication

License Server

Environment Properties

PropertyTypeRequiredDescriptionExample value
licenseServer.audit.typestringtrueOutput source of auditingkafka, database
licenseServer.audit.actionsstringtrueList of actions which will be audited. Instead of list, value all can be used.authentication