mirror of
https://github.com/okieselbach/AutopilotMonitor.git
synced 2026-10-24 12:42:38 +00:00
hardware-rejected route rename
This commit is contained in:
@@ -1 +1 @@
|
||||
833
|
||||
834
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@ namespace AutopilotMonitor.Functions.Functions.Reports
|
||||
|
||||
[Function("GetHardwareRejected")]
|
||||
public async Task<HttpResponseData> Run(
|
||||
[HttpTrigger(AuthorizationLevel.Anonymous, "get", Route = "distress/hardware-rejected")] HttpRequestData req)
|
||||
[HttpTrigger(AuthorizationLevel.Anonymous, "get", Route = "audit/hardware-rejected")] HttpRequestData req)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
@@ -144,7 +144,7 @@ public static class EndpointAccessPolicyCatalog
|
||||
new("GET", "metrics/mcp-usage/user/{userId}", EndpointPolicy.TenantAdminOrGA),
|
||||
new("GET", "metrics/geographic/sessions", EndpointPolicy.MemberRead),
|
||||
new("GET", "audit/logs", EndpointPolicy.MemberRead),
|
||||
new("GET", "distress/hardware-rejected", EndpointPolicy.MemberRead),
|
||||
new("GET", "audit/hardware-rejected", EndpointPolicy.MemberRead),
|
||||
new("GET", "diagnostics/download-url", EndpointPolicy.MemberRead),
|
||||
new("GET", "rules/gather", EndpointPolicy.MemberRead),
|
||||
new("GET", "rules/analyze", EndpointPolicy.MemberRead),
|
||||
|
||||
@@ -181,9 +181,9 @@ export const api = {
|
||||
list: () => `${API_BASE_URL}/api/global/distress-reports`,
|
||||
},
|
||||
|
||||
// ── Distress (tenant-scoped) ─────────────────────────────────────────────
|
||||
// ── Hardware Rejection Insights (tenant-scoped, from distress data) ──────
|
||||
distress: {
|
||||
hardwareRejected: () => `${API_BASE_URL}/api/distress/hardware-rejected`,
|
||||
hardwareRejected: () => `${API_BASE_URL}/api/audit/hardware-rejected`,
|
||||
},
|
||||
|
||||
// ── Ops Events ───────────────────────────────────────────────────────────
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user