owncloud / ocis

:atom_symbol: ownCloud Infinite Scale Stack
https://doc.owncloud.com/ocis/next/
Apache License 2.0
1.26k stars 169 forks source link

Log user agent and remote addr on auth errors #9475

Open butonic opened 4 days ago

butonic commented 4 days ago

The proxy will now log user_agent, client.address, network.peer.address and network.peer.port to help operations debug authentication errors. The latter three follow the Semantic Conventions 1.26.0 / General / Attributes naming to better integrate with log aggregation tools.

Trying to help pin down the occurrence very old access tokens... like 120+ days.

sonarcloud[bot] commented 4 days ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

d7oc commented 4 days ago

Do we also have some information available which definitely identifies a single user? I would like to have it in here. Like uid, username etc. None of the information added in here provides this now as even the address might be NATed and thus not unique.