osv_count_vulns: Count the number of reported vulnerabilities

View source: R/query.R

osv_count_vulnsR Documentation

Count the number of reported vulnerabilities

Description

Search the OSV database, by package name and its respective ecosystem, and count the number of discovered vulnerabilities listed.

Usage

osv_count_vulns(name, ecosystem, ...)

Arguments

name

Character vector of package names.

ecosystem

Character vector of ecosystem(s) within which the package(s) exist.

...

Any other parameters to pass to nested functions.

Value

A named vector of numeric values indicating vulnerabilities.

Examples


osv_count_vulns(c('dask', 'dplyr'), c('PyPI', 'CRAN'))


rosv documentation built on May 29, 2024, 2:58 a.m.