Exposures Scanning - Get Rows

Xray REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Get rows (details) of a specific evidence.

Since: 3.59.4

Security: Requires a valid user with the "Read" permissions.

Usage: GET /api/v1/{category}/results/details/findings/evidences/rows?repo={repo_name}&path={path}&id={result_id}&finding_idx={finding_idx}&evidence_idx={evidence_idx}&first_row_idx={first_row_idx}&rows_count={rows_count}

Query parameters

  • repo -repository name

  • path -path to artifact

  • id- result identifier

  • finding_idx- finding identifier (0 tototal_findings-1)

  • evidence_idx- evidence identifier (0 tototal_evidences- 1)

  • first_row_idx- first row in the response (0 tototal_rows- 1)

  • rows_count- max number of rows in the response

Produces: application/json

Sample Request

GET /api/v1/secrets/results/details/findings/evidences/rows?repo=the_project&path=/backend/latest/manifest.json&id=EXP-1519-00001&finding_idx=0&evidence_idx=0&first_row_idx=0&rows_count=1

Sample Response

[
    [
        "/exposures/req.python.hardcoded-secrets.py",
        "2VTHzn1mKZ/n9apD5P6nxsajSQh8QhmyyKvUIRoZWAHCB8lSbBm3YWx5nOdZ1zPEOaA0zIZy1eFgHgfB2HkfAdVrbQj19kagXDVe",
        1
    ]
]