Open yane3628 opened 3 years ago
uri
is not part of the properties according to the Template schema docs. https://docs.microsoft.com/en-us/azure/templates/microsoft.sql/managedinstances/encryptionprotector?tabs=json#managedinstanceencryptionprotectorproperties-object
I wonder if it's supposed to look at this schema instead: https://docs.microsoft.com/en-us/azure/templates/microsoft.sql/managedinstances/keys?tabs=json
Looking at the schemas of encryptionProtector and keys, I wonder if it's supposed to be a combination of both. encryptionProtector might reference a key that's defined in the keys schema.
I'm not sure. I find it unlike the type is wrong in the Policy...
@JohnathonMohr This is likely a case of aliasing in action...
Azure Policy link: https://github.com/Azure/azure-policy/blob/master/built-in-policies/policyDefinitions/SQL/SqlManagedInstance_EnsureServerTDEisEncryptedWithYourOwnKey_Audit.json