fleet/frontend/interfaces/vulnerability.ts
Juan Fernandez 009a87d33e
Feature 10196: Add filepath to end-points and third party integrations (#11285)
Adds the software installed path property to the proper end-points and third party integrations (webhook, Zendesk and Jira).
2023-05-17 16:53:15 -04:00

23 lines
484 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;
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[];
}