We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 838f3a4 commit e43cc50Copy full SHA for e43cc50
1 file changed
Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Tenant/Standards/Invoke-ListStandardsCompare.ps1
@@ -1,6 +1,6 @@
1
using namespace System.Net
2
3
-Function Invoke-ListStandardsCompare {
+function Invoke-ListStandardsCompare {
4
<#
5
.FUNCTIONALITY
6
Entrypoint
@@ -10,7 +10,13 @@ Function Invoke-ListStandardsCompare {
10
[CmdletBinding()]
11
param($Request, $TriggerMetadata)
12
13
+
14
$Table = Get-CIPPTable -TableName 'CippStandardsReports'
15
+ $TenantFilter = $Request.Query.tenantFilter
16
+ if ($TenantFilter) {
17
+ $Table.Filter = "RowKey eq '{0}'" -f $TenantFilter
18
+ }
19
20
$Results = Get-CIPPAzDataTableEntity @Table
21
22
#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
0 commit comments