Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Vulnerability Breaking Changes in Docs #150

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions querying-via-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,13 @@ In the `guac-data-main/docs/spdx/spdx_vuln.json` SBOM example, the URI would be
This would result in the query being:

```bash
guacone query vuln "https://anchore.com/syft/image/ghcr.io/guacsec/vul-image-latest-6fd9de7b-9bec-4ae7-99d9-4b5e5ef6b869"
guacone query vuln uri "https://anchore.com/syft/image/ghcr.io/guacsec/vul-image-latest-6fd9de7b-9bec-4ae7-99d9-4b5e5ef6b869"
```

If instead the `pURL` is used, the query would be the following:

```bash
guacone query vuln "pkg:guac/spdx/ghcr.io/guacsec/vul-image-latest"
guacone query vuln purl "pkg:guac/spdx/ghcr.io/guacsec/vul-image-latest"
```

**If you get this error:**
Expand Down Expand Up @@ -193,13 +193,13 @@ number.
If using the SBOM URI:

```bash
guacone query vuln "https://anchore.com/syft/image/ghcr.io/guacsec/vul-image-latest-6fd9de7b-9bec-4ae7-99d9-4b5e5ef6b869" --vuln-id "ghsa-7rjr-3q55-vv33"
guacone query vuln uri "https://anchore.com/syft/image/ghcr.io/guacsec/vul-image-latest-6fd9de7b-9bec-4ae7-99d9-4b5e5ef6b869" --vuln-id "ghsa-7rjr-3q55-vv33"
```

If using the `pURL`:

```bash
guacone query vuln "pkg:guac/spdx/ghcr.io/guacsec/vul-image-latest" --vuln-id "ghsa-7rjr-3q55-vv33"
guacone query vuln purl "pkg:guac/spdx/ghcr.io/guacsec/vul-image-latest" --vuln-id "ghsa-7rjr-3q55-vv33"
```

**If you get this error:**
Expand Down
Loading