CorfedoCorfedoDocs
ReferenceAPI referenceSecurity

List Advisories

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

POST
/api/v1/security/advisories

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
query?null|string
severities?array<>
affectedOnly?boolean
ecosystem?null|
package?null|string
cursor?null|string
limit?integer
Formatint32
Range-2147483648 <= value <= 2147483647

Response Body

OK

  1. response
advisories*array<>
nextCursor?null|string
total*integer
Formatint32
Range-2147483648 <= value <= 2147483647
totalCapped*boolean
Example Request
curl -X POST 'https://example.com/api/v1/security/advisories' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "advisories": [    {      "advisory": {        "advisoryId": "string",        "title": null,        "severity": "none",        "classification": "vulnerability"      },      "aliases": [        "string"      ],      "published": null,      "modified": null,      "affectedRepositories": -2147483648,      "packages": [        {          "source": {            "osvId": "string",            "database": "string",            "licence": "string",            "recordUrl": "string"          },          "osvEcosystem": null,          "ecosystem": null,          "name": null,          "ranges": [            {              "kind": "semver",              "events": [                {                  "kind": "introduced",                  "value": "string"                }              ]            }          ],          "versions": [            "string"          ],          "fixedVersions": [            "string"          ]        }      ]    }  ],  "nextCursor": null,  "total": -2147483648,  "totalCapped": true}