Security Pattern Detection in Software Architectures