Skip to content

Add new columns into vulnerability export

Zamir Martins requested to merge add_columns_into_vulnerability_export into master

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

  1. Create a project with the following gitlab-ci.yml
include:
  - template: Security/Container-Scanning.gitlab-ci.yml
variables:
  DOCKER_IMAGE: python:3.4-alpine
  1. Make sure the pipeline has been run for the default branch
  2. Go to Security & Compliance -> Vulnerability Report
  3. Change the status or add a note to one of the existing vulnerabilities
  4. Click on Export button in order to generate a csv formatted list of vulnerabilities
  5. Compare the new columns: Detected At, Location and Activity 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.

Merge request reports