Remove PII from mod-audit logs

Description

Objective:
The mod-audit log contains Personally Identifiable Information (PII). This information is unnecessary for troubleshooting and poses a potential risk, especially for non-LoC customers. The objective is to remove sensitive data from the logs.


Log fragment:

2024-11-04T00:34:07.187Z   "users" : [ {

2024-11-04T00:34:07.187Z     "username" : "XXXXXX",

2024-11-04T00:34:07.187Z     "id" : "fe7ceca5-f050-4934-9ca0-718d871c0c81",

2024-11-04T00:34:07.187Z     "externalSystemId" : XXXXX@mtmail.mtsu.edu,

2024-11-04T00:34:07.187Z     "barcode" : "23082502605349",

2024-11-04T00:34:07.187Z     "active" : true,

2024-11-04T00:34:07.187Z     "patronGroup" : "6ff1694c-bc16-4f55-ae13-66e8ca9a148e",

2024-11-04T00:34:07.187Z     "departments" : [ ],

2024-11-04T00:34:07.187Z     "proxyFor" : [ ],

2024-11-04T00:34:07.187Z     "personal" : {

2024-11-04T00:34:07.187Z       "lastName" : "XXXXX",

2024-11-04T00:34:07.187Z       "firstName" : "XXXX",

2024-11-04T00:34:07.187Z       "preferredFirstName" : "XXXXX",

2024-11-04T00:34:07.187Z       "email" : XXXXXX@mtmail.mtsu.edu,

2024-11-04T00:34:07.187Z       "phone" : "XXXXXX",

2024-11-04T00:34:07.187Z       "mobilePhone" : " ",

2024-11-04T00:34:07.187Z       "addresses" : [ {

2024-11-04T00:34:07.187Z         "addressLine1" : "XXXXX",

2024-11-04T00:34:07.187Z         "addressLine2" : "",

2024-11-04T00:34:07.187Z         "city" : "XXXXX",

2024-11-04T00:34:07.187Z         "region" : "XXXXX",

2024-11-04T00:34:07.187Z         "postalCode" : "XXXXXX",

2024-11-04T00:34:07.187Z         "addressTypeId" : "9018b704-a960-4fcf-ab55-069cfe5ec5c0",

2024-11-04T00:34:07.187Z         "primaryAddress" : true

2024-11-04T00:34:07.187Z       } ],

2024-11-04T00:34:07.187Z       "preferredContactTypeId" : "002"

2024-11-04T00:34:07.187Z     },

2024-11-04T00:34:07.187Z     "expirationDate" : "2025-01-21T00:00:00.000+00:00",

2024-11-04T00:34:07.187Z     "createdDate" : "2024-11-02T11:04:44.062+00:00",

2024-11-04T00:34:07.187Z     "updatedDate" : "2024-11-02T11:04:44.062+00:00",

2024-11-04T00:34:07.187Z     "metadata" : {

2024-11-04T00:34:07.187Z       "createdDate" : "2023-08-09T20:16:50.967+00:00",

2024-11-04T00:34:07.187Z       "createdByUserId" : "0c3b8784-40e4-40e9-9ffd-cd004c62bba5",

2024-11-04T00:34:07.187Z       "updatedDate" : "2024-11-02T11:04:44.057+00:00",

2024-11-04T00:34:07.187Z       "updatedByUserId" : "0c3b8784-40e4-40e9-9ffd-cd004c62bba5"

2024-11-04T00:34:07.187Z     },

2024-11-04T00:34:07.187Z     "customFields" : {

2024-11-04T00:34:07.187Z       "trainingReceived" : [ "opt_0" ]

2024-11-04T00:34:07.187Z     }

2024-11-04T00:34:07.187Z   } ],

 

Interested Parties:

Environment

None

Potential Workaround

None

Checklist

hide

Activity

Show:

JenkinsNotifications January 10, 2025 at 4:58 PM

Deployed to the Ramsons bf env. Moved status to In bugfix review from status Awaiting deployment. Please proceed with the verification.

Done

Details

Assignee

Reporter

Labels

Priority

Story Points

Sprint

Development Team

Volaris

Fix versions

Release

Ramsons (R2 2024) Bug Fix

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created January 7, 2025 at 10:27 AM
Updated January 13, 2025 at 8:44 AM
Resolved January 10, 2025 at 7:40 AM
TestRail: Cases
TestRail: Runs

Flag notifications