Add Scan object with scanner and type to report
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?
-
Changelog entry added -
Documentation created/updated for GitLab EE, if necessary -
Documentation created/updated for this project, if necessary -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Job definition updated, if necessary -
Conforms to the code review guidelines -
Conforms to the Go guidelines -
Security reports checked/validated by reviewer
Edited by Adam Cohen