Some built-in azure policies are available to work on Azure key vault certificates, but all are in Preview and some limitation to use in Azure devops pipeline, due to this Am unable to use in Azure devops pipeline.
I need your support to create a new custom azure policies to monitor Azure key vault certificates for that I need the vault certificate azure policy alias names
Example:
In built-in azure policy type has used is
"field": "type",
"equals": "Microsoft.KeyVault.Data/vaults/certificates"
When I try to use the same type while creating custom azure policies it shows error message type is not exists.
Error message while creating custom azure policies for certificates:
The policy definition '19cdee8d-b052-41de-9f13-d584f0ed5c37' rule is invalid. The provider 'Microsoft.KeyVault.Data' referenced by the 'field' property 'Microsoft.KeyVault.Data/vaults/certificates/properties.validityInMonths' of the policy rule doesn't exist.
Please let me know the proper custom type for certificate