Tenable Security Center API: Custom Plugins

/customPlugins

GET

Gets the status of custom Plugin uploads.

Fields Parameter
Expand

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

    ?fields=<field>,...

Allowed Fields

**custom
**customPassive

Legend

* = always comes back

** = comes back if fields list not specified
redFont =  field is a JSON object e.g. "repository" :{ "id" : <id>, "name" : <name> } )
Request Parameters

None

Example Response
Expand
{
	"type" : "regular",
	"response" : {
		"custom" : {
			"processing" : "false",
			"lastProcessed" : "1419284733"		},
		"customPassive" : {
			"processing" : "false",
			"lastProcessed" : -1
		}
	},
	"error_code" : 0,
	"error_msg" : "",
	"warnings" : [],
	"timestamp" : 1419285119
}

/customPlugins/{type}/process

Methods
POST

Processes an uploaded Custom Plugin update file and sends a job to update the Custom Plugin type associated with <type>

NOTE: {type} can be one of "active" or "passive"

Request Parameters
Expand
{
	"filename" : <string>}
Example Response
Expand
{
	"type" : "regular",
	"response" : "",
	"error_code" : 0,
	"error_msg" : "",
	"warnings" : [],
	"timestamp" : 1419269719
}