Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Users: Log unauthorized requests #63

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Sep 11, 2021

  1. Users: Add request logging

    This patch adds new configuration options to the web.config.file which
    makes it possible to enable logging of http requests.
    
    The "request_log_config" struct takes two arguments, a "file" which
    gets written to on request and "header_for_ip" which optionally
    allows a user to override how the ip gets retrieved.
    
    A log entry is formatted as json and currently contains the ip
    of the request, if authentication was successful, the url path
    and a timestamp
    
    Signed-off-by: networkException <git@nwex.de>
    networkException committed Sep 11, 2021
    Configuration menu
    Copy the full SHA
    a634551 View commit details
    Browse the repository at this point in the history