Tenable Security Center API: Agent Group

 

/agentGroup/{agentScanID}

Methods
GET

Gets the list of Agent Groups based on local agent scan.

Fields Parameter
Expand

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

    ?fields=<field>,...

Allowed Fields

*id
**name
**description
uuid

remoteID

nessusManagerID
createdTime
modifiedTime


Legend

* = always comes back

** = comes back if fields list not specified on GET all

Request Parameters

None

Expand Parameters

None

Filter Parameters

None 

Example Response
Expand
{
	"type" : "regular",
	"response" : [
		{
			"id" : "1",
			"agentScanID" : "1",
			"remoteID" : "3",
			"uuid" : "-1",
			"nessusManagerID" : "2",
			"name" : "description",
			"description" : "Agent Group #1 Description",
			"createdTime" : 1406828330,
			"modifiedTime" : 1406828330
	],
	"error_code" : 0,
	"error_msg" : "",
	"warnings" : [],
	"timestamp" : 1406828340
}

/agentGroup/{agentScannerID}/remote

Methods
GET

Gets the list of Agent Groups based on remote Agent Scanner.

Fields Parameter
Expand

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

    ?fields=<field>,...

Allowed Fields

*id
**name
**description
uuid

remoteID

nessusManagerID
createdTime
modifiedTime

Legend

* = always comes back

** = comes back if fields list not specified on GET all

Request Parameters

None

Expand Parameters

credentials

Example Response
Expand
{
	"type" : "regular",
	"response" : [
		{
			"id" : "1",
			"agentScanID" : "1",
			"remoteID" : "3",
			"uuid" : "-1",
			"nessusManagerID" : "2",
			"name" : "description",
			"description" : "Agent Group #1 Description",
			"createdTime" : 1406828330,
			"modifiedTime" : 1406828330
	],
	"error_code" : 0,
	"error_msg" : "",
	"warnings" : [],
	"timestamp" : 1406828340
}