Skip to main content

List Scan Configurations

Returns a list of web application scan configurations. If a scan has been run using the configuration, the list also contains information about the last scan that was run.

External Documentation

To learn more, visit the Tenable documentation.

Parameters

ParameterDescription
LimitThe number of records to retrieve. If this parameter is omitted, Tenable.io uses the default value of 10. The minimum value is 0 and the maximum value is 200. If you need to retrieve more than 200 records, use the offset value to iterate through page responses.
OffsetThe starting record to retrieve. If this parameter is omitted, Tenable.io uses the default value of 0.
SortThe 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.

Example Output

{
"value": {
"items": [
{
"config_id": "b7eb721f-5768-48a4-969f-aee8bc29ac22",
"created_at": "2020-05-12T09:43:42.620Z",
"description": null,
"is_shared": false,
"last_scan": null,
"name": "3370",
"owner_id": "ef22f2bf-db1b-4471-984f-9507dcc083e1",
"schedule": {
"enabled": false,
"rrule": "FREQ=YEARLY;COUNT=1",
"starttime": "20200512T153000",
"timezone": "Asia/Calcutta"
},
"target_count": 1,
"template_id": "ea71052b-5b48-4712-8255-3711d00a6514",
"updated_at": "2020-05-12T09:43:42.620Z",
"user_permissions": "configure",
"user_template": null
},
{
"config_id": "0aa9445f-b673-4563-b7e2-612ac37e885a",
"created_at": "2020-05-12T10:06:06.919Z",
"description": "test",
"is_shared": false,
"last_scan": null,
"name": "3370_WASTest",
"owner_id": "3e0eae98-dd3b-4c88-aa12-bac0b17567c6",
"schedule": {
"enabled": false,
"rrule": "FREQ=YEARLY;COUNT=1",
"starttime": "20200512T160000",
"timezone": "Asia/Calcutta"
},
"target_count": 1,
"template_id": "ea71052b-5b48-4712-8255-3711d00a6514",
"updated_at": "2020-05-12T10:06:50.955Z",
"user_permissions": "configure",
"user_template": null
},
{
"config_id": "31b6dd5e-5edb-457d-9350-b9e31bd02bf1",
"created_at": "2020-06-11T15:08:48Z",
"description": "",
"is_shared": false,
"last_scan": null,
"name": "A1_WAS_scan",
"owner_id": "01c924ee-e6ab-4d55-b283-dffba6dcce4c",
"schedule": null,
"target_count": 1,
"template_id": "f93dfcb4-6eb2-4820-9b64-3dee8893a3f0",
"updated_at": "2020-06-11T15:08:48Z",
"user_permissions": "configure",
"user_template": {
"name": "A1_WAS_scan",
"user_template_id": "0c539366-172d-49bd-9c3d-90a9947ea48e"
}
}
],
"pagination": {
"limit": 10,
"offset": 0,
"sort": [
{
"name": "name",
"order": "asc"
},
{
"name": "created_at",
"order": "desc"
},
{
"name": "updated_at",
"order": "desc"
}
],
"total": 1690
}
}
}

Workflow Library Example

List Scan Configurations with Tenable and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop