UNPKG

supamend

Version:

Pluggable DevSecOps Security Scanner with 10+ scanners and multiple reporting channels

56 lines 1.4 kB
export interface ScanResult { id: string; type: 'vulnerability' | 'secret' | 'misconfiguration'; severity: 'low' | 'medium' | 'high' | 'critical'; title: string; description: string; file?: string; line: number; column: number; rule?: string; scanner: string; timestamp: Date; metadata?: Record<string, any>; } export interface ScanOptions { repo: string; token?: string; branch?: string; scanners: string[]; reporters: string[]; config?: string; output?: string; verbose?: boolean; timeout?: number; concurrency?: number; continueOnError?: boolean; environment?: 'development' | 'production' | 'ci'; } export interface ScannerConfig { name: string; enabled: boolean; options?: Record<string, any>; } export interface ReporterConfig { name: string; enabled: boolean; options?: Record<string, any>; } export interface SupaMendConfig { scanners: ScannerConfig[]; reporters: ReporterConfig[]; global?: { excludePatterns?: string[]; maxFileSize?: string; timeout?: number; concurrency?: number; retryAttempts?: number; continueOnError?: boolean; }; environments?: Record<string, { verbose?: boolean; output?: string; continueOnError?: boolean; }>; } //# sourceMappingURL=index.d.ts.map