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__mdtrecords (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.SocialSecurityNumberMastercardCreditCardNumberVisaCreditCardNumberLogEntryDataMaskRule__mdtfor American Express (AMEX) credit card numbers -AmericanExpressCreditCardNumber(similar to the existing rules for Visa & Mastercard)Data Masking Bugfixes + Truncation Bugfixes + New
*Truncated__cBoolean 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__cfield in several orgs, but the same issue could/did happen with several other text fields.Optimization: Refactored some duplicated logic in
LogEntryEventBuilderfor truncating + masking various text valuesEnhancement: Added several new
*Truncated__cboolean fields on bothLogEntryEvent__e&LogEntry__cfor 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__cLogEntryEvent__e.HttpResponseBodyTruncated__c➡️LogEntry__c.HttpResponseBodyTruncated__cLogEntryEvent__e.RecordJsonTruncated__c➡️LogEntry__c.RecordJsonTruncated__cLogEntryEvent__e.RestRequestBodyTruncated__c➡️LogEntry__c.RestRequestBodyTruncated__cLogEntryEvent__e.RestResponseBodyTruncated__c➡️LogEntry__c.RestResponseBodyTruncated__cEnhancement: Updated the
LogEntryRecordPageflexipage to add the new*Truncated__cboolean fields onLogEntry__c(mentioned above, and shown below)true, similar to the behavior used for the existing*Masked__cfields, likeLogEntry__c.MessageMasked__c&LogEntry__c.RecordJsonMasked__cPipeline Improvements for
extra-testsDirectoryLogEntryDataMaskRule__mdt,LoggerParameter__mdt,LoggerSObjectHandler__mdt, andLogStatus__mdtnebula-logger/extra-teststo 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
CoreUnlocked Package - no namespaceFull Changelog: v4.16.0...v4.16.1
sf package install --wait 20 --security-type AdminsOnly --package 04tKe0000011MXEIA2This discussion was created from the release v4.16.1 - Data Masking & String Truncation Improvements.
Beta Was this translation helpful? Give feedback.
All reactions