UNPKG

cloudways-js-client

Version:

A client library to power your applications with Cloudways API

61 lines (60 loc) 1.8 kB
/** * Represents the response from the API endpoint for listing application vulnerabilities. */ export interface ListApplicationVulnerabilitiesResponse { status: boolean; data: { last_fetched_date: string; wordpress: { name: string; slug: string; current_version: string; type: string; is_vulnerable: number; vulnerabilities: { id: number; product_id: number; title: string; disclosure_date: string; product_slug: string; product_name: string; product_name_premium: string | null; product_type: string; vuln_type: string; cvss_score: number; affected_in: string; fixed_in: string; patched_in_ranges: any[]; direct_url: string; }; recommendation: string; active: number; created_at: string; updated_at: string; }; themes: { name: string; slug: string; current_version: string; type: string; is_vulnerable: number; vulnerabilities: any[]; recommendation: string; active: number; created_at: string; updated_at: string; }[]; plugins: { name: string; slug: string; current_version: string; type: string; is_vulnerable: number; vulnerabilities: any[]; recommendation: string; active: number; created_at: string; updated_at: string; }[]; }; }