Skip to content

Add Activity Filters to vulnerabilitySeveritiesCount

What does this MR do?

This MR adds Activity Filters to vulnerabilitySeveritiesCount GraphQL query.

Screenshots (strongly suggested)

{
  project(fullPath: "root/security-reports-new") {
    vulnerabilitySeveritiesCount(hasIssues:true) {
      critical
      high
      medium
      low
      info
      unknown
    }
  }
}

{
  "data": {
    "project": {
      "vulnerabilitySeveritiesCount": {
        "critical": 1,
        "high": 0,
        "medium": 0,
        "low": 0,
        "info": 0,
        "unknown": 0
      }
    }
  }
}
{
  project(fullPath: "root/security-reports-new") {
    vulnerabilitySeveritiesCount(hasResolution:true) {
      critical
      high
      medium
      low
      info
      unknown
    }
  }
}

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

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Related to #332685 (closed)

Edited by Jonathan Schafer

Merge request reports

Loading