New Release v4.6.7: Security Enhancements #203
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
-
New Security Enhancements
LoggerSettings__c
Data masking for log entry messages. Enabled by default, regex-based CMDT rules can be configured to automatically mask sensitive data in the
Message__c
andRecordJson__c
fields. Pre-built rules are included for Visa & Mastercard credit card numbers and social security numbers - additional rules can be configured by creating additionalLogEntryDataMaskRule__mdt
records.New
LoggerSettings__c
fields:ApplyDataMaskRules__c
andStripInaccessibleRecordFields__c
New custom metadata type
LogEntryDataMaskRule__mdt
list view, showing the included rulesExample log entries with masked data - the 1st two entries shows masked credit card numbers, and the 3rd entry shows a masked social security number
New setting
LoggerSettings__c.StripInaccessibleRecordFields__c
- Disabled by default, when enabled, any time anSObject
record is logged (or aList<SObject>
is logged), only fields that the current user can access will be included in the record's JSON. This is useful in orgs where end-users have access to viewLog__c
andLogEntry__c
records.LoggerAdmin
permission set now has access to all custom metadata types included in the repo.Flow Bugfixes
Fixes 2 Flow-related issues reported by @vr8hub
record
&records
parameters optional inFlowRecordLogEntry
&FlowCollectionLogEntry
(respectively) to handle situations where null is passed (e.g., Get Records returns null for no matches, instead of an empty list)LogEntry__c.FlowDescription__c
to a long text area field (instead of text area) and added automatic field-truncation forLogEntry__c
insertsInternal Code Optimizations
LogEntryEventBuilder
that involve queries - this prevents the queries from executing if logging is disabled for the current usersetTransactionDetails()
inLogEntryEventBuilder
to defer setting some transactional details until absolutely necessary - this helps minimize heap size/avoid using some of the heap size limit until neededPipeline & Repo Enhancements
This discussion was created from the release Security Enhancements.
Beta Was this translation helpful? Give feedback.
All reactions