Dear all,
The Jenkins OpenTelemetry Plugin is now sending Jenkins authentication audit logs to external observability backends with the goal for routing these logs to SIEM solutions that will be able to detect abnormal behaviours (see documentation
here).
To implement this authentication audit trail, we implemented a Jenkins
SecurityListener (source code here:
AuditingSecurityListener.java#L120) but the SecurityListener#failedLogin(username) doesn't provide any mechanism to retrieve the remoteIpAddr (Stapler#getCurrentRequest() returns null) .
Is there way in in Jenkins plugins to listen to failed logins and to retrieve the remoteIpAddr? If not, did the community consider adding this capability as it's commonly used by security tools to detect anomalous ?
Cyrille