Exposures Scanning - Get Results List

Returns a paginated list of exposures scan results for a specific artifact. The category is specified in the path (e.g. secrets, applications, services, iac). Requires Read permission. Since Xray 3.59.4.

For secrets, set include_evidences to true to add line_number and snippet on each result. Other categories ignore the parameter. Both fields are omitted when the flag is false, when the evidence has no value, or when the evidence lookup fails. The list still returns 200 if the lookup fails. snippet is masked secret text, not the raw secret.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
enum
required

Exposures category: secrets, applications, services, or iac.

Allowed:
Query Params
string
required

Repository name.

string
required

Path to the artifact.

integer
Defaults to 1

Page number (starting from 1).

integer
Defaults to 10

Number of rows per page.

string
enum

Field to order results by.

string
enum

Sort direction.

Allowed:

Search string matched against result descriptions.

boolean
Defaults to false

Secrets only. When true, each result may include line_number and snippet. Other categories ignore this parameter. Defaults to false. Accepted values are true, false, 1, and 0. Any other value returns 400.

Responses

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json