Control: IoT Hubs should disable public network access
Description
Disabling public network access improves security by ensuring that IoT Hub isn't exposed on the public internet. Creating private endpoints can limit exposure of IoT Hub.
Usage
Run the control in your terminal:
powerpipe control run terraform_azure_compliance.control.iot_hub_restrict_public_access
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run terraform_azure_compliance.control.iot_hub_restrict_public_access --share
SQL
This control uses a named query:
iot_hub_restrict_public_access