You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The /actuator/health/{liveness,readiness} endpoints and /actuator/health are open.
I think /livez and /readyz stay locked even when CloudPlatform is NONE and management.endpoint.health.probes.enabled=true (but /actuator/health/* is open). A related but different problem?
The text was updated successfully, but these errors were encountered:
If we want livez and readyz to be open by default as well, we'll have to decide if that should be covered by the matcher returned by EndpointRequest.to(HealthEndpoint.class) or if the additional paths should be covered separately.
If we do make a change here, I think it should only happen in a new minor. I wouldn't want to open up livez and readyz by default in a patch release.
We also need to updated ReactiveManagementWebSecurityAutoConfiguration. Looking at the code, I don't think we can just change EndpointRequest.to(HealthEndpoint.class) since AdditionalHealthEndpointPath can be exposed on main port when the management context is on a different one.
philwebb
changed the title
/livez and /readyz are shut down when Spring Security is on the classpath and CloudPlatform is CLOUD_FOUNDRY
Health endpoint additional paths are not available by default when Spring Security is used
Sep 18, 2024
The
/actuator/health/{liveness,readiness}
endpoints and/actuator/health
are open.I think
/livez
and/readyz
stay locked even whenCloudPlatform
is NONE andmanagement.endpoint.health.probes.enabled=true
(but/actuator/health/*
is open). A related but different problem?The text was updated successfully, but these errors were encountered: