Extend reports to support security features
What does this MR do?
Extend the recent reports feature to support Security Products.
Now sast
, dependency_scanning
, container_scanning
and dast
are allowed keys to put in the reports:
section of your gitlab-ci.yml
. CAUTION: This doesn't mean we support these reports right now. Follow up MRs are coming to implement other parts and have a user ready feature.
This MR suggests some refactoring of existing code written for Junit
test reports to DRY some common logic. Though after some failed tries it has been decided to go with the boring solution of duplicating some methods for security reports as they behave slightly differently than these for test reports.
Please note that Security Reports are EE only feature so this MR as a counterpart on EE: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/7417
What are the relevant issue numbers?
https://gitlab.com/gitlab-org/gitlab-ee/issues/6717
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Documentation created/updated -
Tests added for this feature/bug -
Conforms to the code review guidelines -
Conforms to the merge request performance guidelines -
Conforms to the style guides -
Conforms to the database guides