From 2260e1f6c311ef0b8c571a2e4bb0d76634a11895 Mon Sep 17 00:00:00 2001 From: Manish Shah Date: Wed, 27 Jul 2022 10:31:34 -0400 Subject: [PATCH 1/3] LG-7004-configs-threatmatrix changelog: Upcoming Features, Config, Add ThreatMatrix configs - LG-7004 --- config/application.yml.default | 9 +++++++++ lib/identity_config.rb | 7 +++++++ 2 files changed, 16 insertions(+) diff --git a/config/application.yml.default b/config/application.yml.default index d0705f770a4..583ceda8ee1 100644 --- a/config/application.yml.default +++ b/config/application.yml.default @@ -141,6 +141,15 @@ lexisnexis_trueid_liveness_nocropping_workflow: customers.gsa.trueid.workflow lexisnexis_trueid_noliveness_cropping_workflow: customers.gsa.trueid.workflow lexisnexis_trueid_noliveness_nocropping_workflow: customers.gsa.trueid.workflow ################################################################### +# LexisNexis ThreatMatrix########################################## +lexisnexis_threatmatrix_base_url: https://www.example.com +lexisnexis_threatmatrix_request_mode: testing +lexisnexis_threatmatrix_account_id: test_account +lexisnexis_threatmatrix_username: test_username +lexisnexis_threatmatrix_password: test_password +lexisnexis_threatmatrix_instant_verify_timeout: 1.0 +lexisnexis_threatmatrix_instant_verify_workflow: customers.gsa.instant.verify.workflow +################################################################### lockout_period_in_minutes: 10 log_to_stdout: false logins_per_email_and_ip_bantime: 60 diff --git a/lib/identity_config.rb b/lib/identity_config.rb index 3487bf8eeb2..3a20870e667 100644 --- a/lib/identity_config.rb +++ b/lib/identity_config.rb @@ -210,6 +210,13 @@ def self.build_store(config_map) config.add(:lexisnexis_trueid_noliveness_cropping_workflow, type: :string) config.add(:lexisnexis_trueid_noliveness_nocropping_workflow, type: :string) config.add(:lexisnexis_trueid_timeout, type: :float) + config.add(:lexisnexis_threatmatrix_base_url, type: :string) + config.add(:lexisnexis_threatmatrix_request_mode, type: :string) + config.add(:lexisnexis_threatmatrix_account_id, type: :string) + config.add(:lexisnexis_threatmatrix_username, type: :string) + config.add(:lexisnexis_threatmatrix_password, type: :string) + config.add(:lexisnexis_threatmatrix_instant_verify_timeout, type: :float) + config.add(:lexisnexis_threatmatrix_instant_verify_workflow, type: :string) config.add(:liveness_checking_enabled, type: :boolean) config.add(:lockout_period_in_minutes, type: :integer) config.add(:log_to_stdout, type: :boolean) From 105b9ca3df1a56abd149922c82d436309632cb0f Mon Sep 17 00:00:00 2001 From: Manish Shah <97545428+gsa-manish@users.noreply.github.com> Date: Wed, 27 Jul 2022 16:26:01 -0400 Subject: [PATCH 2/3] Update config/application.yml.default Co-authored-by: Zach Margolis --- config/application.yml.default | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/config/application.yml.default b/config/application.yml.default index 583ceda8ee1..03141ead4aa 100644 --- a/config/application.yml.default +++ b/config/application.yml.default @@ -141,14 +141,14 @@ lexisnexis_trueid_liveness_nocropping_workflow: customers.gsa.trueid.workflow lexisnexis_trueid_noliveness_cropping_workflow: customers.gsa.trueid.workflow lexisnexis_trueid_noliveness_nocropping_workflow: customers.gsa.trueid.workflow ################################################################### -# LexisNexis ThreatMatrix########################################## -lexisnexis_threatmatrix_base_url: https://www.example.com -lexisnexis_threatmatrix_request_mode: testing -lexisnexis_threatmatrix_account_id: test_account -lexisnexis_threatmatrix_username: test_username -lexisnexis_threatmatrix_password: test_password -lexisnexis_threatmatrix_instant_verify_timeout: 1.0 -lexisnexis_threatmatrix_instant_verify_workflow: customers.gsa.instant.verify.workflow +# LexisNexis ThreatMetrix ########################################## +lexisnexis_threatmetrix_base_url: https://www.example.com +lexisnexis_threatmetrix_request_mode: testing +lexisnexis_threatmetrix_account_id: test_account +lexisnexis_threatmetrix_username: test_username +lexisnexis_threatmetrix_password: test_password +lexisnexis_threatmetrix_instant_verify_timeout: 1.0 +lexisnexis_threatmetrix_instant_verify_workflow: customers.gsa.instant.verify.workflow ################################################################### lockout_period_in_minutes: 10 log_to_stdout: false From d89ea0850e24f16a1a205745b080d6cb553080e4 Mon Sep 17 00:00:00 2001 From: Manish Shah Date: Wed, 27 Jul 2022 16:32:36 -0400 Subject: [PATCH 3/3] Fixed name spelling --- lib/identity_config.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/identity_config.rb b/lib/identity_config.rb index 3a20870e667..b4f1be95162 100644 --- a/lib/identity_config.rb +++ b/lib/identity_config.rb @@ -210,13 +210,13 @@ def self.build_store(config_map) config.add(:lexisnexis_trueid_noliveness_cropping_workflow, type: :string) config.add(:lexisnexis_trueid_noliveness_nocropping_workflow, type: :string) config.add(:lexisnexis_trueid_timeout, type: :float) - config.add(:lexisnexis_threatmatrix_base_url, type: :string) - config.add(:lexisnexis_threatmatrix_request_mode, type: :string) - config.add(:lexisnexis_threatmatrix_account_id, type: :string) - config.add(:lexisnexis_threatmatrix_username, type: :string) - config.add(:lexisnexis_threatmatrix_password, type: :string) - config.add(:lexisnexis_threatmatrix_instant_verify_timeout, type: :float) - config.add(:lexisnexis_threatmatrix_instant_verify_workflow, type: :string) + config.add(:lexisnexis_threatmetrix_base_url, type: :string) + config.add(:lexisnexis_threatmetrix_request_mode, type: :string) + config.add(:lexisnexis_threatmetrix_account_id, type: :string) + config.add(:lexisnexis_threatmetrix_username, type: :string) + config.add(:lexisnexis_threatmetrix_password, type: :string) + config.add(:lexisnexis_threatmetrix_instant_verify_timeout, type: :float) + config.add(:lexisnexis_threatmetrix_instant_verify_workflow, type: :string) config.add(:liveness_checking_enabled, type: :boolean) config.add(:lockout_period_in_minutes, type: :integer) config.add(:log_to_stdout, type: :boolean)