mirror of
https://github.com/empayre/fleet.git
synced 2024-11-07 01:15:22 +00:00
21 lines
415 B
TypeScript
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[];
|
|
}
|