2021-07-15 17:01:52 +00:00
|
|
|
import PropTypes from "prop-types";
|
|
|
|
|
|
|
|
|
|
export default PropTypes.shape({
|
|
|
|
|
cve: PropTypes.string,
|
|
|
|
|
details_link: PropTypes.string,
|
|
|
|
|
});
|
|
|
|
|
|
2022-09-07 18:09:25 +00:00
|
|
|
export interface IHostsAffected {
|
|
|
|
|
id: number;
|
|
|
|
|
hostname: string;
|
|
|
|
|
url: string;
|
|
|
|
|
}
|
2021-07-15 17:01:52 +00:00
|
|
|
export interface IVulnerability {
|
2022-09-07 18:09:25 +00:00
|
|
|
cisa_known_exploit?: boolean;
|
2021-07-15 17:01:52 +00:00
|
|
|
cve: string;
|
2022-09-07 18:09:25 +00:00
|
|
|
cvss_score?: number;
|
2021-07-15 17:01:52 +00:00
|
|
|
details_link: string;
|
2022-09-07 18:09:25 +00:00
|
|
|
epss_probability?: number;
|
|
|
|
|
hosts_affected?: IHostsAffected[];
|
2021-07-15 17:01:52 +00:00
|
|
|
}
|