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

mfa: add WithMFA to session-related audit events #5833

Merged
merged 5 commits into from
Mar 4, 2021

Conversation

awly
Copy link
Contributor

@awly awly commented Mar 3, 2021

When a session is started using a single-use cert after an MFA check, include the UUID of that MFA device in the audit events.
Had to refactor cert extensions to include the UUID and not just the bool. This is not used in the wild yet so it's safe to change the extension format.

Also extracted a common helper function for parsing SSH certs.

@awly awly added this to the 6.1 milestone Mar 3, 2021
Copy link
Contributor

@russjones russjones left a comment

Choose a reason for hiding this comment

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

Bot.

Andrew Lytvynov added 2 commits March 4, 2021 11:24
Instead of just a bool, add the device UUID. This will be used in audit
events when a session is started using MFA-issued certs.
Also extract a common function for parsing SSH certs.
@awly awly force-pushed the andrew/mfa-session-audit branch from 6831791 to 31b5f3b Compare March 4, 2021 19:24
@awly awly merged commit 6d8f778 into master Mar 4, 2021
@awly awly deleted the andrew/mfa-session-audit branch March 4, 2021 22:18
awly pushed a commit that referenced this pull request Mar 25, 2021
* mfa: put device UUID in MFAVerified cert extensions

Instead of just a bool, add the device UUID. This will be used in audit
events when a session is started using MFA-issued certs.

* Add WithMFA to session-related audit events

Also extract a common function for parsing SSH certs.
awly pushed a commit that referenced this pull request Mar 29, 2021
* mfa: put device UUID in MFAVerified cert extensions

Instead of just a bool, add the device UUID. This will be used in audit
events when a session is started using MFA-issued certs.

* Add WithMFA to session-related audit events

Also extract a common function for parsing SSH certs.
awly pushed a commit that referenced this pull request Mar 29, 2021
* mfa: put device UUID in MFAVerified cert extensions

Instead of just a bool, add the device UUID. This will be used in audit
events when a session is started using MFA-issued certs.

* Add WithMFA to session-related audit events

Also extract a common function for parsing SSH certs.
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

Successfully merging this pull request may close these issues.

4 participants