Templates to derive security metric based on attack patterns | IEEE Conference Publication | IEEE Xplore