Protests across France over rising living costs have shaped the nation’s security strategy following the October 17 fiasco.