The officer came under surveillance by the IAF intelligence wing, which later alerted the security agencies after his interactions with a woman on social media raised suspicion