IoT Security and Compliance for Automation