mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 23:16:26 +00:00
30 lines
708 B
TypeScript
30 lines
708 B
TypeScript
export interface VulnerabilityPackage {
|
|
ecosystem:
|
|
| 'maven'
|
|
| 'npm'
|
|
| 'nuget'
|
|
| 'pip'
|
|
| 'rubygems'
|
|
| 'rust'
|
|
| 'composer'
|
|
| 'go';
|
|
name: string;
|
|
}
|
|
export interface SecurityVulnerability {
|
|
first_patched_version?: { identifier: string };
|
|
package: VulnerabilityPackage;
|
|
vulnerable_version_range: string;
|
|
}
|
|
export interface SecurityAdvisory {
|
|
description: string;
|
|
identifiers: { type: string; value: string }[];
|
|
references?: { url: string }[];
|
|
}
|
|
export interface VulnerabilityAlert {
|
|
dismissed_reason?: string | null;
|
|
security_advisory: SecurityAdvisory;
|
|
security_vulnerability: SecurityVulnerability | null;
|
|
dependency: {
|
|
manifest_path: string;
|
|
};
|
|
}
|