Azure / PSRule.Rules.Azure

Rules to validate Azure resources and infrastructure as code (IaC) using PSRule.
https://azure.github.io/PSRule.Rules.Azure/
MIT License
383 stars 83 forks source link

Review and update API Management rule docs #867

Open BernieWhite opened 3 years ago

BernieWhite commented 3 years ago

Review and update rule documentation with template and bicep examples.

Find documentation here: https://azure.github.io/PSRule.Rules.Azure/en/rules/resource/#api-management

Find source here: https://github.com/Azure/PSRule.Rules.Azure/tree/main/docs/en/rules

BernieWhite commented 1 year ago

Related to: #1128

@pamelafox

Is it possible to add an example of valid ARM/Bicep to this doc? https://azure.github.io/PSRule.Rules.Azure/en/rules/Azure.APIM.Ciphers/

It took me a while to find this issue and then more time to figure out how to use the properties in Bicep (didn't realize quotes were required). I used this Bicep example: https://raw.githubusercontent.com/Azure/azure-quickstart-templates/91fbf3bd52d22765016b6a61bd6d5bb02beb8ed1/quickstarts/microsoft.apimanagement/api-management-create-with-internal-vnet-publicip/main.bicep