librariesio / libraries.io

:books: The Open Source Discovery Service
https://libraries.io
GNU Affero General Public License v3.0
1.11k stars 203 forks source link

Add api key id to rack attack logs, if it exists. #3167

Closed tiegz closed 1 year ago

tiegz commented 1 year ago

Example

[RACK_ATTACK] method=GET path=/api/versions?api_key=REDACTED match_type=throttle match=api match_discriminator=1234abcd request_id=65f59ad676836fa373b7 remote_ip=127.0.0.1 api_key_id=1234