Azure App Service Health Check Missing
Description
Code Example
terraform
resource "azurerm_app_service" "example" {
name = "example-app-service"
# ... other configurations ...
site_config {
+ health_check_path = "/health" # Set a path that determines the health of the app.
# ... other configurations ...
}
# ... other configurations ...
}Remediation
Terraform
Resources:
- azurerm_app_service
- azurerm_linux_web_app
- azurerm_windows_web_app
Arguments:
- site_config/[0]/health_check_path
Rule Details
| Field | Value |
|---|---|
| ID | IAC-0720 |
| Severity | LOW |
| IaC Type | arm |
| Frameworks | Terraform, |
| Checkov ID | CKV_AZURE_213 |