Volver al catálogo

OSV

osv

OSV provides an open vulnerability database and API for querying vulnerabilities by package, version, commit, or vulnerability identifier.

Acciones
5
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (5)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Determine VersionOSV_DETERMINE_VERSIONAcción

Experimentally rank probable versions of an OSS-Fuzz C/C++ library from relative source-file paths and base64-encoded MD5 hashes. Results may be empty or change because the API is experimental.

Parámetros de entrada

  • file_hashesobject[]Obligatorio

    Source-file fingerprints from the library tree; provide at least one useful C/C++ file hash for matching. Empty requests are intentionally rejected because they cannot produce a match.

  • package_namestring

    Optional package-name hint used to improve version matching.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Import FindingsOSV_GET_IMPORT_FINDINGSAcción

Experimentally list OSV records from one exact import source that failed import-time quality checks; intended for OSV source maintainers and may return no records.

Parámetros de entrada

  • sourcestringObligatorio

    Case-sensitive source name exactly matching OSV's source.yaml configuration; this API does not provide source discovery.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get VulnerabilityOSV_GET_VULNERABILITYAcción

Return the complete OSV record for one case-sensitive vulnerability ID, including affected versions, ranges, severity, references, and aliases.

Parámetros de entrada

  • vulnerability_idstringObligatorio

    Case-sensitive OSV, CVE, GHSA, or ecosystem vulnerability ID, for example OSV-2020-111 or GHSA-vp9c-fpxx-744v.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Query VulnerabilitiesOSV_QUERY_VULNERABILITIESAcción

Find full OSV vulnerability records affecting one package, package version, package URL, or commit. Use next_cursor to continue a large result set.

Parámetros de entrada

  • commitstring

    Commit hash to check. Do not combine with version.

  • versionstring

    Case-sensitive upstream package version to check. Do not combine with commit or a versioned package_url.

  • ecosystemstring

    Case-sensitive OSV ecosystem, such as npm, PyPI, Maven, or Debian. Provide together with package_name.

  • next_cursorstring

    Opaque continuation cursor returned by a previous call. It retains the original query identifiers, so a continuation may pass this field alone.

  • package_urlstring

    Package URL (purl) identifying the package, optionally including its version. Use instead of package_name and ecosystem.

  • package_namestring

    Case-sensitive package name. Provide together with ecosystem, or use package_url instead.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Query Vulnerabilities BatchOSV_QUERY_VULNERABILITIES_BATCHAcción

Check up to 1,000 packages, package versions, package URLs, or commits in one request and return position-matched compact vulnerability IDs. Continue unfinished items with their individual page tokens.

Parámetros de entrada

  • queriesobject[]

    Zero to 1,000 vulnerability queries. Results preserve this array's order; an empty list returns no results.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not