mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 00:45:19 +00:00
23 lines
667 B
TypeScript
23 lines
667 B
TypeScript
import PropTypes from "prop-types";
|
|
|
|
import { IVulnerabilityOSVersion } from "./operating_system";
|
|
import { IVulnerabilitySoftware } from "./software";
|
|
|
|
export default PropTypes.shape({
|
|
cve: PropTypes.string,
|
|
details_link: PropTypes.string,
|
|
});
|
|
export interface IVulnerability {
|
|
cve: string;
|
|
created_at: string;
|
|
hosts_count: number;
|
|
hosts_count_updated_at: string;
|
|
details_link: string;
|
|
cvss_score?: number | null; // premium
|
|
epss_probability?: number | null; // premium
|
|
cisa_known_exploit?: boolean | null; // premium
|
|
cve_published?: string | null; // premium
|
|
cve_description?: string; // premium
|
|
resolved_in_version?: string; // premium
|
|
}
|