fleet/frontend/interfaces/vulnerability.ts

23 lines
667 B
TypeScript

import PropTypes from "prop-types";
import { IVulnerabilityOSVersion } from "./operating_system";
import { IVulnerabilitySoftware } from "./software";
export default PropTypes.shape({
cve: PropTypes.string,
details_link: PropTypes.string,
});
export interface IVulnerability {
cve: string;
created_at: string;
hosts_count: number;
hosts_count_updated_at: string;
details_link: string;
cvss_score?: number | null; // premium
epss_probability?: number | null; // premium
cisa_known_exploit?: boolean | null; // premium
cve_published?: string | null; // premium
cve_description?: string; // premium
resolved_in_version?: string; // premium
}