Skip to content

Log current IP address of request that tries to access an IP restricted group

Sanad Liaquat requested to merge shl-log-ip-address into master

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

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 🤖

Merge request reports