From 3633ec7bac0538fb08a0e0f271961b83482f4613 Mon Sep 17 00:00:00 2001 From: Richard Pattinson Date: Mon, 16 Sep 2024 13:05:53 +0100 Subject: [PATCH] move pii fields to analytics_hidden_pii.yml --- Gemfile | 2 +- Gemfile.lock | 9 ++++++--- config/analytics_hidden_pii.yml | 12 ++++++++++++ config/analytics_pii.yml | 12 +----------- 4 files changed, 20 insertions(+), 15 deletions(-) create mode 100644 config/analytics_hidden_pii.yml diff --git a/Gemfile b/Gemfile index 194c417b..6c98e456 100644 --- a/Gemfile +++ b/Gemfile @@ -52,7 +52,7 @@ gem "omniauth_openid_connect" gem "omniauth-rails_csrf_protection" # Sending events to BigQuery -gem "dfe-analytics", github: "DFE-Digital/dfe-analytics", tag: "v1.14.1" +gem "dfe-analytics", github: "DFE-Digital/dfe-analytics", tag: "v1.14.2" # Scheduling jobs gem "clockwork" diff --git a/Gemfile.lock b/Gemfile.lock index 590f6d8b..81e25aa7 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,9 +1,9 @@ GIT remote: https://github.com/DFE-Digital/dfe-analytics.git - revision: 79378cc466a40c6a6cba317e232cbf48ec79ab7d - tag: v1.14.1 + revision: 706595e52fed211cee53ad99ceaeaabb47a059cc + tag: v1.14.2 specs: - dfe-analytics (1.14.1) + dfe-analytics (1.14.2) google-cloud-bigquery (~> 1.38) httparty (~> 0.21) multi_xml (~> 0.6.0) @@ -294,6 +294,8 @@ GEM nio4r (2.7.0) nokogiri (1.16.7-arm64-darwin) racc (~> 1.4) + nokogiri (1.16.7-x86_64-darwin) + racc (~> 1.4) nokogiri (1.16.7-x86_64-linux) racc (~> 1.4) oauth2 (2.0.9) @@ -595,6 +597,7 @@ GEM PLATFORMS arm64-darwin-24 + x86_64-darwin-23 x86_64-linux DEPENDENCIES diff --git a/config/analytics_hidden_pii.yml b/config/analytics_hidden_pii.yml new file mode 100644 index 00000000..ac108ab7 --- /dev/null +++ b/config/analytics_hidden_pii.yml @@ -0,0 +1,12 @@ +--- +shared: + :dsi_users: + - email + - first_name + - last_name + - uid + :feedbacks: + - email + :search_logs: + - last_name + - date_of_birth diff --git a/config/analytics_pii.yml b/config/analytics_pii.yml index ac108ab7..3a42532a 100644 --- a/config/analytics_pii.yml +++ b/config/analytics_pii.yml @@ -1,12 +1,2 @@ --- -shared: - :dsi_users: - - email - - first_name - - last_name - - uid - :feedbacks: - - email - :search_logs: - - last_name - - date_of_birth +shared: {}