LG-12618: log the sp request components for enhanced idv events.#10265
Merged
LG-12618: log the sp request components for enhanced idv events.#10265
Conversation
This change logs the resolved authn context in CloudWatch events under
the key `sp_request` and provides a hash with the following keys:
- `aal2?`
- `biometric_comparison?`
- `component_values`
- array of hash: `{name:, description:}`
- `hspd12?`
- `ialmax?`
- `identity_proofing?`
- `phishing_resistant?`
changelog: Internal, Logging, Includes the authn context in IdV events
matthinz
reviewed
Mar 19, 2024
8752f48 to
e584604
Compare
Co-authored-by: Zach Margolis <zachmargolis@users.noreply.github.com>
include them if they are true. Also strips the trailing `?` off the keys.
Co-authored-by: Zach Margolis <zachmargolis@users.noreply.github.com>
Co-authored-by: Zach Margolis <zachary.margolis@gsa.gov>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
🎫 Ticket
Link to the relevant ticket:
LG-12618
🛠 Summary of changes
This change logs the resolved authn context in CloudWatch events under the key
sp_requestand provides a hash with the following keys, if they are true:aal2biometric_comparisoncomponent_values-{ 'value' => true, 'value2' => true }hspd12ialmaxidentity_proofingphishing_resistantIf there isn't a vtr or acr_values saved in the session, the
sp_requestwill not be included at all.