/** * Business Logic Scanner Module * * Detects BOLA, IDOR, BFLA, and other authorization vulnerabilities * through static analysis of API endpoints. * * @module scanners/logic */ import type { Severity } from "../../certification/types.js"; import type { LogicScanOptions, LogicScanResult, LogicVulnType } from "./types.js"; export * from "./types.js"; export { extractEndpoints, detectFramework, extractPathParams, inferResourceType, } from "./endpoint-analyzer.js"; export { analyzeAuthorizationFlow, analyzeEndpoints, } from "./auth-flow-analyzer.js"; /** * Run logic vulnerability scan */ export declare function runLogicScan(projectPath: string, options?: LogicScanOptions): Promise; /** * Format logic scan results for display */ export declare function formatLogicResults(result: LogicScanResult): string; /** * Get vulnerability description */ export declare function getVulnerabilityDescription(vulnType: LogicVulnType): { name: string; description: string; cweIds: string[]; owaspRefs: string[]; severity: Severity; }; /** * Quick check for common authorization issues */ export declare function quickAuthCheck(projectPath: string): Promise<{ hasAuthMiddleware: boolean; hasOwnershipChecks: boolean; hasRoleChecks: boolean; potentialIssues: string[]; }>; //# sourceMappingURL=index.d.ts.map