Skip to content

Commit 66dd783

Browse files
authored
Merge pull request #291 from KelvinTegelaar/dev
[pull] dev from KelvinTegelaar:dev
2 parents d90ba87 + 051c3ba commit 66dd783

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Tenant/Standards/Invoke-ListStandardsCompare.ps1

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using 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

version_latest.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8.0.1
1+
8.0.2

0 commit comments

Comments
 (0)