Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using namespace System.Net

Function Invoke-ListStandardsCompare {
function Invoke-ListStandardsCompare {
<#
.FUNCTIONALITY
Entrypoint
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion version_latest.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8.0.1
8.0.2