last sync: 2023-Jun-19 17:45:01 UTC

Community Policy definition

Audit for Application Gateway without HTTP Redirect

Name Audit for Application Gateway without HTTP Redirect
Community-Policy GitHub
Id network_audit-http-redirect-app-gateway
Version n/a
details on versioning
Category undefined
Microsoft docs
Description This Policy looks to see if an HTTP listener exists. It then checks to see if a routing rule is configured for redirect. If a redirect is not detected then an audit is performed.
Mode All
Type Custom Community
Effect Fixed
auditIfNotExists
Used RBAC Role none
Rule Aliases IF (1)
Alias Namespace ResourceType DefaultPath Modifiable
Microsoft.Network/applicationGateways/httpListeners[*].protocol Microsoft.Network applicationGateways properties.httpListeners[*].properties.protocol false
THEN-ExistenceCondition (1)
Alias Namespace ResourceType DefaultPath Modifiable
Microsoft.Network/applicationGateways/requestRoutingRules[*].redirectConfiguration.id Microsoft.Network applicationGateways properties.requestRoutingRules[*].properties.redirectConfiguration.id false
Rule ResourceTypes IF (1)
Microsoft.Network/applicationGateways
JSON