mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
## Addresses #9834 <img width="1215" alt="added date to vuln table" src="https://user-images.githubusercontent.com/61553566/226730586-4165f5c9-2a42-4378-b58b-7900838a8707.png"> ## Checklist for submitter If some of the following don't apply, delete the relevant line. - [x] Changes file added for user-visible changes in `changes/` - [x] Added/updated tests - [x] Manual QA for all new/changed functionality --------- Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
21 lines
445 B
TypeScript
21 lines
445 B
TypeScript
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;
|
|
}
|
|
export interface IVulnerability {
|
|
cve: string;
|
|
details_link: string;
|
|
cvss_score?: number;
|
|
epss_probability?: number;
|
|
cisa_known_exploit?: boolean;
|
|
cve_published?: string;
|
|
hosts_affected?: IHostsAffected[];
|
|
}
|