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

LG-13025 - ThreatMetrix check should fail if we don't have a ThreatMetrix session id. #10452

Merged

Conversation

jmax-gsa
Copy link
Contributor

No description provided.

- `VerifyInfoController` event logging includes the client
- If we don't have a TM session id, return a unique client name
- If we don't have PII to send to TM, return a unique client name
- Continue to return the same client name if TM is disabled.

We used to return the same client name for all three conditions.

changelog: Internal,analytics and IdV,Improved handling and logging for ThreatMetrix requests.
@jmax-gsa jmax-gsa force-pushed the jmax/LG-13025-users-should-fail-proofing-without-threatmetrix-id branch from de51dc2 to 16419cf Compare April 18, 2024 13:54
def threatmetrix_pii_missing_result
Proofing::DdpResult.new(
success: false,
client: 'tmx_pii_missing',
Copy link
Member

@matthinz matthinz Apr 18, 2024

Choose a reason for hiding this comment

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

Note to other reviewers: abusing the client field for these kind of statuses is not ideal, but it is a pattern that is established in the codebase and not something we're looking to solve in this PR.

@jmax-gsa jmax-gsa force-pushed the jmax/LG-13025-users-should-fail-proofing-without-threatmetrix-id branch from f89b60f to bf462e9 Compare April 18, 2024 17:20
Changed the error return slightly.
@jmax-gsa jmax-gsa marked this pull request as ready for review April 23, 2024 16:47
@jmax-gsa jmax-gsa requested a review from matthinz April 23, 2024 16:55
Spec cleanup.

Co-authored-by: Zach Margolis <zachmargolis@users.noreply.github.com>
@jmax-gsa jmax-gsa merged commit 7826def into main Apr 26, 2024
2 checks passed
@jmax-gsa jmax-gsa deleted the jmax/LG-13025-users-should-fail-proofing-without-threatmetrix-id branch April 26, 2024 16:55
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.

None yet

3 participants