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

Ability to limit result fields returned #141

Closed
rmspeers opened this issue Nov 8, 2018 · 2 comments
Closed

Ability to limit result fields returned #141

rmspeers opened this issue Nov 8, 2018 · 2 comments

Comments

@rmspeers
Copy link

rmspeers commented Nov 8, 2018

For some queries, there will be a large amount of data returned. For example, when doing a cvefor query, a user may not want the full CVE entry for things -- but rather may benefit from a smaller subset of fields. This is important to make the query more efficient in terms of data transfer on both sides.

For example, when GETing https://cve.circl.lu/api/cvefor/cpe:2.3:a:openssl:openssl:0.9.8a:*:*:*:*:*:*:*, there is a large amount of Nessus data coming back. In some cases (such as mine), there is no need for this data at all. Furthermore, if one runs entirely on CPE v2.3, they may not need the CPE v2.2 fields.

This would bring the API in line with common practices to make it possible request the fields desired to be returned.

@jumpalottahigh
Copy link

I'd like to second that. Would be nice if there is a way to request only the last 5 items for example, when submitting a request to /search/vendor/product. Or alternatively, if there would be a way to pass vendor and product when requesting from /last.

@github-actions
Copy link

Stale issue message

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

No branches or pull requests

2 participants