All the Israel markets have clearly established this interpretation. Israel has done many raids intended to influence foreign governments, but not to control territory, and those markets didn't count as invasion.
There are other markets if you wanted to speculate on regime change or any kind of military action, but "invade" has a specific meaning.
This happens every single market and it's free money for people that understand the rules.