Auto-Remediation - Show available solutions in Vulnerability Report - Add filtering by auto-fix solutions [backend]

Parent issue #258814 (closed)

We need to add filtering capabilities to our GraphQL API to filter vulnerabilities by auto-fix solutions available.

We need to support next query:

{
  project(fullPath: "some_project") {
    vulnerabilities(hasSolutions: true) {
       ...  
    }
  }
}

Implementation plan (not finished)

  1. Add to Resolvers::VulnerabilitiesResolver arguments has_solutions, make it boolean
  2. Add to Security::VulnerabilitiesFinder scope that filter items by this arguments.
  3. For has_solutions the query could be "if has findings with finding_remediations"
Edited by Tetiana Chupryna