Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 553 Bytes

azurerm_windows_function_app_https_only.md

File metadata and controls

34 lines (22 loc) · 553 Bytes

azurerm_windows_function_app_https_only

Severity: Warning

Example

resource "azurerm_windows_function_app" "example" {
    https_only = false
}

Why

Enforcing https_only ensures all communications with the resource are encrypted, protecting sensitive data in transit and mitigating the risk of man-in-the-middle attacks.

How to Fix

resource "azurerm_windows_function_app" "example" {
    https_only = true
}

How to disable

rule "azurerm_windows_function_app_https_only" {
  enabled = false
}