azure-policy icon indicating copy to clipboard operation
azure-policy copied to clipboard

Keys_Expiry_ByDays invalid aliases

Open s4parke opened this issue 1 year ago • 1 comments

The Key Vault policy Keys_Expiry_ByDays.json:42 contains aliases that are invalid according to the Azure Portal Policy code editor:

image image

The AzAdvertiser site has aliases that work when saved in the portal. For example: Microsoft.KeyVault/vaults/secrets/attributes.exp

To replicate this error, create a new policy and paste the JSON policy rule then save.: https://portal.azure.com/#view/Microsoft_Azure_Policy/EditPolicyDefinitionBlade/

s4parke avatar Apr 04 '23 18:04 s4parke

The advertized aliases for Key Vault secrets do not appear to work, but the built-in policy does work. The issue is that it cannot be duplicated or modified.

s4parke avatar Apr 06 '23 16:04 s4parke