From e43cc50f995741955ff2989c907452f4be3af2d8 Mon Sep 17 00:00:00 2001 From: John Duprey Date: Thu, 5 Jun 2025 14:38:34 -0400 Subject: [PATCH 1/2] temp fix for standards reports --- .../Tenant/Standards/Invoke-ListStandardsCompare.ps1 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Tenant/Standards/Invoke-ListStandardsCompare.ps1 b/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Tenant/Standards/Invoke-ListStandardsCompare.ps1 index 4144312551fd..130cec97dfba 100644 --- a/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Tenant/Standards/Invoke-ListStandardsCompare.ps1 +++ b/Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Tenant/Standards/Invoke-ListStandardsCompare.ps1 @@ -1,6 +1,6 @@ using namespace System.Net -Function Invoke-ListStandardsCompare { +function Invoke-ListStandardsCompare { <# .FUNCTIONALITY Entrypoint @@ -10,7 +10,13 @@ Function Invoke-ListStandardsCompare { [CmdletBinding()] param($Request, $TriggerMetadata) + $Table = Get-CIPPTable -TableName 'CippStandardsReports' + $TenantFilter = $Request.Query.tenantFilter + if ($TenantFilter) { + $Table.Filter = "RowKey eq '{0}'" -f $TenantFilter + } + $Results = Get-CIPPAzDataTableEntity @Table #in the results we have objects starting with "standards." All these have to be converted from JSON. Do not do this is its a boolean From 051c3ba64686677f87adb0a79afc9ceb4260de7e Mon Sep 17 00:00:00 2001 From: John Duprey Date: Thu, 5 Jun 2025 14:48:58 -0400 Subject: [PATCH 2/2] up version --- version_latest.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version_latest.txt b/version_latest.txt index cd1d2e94f31d..8b22a322d0fe 100644 --- a/version_latest.txt +++ b/version_latest.txt @@ -1 +1 @@ -8.0.1 +8.0.2