New Zealanders have been put on notice that defence and security are among the bigger challenges the country faces this century.