Home Affairs officials have been grilled on how potential Coalition cuts could affect its ability to keep Australians safe.