The spate of attacks has put pressure on the government of Prime Minister Anthony Albanese, who faces re-election later this year.