Track one static-analysis issue as an ordinary finding
POST/api/v1/assessments/:assessment_id/codeling/issues/promote
Promote one static-analysis issue to an ordinary Finding.
The promotion unit is the row the results table draws: one Finding per issue, every location one evidence entry. Idempotent: a re-promotion returns the existing row with 200.
All four producers come through here. A dependency issue is the one path
that writes finding_source="sca" and populates dependency_evidence,
both of which the exporters and the report have read since they were added
and nothing has ever written.
Not release-gated. Scope (findings:triage), manager-or-above, the org
check and verify_assessment_access are the gates, as they are for every
other finding action.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 422
- 429
- 500
- 502
- 503
Successful Response
Invalid cursor or query.
Missing, expired, or invalid credentials.
Authenticated but not authorized for this resource. Note: cross-organization reads return 404, not 403.
Snapshot unavailable.
Bounded aggregation incomplete.
Semantic validation failure — request shape was valid but contents were not.
Too many requests — rate limited. Retry after the window resets.
Internal server error — unexpected failure.
Snapshot validation failed.
Query resource limit exceeded.