A Proactive and Collaborative Approach to Security Automation