powered by
An R6 class to provide a lower-level interface to the vulnerability endpoint of the OSV API.
An R6 object to operate with OSV vulns endpoint.
rosv::RosvQuery1 -> RosvVulns
rosv::RosvQuery1
RosvVulns
RosvVulns$new()
RosvVulns$run()
RosvVulns$print()
RosvVulns$clone()
Inherited methods rosv::RosvQuery1$parse()
rosv::RosvQuery1$parse()
new()
Set the core request details for subsequent use when called in run() method.
run()
RosvVulns$new(vuln_ids)
vuln_ids
Character vector of vulnerability IDs.
Perform the request and return response for OSV API call.
print()
Print basic details of query object to screen.
RosvVulns$print(...)
...
Reserved for possible future use.
clone()
The objects of this class are cloneable with this method.
RosvVulns$clone(deep = FALSE)
deep
Whether to make a deep clone.
https://google.github.io/osv.dev/get-v1-vulns/
vulns <- RosvVulns$new(c('RSEC-2023-6', 'GHSA-jq35-85cj-fj4p')) vulns
Run the code above in your browser using DataLab