Skip to content
This repository has been archived by the owner on Nov 16, 2020. It is now read-only.

Include user in access logs #42

Merged
merged 1 commit into from
Jan 3, 2020
Merged

Conversation

essen
Copy link
Collaborator

@essen essen commented Jan 3, 2020

This is the management side of the fix for: rabbitmq/rabbitmq-management#760

As a bonus it will also work for the Web plugins when HTTP authentication is used.

@michaelklishin
Copy link
Member

Awesome, we just need to make sure we don't forget to rename uaa_client_id when we do it in the OAuth 2 plugin 😄

@michaelklishin michaelklishin merged commit e4bf110 into master Jan 3, 2020
@michaelklishin michaelklishin deleted the rabbitmq-management-760 branch January 3, 2020 11:13
michaelklishin added a commit that referenced this pull request Jan 3, 2020
Include user in access logs

(cherry picked from commit e4bf110)
michaelklishin added a commit that referenced this pull request Jan 3, 2020
Include user in access logs

(cherry picked from commit e4bf110)
michaelklishin added a commit that referenced this pull request Jan 3, 2020
This reverts commit 64fb5e5.

This includes an OAuth 2-specific part so we should not do it.
@michaelklishin
Copy link
Member

Backported to v3.8.x but decided to leave it out of v3.7.x because it includes OAuth 2-specific bits. That's fine, v3.7.x support will only last for a few more months.

@lukebakken
Copy link
Contributor

Will this change address the "login" part of this request? rabbitmq-users discussion

@essen
Copy link
Collaborator Author

essen commented Feb 14, 2020

If management is configured to write access logs then the access logs will include the user for all relevant requests, but there is no log indicating the user just logged in (because the credentials are sent with every request so it's like you log in every time).

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

Successfully merging this pull request may close these issues.

None yet

3 participants