Fix status history and show on the health check

This commit is contained in:
Owen
2026-04-16 20:55:21 -07:00
parent c1782a2650
commit f932cc7aca
13 changed files with 319 additions and 276 deletions

View File

@@ -657,6 +657,7 @@ authenticated.delete(
authenticated.get(
"/org/:orgId/event-streaming-destinations",
verifyValidLicense,
verifyOrgAccess,
verifyUserHasAction(ActionsEnum.listEventStreamingDestinations),
eventStreamingDestination.listEventStreamingDestinations
@@ -692,6 +693,7 @@ authenticated.delete(
authenticated.get(
"/org/:orgId/alert-rules",
verifyValidLicense,
verifyOrgAccess,
verifyUserHasAction(ActionsEnum.listAlertRules),
alertRule.listAlertRules
@@ -699,6 +701,7 @@ authenticated.get(
authenticated.get(
"/org/:orgId/alert-rule/:alertRuleId",
verifyValidLicense,
verifyOrgAccess,
verifyUserHasAction(ActionsEnum.getAlertRule),
alertRule.getAlertRule
@@ -706,6 +709,7 @@ authenticated.get(
authenticated.get(
"/org/:orgId/health-checks",
verifyValidLicense,
verifyOrgAccess,
verifyUserHasAction(ActionsEnum.listHealthChecks),
healthChecks.listHealthChecks
@@ -738,3 +742,11 @@ authenticated.delete(
logActionAudit(ActionsEnum.deleteHealthCheck),
healthChecks.deleteHealthCheck
);
authenticated.get(
"/org/:orgId/health-check/:healthCheckId/status-history",
verifyValidLicense,
verifyOrgAccess,
verifyUserHasAction(ActionsEnum.getTarget),
healthChecks.getHealthCheckStatusHistory
);