MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.25k stars 21.42k forks source link

Do we have any way to mask/replace sensitive data from request URL #123854

Closed rageshpayyan closed 2 months ago

rageshpayyan commented 2 months ago

Type of issue

Other (describe below)

Feedback

Running MicroService spring-boot java application running on AKS cluster and my service is calling multiple endpoints internally and the request url contains some sensitive informations. Example www.abc.com/payment/id=1234 the id=1234 is sensitive information, which is automatically available in application insights under Dependency table. I need to your help to mask or remove or hide the the value "1234" from the dependency table or while application logs into application insights.

applicationinsights.json

I tried this approach, but no luck

{ "connectionString": "InstrumentationKey=xxxxxxx", "role": { "name": "myservice" }, "preview": { "processors": [ { "type": "attribute", "actions": [ { "key": "url.path", "pattern": "id=1234", "replace": "id=***", "action": "mask" } ] } ] } }

Page URL

https://learn.microsoft.com/en-us/azure/azure-monitor/app/java-standalone-config#suppress-specific-autocollected-telemetry

Content source URL

https://learn.microsoft.com/en-us/azure/azure-monitor/app/java-standalone-config#suppress-specific-autocollected-telemetry

Author

Microsoft

Document Id

1234


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

PesalaPavan commented 2 months ago

@rageshpayyan It would be great if you could add a link to the documentation you are following for these steps? This would help us redirect the issue to the appropriate team. Thanks!!

rageshpayyan commented 2 months ago

@rageshpayyan It would be great if you could add a link to the documentation you are following for these steps? This would help us redirect the issue to the appropriate team. Thanks!!

Updated.

PesalaPavan commented 2 months ago

@rageshpayyan Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

AaronMaxwell commented 2 months ago

Thanks for your dedication to our documentation.

Although this question is beyond the scope of our feedback channel here on GitHub, which covers specific documentation fixes rather than technical support, we can help redirect you to the right support channel to get an answer to your question:

Microsoft Azure Monitor Q&A question page https://docs.microsoft.com/answers/topics/24223/azure-monitor.html

Create a support ticket Get support for your Azure services https://azure.microsoft.com/support/create-ticket/

Coding questions may be posted to Stack Overflow using an azure-application-insights tag. https://stackoverflow.com/questions/tagged/azure-application-insights

Further, GitHub documentation issues have been phased out completely. For more information see: https://aka.ms/ContentUserFeedback. #please-close