Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 545 Bytes

azurerm_linux_web_app_slot_https_only.md

File metadata and controls

34 lines (22 loc) · 545 Bytes

azurerm_linux_web_app_slot_https_only

Severity: Warning

Example

resource "azurerm_linux_web_app_slot" "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_linux_web_app_slot" "example" {
    https_only = true
}

How to disable

rule "azurerm_linux_web_app_slot_https_only" {
  enabled = false
}