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
394 stars 86 forks source link

Ignore Redis firewall rules for caches using private endpoints #2171

Closed BernieWhite closed 1 year ago

BernieWhite commented 1 year ago

Description of the issue

The following rules are not applicable when Redis is configured to allow private connectivity by setting properties.publicNetworkAccess to Disabled.

We should update docs for these rules and add a precondition.

Module in use and version:

Additional context

https://learn.microsoft.com/azure/azure-cache-for-redis/cache-network-isolation#limitations-of-firewall-rules

BenjaminEngeset commented 1 year ago

:shipit: