Automation of security testing and vulnerability assessments