added

Tenable.io: Scans Count

A new endpoint has been added to the Tenable.io API to allow customers to retrieve a count of the total number of active and inactive scans in their container. The endpoint accepts a boolean query parameter called active to return only the number of active scans.

The new endpoint is described in the following table:

EndpointNameDescription
GET /scans/countGet scan countReturns the total number of scans in your container. You can use the active query parameter to return only the number of active scans.

Example

For example, to return the total number of active scans in your container, you could use the following cURL request:

curl --request GET \
     --url 'https://cloud.tenable.com/scans/count?active=true' \
     --header 'X-ApiKeys: accessKey=<YOURKEY>;secretKey=<YOURKEY>' \
     --header 'accept: application/json'