/** * Security Gate Executor * Handles execution of security gates and individual security checks */ import type { AISecurityScanner } from "./AISecurityScanner.js"; import type { SecurityReviewer } from "./SecurityReviewer.js"; import type { SecurityConfigManager } from "./SecurityConfigManager.js"; import type { SecurityGate, SecurityCheck, GateResult, CheckResult, PipelineContext, GateExecutionOptions, GateStatusResult } from "./SecurityTypes.js"; /** * Dependencies for gate execution */ export interface GateExecutorDependencies { scanner: AISecurityScanner; reviewer: SecurityReviewer; configManager: SecurityConfigManager; } /** * Security Gate Executor * Responsible for executing security gates and their checks */ export declare class SecurityGateExecutor { private readonly scanner; private readonly reviewer; private readonly configManager; constructor(deps: GateExecutorDependencies); /** * Execute a single security gate */ executeGate(gate: SecurityGate, context: PipelineContext, options?: GateExecutionOptions): Promise; /** * Execute a single security check */ executeCheck(check: SecurityCheck, context: PipelineContext, options?: GateExecutionOptions): Promise; /** * Execute security scan check */ private executeScanCheck; /** * Execute code review check */ private executeReviewCheck; /** * Execute dependency check */ private executeDependencyCheck; /** * Execute configuration check */ private executeConfigurationCheck; /** * Execute secrets check */ private executeSecretsCheck; /** * Execute compliance check */ private executeComplianceCheck; /** * Calculate security score for file findings */ private calculateFileScore; /** * Evaluate gate status based on check results and thresholds */ evaluateGateStatus(gate: SecurityGate, checkResults: CheckResult[]): GateStatusResult; } //# sourceMappingURL=SecurityGateExecutor.d.ts.map