Coherence-driven inference for cybersecurity