mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-14 08:36:26 +00:00
00c56d8bde
* chore: fix types * fix more types * chore: mote fixes * fix frmat * chore: fix tests * chore: fix type * chore: cleanup * chore: cleanup Co-authored-by: Rhys Arkins <rhys@arkins.net>
23 lines
740 B
TypeScript
23 lines
740 B
TypeScript
export interface VulnerabilityPackage {
|
|
ecosystem: 'MAVEN' | 'NPM' | 'NUGET' | 'PIP' | 'RUBYGEMS' | string;
|
|
name: string;
|
|
}
|
|
export interface SecurityVulnerability {
|
|
firstPatchedVersion?: { identifier: string };
|
|
package: VulnerabilityPackage;
|
|
vulnerableVersionRange: string;
|
|
}
|
|
export interface SecurityAdvisory {
|
|
description?: string;
|
|
identifiers?: { type: string; value: string }[];
|
|
references: { url: string }[];
|
|
severity: 'HIGH' | 'MODERATE' | string;
|
|
}
|
|
export interface VulnerabilityAlert {
|
|
dismissReason?: string | null;
|
|
securityAdvisory: SecurityAdvisory;
|
|
securityVulnerability: SecurityVulnerability;
|
|
vulnerableManifestFilename: string;
|
|
vulnerableManifestPath: string;
|
|
vulnerableRequirements?: string;
|
|
}
|