(runID int64, runOutputDir string, verbose bool)
| 910 | } |
| 911 | |
| 912 | func parseFirewallLogsIfRequested(runID int64, runOutputDir string, verbose bool) { |
| 913 | if err := parseFirewallLogs(runOutputDir, verbose); err != nil { |
| 914 | if verbose { |
| 915 | fmt.Fprintln(os.Stderr, console.FormatWarningMessage(fmt.Sprintf("Failed to parse firewall logs for run %d: %v", runID, err))) |
| 916 | } |
| 917 | return |
| 918 | } |
| 919 | firewallMdPath := filepath.Join(runOutputDir, "firewall.md") |
| 920 | if fileutil.FileExists(firewallMdPath) { |
| 921 | fmt.Fprintln(os.Stderr, console.FormatSuccessMessage(fmt.Sprintf("✓ Parsed firewall logs for run %d → %s", runID, firewallMdPath))) |
| 922 | } |
| 923 | } |
| 924 | |
| 925 | func renderAuditCompletion(runOutputDir string, jsonOutput bool) { |
| 926 | if jsonOutput { |
no test coverage detected