They were well aware of the suspicious subject and had plenty of time to take protective actions. They didn’t even warn the Trump team of the impending danger. Simply inexcusable.
Exactly so whether they were understaffed or not is not relevant. They had staff on scene who had eyes on a guy with a rifle on a roof with line of sight on an Ex President for almost half an hour minimum and did nothing until he got 6 shots off.