arcus-azure/arcus.messaging

Add `HealthReport` alternative to TCP health probe that doesn't include exception details

stijnmoreels opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
Currently, we use a custom HealthReport model to limit the exception details exposed in the Web API project template of ours. This will decrease unnecessary information leakage and improve security of the application.
In the messaging library we have a TCP health probe that also exposes health information with Microsoft's HealthReport, so there is also exception details exposure here.

Describe the solution you'd like
Use a custom HealthReport to expose for the TCP health probe, similar as we did in the Web API project template.

Additional context
Web API project template PR: arcus-azure/arcus.templates#589