Skip to content

Commit

Permalink
Update eslz-portal.json
Browse files Browse the repository at this point in the history
  • Loading branch information
jtracey93 authored Jan 20, 2025
1 parent a9b8af6 commit f7d6fde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eslzArm/eslz-portal.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand All @@ -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"
}
Expand Down

0 comments on commit f7d6fde

Please sign in to comment.