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

Log TLS client subject #9285

Merged
merged 4 commits into from
Nov 21, 2022
Merged

Conversation

xmessi
Copy link
Contributor

@xmessi xmessi commented Aug 29, 2022

What does this PR do?

This PR adds support for logging the TLS client subject, when it is used (mTLS connections).

Motivation

In my use case, the TLS client subject contains a username; TLS client certificates are used to authenticate users. Logging this improves the traceability of actions performed, similar to the ClientUsername field which is filled in case of HTTP Basic Auth.

More

  • Added/updated tests
  • Added/updated documentation

Additional Notes

Thanks for considering this PR for inclusion

Copy link
Member

@rtribotte rtribotte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 👍

@kevinpollet kevinpollet changed the title Log tls client subject Log TLS client subject Nov 18, 2022
Copy link
Contributor

@ldez ldez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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

Successfully merging this pull request may close these issues.

None yet

6 participants