Defending Elections from Threats by Establishing Redlines