Canberra taking action to protect military secrets