mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-14 16:46:25 +00:00
24 lines
740 B
TypeScript
24 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;
|
||
|
}
|