import PropTypes from "prop-types"; export default PropTypes.shape({ cve: PropTypes.string, details_link: PropTypes.string, }); export interface IHostsAffected { id: number; display_name: string; url: string; software_installed_paths?: string[]; } export interface IVulnerability { cve: string; details_link: string; cvss_score?: number; epss_probability?: number; cisa_known_exploit?: boolean; cve_published?: string; hosts_affected?: IHostsAffected[]; }