SCA

List SCA coverage warnings

List dependency-resolution coverage warnings for your repositories. A warning marks a manifest whose dependency tree could not be fully resolved, so the scan may have missed transitive (or, for some ecosystems, direct) dependencies. Types include SCA_MISSING_LOCKFILE, SCA_RESOLUTION_FAILED, SCA_TRANSITIVES_UNRESOLVED, and SCA_ZERO_RESULTS_ANOMALY. Each warning gives the manifest file, a user-facing displayMessage, and a diagnostic rawMessage containing the recorded reason. Defaults to active (unresolved) warnings; pass includeResolved for history. Use this to find where dependency coverage is incomplete and what to fix.

post/api/v2/sca/listWarnings

Request

  • Base URL
    https://zeropath.com
  • Auth
    API key in header X-ZeroPath-API-Token-Id and API key in header X-ZeroPath-API-Token-Secret

Request body

organizationIdstring required

Organization to list coverage warnings for.

repositoryIdsstring[]

Restrict results to these repositories. If omitted, returns warnings across all repositories the caller can access.

warningTypesstring[]

Filter by warning type (e.g. SCA_MISSING_LOCKFILE, SCA_RESOLUTION_FAILED, SCA_TRANSITIVES_UNRESOLVED, SCA_ZERO_RESULTS_ANOMALY). Omit to include all types.

searchstring

Free-text filter matched against the warning file path and message.

includeResolvedboolean

Include warnings that have since been resolved. Defaults to false (active warnings only).

cursorstring

Opaque pagination cursor returned as nextCursor from a previous response.

limitinteger

Maximum number of warnings to return per page. Defaults to 50.

Response

Paginated list of coverage warnings

nextCursorstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.