Check all pipeline jobs for security artifacts in security MR widget
requested to merge 276440-check-all-pipeline-jobs-for-security-artifacts-in-basic-security-mr-widget into master
What does this MR do?
Check all pipeline jobs for security artifacts
This corrects an oversight where the basic security MR widget was only checking for security artifacts from the first page of jobs returned by the API. This meant that, for a pipeline with a lot of jobs, the MR widget might incorrectly not be shown.
This change makes sure that additional pages are requested until either the last page has been reached, or one or more security artifacts have been found.
Addresses #276440 (closed).
Screenshots (strongly suggested)
No visual changes.
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry - [-] Documentation (if required)
-
Code review guidelines - [-] Merge request performance guidelines
-
Style guides - [-] Database guides
-
Separation of EE specific content
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. - [-] Tested in all supported browsers
- [-] Informed Infrastructure department of a default or new setting change, if applicable per definition of done
Related to #276440 (closed)
Edited by Ragnar Hardarson