MCPcopy Create free account
hub / github.com/github/gh-aw / parseAuditLogsIfRequested

Function parseAuditLogsIfRequested

pkg/cli/audit.go:883–889  ·  view source on GitHub ↗
(runID int64, runOutputDir string, opts AuditOptions)

Source from the content-addressed store, hash-verified

881}
882
883func parseAuditLogsIfRequested(runID int64, runOutputDir string, opts AuditOptions) {
884 if !opts.Parse {
885 return
886 }
887 parseAgentLogIfRequested(runID, runOutputDir, opts.Verbose)
888 parseFirewallLogsIfRequested(runID, runOutputDir, opts.Verbose)
889}
890
891func parseAgentLogIfRequested(runID int64, runOutputDir string, verbose bool) {
892 awInfoPath := filepath.Join(runOutputDir, "aw_info.json")

Callers 1

renderAuditReportFunction · 0.85

Calls 2

parseAgentLogIfRequestedFunction · 0.85

Tested by

no test coverage detected