Export library details
The exported file contains the following data fields for each library:
To export library details:
Select Libraries in the header, then use the check marks in the left column of the libraries grid to select the library or libraries you want to use for the export.
In the batch action menu that appears at the bottom of the page, select the Export icon, then select the format you want to use for the export (CSV or XML).
The export will download to your desktop. Exports contain the following data fields for each library:
Library Name
Language
Version
Release Date
Latest Version
Score
SHA1
CVE Count
Application Count
Server Count
Number of Classes
Number of Used Classes
Open source License
Policy Violation
Tip
To create more complex custom software composition analysis reports about your applications, you can use the Libraries API to access Contrast library data. You might also explore additional details on your libraries by using a manual method.
For example, this curl request retrieves a list of libraries in which each library includes a list of applications that use the library. The jq tool formats the data as CSV for use in a custom report.
$ curl -H "Authorization: $(echo -n $username:$servicekey base64)" -H "API-Key: $apikey" https://app.contrastsecurity.com/Contrast/api/ng/$org_id/libraries/filter?expand=apps jq -r '.libraries[] {name: .file_name, app_name: .apps[].name} [.name, .app_name] @csv'