Exposures Scanning - Get Findings

Xray REST APIs

ft:sourceType
Paligo

Description:Returns the findings of a single result.

Since: 3.59.4

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

Usage: GET /api/v1/{category}/results/details/findings?repo={repo_name}&path={path}&id={result_id}&first_finding_idx={finding_idx}

Query parameters

  • repo -repository name

  • path -path to artifact

  • id- result identifier

  • first_finding_idx - first finding identifier (0 tototal_findings-1)

Produces: application/json

Sample Request

GET /api/v1/secrets/results/details/findings?repo=the_project&path=/backend/latest/manifest.json&id=EXP-1519-00001&first_finding_idx=0

Sample Response

[
    {
        "finding_idx": 0,
        "finding_text": "Hardcoded secrets was found in Python files",
        "finding_meaning": "to_fix",
        "total_evidences": 1
    }
]