The Morrison government is being urged to confirm whether journalists who published top secret documents will be prosecuted for breaking the law, amid revelations the Australian Federal Police asked Qantas to hand over the private travel records of a senior ABC reporter.

Opposition Leader Anthony Albanese on Monday challenged Attorney-General Christian Porter to explain whether he stood by a previous claim that there was "no evidence" journalists were the focus of law enforcement action following dramatic police raids in Sydney and Canberra last month.

Anthony Albanese has challenged the Attorney-General to explain whether he stood by a previous claim that there was "no evidence" journalists were the focus of law enforcement action. Credit:Alex Ellinghausen

The Sydney Morning Herald and The Age earlier revealed the AFP approached Qantas in March seeking details on two flights taken by investigative reporter Daniel Oakes, an ABC reporter who received and published top-secret government material containing allegations of misconduct by Australian troops in Afghanistan.

A document recounting the exchange between the AFP and Qantas is headlined "Statement in the matter of R v Daniel Michael Oakes", suggesting police could be building a case against the reporter in addition to pursuing the Defence whistleblower who has already admitted to leaking the information.