Josh Moses, the former Office of Management and Budget’s chief of the cyber and national security branch in the office of Federal CIO, said agencies are in better shape to defend against cyber attacks because of a combination of policy, people and programs.