RosvVulns | R Documentation |
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
new()
Set the core request details for subsequent use when called in run()
method.
RosvVulns$new(vuln_ids)
vuln_ids
Character vector of vulnerability IDs.
run()
Perform the request and return response for OSV API call.
RosvVulns$run()
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.