Skip to content

Commit

Permalink
docs: provide jq command that does not group by ecosystem (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Feb 1, 2024
1 parent 220472e commit 4e8ec5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ You can use `jq` to generate a list of OSV ids if you want to ignore all current
known vulnerabilities found by the detector:

```shell
osv-detector --json . | jq -r '.results[].packages | map("- " + .vulnerabilities[].id) | unique | sort | .[]'
osv-detector --json . | jq -r '[.results[].packages | map("- " + .vulnerabilities[].id)] | flatten | unique | sort | .[]'
```

#### Extra Databases
Expand Down

0 comments on commit 4e8ec5a

Please sign in to comment.