Interface AdvisoryVulnerabilityInput

Vulnerability entry for creating or updating a repository advisory.

interface AdvisoryVulnerabilityInput {
    package: { ecosystem: string; name?: string };
    patched_versions?: string;
    vulnerable_functions?: string[];
    vulnerable_version_range?: string;
}

Properties

package: { ecosystem: string; name?: string }

The affected package

patched_versions?: string

Semver range of patched versions

vulnerable_functions?: string[]

Vulnerable function names

vulnerable_version_range?: string

Semver range of vulnerable versions