Skip to main content

Export library details

The exported file contains the following data fields for each library:

To export library details:

  1. 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.

  2. 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).

  3. 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


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"$org_id/libraries/filter?expand=apps 
jq -r '.libraries[]
{name: .file_name, app_name: .apps[].name}
[.name, .app_name]