2024-02-06 20:12:09 +00:00
|
|
|
import PropTypes from "prop-types";
|
|
|
|
|
|
2024-02-07 02:39:49 +00:00
|
|
|
import { IVulnerabilityOSVersion } from "./operating_system";
|
|
|
|
|
import { IVulnerabilitySoftware } from "./software";
|
2024-02-06 20:12:09 +00:00
|
|
|
|
|
|
|
|
export default PropTypes.shape({
|
|
|
|
|
cve: PropTypes.string,
|
|
|
|
|
details_link: PropTypes.string,
|
|
|
|
|
});
|
2024-02-05 13:51:46 +00:00
|
|
|
export interface IVulnerability {
|
|
|
|
|
cve: string;
|
|
|
|
|
created_at: string;
|
2024-02-06 23:30:32 +00:00
|
|
|
hosts_count: number;
|
|
|
|
|
hosts_count_updated_at: string;
|
2024-02-05 13:51:46 +00:00
|
|
|
details_link: string;
|
2024-02-12 14:02:00 +00:00
|
|
|
cvss_score?: number | null; // premium
|
|
|
|
|
epss_probability?: number | null; // premium
|
|
|
|
|
cisa_known_exploit?: boolean | null; // premium
|
|
|
|
|
cve_published?: string | null; // premium
|
2024-02-06 20:12:09 +00:00
|
|
|
cve_description?: string; // premium
|
|
|
|
|
resolved_in_version?: string; // premium
|
2024-02-05 13:51:46 +00:00
|
|
|
}
|