HealthCheck add possibility to cache checks and protect API from DDOS attacks #59561
Open
1 task done
Labels
area-healthchecks
Includes: Healthchecks (some bugs also in Extensions repo)
Is there an existing issue for this?
Is your feature request related to a problem? Please describe the problem.
Currently there is no way to run health checks like DbContextCheck periodically. Therefor the Health check endpoints can be abused to be very exhaustive for the API.
Describe the solution you'd like
There are already HealthCheckPublishers but currently even when they are applied the checks are made on each request. It would be nice if there was an option to use this also for returning the last published check results. It would be even better to be able to cache the results without an additional publisher by just using an additional setting or allowing to hook into the process to add a cache.
Additional context
Currently whenever the healthcheck endpoint is called all the checks are executed again.
The text was updated successfully, but these errors were encountered: