Many governments were already on a heightened state of alert due to vague but persistent intelligence suggesting an attack may be imminent in Europe or elsewhere.
There are now tools that collect intelligence, identify previously unknown attack attempts, and alert network operators to successful intrusions, giving them the ability to track down and eradicate them.