EnxLoginLogger

Content Type: Module
Categories: Utility,Tracing

Overview

The EnxLoginLogger module helps in logging succesfull logins as well as failed ones. It addes UserRoles and source IP information. It can add more custom information based on a microflow.

Documentation

Purpose

The EnxLoginLogger module helps in logging succesfull logins as well as failed ones. It addes UserRoles and source IP information. It can add more custom information based on a microflow.

Installation

Dependencies

None.

Steps

  • Add ASU_EnxLoginLogger to your AfterStartup

  • Example flows show how to use a custom microflow to log custom information.

Technical implementation

Format

RFC 5424 for syslog formatting. Two notable remarks about this:

  • Structured data is in this format:

     

     

    [exampleSDID@32473 iut="3" eventSource="Application" eventID="1011"]
  • Inside those quoted strings certain characters must be escaped

     

     

    characters '"', '\' and ']' MUST be escaped.

     

Implementation

This log subscriber listens to Core TRACE log and reports successful logins.

The login is given extra information from System.User, for example Role. You can configure a custom microflow to add even more information.

To get the same information on Failed logins these are reported as well with the new logger.

Also Client IP messages are logged under info level.

 

Releases

Version: 1.0.0
Framework Version: 9.24.31
Release Notes: Initial version.