v4.16.1 - Data Masking & String Truncation Improvements #873
jongpie
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Core Unlocked Package Changes
Bundled Data Masking Rules Bugfixes + New American Express (AMEX) Masking Rule
LogEntryDataMaskRule__mdt
records (stored in the fieldSensitiveDataRegEx__c
). The previous regexes were too aggressive, and would sometimes incorrectly mask substrings of non-credit card & non-social security number values.SocialSecurityNumber
MastercardCreditCardNumber
VisaCreditCardNumber
LogEntryDataMaskRule__mdt
for American Express (AMEX) credit card numbers -AmericanExpressCreditCardNumber
(similar to the existing rules for Visa & Mastercard)Data Masking Bugfixes + Truncation Bugfixes + New
*Truncated__c
Boolean FieldsBugfix: Fixed Text truncation does not always properly truncate (especially when combined with data masking rules) #695 by adding another round of string truncation after applying data masking to fix issues where string values could still be too long for the corresponding fields
-
dashes when masked, so values like123456789
(9 characters) are 2 characters longer when masked as***-**-6789
(11 characters).Message__c
field in several orgs, but the same issue could/did happen with several other text fields.Optimization: Refactored some duplicated logic in
LogEntryEventBuilder
for truncating + masking various text valuesEnhancement: Added several new
*Truncated__c
boolean fields on bothLogEntryEvent__e
&LogEntry__c
for some data points where it would be helpful to have the context that data has been truncated. There are 5 sets of new fields included:LogEntryEvent__e.HttpRequestBodyTruncated__c
➡️LogEntry__c.HttpRequestBodyTruncated__c
LogEntryEvent__e.HttpResponseBodyTruncated__c
➡️LogEntry__c.HttpResponseBodyTruncated__c
LogEntryEvent__e.RecordJsonTruncated__c
➡️LogEntry__c.RecordJsonTruncated__c
LogEntryEvent__e.RestRequestBodyTruncated__c
➡️LogEntry__c.RestRequestBodyTruncated__c
LogEntryEvent__e.RestResponseBodyTruncated__c
➡️LogEntry__c.RestResponseBodyTruncated__c
Enhancement: Updated the
LogEntryRecordPage
flexipage to add the new*Truncated__c
boolean fields onLogEntry__c
(mentioned above, and shown below)true
, similar to the behavior used for the existing*Masked__c
fields, likeLogEntry__c.MessageMasked__c
&LogEntry__c.RecordJsonMasked__c
Pipeline Improvements for
extra-tests
DirectoryLogEntryDataMaskRule__mdt
,LoggerParameter__mdt
,LoggerSObjectHandler__mdt
, andLogStatus__mdt
nebula-logger/extra-tests
to make it a little more clear what everything is being used for. The number of files has grown a lot over the last few years, so a little cleanup was needed.Installation Info
Core
Unlocked Package - no namespaceFull Changelog: v4.16.0...v4.16.1
sf package install --wait 20 --security-type AdminsOnly --package 04tKe0000011MXEIA2
This discussion was created from the release v4.16.1 - Data Masking & String Truncation Improvements.
Beta Was this translation helpful? Give feedback.
All reactions