UNPKG

vulnzap-core

Version:

Secure AI-generated code by intercepting vulnerabilities in real-time

71 lines (70 loc) 1.82 kB
/** * Vulnzap Services Configuration * * This file contains the core configuration for the Vulnzap SaaS platform. * It includes settings for all supported ecosystems, API endpoints, and service configurations. */ declare const CONFIG: { PORT: number; SERVICE_ENDPOINTS: { GITHUB_ADVISORY: string; NVD_API: string; OSV_API: string; OWASP_API: string; }; API_KEYS: { GITHUB: string; NVD: string; OWASP: string; }; DATA_PATHS: { CACHE_DIR: string; DATA_DIR: string; REPORTS_DIR: string; }; REFRESH_INTERVALS: { GITHUB: number; NVD: number; }; RATE_LIMITS: { MAX_REQUESTS: number; WINDOW_SIZE: number; NVD: { limit: number; window: number; }; }; ECOSYSTEMS: { npm: { name: string; displayName: string; versionParser: string; packageManager: string; installCommand: string; updateCommand: string; latestCommand: string; registryUrl: string; searchUrl: string; packageUrl: string; aliases: string[]; }; pip: { name: string; displayName: string; versionParser: string; packageManager: string; installCommand: string; updateCommand: string; latestCommand: string; registryUrl: string; searchUrl: string; packageUrl: string; aliases: string[]; }; }; ENABLED_ECOSYSTEMS: string[]; ECOSYSTEM_ALIASES: Map<string, string>; ECOSYSTEM_MAP: Map<string, any>; SUPPORTED_ECOSYSTEMS: any[]; }; export default CONFIG;