Skip to content

Commit

Permalink
Update query used in docs with new vuln structure. (#1385)
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Mendoza <jlm@jlm.name>
  • Loading branch information
jeffmendoza committed Oct 12, 2023
1 parent d7daa07 commit 3b4bc8e
Showing 1 changed file with 5 additions and 16 deletions.
21 changes: 5 additions & 16 deletions demo/workflow/queries.gql
Expand Up @@ -135,7 +135,7 @@ query Scorecard {

query CertifyVuln {
CertifyVuln(
certifyVulnSpec: {vulnerability: {osv: {osvId: "ghsa-cg3q-j54f-5p7p"}}}
certifyVulnSpec: {vulnerability: {type: "osv", vulnerabilityID: "ghsa-cg3q-j54f-5p7p"}}
) {
id
package {
Expand All @@ -160,22 +160,11 @@ query CertifyVuln {
}
}
vulnerability {
__typename
... on CVE {
id
year
cveId
}
... on OSV {
id
osvId
}
... on GHSA {
id
ghsaId
}
... on NoVuln {
id
type
vulnerabilityIDs {
id
vulnerabilityID
}
}
metadata {
Expand Down

0 comments on commit 3b4bc8e

Please sign in to comment.