Azure Policy built-in definitions for Azure IoT Hub

For IoT Hub sample code that shows how to implement common IoT scenarios, see the IoT Hub quickstarts. There are quickstarts for multiple programming languages including C, Node.js, and Python.

This page is an index of Azure Policy built-in policy definitions for Azure IoT Hub. For additional Azure Policy built-ins for other services, see Azure Policy built-in definitions.

The name of each built-in policy definition links to the policy definition in the Azure portal. Use the link in the Version column to view the source on the Azure Policy GitHub repo.

Azure IoT Hub

Name
(Azure portal)
Description Effect(s) Version
(GitHub)
Diagnostic logs in IoT Hub should be enabled Audit enabling of diagnostic logs. This enables you to recreate activity trails to use for investigation purposes; when a security incident occurs or when your network is compromised AuditIfNotExists, Disabled 2.0.0

Next steps