A battle to suppress information relating to the surviving alleged Bondi gunman has played out in court.