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.

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>
For example:
GET https://hostname:port/api/sam/v2/software_instances?columns[]=discovery_details.file_path

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