The Attorney-General told the Knesset that Gotliv endangered a Shin Bet agent by disclosing classified details, as the MK seeks immunity from prosecution.