added
Web Application Scanning: Limit Parameter Maximum
over 3 years ago by Lance Duvall
In the Tenable.io Web Application Scanning v2 API, the limit
query parameter is used to specify the number of records to retrieve. The maximum value you can specify for the limit
parameter is now 200
. If you need to retrieve more than 200 records, use the offset
parameter to iterate through page responses.
For example, to retrieve the first 200 records from the GET /was/v2/plugins endpoint, you would specify a limit of 200 and an offset of 0 in the query parameters.
curl --request GET \
--url 'https://cloud.tenable.com/was/v2/plugins?limit=200&offset=0' \
--header 'Accept: application/json'
To retrieve the next set of records, 201 - 400, you would specify a limit of 200 and an offset of 1 in the query parameters.
curl --request GET \
--url 'https://cloud.tenable.com/was/v2/plugins?limit=200&offset=1' \
--header 'Accept: application/json'