Tenable.sc API: Director Insights

 

This API resource is only usable in Tenable.sc Director.

/mgmt/insights

Methods
GET

Gets the data required to populate the Director Insights Dashboard.

Fields Parameter
Expand

The fields parameter should be specified along the query string, and it takes the syntax

    ?fields=<field>,...

Allowed Fields

timezone

Request Parameters

None


Example Response
Expand
{
	"type":"regular",
	"response":{
		"scanResults":[],
		"scanResultsTrend":{
			"last24Hours":[
				{
					"timestamp":1615550400,
					"Completed":3,
					"Partial":2,
					"Error":1,
					"Stopped":0
				},
				{
					"timestamp":1615546800,
					"Completed":0,
					"Partial":0,
					"Error":0,
					"Stopped":1
				},
				...
				{
					"timestamp":1615467600,
					"Completed":0,
					"Partial":0,
					"Error":0,
					"Stopped":0
				}
			],
			"last30Days":[
				{
					"timestamp":1615420800,
					"Completed":8,
					"Partial":2,
					"Error":,
					"Stopped":1
				},
				{
					"timestamp":1615334400,
					"Completed":0,
					"Partial":0,
					"Error":0,
					"Stopped":0
				},
				...
				{
					"timestamp":1612915200,
					"Completed":0,
					"Partial":0,
					"Error":0,
					"Stopped":0
				}
			]
		},
		
		"scannerStatus" : {
			"count":1,
			"status" : {
				"working":1,
				"notWorking":0
			}
		},
		"scanZoneStatus" : {
			"count":1,
			"status" : {
				"working":1,
				"degraded":0,
				"notWorking":0
			}
		},
		"sciStatus":{
			"count":1,
			"status":{
				"working":1,
				"notWorking":0
			}
		},
		"pluginSetAge":{
			"last24Hours":1,
			"1-7Days":0,
			"8-14Days":0,
			"olderThan14Days":0
		}
	},
	"error_code":0,
	"error_msg":"",
	"warnings":[],
	"timestamp":1615554605
}