Skip to content

Commit f2eacc2

Browse files
committed
Add identity type check to ARM preview API version restriction policy
1 parent 5837d53 commit f2eacc2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎policyDefinitions/general/pol-restrict-arm-preview-api-versions.json‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@
4343
{
4444
"value": "[requestContext().apiVersion]",
4545
"like": "*-preview"
46+
},
47+
{
48+
"value": "[tryGet(requestContext().identity, 'idtyp')]",
49+
"in": ["user", "app"]
4650
}
4751
]
4852
},

0 commit comments

Comments
 (0)