Skip to main content
dk_srini
Silver ⭐️
Jul 13, 2022 7:38 AM UTC
Solved

Tool to masking sensitive info in logs and diag

Hi All,

 

Do we have any tool or utility to mask all the sensitive information (like hostname, ip, etc)  inside the logfiles and Diagnostic bundle before uploading that to Cloudera cases?

 

Also, I can see some of the service logs suffixes with hostname, I need to mask them too. like those below example:-

 

hadoop-cmf-hdfs-NAMENODE-cdp-master.log.out

to -> 

hadoop-cmf-hdfs-NAMENODE-xxx-xxxxx.log.out

 

Bender
BenderAnswer
Gold ⭐️⭐️⭐️
Jul 13, 2022 2:05 PM UTC

Hello @dk_srini ,

 

it is a great question! Have you seen this section of the Cloudera Doc about Redaction of Sensitive Information from Diagnostic Bundles, please?

 

If it covers your enquiry, please mark this answer as a solution.

Best regards:

Ferenc

Ferenc Erdelyi, Technical Solutions Manager Was your question answered? Make sure to mark the answer as the accepted solution. If you find a reply useful, say thanks by clicking on the thumbs up button.

3 replies

Bender
Gold ⭐️⭐️⭐️
BenderAnswer
Gold ⭐️⭐️⭐️
Jul 13, 2022 2:05 PM UTC

Hello @dk_srini ,

 

it is a great question! Have you seen this section of the Cloudera Doc about Redaction of Sensitive Information from Diagnostic Bundles, please?

 

If it covers your enquiry, please mark this answer as a solution.

Best regards:

Ferenc

Translate
Ferenc Erdelyi, Technical Solutions Manager Was your question answered? Make sure to mark the answer as the accepted solution. If you find a reply useful, say thanks by clicking on the thumbs up button.
VidyaSargur
Community Manager
Community Manager
Jul 18, 2022 9:04 AM UTC

@dk_srini, Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.  

Translate
Regards, Vidya Sargur Madabhushi| Senior Community Manager | Was your question answered? Make sure to mark the answer as the Best Answer. If you find a reply useful, say thanks by clicking on the thumbs up button.
dk_srini
dk_sriniAuthor
Silver ⭐️
Jul 25, 2022 12:40 PM UTC

@Bender Thanks for your reply. It is partial resolution. I am aware of the Redaction, it only redacts hostnames and ip's inside the logs files, but when creating Diagnostic Bundles some logs and folders create with a hostname and ip's in suffix or prefix. So we need a solution for that too. 

Translate