Show targets and status icons in the dashboard

This commit is contained in:
Pallavi
2025-08-24 20:57:27 +05:30
committed by Pallavi Kumari
parent da0196a308
commit 1b3eb32bf4
9 changed files with 847 additions and 123 deletions

View File

@@ -306,6 +306,20 @@ authenticated.get(
resource.listResources
);
authenticated.post(
"/org/:orgId/resources/tcp-check",
verifyOrgAccess,
verifyUserHasAction(ActionsEnum.tcpCheck),
resource.tcpCheck
);
authenticated.post(
"/org/:orgId/resources/tcp-check-batch",
verifyOrgAccess,
verifyUserHasAction(ActionsEnum.batchTcpCheck),
resource.batchTcpCheck
);
authenticated.get(
"/org/:orgId/user-resources",
verifyOrgAccess,