The Evolution of Cybersecurity Automation: Enhancing Resilience in the Digital Age