SCA

Org-level SCA posture (funnel + headline counts + fixable% + direct/transitive)

Return the org-level SCA posture for the caller’s viewable repos: the staged funnel (open → reachable/needs_review → likelyExploitable → kev), headline severity/KEV/exploitable counts, fixablePercent, and the direct-vs-transitive rollup. Org-scoped: findings in repos outside the caller’s access are never counted. Honest empty (zeros, null fixablePercent) when there is no access or no open findings.

post/api/v1/sca/posture

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
repositoryIdsstring[]

Optional subset of repositories to scope the posture to.

branchstring

Read each repository as of its newest finished scan on this branch. Omit for the newest scan on any branch.

includeEphemeralboolean

Include ephemeral (PR-scan) repositories. Defaults to false.

Response

Successful response

fixablePercentnumber nullable required

Percentage of open findings with a recommended fix version. Null when there are no open findings.

Changes

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