Log current IP address of request that tries to access an IP restricted group
What does this MR do?
Logs the IP Address of incoming request to access an IP restricted group. Also log the group's path and whether the access was granted.
This will help with debugging issues such as #39093 (closed)
Related slack conversation: https://gitlab.slack.com/archives/CBQ76ND6W/p1575876579006700
Conformity
- [-] Changelog entry
- [-] Documentation (if required)
-
Code review guidelines -
Merge request performance guidelines -
Style guides - [-] Database guides
-
Separation of EE specific content
Security
If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:
-
Label as security and @ mention @gitlab-com/gl-security/appsec
-
The MR includes necessary changes to maintain consistency between UI, API, email, or other methods -
Security reports checked/validated by a reviewer from the AppSec team
Edited by 🤖 GitLab Bot 🤖