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

Better Support for "NO_DATA_FOUND" #29

Open
poxman opened this issue Jun 19, 2024 · 0 comments
Open

Better Support for "NO_DATA_FOUND" #29

poxman opened this issue Jun 19, 2024 · 0 comments

Comments

@poxman
Copy link
Contributor

poxman commented Jun 19, 2024

openVulnQuery --asa 9.18.4.29

There are no advisories that affect 9.18.4.29, so the API returns a 404 with an error message:
{
"errorCode": "NO_DATA_FOUND",
"errorMessage": "No advisories found"
}

The client isn’t handling that.

Similarly for:
openVulnQuery --bugid CSCwe61917

That Bug ID is not in any of our external vulnerability databases. It is in BST but since we never published an advisory on this; it isn’t recorded in the OpenVuln API.

{
"errorCode": "NO_DATA_FOUND",
"errorMessage": "No data found"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant