Bug with health actuator showDetails #1411
Labels
Component/Management
Issues related to Steeltoe Management (actuators)
ReleaseLine/4.x
Identified as a feature/fix for the 4.x release line
Type/bug
Something isn't working
Milestone
Describe the bug
management:endpoints:health:showDetails
does not affect whether details of the health check are included in the response.Steps to reproduce
Steps to reproduce the behavior:
...Endpoint.Test.Actuators.Health.EndpointMiddlewareTest.HealthActuator_ReturnsOnlyStatusWhenAuthorized
health
object during debuggingExpected behavior
The "details" property in the response should be empty when
showDetails
isNever
or the user details in the request do not fit the configuration forWhenAuthorized
Additional detail
Steeltoe v4 code (
HealthEndpointHandler.cs
):Steeltoe v3 code:
The text was updated successfully, but these errors were encountered: