Title: Smart and Agile Cybersecurity for IoT and IIoT Environments