Confidential legal advice seen by Crikey reveals the Department of Immigration and Border Protection wanted to ensure that all contractors and subcontractors would be covered by a new law targeting whistleblowers working in offshore detention centres.