extend the allow list feature to support CVE's scoped to images
Follow-up from: !3 (merged)
What this MR does
- Remove some unused variables from the specs
- Extend the logic for allow listing to include images with or without SHA256
- Add specs for those cases
Related issue: gitlab-org/gitlab#321609 (closed)
Edited by Zamir Martins