Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Tenable Scan Tasks API

The Scan Tasks API from Tenable — 7 operation(s) for scan tasks.

Tenable Scan Tasks API is one of 107 APIs that Tenable publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Scan Tasks. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 7 operations across 7 paths, and defines 8 schemas. It is described by OpenAPI 3.0.0, at version 1.0.0.

Requests are made against a single base URL, https://www.tenable.com/downloads/api/v2.

7 operations 7 paths 8 schemas 2 GET4 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
1.0.0
Base URL
https://cloud.tenable.com
Authentication
API Key
Resource Areas
1

Authentication & Security 1

Tenable Scan Tasks API declares 1 security scheme for authenticating requests. An API key is passed in the header as Authorization (Bearer). By default, every request must be authenticated.

  • Bearer — Example: Bearer {{token}}

Paths & Operations 7

Across 7 paths, the API surfaces 7 operations — 2 GET, 4 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Scan Tasks 7
PUT
/scans/{scan_id}/schedule
Enable schedule
scans-schedule 1 param body → 200401404429500
POST
/scans/{scan_id}/copy
Copy scan
scans-copy 1 param body → 200401404429500
POST
/scans/{scan_id}/credentials/{credentials_id}/upgrade
Convert credentials
io-scans-credentials-convert 2 params body → 200400401403404409415429
POST
/scans/import
Import uploaded scan
scans-import 1 param body → 200401409429500
GET
/scans/count
Get scan count
io-scans-count 1 param → 200401403429500
GET
/scans/timezones
Get timezones
scans-timezones → 200401403429500
POST
/scans/check-auto-targets
Test scan routes
io-scans-check-auto-targets 2 params body → 200401429500

Schemas 8

The contract defines 8 schemas that model the data the API accepts and returns. The most detailed are Scan_Tasks_Response-Scan-Object (17 properties), Scan_Tasks_CredentialSettingsRequestObject (4 properties), Scan_Tasks_ManagedCredentialPermissions (4 properties), Scan_Tasks_Response-Check-Targets (4 properties). Each schema is shown below with its type and property counts.

Scan_Tasks_timezones
array
Scan_Tasks_settings-rrules
string
The interval at which the scan repeats. The interval is formatted as a string of three values delimited by semi-colons. These values are: the frequency (FREQ=O…
Scan_Tasks_ManagedCredentialPermissions
object
4 properties
Scan_Tasks_Response-Check-Targets
object
4 properties
Scan_Tasks_ErrorResponse
object
3 properties
Scan_Tasks_Response-Scan-Object
object
17 properties
Scan_Tasks_timezone
object
2 properties
Scan_Tasks_CredentialSettingsRequestObject
object
The configuration settings for the credentials. The parameters of this object vary depending on the credentials type. For more information, see [Determine Sett…
4 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

tenable-scan-tasks-api-openapi.yml Raw ↑

Other APIs Tenable publishes across the network.

Tenable About API
Tenable Access Control (API) API
Tenable Access Control (Groups) API
Tenable Access Control (Permissions) API
Tenable Access Control (Roles) API
Tenable Access Control (Users) API
Tenable Access Groups v1 API
Tenable Access Groups v2 API
Tenable Account Groups API
Tenable Accounts API
Tenable Activity Log API
Tenable AD object API