Need details on wildcards used for Azure polcies as shown on https://docs.microsoft.com/en-us/azure/governance/policy/samples/enforce-like-pattern
For example, the article refers to
'field': 'name', 'match': 'contoso??????'
and
'field': 'name', 'match': 'contoso-???-##'
so I take it the question marks and pound signs are some wild cards. I need the rest of this syntax and the available operators. I see 'match' is one of them. What's the rest of the operators accepted in Azure poicy definitions?
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@Sambsamb Thanks for the question! That information is in the policy definition structure document, specifically in the Conditions portion. * works with like and notLike, while #, ?, and . work with match, notMatch, matchInsensitively, and notMatchInsensitively. If you have a use case for needing regex, please vote for it on UserVoice. Let me know if this answers your question.
@MicrosoftDocs/azure-cxp-triage Please assign to me, label 'product-question', and #in-progress
@Sambsamb Just checking in if this answered your question. I'll wait to hear from you for another day, and then I'll ask to have the issue closed as I believe I've answered your questions. Thanks!
@DCtheGeek Thank you for your reply. That was pretty helpful.