As of December 31st, 2023 ThreadFix 2.X has reached End of Life and is no longer supported. For any further information please contact the Success and Implementation team.

Export Users Audit CSV Report - API

/rest/{version}/users/export/csv


Descriptor

Value

HTTP Method

GET

Description

Returns a CSV report of all users, which includes groups and roles. 

Required Permission

Manage Users

Version Introduced2.7.6


Request Header Parameters

Parameter

Value

Required

Description

Accept

String

Yes

A value of ‘application/json’ and 'text/csv' or 'application/octet-stream' must be provided.


Sample Call:

curl -H 'Accept: application/json, application/octet-stream' -H "Authorization: APIKEY {apiKey}" https://localhost:8443/threadfix/rest/latest/users/export/csv

Sample Output:

NameUsernameLast LoginTypeDomainGroupsRoles
John Doe jdoe6/10/2019 4:18:01 PMLDAPLDAP USAManagement Team (LDAP - LDAP USA),
Project Managers (LDAP - LDAP USA)
-Global Roles: 
Administrators

-Team Roles: --
-App Roles: --

www.threadfix.it | www.coalfire.com
Copyright © 2024 Coalfire. All rights reserved.

This Information Security Policy is CoalFire - Public: Distribution of this material is not limited.