OSV
osvOSV provides an open vulnerability database and API for querying vulnerabilities by package, version, commit, or vulnerability identifier.
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ónExperimentally 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.
OSV_DETERMINE_VERSIONAcciónExperimentally 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[]ObligatorioSource-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_namestringOptional package-name hint used to improve version matching.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Import FindingsOSV_GET_IMPORT_FINDINGSAcciónExperimentally list OSV records from one exact import source that failed import-time quality checks; intended for OSV source maintainers and may return no records.
OSV_GET_IMPORT_FINDINGSAcciónExperimentally 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
sourcestringObligatorioCase-sensitive source name exactly matching OSV's source.yaml configuration; this API does not provide source discovery.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get VulnerabilityOSV_GET_VULNERABILITYAcciónReturn the complete OSV record for one case-sensitive vulnerability ID, including affected versions, ranges, severity, references, and aliases.
OSV_GET_VULNERABILITYAcciónReturn the complete OSV record for one case-sensitive vulnerability ID, including affected versions, ranges, severity, references, and aliases.
Parámetros de entrada
vulnerability_idstringObligatorioCase-sensitive OSV, CVE, GHSA, or ecosystem vulnerability ID, for example OSV-2020-111 or GHSA-vp9c-fpxx-744v.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Query VulnerabilitiesOSV_QUERY_VULNERABILITIESAcciónFind full OSV vulnerability records affecting one package, package version, package URL, or commit. Use next_cursor to continue a large result set.
OSV_QUERY_VULNERABILITIESAcciónFind 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
commitstringCommit hash to check. Do not combine with version.
versionstringCase-sensitive upstream package version to check. Do not combine with commit or a versioned package_url.
ecosystemstringCase-sensitive OSV ecosystem, such as npm, PyPI, Maven, or Debian. Provide together with package_name.
next_cursorstringOpaque continuation cursor returned by a previous call. It retains the original query identifiers, so a continuation may pass this field alone.
package_urlstringPackage URL (purl) identifying the package, optionally including its version. Use instead of package_name and ecosystem.
package_namestringCase-sensitive package name. Provide together with ecosystem, or use package_url instead.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Query Vulnerabilities BatchOSV_QUERY_VULNERABILITIES_BATCHAcciónCheck 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.
OSV_QUERY_VULNERABILITIES_BATCHAcciónCheck 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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not