From APES to Bespoke Security Automated as a Service