hardware-rejected route rename

This commit is contained in:
Oliver Kieselbach
2026-04-04 20:33:42 +02:00
parent 536d275f32
commit a3de5355ee
5 changed files with 6 additions and 6 deletions
@@ -1 +1 @@
833
834
@@ -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),
+2 -2
View File
@@ -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