fleet/frontend/interfaces/vulnerability.ts

21 lines
415 B
TypeScript

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