last sync: 2025-Jun-13 17:23:19 UTC

Audit for Application Gateway without HTTP Redirect

Community Policy definition

Source Repository Community-Policy GitHub
JSON Community-Policy GitHub
Deploy policy 79de6481-9bec-4094-ae77-416b955f6769 (1.0.0) to Azure
Display name Audit for Application Gateway without HTTP Redirect
Id 79de6481-9bec-4094-ae77-416b955f6769
Version 1.0.0
Details on versioning
Category Network
Microsoft Learn
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 Default
AuditIfNotExists
Allowed
AuditIfNotExists, Disabled
RBAC role(s) none
Rule aliases IF (1)
Alias Namespace ResourceType Path PathIsDefault DefaultPath Modifiable
Microsoft.Network/applicationGateways/httpListeners[*].protocol Microsoft.Network applicationGateways properties.httpListeners[*].properties.protocol True False
THEN-ExistenceCondition (1)
Alias Namespace ResourceType Path PathIsDefault DefaultPath Modifiable
Microsoft.Network/applicationGateways/requestRoutingRules[*].redirectConfiguration.id Microsoft.Network applicationGateways properties.requestRoutingRules[*].properties.redirectConfiguration.id True False
Rule resource types IF (1)
Microsoft.Network/applicationGateways
JSON
EPAC
Deploy policy 79de6481-9bec-4094-ae77-416b955f6769 (1.0.0) to Azure