CorfedoCorfedoDocs
ReferenceAPI referenceSecurity

List Security Findings

POST /api/v1/security/findings. Request parameters and response schemas.

POST
/api/v1/security/findings

Authorization

corfedoOAuth corfedo:repositories:security:read
headerAuthorizationBearer <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

Request Body

application/json
  1. body
repository?null|string
states?array<>
severities?array<>
classifications?array<>
ecosystem?null|
package?null|string
advisory?null|string
query?null|string
version?null|string
sort?SecurityFindingSort
Value in"severity""newest""repository"
cursor?null|string
limit?integer
Formatint32
Range-2147483648 <= value <= 2147483647

Response Body

OK

  1. response
findings*array<>
nextCursor?null|string
total*integer
Formatint32
Range-2147483648 <= value <= 2147483647
totalCapped*boolean
Example Request
curl -X POST 'https://example.com/api/v1/security/findings' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "findings": [    {      "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"    }  ],  "nextCursor": null,  "total": -2147483648,  "totalCapped": true}