Skip to content

Add columns to duplicate SSN reporting (LG-9191)#7995

Merged
zachmargolis merged 3 commits intomainfrom
margolis-lg-9191-update
Mar 15, 2023
Merged

Add columns to duplicate SSN reporting (LG-9191)#7995
zachmargolis merged 3 commits intomainfrom
margolis-lg-9191-update

Conversation

@zachmargolis
Copy link
Contributor

@zachmargolis zachmargolis commented Mar 15, 2023

Adds new columns to the report in #7988 based on discussions with fraud team

changelog: Internal, Reporting, Add report for duplicate SSNs
@zachmargolis zachmargolis requested review from a team March 15, 2023 18:12
@zachmargolis zachmargolis changed the title Add profile_active column to duplicate SSN reporting (LG-9191) Add columns to duplicate SSN reporting (LG-9191) Mar 15, 2023
@zachmargolis zachmargolis merged commit f8d0bb5 into main Mar 15, 2023
@zachmargolis zachmargolis deleted the margolis-lg-9191-update branch March 15, 2023 19:19
svalexander pushed a commit that referenced this pull request Mar 16, 2023
* Add profile_active column
* Add count_active_ssn_fingerprint column
* Handle nil activated_at values

changelog: Internal, Reporting, Add report for duplicate SSNs
zachmargolis added a commit that referenced this pull request Mar 16, 2023
* Add profile_active column
* Add count_active_ssn_fingerprint column
* Handle nil activated_at values

changelog: Internal, Reporting, Add report for duplicate SSNs
(cherry picked from commit f8d0bb5)
zachmargolis added a commit that referenced this pull request Mar 17, 2023
* Add columns to duplicate SSN reporting (LG-9191) (#7995)

* Add profile_active column
* Add count_active_ssn_fingerprint column
* Handle nil activated_at values

changelog: Internal, Reporting, Add report for duplicate SSNs

* LG-9138: Allow state ID address fields in user PII (#7961)

* Allow state ID address fields in user PII

changelog: Upcoming features, Double address verification, Allow
state ID address fields in user PII

* Add more Pii attribute comments

* Use existing state_id_jurisdiction field

* Allow state_id_jurisdiction in feature tests

* Allow PII for other events

* Update brakeman gem (#7998)

changelog: Internal, Security, Update brakeman gem

* Clean up `ResolutionProofingJob` tests (#7996)

The `ResolutionProofingJob` is the class that does much of the legwork during the verify step. Specifically, it does the following:

1. Communicates with ThreatMetrix if necessary
2. Communicates with InstantVerify
3. Communicates with AAMVA
4. Combines results through the `ResolutionResultAdjudicator`

The tests for this class have been sophisticated and have combined a number of different ways of mocking out responses from vendors (e.g. webmocks or stubs of the vendor classes).

This change attempts to simplify some of this by creating a helper for stubbing responses from vendors. Those helpers are used to re-implement simpler examples for the logic the tests test. Ideally this will allow us to more quickly make changes to the `ResolutionProofingJob`.

[skip changelog]

* Reduce device/event transactions by wrapping multiple writes in one transaction (#7999)

changelog: Internal, Database, Reduce device/event transactions by wrapping multiple writes in one transaction

* Don't make a request to AAMVA if verification is guaranteed to fail (#7997)

* Don't make a request to AAMVA if verification is guaranteed to fail

We implemented a feature that allowed us to use the response we get from AAMVA to cover attributes that fail the LexisNexis check during resolution. Specifically, the following attributes can be covered by AAMVA:

- Address
- Dob
- State ID Number

As part of this change we started sending requests to AAMVA even if the LexisNexis response failed. Previously this occurred even if the failed LexisNexis attributes could not be covered by the AAMVA response.

This commit attempts to shed some load on AAMVA's service by not making requests to them if the attributes in a failed LexisNexis response cannot be covered by AAMVA.

[skip changelog]

* Disable primary database prepared statements if using database socket connection (#7990)

changelog: Internal, Database, Disable primary database prepared statements if using database socket connection

* Change the regular expression we use to determine if get to yes is viable (#8002)

Before we use the get-to-yes feature we need to make sure that the base lexis nexis error refers to the scoring model verification. This is what implies that the checks failed and we can fallback to AAMVA.

LexisNexis uses the code priority.scoring.model.verification.fail for some of its workflows. This commit changes the regex we use to match against the code to match that code.

[skip changelog]

* Disable advisory locks when using pgbouncer socket (#8003)

Related PRs #7990 and #7967

This disables advisory locks when a DB socket is used as `pgbouncer` does
not support advisory lock use in transaction mode.

changelog: Internal, Database, Disable primary database advisory locks if using database socket connection

* Remove `skip_legacy_state` method (#7991)

* Remove `skip_legacy_state` method

The `skip_legacy_state` method had 2 major problems:

1. The name implies that the new state is somehow a legacy state
2. It is hidden in the `check_ssn` code which makes it difficult to understand how a user moves from the verify info controller to the phone controller

This method attempts to clean this up by removing `skip_legacy_state` method and moving its logic into more reasonable places in the verify info concern or into the `Idv::Session`.

[skip changelog]

* Update app/services/idv/session.rb

Co-authored-by: Sonia Connolly <sonia.connolly@gsa.gov>

* delint

---------

Co-authored-by: Sonia Connolly <sonia.connolly@gsa.gov>

* Add additional prompts to UUID lookup and review rake tasks (#8001)

changelog: Internal, utilities, Reuqest more information from users when calling investigative rake tasks

Co-authored-by: Paul Hirsch <paul.hirsch@gsa.gov>

* LG-9020 update ssn content (#8004)

* add strings

* update ssn views with changed content

* changelog: User-Facing Improvements, ssn page, update text

* Update have_description accessibility matcher for feature spec compatibility (#8010)

changelog: Internal, Automated Testing, Improve compatibility of accessibility description matcher

* Remove send link step (#7929)

* attempt to squash everything

* Adding clear_and_fill_in helper

-- What
This new helper method will first clear an input before inserting text
into it during capybara tests.

* Removing unused analytics event methods

Co-authored-by: Andrew Duthie <andrew.duthie@gsa.gov>

* Changelog

changelog: User-Facing Improvements, Updating Hybrid Handoff,
finishing removal of feature-flagged combined hybrid handoff

* changelog: User-Facing Improvements, Updating Hybrid Handoff, finishing removal of feature-flagged combined hybrid handoff (LG-8903)

* Restore `pgcrypto` extension

* Remove redundant assignment

* Decrease find wait time in feature spec

---------

Co-authored-by: Jonathan Hooper <jonathan.hooper@gsa.gov>
Co-authored-by: eric-gade <eric.gade@gsa.gov>
Co-authored-by: Andrew Duthie <andrew.duthie@gsa.gov>

* LG-9050: Add password error handling (#7989)

* Add additional feedback to password error handling

changelog: User-Facing Improvements, Registration, Add additional feedback to password error handling

* LG-9023: Remove phone helper text (#7917)

* Remove phone example number text

changelog: User-Facing Improvements, Authentication, Remove phone helper text

* LG-9206 | Analytics logs irs_session_id (#8007)


changelog: Internal, Analytics, Log irs_session_id with analytics

* Lg 9089 user data ack (#7974)

* LG-9089 Add IRS text to localdev.yml for testing

changelog: Internal, Analytics, Add Policy Redirect

* Remove arcgis_search_enabled feature flag (#8006)

* Remove arcgis_search_enabled feature flag

Why: This feature is now enabled in production and would not be expected to be reverted to pilot facilities, and its continued existence in the code creates confusion for other developers.

* changelog: Internal, Feature Flags, Remove code associated with live features

* Remove unused locale strings

* LG-8887: Update Ready to Verify language to be simpler, more branded (#8009)

* changelog: Improvements, In-Person Proofing, Update language to be simpler and branded

* Add param

* Remove custom initializers from GoodJob classes (#8015)

**Why**: They interfere with the jobs being instantiated by the scheduler

changelog: Internal, Reporting, Fix scheduled SSN and Daily Dropoff report jobs

---------

Co-authored-by: Sheldon Bachstein <sheldon.bachstein@gsa.gov>
Co-authored-by: Mitchell Henke <mitchell.henke@gsa.gov>
Co-authored-by: Jonathan Hooper <jonathan.hooper@gsa.gov>
Co-authored-by: Paul Hirsch <59626817+pauldoomgov@users.noreply.github.com>
Co-authored-by: Sonia Connolly <sonia.connolly@gsa.gov>
Co-authored-by: Stephen Shelton <stephen.shelton@gsa.gov>
Co-authored-by: Paul Hirsch <paul.hirsch@gsa.gov>
Co-authored-by: Shannon A <20867088+svalexander@users.noreply.github.com>
Co-authored-by: Andrew Duthie <andrew.duthie@gsa.gov>
Co-authored-by: Kimball Bighorse <kimball.bighorse@gsa.gov>
Co-authored-by: eric-gade <eric.gade@gsa.gov>
Co-authored-by: jc-gsa <104452882+jc-gsa@users.noreply.github.com>
Co-authored-by: Matt Wagner <mattwagner@navapbc.com>
Co-authored-by: Luis H. Matos <ThatSpaceGuy@users.noreply.github.com>
Co-authored-by: Matt Gardner <wilburnforce@gmail.com>
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.

2 participants