Not enabling IoT Hub Edge logging may impact activity tracking and incident response.
In Azure Console -
In Terraform -
References:
https://learn.microsoft.com/en-us/azure/defender-for-iot/device-builders/concept-baseline
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/iot_security_solution#edge_logging_option