Skip to content

Vulnerability Report page top counts table are not filtering by owasp top 10

Vulnerability report page top counts table is not filtering using owasp top ten when group by is chosen as Owasp top 10 2017.

Looks like UI is not making use of the available GraphQL owasp filter on vulnerabilitySeveritiesCount:

query {
  project(fullPath: "<path_here>") {
    vulnerabilitySeveritiesCount(owaspTopTen: [A1_2017, A2_2017, A3_2017, A4_2017, A5_2017, A6_2017, A7_2017, A8_2017, A9_2017, A10_2017]) {
      critical
      high
      info
      low
      medium
      unknown
    }
  }
}

Screenshot_2024-02-19_at_6.19.37_PM

Example project: https://gitlab.com/bala.kumar/verify-owasp-top-10-grouping/-/security/vulnerability_report/?state=ALL&activity=ALL&groupBy=owasp_2017

Edited by Bala Kumar