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::VulnerabilitiesResolver
argumentshas_solutions
, make it boolean - Add to Security::VulnerabilitiesFinder scope that filter items by this arguments.
- For
has_solutions
the query could be "if hasfindings
withfinding_remediations
"
Edited by Tetiana Chupryna