We've started using heartbeat agents (6.8.2) and uptime monitoring for monitoring api endpoints.
We'd like to attribute all http reponse codes which are not 500 or 503 as being "up", going through documentation this doesn't seem possible. Either we do not set, in the monitor yml,
check.response: status: x
and by default 4xx and 5xx are considered down, either we are only able to set one value in check.response status which will be labeled as up.
Is there a workaround or a solution for passing a list of response codes we expect to mean up or ones we want to set to down ?