Show TLS certificate validity details

Include healthy TLS certificate validity in website check messages and show latest website check results in the UI.
This commit is contained in:
Keith Smith
2026-05-23 15:33:54 -06:00
parent 16932957b2
commit a8c160bc05
4 changed files with 68 additions and 12 deletions
+3
View File
@@ -1,5 +1,6 @@
import type {
Asset,
CheckResult,
Incident,
Monitor,
MonitorUpdate,
@@ -82,6 +83,8 @@ export const api = {
request<void>(`/monitors/${monitorId}`, token, {
method: "DELETE",
}),
monitorResults: (token: string, monitorId: number, limit = 1) =>
request<CheckResult[]>(`/monitors/${monitorId}/results?limit=${limit}`, token),
incidents: (token: string) => request<Incident[]>("/incidents", token),
acknowledgeIncident: (token: string, incidentId: number) =>
request<Incident>(`/incidents/${incidentId}/acknowledge`, token, {