Tenable Security Center API: TES User Permissions

/tes/userPermissions

Methods
GET

Get information about the current user including, user details, role, group, and org.

Fields Parameter
Expand

No Allowed Fields

Example Response (Admin role)
Expand

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
    "type": "regular",
    "response": {
        "user": {
            "id": "1",
            "status": "0",
            "username": "admin",
            "firstname": "admin",
            "lastname": "admin",
            "title": "Application Administrator",
            "email": "",
            "address": "",
            "city": "",
            "state": "",
            "country": "",
            "phone": "",
            "fax": "",
            "createdTime": "1721707018",
            "modifiedTime": "1721827979",
            "lastLogin": "1721919082",
            "lastLoginIP": "10.253.129.137",
            "mustChangePassword": "false",
            "passwordExpires": "false",
            "passwordExpiration": null,
            "passwordExpirationOverride": "false",
            "passwordSetDate": "1721713971",
            "locked": "false",
            "failedLogins": "0",
            "authType": "tns",
            "fingerprint": null,
            "password": "SET",
            "ldapUsername": "",
            "managedUsersGroups": [],
            "managedObjectsGroups": [],
            "preferences": [
                {
                    "name": "edg.admin_users.admin1",
                    "value": "{\"activeColumns\":[{\"field\":\"username\",\"visible\":true,\"width\":259,\"sortDir\":\"none\"},{\"field\":\"name\",\"visible\":true,\"width\":259,\"sortDir\":\"none\"},{\"field\":\"authType\",\"visible\":true,\"width\":259,\"sortDir\":\"none\"},{\"field\":\"role\",\"visible\":true,\"width\":259,\"sortDir\":\"none\"},{\"field\":\"title\",\"visible\":true,\"width\":259,\"sortDir\":\"none\"},{\"field\":\"lastLogin\",\"visible\":true,\"width\":264,\"sortDir\":\"none\"}]}",
                    "tag": "application"
                },
                {
                    "name": "timezone",
                    "value": "America/New_York",
                    "tag": "system"
                }
            ],
            "linkedUsers": [],
            "apiKeys": [],
            "canUse": true,
            "canManage": true,
            "uuid": "480087C9-678B-46DC-A401-3C714506AACA",
            "role": {
                "id": "1",
                "name": "Administrator",
                "description": "Role defining an administrator of the application"
            },
            "ldap": {
                "id": -1,
                "name": "",
                "description": ""
            },
            "group": {
                "id": -1,
                "name": "",
                "description": ""
            }
        },
        "role": {
            "id": "1",
            "name": "Administrator",
            "description": "Role defining an administrator of the application",
            "createdTime": "0",
            "modifiedTime": "0",
            "permManageApp": "true",
            "permManageGroups": "false",
            "permManageRoles": "false",
            "permManageImages": "false",
            "permManageGroupRelationships": "false",
            "permManageBlackoutWindows": "true",
            "permManageAttributeSets": "false",
            "permCreateTickets": "false",
            "permCreateAlerts": "false",
            "permCreateAuditFiles": "false",
            "permCreateLDAPAssets": "false",
            "permCreatePolicies": "false",
            "permPurgeTickets": "false",
            "permPurgeScanResults": "false",
            "permPurgeReportResults": "false",
            "permScan": "none",
            "permAgentsScan": "false",
            "permAgentsSync": "false",
            "permShareObjects": "false",
            "permUpdateFeeds": "true",
            "permUploadNessusResults": "false",
            "permViewOrgLogs": "true",
            "permManageAcceptRiskRules": "true",
            "permManageRecastRiskRules": "true",
            "permManageACR": "true",
            "permViewDomainInventoryAssets": "false",
            "permManageAttackSurfaceDomains": "false",
            "permManageVulnRoutingRules": "false",
            "permViewHostAssets": "true",
            "permManageRiskRules": "true",
            "permTPCAdmin": "true",
            "permConSecUserManagement": "true",
            "permConSecManageScanners": "false",
            "permConSecScheduleScan": "false",
            "permConSecExportData": "false",
            "permConSecRunReport": "false",
            "permConSecViewApp": "false",
            "permConSecManagePolicy": "false",
            "permConSecViewLogs": "true",
            "permSCViewApp": "true",
            "organizationCounts": [
                {
                    "id": 0,
                    "userCount": "2"
                },
                {
                    "id": "1",
                    "userCount": "0"
                }
            ],
            "creator": {
                "id": "1",
                "username": "admin",
                "firstname": "admin",
                "lastname": "admin",
                "uuid": "480087C9-678B-46DC-A401-3C714506AACA"
            }
        }
    },
    "error_code": 0,
    "error_msg": "",
    "warnings": [],
    "timestamp": 1721919231
}

Example Response (Org user)

Expand

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
{
    "type": "regular",
    "response": {
        "user": {
            "id": "1",
            "status": "0",
            "username": "qa",
            "firstname": "",
            "lastname": "",
            "title": "",
            "email": "",
            "address": "",
            "city": "",
            "state": "",
            "country": "",
            "phone": "",
            "fax": "",
            "createdTime": "1721713973",
            "modifiedTime": "1721775662",
            "lastLogin": "1722022750",
            "lastLoginIP": "10.253.129.137",
            "mustChangePassword": "false",
            "passwordExpires": "false",
            "passwordExpiration": null,
            "passwordExpirationOverride": "false",
            "passwordSetDate": "1721713973",
            "locked": "false",
            "failedLogins": "0",
            "authType": "tns",
            "fingerprint": null,
            "password": "SET",
            "ldapUsername": "",
            "managedUsersGroups": [
                {
                    "id": "-1",
                    "name": "All Groups",
                    "description": "All Groups"
                }
            ],
            "managedObjectsGroups": [
                {
                    "id": "-1",
                    "name": "All Groups",
                    "description": "All Groups"
                }
            ],
            "preferences": [
                {
                    "name": "edg.groupPermission.orgundefined.userundefined",
                    "value": "{\"activeColumns\":[{\"field\":\"groupName\",\"visible\":true,\"width\":320,\"sortDir\":\"asc\"},{\"field\":\"userPermission\",\"visible\":true,\"width\":320,\"sortDir\":\"none\"},{\"field\":\"objectPermission\",\"visible\":true,\"width\":320,\"sortDir\":\"none\"}]}",
                    "tag": "application"
                },
                {
                    "name": "edg.policies.user1.org1",
                    "value": "{\"activeColumns\":[{\"field\":\"name\",\"visible\":true,\"width\":261,\"sortDir\":\"asc\"},{\"field\":\"tag\",\"visible\":true,\"width\":261,\"sortDir\":\"none\"},{\"field\":\"policyTemplate\",\"visible\":true,\"width\":261,\"sortDir\":\"none\"},{\"field\":\"ownerGroup\",\"visible\":true,\"width\":261,\"sortDir\":\"none\"},{\"field\":\"owner\",\"visible\":true,\"width\":261,\"sortDir\":\"none\"},{\"field\":\"modifiedTime\",\"visible\":true,\"width\":265,\"sortDir\":\"none\"}]}",
                    "tag": "application"
                },
                {
                    "name": "edg.users.user1.org1",
                    "value": "{\"activeColumns\":[{\"field\":\"username\",\"visible\":true,\"width\":222,\"sortDir\":\"none\"},{\"field\":\"name\",\"visible\":true,\"width\":222,\"sortDir\":\"none\"},{\"field\":\"group\",\"visible\":true,\"width\":222,\"sortDir\":\"none\"},{\"field\":\"authType\",\"visible\":true,\"width\":222,\"sortDir\":\"none\"},{\"field\":\"role\",\"visible\":true,\"width\":222,\"sortDir\":\"none\"},{\"field\":\"title\",\"visible\":true,\"width\":222,\"sortDir\":\"none\"},{\"field\":\"lastLogin\",\"visible\":true,\"width\":227,\"sortDir\":\"none\"}]}",
                    "tag": "application"
                },
                {
                    "name": "darkMode",
                    "value": "false",
                    "tag": "system"
                },
                {
                    "name": "timezone",
                    "value": "America/New_York",
                    "tag": "system"
                }
            ],
            "apiKeys": [],
            "canUse": true,
            "canManage": true,
            "uuid": "4F70F71A-B892-419B-B8D0-51803AAF76C9",
            "role": {
                "id": "2",
                "name": "Security Manager",
                "description": "The Security Manager role has full access to all actions at the organization level. A Security Manager has the ability to create new groups and manage existing ones. A Security Manager can also define how users interact with other groups.\n\nThe ability to manage other users and their objects can be configured using group permissions on the Access tab of User add/edit. This includes viewing and stopping running scans and reports."
            },
            "responsibleAsset": {
                "id": -1,
                "name": "",
                "description": ""
            },
            "group": {
                "id": "0",
                "name": "Full Access",
                "description": "Full Access group"
            },
            "ldap": {
                "id": -1,
                "name": "",
                "description": ""
            }
        },
        "role": {
            "id": "2",
            "name": "Security Manager",
            "description": "The Security Manager role has full access to all actions at the organization level. A Security Manager has the ability to create new groups and manage existing ones. A Security Manager can also define how users interact with other groups.\n\nThe ability to manage other users and their objects can be configured using group permissions on the Access tab of User add/edit. This includes viewing and stopping running scans and reports.",
            "createdTime": "0",
            "modifiedTime": "0",
            "permManageApp": "false",
            "permManageGroups": "true",
            "permManageRoles": "true",
            "permManageImages": "true",
            "permManageGroupRelationships": "true",
            "permManageBlackoutWindows": "true",
            "permManageAttributeSets": "true",
            "permCreateTickets": "true",
            "permCreateAlerts": "true",
            "permCreateAuditFiles": "true",
            "permCreateLDAPAssets": "true",
            "permCreatePolicies": "true",
            "permPurgeTickets": "false",
            "permPurgeScanResults": "false",
            "permPurgeReportResults": "false",
            "permScan": "full",
            "permAgentsScan": "true",
            "permAgentsSync": "true",
            "permShareObjects": "true",
            "permUpdateFeeds": "true",
            "permUploadNessusResults": "true",
            "permViewOrgLogs": "true",
            "permManageAcceptRiskRules": "true",
            "permManageRecastRiskRules": "true",
            "permManageACR": "true",
            "permViewDomainInventoryAssets": "true",
            "permManageAttackSurfaceDomains": "true",
            "permManageVulnRoutingRules": "true",
            "permViewHostAssets": "true",
            "permManageRiskRules": "true",
            "permTPCAdmin": "false",
            "permConSecUserManagement": "true",
            "permConSecManageScanners": "true",
            "permConSecScheduleScan": "true",
            "permConSecExportData": "true",
            "permConSecRunReport": "true",
            "permConSecViewApp": "true",
            "permConSecManagePolicy": "true",
            "permConSecViewLogs": "true",
            "permSCViewApp": "true",
            "organizationCounts": [
                {
                    "id": 1,
                    "userCount": "1"
                }
            ],
            "creator": {
                "id": "1",
                "username": "qa",
                "firstname": "",
                "lastname": "",
                "uuid": "4F70F71A-B892-419B-B8D0-51803AAF76C9"
            }
        },
        "group": {
            "id": "0",
            "name": "Full Access",
            "description": "Full Access group",
            "createdTime": "1721713971",
            "modifiedTime": "1721713971",
            "createDefaultObjects": "true",
            "lces": [],
            "repositories": [
                {
                    "id": "1",
                    "name": "universal",
                    "description": "",
                    "sciID": "1",
                    "lastVulnUpdate": "0",
                    "type": "Local",
                    "dataFormat": "universal",
                    "uuid": "361FEC46-5532-4F14-8EA2-D7D22F3AD338"
                }
            ],
            "definingAssets": [
                {
                    "id": "0",
                    "name": "All Defined Ranges",
                    "description": "",
                    "uuid": null
                },
                {
                    "id": "0",
                    "name": "All Defined Ranges",
                    "description": "All defining ranges of the Group in whose context this Asset is being evaluated.",
                    "uuid": null
                }
            ],
            "userCount": 4,
            "users": [
                {
                    "id": "1",
                    "username": "qa",
                    "firstname": "",
                    "lastname": "",
                    "uuid": "4F70F71A-B892-419B-B8D0-51803AAF76C9"
                },
                {
                    "id": "2",
                    "username": "consecadmin",
                    "firstname": "",
                    "lastname": "",
                    "uuid": "20EBC47C-AE83-4B59-814A-6CE2F425C57C"
                }
            ],
            "consecRBACResources": [],
            "assets": [],
            "policies": [],
            "queries": [],
            "credentials": [],
            "dashboardTabs": [],
            "auditFiles": [],
            "arcs": []
        },
        "organization": {
            "id": "1",
            "name": "TES",
            "description": "",
            "email": "",
            "address": "",
            "city": "",
            "state": "",
            "country": "",
            "phone": "",
            "fax": "",
            "ipInfoLinks": [
                {
                    "name": "SANS",
                    "link": "https://isc.sans.edu/ipinfo.html?ip=%IP%"
                },
                {
                    "name": "ARIN",
                    "link": "https://whois.arin.net/rest/ip/%IP%"
                }
            ],
            "zoneSelection": "selectable+auto",
            "restrictedIPs": "",
            "vulnScoreLow": "1",
            "vulnScoreMedium": "3",
            "vulnScoreHigh": "10",
            "vulnScoreCritical": "40",
            "vulnScoringSystem": "CVSSv3",
            "createdTime": "1721713971",
            "modifiedTime": "1721715001",
            "passwordExpires": "false",
            "passwordExpiration": null,
            "userCount": "4",
            "lces": [],
            "repositories": [
                {
                    "id": "1",
                    "name": "universal",
                    "description": "",
                    "type": "Local",
                    "dataFormat": "universal",
                    "groupAssign": "all",
                    "uuid": "361FEC46-5532-4F14-8EA2-D7D22F3AD338"
                }
            ],
            "zones": [
                {
                    "id": "1",
                    "name": "Default Scan Zone",
                    "description": "",
                    "uuid": "0B4C4207-F981-409C-8BC3-4B4E379455F4"
                }
            ],
            "nessusManagers": [],
            "pubSites": [],
            "ldaps": [],
            "scannerKeyExpiration": "90",
            "consecRBACResources": [],
            "uuid": "85E04564-EAA9-4E8E-A645-0AD45931609C"
        }
    },
    "error_code": 0,
    "error_msg": "",
    "warnings": [],
    "timestamp": 1722022770
}