You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of our community members reported in xmidt-org/xmidt#51 that it would be nice having a way to mask sensitive information such as device IDs (information that could be traced back to an individual customer) from log entries.
Some of the log field names that include sensitive data across our microservices are: requestURL requestURI requestHeaders.Referer instance
Suggested Approach
Compile a global regex to match device IDs from within a string and replace all characters with a * except the prefix. Ex: mac:1122334455 would become mac:**********
Configuration:
log:
...
# defaults to false meaning sensitive data is masked by default
disableSensitiveDataMasking: false
The text was updated successfully, but these errors were encountered:
One of our community members reported in xmidt-org/xmidt#51 that it would be nice having a way to mask sensitive information such as device IDs (information that could be traced back to an individual customer) from log entries.
Some of the log field names that include sensitive data across our microservices are:
requestURL
requestURI
requestHeaders.Referer
instance
Suggested Approach
Compile a global regex to match device IDs from within a string and replace all characters with a
*
except the prefix. Ex:mac:1122334455
would becomemac:**********
Configuration:
The text was updated successfully, but these errors were encountered: