File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Tenant/Standards Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 11using namespace System.Net
22
3- Function Invoke-ListStandardsCompare {
3+ function Invoke-ListStandardsCompare {
44 <#
55 . FUNCTIONALITY
66 Entrypoint
@@ -10,7 +10,13 @@ Function Invoke-ListStandardsCompare {
1010 [CmdletBinding ()]
1111 param ($Request , $TriggerMetadata )
1212
13+
1314 $Table = Get-CIPPTable - TableName ' CippStandardsReports'
15+ $TenantFilter = $Request.Query.tenantFilter
16+ if ($TenantFilter ) {
17+ $Table.Filter = " RowKey eq '{0}'" -f $TenantFilter
18+ }
19+
1420 $Results = Get-CIPPAzDataTableEntity @Table
1521
1622 # 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
Original file line number Diff line number Diff line change 1- 8.0.1
1+ 8.0.2
You can’t perform that action at this time.
0 commit comments