Threat-driven security testing and proactive defense identification for edge- cloud systems