Skip to content

Fix artifact downloads on Security tab

- requested to merge 364218-scan-details-download into master

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
Screen_Shot_2022-06-03_at_1.47.36_AM Screen_Shot_2022-06-03_at_1.44.44_AM
Screen_Shot_2022-06-03_at_1.47.42_AM Screen_Shot_2022-06-03_at_1.44.50_AM

How to set up and validate locally

  1. Import the following gitlab project 2022-06-03_05-04-949_gitlab-examples_security_secur_export.tar.gz

  2. Run the pipeline on master, wait for it to complete

  3. Navigate to the pipeline page

  4. Click on a single pipeline

  5. Then click on the Security tab

  6. Verify you can download each artifact

  7. 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.

Related to #364218 (closed)

Edited by -

Merge request reports

Loading