Check all pipeline jobs for security artifacts in basic security MR widget
The basic security MR widget currently makes a request to the pipeline jobs API, but only fetches the first page. For projects with a lot of jobs, it could be that the jobs with security artifacts only appear on later pages, meaning that the widget will incorrectly not be shown, since it's found no security artifacts.
Implementation plan
-
Update the Api.pipelineJobs
method to receive aparams
object -
Update the security MR widget to fetch all pages of pipeline jobs, and increase per_page
param to 100
Edited by Mark Florian