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

Feature-Request: Enhanced Logging / Auditing #16

Open
Tqnsls opened this issue Oct 18, 2022 · 2 comments
Open

Feature-Request: Enhanced Logging / Auditing #16

Tqnsls opened this issue Oct 18, 2022 · 2 comments

Comments

@Tqnsls
Copy link

Tqnsls commented Oct 18, 2022

I would like to be able to log the URLs in icingaweb2 that were requested by users.

Describe alternatives you've considered

An other idea is to create a logformat for the webserver apache2 (which already logs all URLs :) ) where the user who issued a web request is also mentioned.
If the user logs in via the web-gui /icingaweb2/authentication/login, the username is not logged atm.
Webrequests from users who logged in via SSO or basic-auth are logged in the webserver-logs.

Additional context

If my issue is not clearly enough, I will be happy to explain further.

@nilmerg
Copy link
Member

nilmerg commented Oct 19, 2022

To what purpose if I may ask?

@Tqnsls
Copy link
Author

Tqnsls commented Oct 25, 2022

E.g. to have an extended logging, to see which user issues which web request, to assign a specific error to a user or sth.

As I said, if it possible, you can just publish the correct logformat for apache where one can see the username to the corresponding request. (as it would be logged when a basic-auth user issues a web request).
I think the logformat were the easier and less laborious way..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants