guac
guac copied to clipboard
[bug] `certifyVulnSpec: { vulnerability: { noVuln: true }` not functioning on ENT?
Describe the bug
# Setting noVuln to true return all packages that have no vulnerabilities
# Setting noVuln to false return all packages with vulnerabilities
query CertifyNoVuln {
CertifyVuln(certifyVulnSpec: { vulnerability: { noVuln: false } }) {
...allCertifyVulnTree
}
}
Not working via ENT on graphql playground
To Reproduce Steps to reproduce the behavior:
go run ./cmd/guacgql --gql-debug --gql-backend "ent"- ingest some data (guac-data/docs)
go run ./cmd/guacone certifier osv --poll=false- query in graphql playground the above query and see that
novulnis still returned
Expected behavior
Query should only return values that don't have type noVuln
GUAC version main