pii

Are Azure Subscription ID, AAD Tenant ID, and AAD App Client ID considered secret/PII?

自古美人都是妖i 提交于 2020-01-22 09:47:46
问题 I would like to log the following in my telemetry for diagnostic and usage purposes: Azure Subscription ID AAD Tenant ID AAD App Client ID Should I treat them as secrets/PII and hash/encrypt them? (it goes without saying I will not be retaining the client secret in any way shape or form) 回答1: Ultimately, you should determine what to log and how, from a compliance/privacy/security perspective, based on official and compliance/privacy/security reviews and certifications within your company or

Are Azure Subscription ID, AAD Tenant ID, and AAD App Client ID considered secret/PII?

安稳与你 提交于 2020-01-22 09:47:27
问题 I would like to log the following in my telemetry for diagnostic and usage purposes: Azure Subscription ID AAD Tenant ID AAD App Client ID Should I treat them as secrets/PII and hash/encrypt them? (it goes without saying I will not be retaining the client secret in any way shape or form) 回答1: Ultimately, you should determine what to log and how, from a compliance/privacy/security perspective, based on official and compliance/privacy/security reviews and certifications within your company or

JSON PII data masking in Java

断了今生、忘了曾经 提交于 2019-12-12 04:54:53
问题 I would like to mask certain elements of JSON and print to logs. Masking can be either by substituting by dummy data or removing the key pair .Is there a utility to do the masking in Java ? E.g., given JSON: { "key1":"value1", "key2":"value2", "key3":"value3", } mask key 2 alone and print JSON: { "key1":"value1", "key2":"xxxxxx", "key3":"value3", } or { "key1":"value1", "key3":"value3", } 回答1: You could use jackson to convert json to map, process map and convert map back to json. For example: