You are here: Group

/group

Methods

GET

Gets the list of Groups

Fields Parameter

Note: Currently, all fields come back on GET all, but the ** indicates fields which will be listed in a future release.

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

?fields=<field>,...

Allowed Fields

*id

**name

**description

createdTime

modifiedTime

lces

repositories

definingAssets

userCount

users

assets

policies

queries

credentials

dashboardTabs

Legend

* = always comes back

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

Request Parameters

None

Example Response

{

"type" : "regular",

"response" : [

{

"id" : "0",

"name" : "Full Access",

"description" : "Full Access group",

"createdTime" : "1406321214",

"modifiedTime" : "1406321214",

"lces" : [

{

"id" : "1"

},

{

"id" : "2"

}

],

"repositories" : [

{

"id" : "11"

},

{

"id" : "12"

},

{

"id" : "14"

}

],

"definingAssets" : [],

"userCount" : 3,

"users" : [

{

"id" : "1",

"username" : "head",

"firstname" : "Security Manager",

"lastname" : ""

},

{

"id" : "2",

"username" : "testUser1",

"firstname" : "Auditor",

"lastname" : ""

},

{

"id" : "3",

"username" : "orghead",

"firstname" : "Security Manager",

"lastname" : ""

}

],

"assets" : [],

"policies" : [],

"queries" : [],

"credentials" : [],

"dashboardTabs" : []

},

{

"id" : "1",

"name" : "Group 2",

"description" : "",

"createdTime" : "1408723827",

"modifiedTime" : "1408723827",

"lces" : [

{

"id" : "1"

}

],

"repositories" : [

{

"id" : "14"

}

],

"definingAssets" : [

{

"id" : "1"

}

],

"userCount" : 0,

"users" : [],

"assets" : [],

"policies" : [],

"queries" : [],

"credentials" : [

{

"id" : "1000001",

"name" : "Test",

"description" : ""

}

],

"dashboardTabs" : []

}

],

"error_code" : 0,

"error_msg" : "",

"warnings" : [],

"timestamp" : 1408724521

}

Copyright © 2016. Tenable Network Security, Inc. All rights reserved. Tenable Network Security and Nessus are registered trademarks of Tenable Network Security, Inc. SecurityCenter Continuous View, Passive Vulnerability Scanner, and Log Correlation Engine are trademarks of Tenable Network Security, Inc. All other products or services are trademarks of their respective owners.