LogEntryEventBuilder: Apply Data Masking to HttpRequestEndpoint__c, possibly provide "requestEndpointMasked" flag #781
Labels
Feature: Data Masking
Layer: Logger Engine
Items related to the core logging engine
Logging Source: Apex
Items related to using Logger within Apex
Logging Source: Lightning Components
Items related to using Nebula Logger using JavaScript within lightning components (lwc & aura)
Type: Enhancement
New feature or request
Milestone
New Feature Summary
Some APIs require keys and other sensitive information in the GET endpoint; Data Masking rules should be applied to protect this information:
In LogEntryEventBuilder.setHttpRequestDetails:
Instead of
this.logEntryEvent.HttpRequestEndpoint__c = request.getEndpoint();
Do:
this.logEntryEvent.HttpRequestEndpoint__c = applyDataMaskRules(this.userSettings.IsDataMaskingEnabled__c, request.getEndpoint());
The text was updated successfully, but these errors were encountered: