When to Use This Endpoint
Use this endpoint when you need to:- Compare Images: Identify regressions between two binary file versions.
- Advanced Filtering: Filter findings by complex criteria not available in the simple list.
- Export: Retrieve large datasets of findings.
Request
Endpoint| Header | Value |
|---|---|
Authorization | Bearer <access_token> |
Content-Type | application/json |
| Field | Required | Description |
|---|---|---|
filters | ✅ | Array of filter objects (see example) |
Filter Reference
[!IMPORTANT] The grid API requires at least one scope filter (Supported filter fields:productIdorimageId) to return results. Requests without a scope filter may return 400 Bad Request.
| Field | Values | Description |
|---|---|---|
productId | <product_id> | Required scope filter - Product ID to query |
imageId | <image_id> | Alternative scope filter - Specific image ID |
issueStatus | new, inProgress, remediated, rejected | Workflow status of the finding |
severity | critical, high, medium, low, informational | Finding severity level |
findingType | knownVulnerability, maliciousCode, dependencyVulnerability | Type of finding |
compareLeftImageId | <image_id> | Baseline image ID for comparison |
compareRightImageId | <image_id> | Target image ID for comparison |
Example Request - Compare Images
To identify what changed between a baseline and a target image:[!TIP] TheissueStatusfilter requires theincomparator with an array of status values, notequalswith a single string.
Response
Returns a paginated list of findings with comparison status.| Field | Description |
|---|---|
total | Total count of findings matching criteria |
rows | Array of finding objects |