Skip to content

Add `default_branch_image` field to Container Scanning schema

Brian Williams requested to merge bwill/add-default-branch-image into master

What does this MR do?

gitlab-org&5577 (closed) / gitlab-org/gitlab#338875 (closed)

This MR adds a new default_branch_image field to the vulnerability location in the Container Scanning schema. This will be set by the user using the CS_DEFAULT_BRANCH_IMAGE environment variable and compared with the image field to determine whether or not a vulnerability exists on the default branch. See the epic and issue for additional details.

Availability and Testing

  • Review and add/update tests for this feature/bug

Merge request reports

Loading