A security threat was detected aboard an IndiGo flight before takeoff from Lucknow prompting cooperation with security authorities.