Add new columns into vulnerability export
What does this MR do and why?
Add new columns into vulnerability export. Those are: Detected At
, Location
and Activity
.
Related issue: #272486 (closed)
Example of csv file: with_new_columns.csv
How to set up and validate locally
- Create a project with the following gitlab-ci.yml
include:
- template: Security/Container-Scanning.gitlab-ci.yml
variables:
DOCKER_IMAGE: python:3.4-alpine
- Make sure the pipeline has been run for the default branch
- Go to Security & Compliance -> Vulnerability Report
- Change the status or add a note to one of the existing vulnerabilities
- Click on
Export
button in order to generate a csv formatted list of vulnerabilities - Compare the new columns:
Detected At
,Location
andActivity
from the csv file against the notes from the vulnerability details
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.