Get scan notes
GET {{baseUrl}}/was/v2/scans/:scan_id/notes?limit=-54086346&offset=-54086346&sort=last_seen:desc,ipv4:asc
Returns a list of notes for the specified scan.
Requires BASIC [16] user permissions and CAN VIEW [16] scan permissions. See Permissions.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
limit | number | The number of records to retrieve. If this parameter is omitted, Tenable.io uses the default value of 10 . | |
offset | number | The starting record to retrieve. If this parameter is omitted, Tenable.io uses the default value of 0 . | |
sort | string | The field you want to use to sort the results by along with the sort order. The field is specified first, followed by a colon, and the order is specified second (asc or desc ). For example, name:desc would sort results by the name field in descending order. |
If you specify multiple fields, the fields must be separated by commas. For example, name:desc,created_at:asc
would first sort results by the name
field in descending order and then by the created_at
field in ascending order. |
RESPONSES
status: OK
{"page_number":0,"page_size":10,"order_by":"created_at","ordering":"desc","sort":[{"name":"created_at","order":"desc"}],"total_size":1,"data":[{"scan_note_id":"e0efb2df-f677-4050-8f60-f0c3cbc05428","scan_id":"33adb2df-2086-4330-96fe-d2a7c9a30b9d","created_at":"2020-04-07T00:17:37Z","severity":"high","title":"Authentication Failed","message":"The scanner was unable to authenticate to the web application using the given options."}],"pagination":{"total":1,"offset":0,"limit":10,"sort":[{"name":"created_at","order":"desc"}]},"items":[{"scan_note_id":"e0efb2df-f677-4050-8f60-f0c3cbc05428","scan_id":"33adb2df-2086-4330-96fe-d2a7c9a30b9d","created_at":"2020-04-07T00:17:37Z","severity":"high","title":"Authentication Failed","message":"The scanner was unable to authenticate to the web application using the given options."}]}