-
Notifications
You must be signed in to change notification settings - Fork 166
LG-14261 Add attempt count to mfa setup auth events #11293
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
Merged
kevinsmaster5
merged 55 commits into
main
from
kmas-lg-14261-add-attempt-count-to-mfa-setup-auth
Oct 23, 2024
Merged
Changes from all commits
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
6c05942
changelog: Internal, MFA setup, Add attempt count to MFA setup analyt…
kevinsmaster5 ba3cd02
add piv attempts, use common name in analytics
kevinsmaster5 2c49e86
add logging to otp and totp setup
kevinsmaster5 cae6055
reset attempts count on success
kevinsmaster5 bd3c92c
add totp reset and refactor reset on webauthn
kevinsmaster5 7d9c411
update otp specs
kevinsmaster5 60e800d
update totp specs
kevinsmaster5 32c271b
update piv_cac_setup specs
kevinsmaster5 7af6595
add otp spec that confirms incremented mfa_attempts analytics log
kevinsmaster5 1940b4a
add specs for piv and totp
kevinsmaster5 952830d
refactor slightly session key setter
kevinsmaster5 54eb134
add testing for attempts on webauthn setup
kevinsmaster5 155cc0a
refactor pulling commonly use function into mfa setup concern
kevinsmaster5 90b0d15
move mfa attempts to 2fa methods concern, change to user_session
kevinsmaster5 a65cdcf
equip otp with mfa attempt logging at authentication
kevinsmaster5 7901753
update spec because of session token change, add attempt count to web…
kevinsmaster5 640dba0
add mfa attempt count for totp authentication
kevinsmaster5 b4f3f75
add mfa count for piv authentication
kevinsmaster5 51d153c
clear user_session token when changing mfa after a failed attempt
kevinsmaster5 d7891eb
add params to piv analytics event
kevinsmaster5 e051696
fix piv verification spec. reset mfa account for setup failure
kevinsmaster5 49f670f
express auth attempts as a hash consisting of attempt count and method
kevinsmaster5 173e619
group all attempts into a hash
kevinsmaster5 32b1134
sync rspec up with changes made
kevinsmaster5 eb4d673
add mfa attempt to event expectation
kevinsmaster5 37db890
add mfa attempt to event expectation
kevinsmaster5 0f588f5
fixes specs to catch missing events
kevinsmaster5 98f0974
fix webauthn spec to correct user flow
kevinsmaster5 4b78810
fix mfa label in spec
kevinsmaster5 ae714e7
remove private_key gsub
kevinsmaster5 ae695cc
leverage symbols for mfa methods, remove no longer needed method from…
kevinsmaster5 75707d3
revise spec to use symbol
kevinsmaster5 b4212f0
address keypath warnings from spec
kevinsmaster5 591fb38
fix how otp verification controller generates the attempts count, upd…
kevinsmaster5 3cb1711
gsub personal_key for mfa_attempts
kevinsmaster5 39169f3
convert to sym
kevinsmaster5 0453e0a
convert key to sym with correct method
kevinsmaster5 462630f
rename incrementing method param. repair rspec to correct exptected mfa
kevinsmaster5 1c2db74
fix rspec expected mfa types
kevinsmaster5 2309190
place gsub behind a conditional
kevinsmaster5 e426e1c
set up a programmatic way of protecting pii keys in sessions
kevinsmaster5 347c9b6
refactor increment verb
kevinsmaster5 347b58e
fix broken logic
kevinsmaster5 d852f84
put expected attempt key back
kevinsmaster5 0e9d865
add testing for change to session_encryptor
kevinsmaster5 b87472e
change to more sensitive session detection approach
kevinsmaster5 80d4a1e
revise specs with change to attempt log structure
kevinsmaster5 be26643
follow up on remaining specs
kevinsmaster5 5dfaa8c
reorder check for method changeup
kevinsmaster5 985114a
restructure analytics for attempts and update tests
kevinsmaster5 cb69a2c
make webauthn setup count more accurate, remove previously added spec…
kevinsmaster5 66eb15f
increment webauthn setup also at confirm
kevinsmaster5 8797df4
utilize constant values for mfa methods
kevinsmaster5 274f409
select phone/voice and webauthn/_platform submethods
kevinsmaster5 30fdc23
use webauth_auth_method function
kevinsmaster5 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.