vt-cli icon indicating copy to clipboard operation
vt-cli copied to clipboard

Unable to obtain more than 100 results per lookup

Open Still34 opened this issue 1 year ago • 2 comments

Summary

With the vt domain subdomains <subdomain> -n 10000 query, it only returns more than 100 results in a single query, and the command does not return with a cursor - therefore it does not appear to be possible to query for

Expected Behavior

The command should yield either a cursor value for the user to make multiple queries, or make it automatically continue until the desired amount of results is reached.

Still34 avatar Aug 02 '22 03:08 Still34

On second look, this appears to be a API design limitation, as the REST API can only return up to the last 100 objects in my testing as well. Can someone at VT confirm this?

Still34 avatar Aug 02 '22 05:08 Still34

Hello @Still34,

The subdomains relationship only returns up to 100 elements. This is a limitation in our backend that we are currently working to improve. This should not happen with other relationships.

I'm sorry for the inconvenience.

Regards, Marta

mgmacias95 avatar Aug 02 '22 08:08 mgmacias95