CorfedoCorfedoDocs
ReferenceAPI referenceSecurity

List Package Findings

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

POST
/api/v1/security/package-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
ecosystem*DependencyEcosystem
Value in"npm""cargo""pypi""maven""nuget""go""rubygems""packagist""pub""hex""hackage""swift""vcpkg""conan""docker""gradle""terraform""githubActions""pulumi"
name*string

Response Body

OK

application/json
  1. response
versions*array<>
Example Request
curl -X POST 'https://example.com/api/v1/security/package-findings' \  -H 'Content-Type: application/json' \  -d '{  "ecosystem": "npm",  "name": "string"}'
Example Response
{  "versions": [    {      "origin": "installed",      "version": "string",      "open": -2147483648,      "uncertain": -2147483648,      "dismissed": -2147483648,      "resolved": -2147483648,      "repositories": -2147483648,      "advisories": [        {          "advisory": {            "advisoryId": "string",            "title": null,            "severity": "none",            "classification": "vulnerability"          },          "fixedVersions": [            "string"          ],          "open": -2147483648        }      ]    }  ]}