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)
- Add to
Resolvers::VulnerabilitiesResolverargumentshas_solutions, make it boolean - Add to Security::VulnerabilitiesFinder scope that filter items by this arguments.
- For
has_solutionsthe query could be "if hasfindingswithfinding_remediations"
Edited by Tetiana Chupryna