<deprecated> discovery_details association

9.2.11 Available from 9.2.11. Use the discovery_details association to retrieve details of a file that caused component discovery as part of a REST API request. The details include the name and size of the file as well as the path under which it was found.

Notice: The discovery_details association is replaced with fact_evidence and signature_evidence associations.

There is a limitation about the new evidence that the file name and the file size are not displayed for facts detected based on scanner rules that have been converted from file rules (specifically, files with non-standard extensions).

Association

discovery_details

Applicable REST APIs

You can use the discovery_details association with the api/sam/v2/software_instances REST API.

Syntax

<URL>?columns[]=discovery_details.<column>&token=<token>
For example:
GET api/sam/v2/software_instances?columns[]=discovery_details.discovery_path&token=7adc3efb175e2bc0f4484bdd2efca54a8fa04623

Available columns

Table 1. Columns with information about file that caused component discovery
Property Description Type
discovery_path Path to the file that caused component discovery. String
file_name Name of the file that caused component discovery. String
file_size Size of the file that caused component discovery. String