How automation can help defend against mounting cyberthreats