A security solution for cloud-connected IoT services that utilizes behavior analytics to analyze human and machine behavior and detect threats in real-time. This real-time security allows IoT application monitoring at all times. See activity risk scores and threats on the security dashboard, and define rule-based policies based on these scores through the solution. The solution's behavioral analytics identifies human access and usage patterns, monitors IoT device behavior, and meshes the human and machine with data threat intelligence reports and other security data to detect and mitigate attacks. The technology covers Smart Home, Smart Building, Smart Cities and Industrial IoT.