/** * Security Report Generator * Handles generation of security reports and statistics */ import type { PipelineSecurityReport, GateResult, PipelineContext, ReportSummary, PipelineStatistics, ReportFilterOptions } from "./SecurityTypes.js"; /** * Security Report Generator * Responsible for generating and managing security reports */ export declare class SecurityReportGenerator { private reports; /** * Generate a pipeline security report */ generateReport(reportId: string, stage: string, startTime: number, status: "passed" | "failed" | "warning", gateResults: GateResult[], context: PipelineContext): PipelineSecurityReport; /** * Create empty report for stages with no gates */ createEmptyReport(reportId: string, stage: string, startTime: number): PipelineSecurityReport; /** * Store a report */ storeReport(report: PipelineSecurityReport): void; /** * Get the latest report */ getLatestReport(): PipelineSecurityReport | undefined; /** * Get all reports */ getAllReports(): PipelineSecurityReport[]; /** * Get filtered reports */ getReports(options?: ReportFilterOptions): PipelineSecurityReport[]; /** * Export report in various formats */ exportReport(report: PipelineSecurityReport, format: string): string; /** * Calculate security metrics from a report */ calculateSecurityMetrics(report: PipelineSecurityReport): { overallScore: number; riskLevel: string; complianceStatus: boolean; }; /** * Calculate overall security score from gate results */ calculateOverallSecurityScore(gateResults: GateResult[]): number; /** * Generate recommendations based on results */ generateRecommendations(gateResults: GateResult[], summary: ReportSummary): string[]; /** * Generate artifacts for the security report */ generateArtifacts(reportId: string, gateResults: GateResult[]): string[]; /** * Get pipeline statistics */ getStatistics(): PipelineStatistics; } //# sourceMappingURL=SecurityReportGenerator.d.ts.map