From f7d6fde3a6bc74b240d16e5b01f669482cf27c24 Mon Sep 17 00:00:00 2001 From: Jack Tracey <41163455+jtracey93@users.noreply.github.com> Date: Mon, 20 Jan 2025 18:22:40 +0000 Subject: [PATCH] Update eslz-portal.json --- eslzArm/eslz-portal.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eslzArm/eslz-portal.json b/eslzArm/eslz-portal.json index 33100bc954..0c89bd1976 100644 --- a/eslzArm/eslz-portal.json +++ b/eslzArm/eslz-portal.json @@ -63,7 +63,7 @@ "type": "Microsoft.Solutions.ArmApiControl", "request": { "method": "POST", - "path": "providers/Microsoft.ResourceGraph/resources?api-version=2021-03-01", + "path": "providers/Microsoft.ResourceGraph/resources?api-version=2024-04-01", "body": { "query": "ResourceContainers | where type =~ 'microsoft.resources/subscriptions' | where properties.state =~ 'enabled' | project label=tostring(name), description=subscriptionId, value=subscriptionId | order by label asc" } @@ -82,7 +82,7 @@ "type": "Microsoft.Solutions.ArmApiControl", "request": { "method": "POST", - "path": "providers/Microsoft.ResourceGraph/resources?api-version=2021-03-01", + "path": "providers/Microsoft.ResourceGraph/resources?api-version=2024-04-01", "body": { "query": "policyresources | where type == 'microsoft.authorization/policysetdefinitions' | extend metadataCategory=tostring(properties.metadata.category) | extend metadataDeprecated=tostring(properties.metadata.deprecated) | extend displayName=tostring(properties.displayName) | extend description=tostring(properties.description) | where properties.metadata.category =~ 'Regulatory Compliance' | where metadataDeprecated != 'true' | extend valueOutput=pack('displayName', displayName, 'id', id, 'description', description) | project id, name, displayName, description, metadataCategory, valueOutput | project label=displayName, description, value=valueOutput | order by label asc" }