vibe-guard
Version:
🛡️ Vibe-Guard Security Scanner - 25 essential security rules to catch vulnerabilities before they catch you! Zero dependencies, instant setup, works everywhere, optimized performance. Detects SQL injection, XSS, exposed secrets, CSRF, CORS issues, and mo
27 lines • 885 B
TypeScript
import { ScanOptions, ScanResult, BaseRule } from './types';
export declare class VibeGuard {
private scanner;
private reporter;
private rules;
constructor();
scan(options: ScanOptions): Promise<ScanResult>;
formatResults(result: ScanResult, format?: 'table' | 'json' | 'sarif' | 'html'): string;
scanAndFormat(options: ScanOptions): Promise<string>;
getRules(): BaseRule[];
getRuleByName(name: string): BaseRule | undefined;
getVersion(): string;
/**
* Generate a sample configuration file
*/
generateConfig(): string;
/**
* Create a default configuration file in the current directory
*/
createConfigFile(): void;
}
export * from './types';
export * from './rules';
export { FileScanner } from './scanner';
export { Reporter } from './reporter';
export default VibeGuard;
//# sourceMappingURL=index.d.ts.map