Get Security Finding
POST /api/v1/security/finding. Request parameters and response schemas.
POST
corfedoOAuth corfedo:repositories:security:readheader
AuthorizationBearer <token>Corfedo-issued bearer credential for the workspace's API resource, such as https://workspace.corfedo.example/api; the workspace host is the issuer. Public clients identify themselves with a Client ID Metadata Document URL and use PKCE S256; service clients use private_key_jwt. Browser cookies and MCP-resource credentials are not accepted.
Scope: corfedo:repositories:security:read
application/json- body
repository*stringfindingId*stringOK
- response
finding*matchKind*SecurityMatchKindValue in
"listedVersion""range""declaredVersion""actionReleaseTag""actionMovingTag""declaredRange"uncertainReason?null|resolution?null|resolvedAt?|Format
date-timelastSeenAt*stringFormat
date-timeevidenceCommit?null|stringcoverageState*RepositorySecurityStateValue in
"notIndexed""disabled""pending""failed""noDependencyFiles""notChecked""actionsOnly""scanned"matches*array<>instances*array<>path?null|declarations*array<>dismissal?null|relatedFindings*array<>curl -X POST 'https://example.com/api/v1/security/finding' \ -H 'Content-Type: application/json' \ -d '{ "repository": "string", "findingId": "string"}'Example Response
{ "finding": { "findingId": "string", "repository": "string", "advisory": { "advisoryId": "string", "title": null, "severity": "none", "classification": "vulnerability" }, "ecosystem": "npm", "package": "string", "origin": "installed", "version": "string", "manifestPath": "string", "direct": null, "severity": "none", "fixedVersions": [ "string" ], "state": "open", "firstDetectedAt": "2019-08-24T14:15:22Z" }, "matchKind": "listedVersion", "uncertainReason": null, "resolution": null, "resolvedAt": null, "lastSeenAt": "2019-08-24T14:15:22Z", "evidenceCommit": null, "coverageState": "notIndexed", "matches": [ { "source": { "osvId": "string", "database": "string", "licence": "string", "recordUrl": "string" }, "matchKind": "listedVersion", "ranges": [ { "kind": "semver", "events": [ { "kind": "introduced", "value": "string" } ] } ], "fixedVersions": [ "string" ] } ], "instances": [ { "path": "string", "location": null, "direct": null, "version": "string" } ], "path": null, "declarations": [ { "path": "string", "name": "string", "constraint": "string", "introducesTransitive": true, "specification": { "strength": null, "supplied": null, "condition": null } } ], "dismissal": null, "relatedFindings": [ { "findingId": "string", "repository": "string", "advisory": { "advisoryId": "string", "title": null, "severity": "none", "classification": "vulnerability" }, "ecosystem": "npm", "package": "string", "origin": "installed", "version": "string", "manifestPath": "string", "direct": null, "severity": "none", "fixedVersions": [ "string" ], "state": "open", "firstDetectedAt": "2019-08-24T14:15:22Z" } ]}