/group
/tes/group
/tes/group endpoint is only supported in Tenable Enclave Security
Methods
Gets the list of Groups
NOTE: Only viewable shared objects will be returned. If a group retrieved contains to object shares the session user does not have permissions to view, the shares will not be returned.
Fields Parameter
Request Parameters
None
Example Response
Adds a Group
Note: Cannot add definingAssets of type "watchlist" | "combination" in group definitions
Request Parameters
Example Response
/group/{id}
/tes/group/{id}
/tes/group/{id} endpoint is only supported in Tenable Enclave Security
Methods
Gets the Group associated with {id}.
NOTE: Only viewable shared objects will be returned. If the group retrieved contains to object shares the session user does not have permissions to view, the shares will not be returned.
Fields Parameter
The endpoint returns minimal [ which includes * and ** ] fields only, if all of the conditions are met:
- user has no permission to 'Manage Group'
- user has no permission to 'Share Object'
- user is not viewing self group
- the group to view is not in the list of user's 'Managable Groups'
The contents of the sharableObjects fields [as mentioned in NOTE above] shows only those objects that are shared with the Groups that is enabled using ManageObjectsOfGroup/s in user Settings.
Irrespective of the permManageGroup, permShareObject a user can always view minimal + additional fields of their own group. The sharable fields however are displayed based on the ManageObjectsOfGroup/s permissions as mentioned above.
The return fields are summarized below:
permManageGroup | permShareObject | ManageObjects Of Group/s | fields |
---|---|---|---|
Yes | Yes | Yes/No | minimal + additional fields + sharableObjects fields |
Yes | No | Yes/No | minimal + additional fields |
No | Yes | No | minimal + additional fields + sharableObjects fields |
No | No | Yes | minimal + additional fields for manageObjects enabled groups |
No | No | No [ for all groups ] | minimal fields for all groups |
Request Parameters
None
Example Response
Edits the Group associated with {id}, changing only the passed in fields.
Request Parameters
(All fields are optional)
See /group::POST for parameters.
Example Response
See /group/{id}::GETDeletes the Group associated with {id}, depending on access and permissions.
Request Parameters
None