Fix artifact downloads on Security tab
What does this MR do and why?
Fixes #364218 (comment 969714071)
When we have DAST jobs, we were incorrectly showing the DAST artifacts for all report types.
Screenshots or screen recordings
Before | Afer |
---|---|
How to set up and validate locally
-
Import the following gitlab project 2022-06-03_05-04-949_gitlab-examples_security_secur_export.tar.gz
-
Run the pipeline on master, wait for it to complete
-
Navigate to the pipeline page
-
Click on a single pipeline
-
Then click on the Security tab
-
Verify you can download each artifact
-
Verify artifact contents correspond to the report type
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #364218 (closed)
Edited by -