Skip to content

Add Scan object with scanner and type to report

Adam Cohen requested to merge add-scanner-and-report-type-to-issue into master

What does this MR do?

This MR adds a new scan object to the scanner report which was introduced by this change to the security report schema:

{
  "version": "2.5",
  "vulnerabilities": [
    {
      "id": "57c0b4740d18b3ac396a043d738175b765d5ba63c7f929ec06584b015d300066",
      "category": "container_scanning",
      "scanner": {
        "id": "klar",
        "name": "klar"
      }
    }
  ],
  "remediations": [],
  "scan": {
    "scanner": {
      "id": "klar",
      "name": "klar"
    },
    "type": "container_scanning"
  }
}

What are the relevant issue numbers?

gitlab-org/gitlab#202053 (closed)

Does this MR meet the acceptance criteria?

Edited by Adam Cohen

Merge request reports