Fetches the full vulnerability record for this OSV ID.
GET /v1/vulns/{id}
The full OSV vulnerability object
Allows the resource to be awaited directly, resolving with the full vulnerability record. Delegates to VulnerabilityResource.get.
Optionalonfulfilled: null | (value: OsvVulnerability) => TResult1 | PromiseLike<TResult1>Optionalonrejected: null | (reason: unknown) => TResult2 | PromiseLike<TResult2>
Represents a single OSV vulnerability resource, identified by its OSV ID.
Implements
PromiseLike<OsvVulnerability>so it can be awaited directly to fetch the vulnerability, while also acting as a resource handle.Example