Werk #16360: Dedicated security logging
Component | Site management | ||||
Title | Dedicated security logging | ||||
Date | Feb 16, 2024 | ||||
Level | Trivial Change | ||||
Class | New Feature | ||||
Compatibility | Compatible - no manual interaction needed | ||||
Checkmk versions & editions |
|
To make it easier to detect certain security relevant events a dedicated security log is introduced. You can find it in var/log/security.log
.
The format of each line is:
- The date and time the logentry was created (local time)
- The security domain and the process id.
- The message as json with a
summary
anddetails
key. The contents of thedetails
vary by the domain.
Currently the following domains exist:
application_errors
: e.g if a CSRF token could not be found/validatedauth
: e.g. successful / unsuccessful authentication attempts. (Successful authentication attempts without opening a session are currently not logged.)service
: e.g. the start of a siteuser_management
: e.g. change of a password
Please note that this logfile is still subject to change. Additional events might be added and details may change with p-releases.