Since 2014, when Russia annexed the Crimean peninsula and invaded eastern Ukraine, the government in Kyiv has transformed its approach to national security.