Skip to content

Add Scanner ID filter to vulnerabilitySeveritiesCount

What does this MR do?

This MR adds Scanner ID filter to vulnerabilitySeveritiesCount GraphQL query.

Screenshots (strongly suggested)

{
  project(fullPath: "root/security-reports-new") {
    vulnerabilitySeveritiesCount(scannerId: "gid://gitlab/Vulnerabilities::Scanner/187") {
      critical
      high
      medium
      low
      info
      unknown
    }
  }
}

{
  "data": {
    "project": {
      "vulnerabilitySeveritiesCount": {
        "critical": 2,
        "high": 8,
        "medium": 0,
        "low": 0,
        "info": 0,
        "unknown": 0
      }
    }
  }
}

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Related to #332139 (closed)

Edited by Jonathan Schafer

Merge request reports

Loading