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

Function renderAuditCompletion

pkg/cli/audit.go:925–932  ·  view source on GitHub ↗
(runOutputDir string, jsonOutput bool)

Source from the content-addressed store, hash-verified

923}
924
925func renderAuditCompletion(runOutputDir string, jsonOutput bool) {
926 if jsonOutput {
927 return
928 }
929 absOutputDir, _ := filepath.Abs(runOutputDir)
930 fmt.Fprintln(os.Stderr, console.FormatSuccessMessage("Audit complete. Logs saved to "+absOutputDir))
931 fmt.Fprintln(os.Stderr, console.FormatInfoMessage("Tip: use --artifacts to select specific artifact sets (agent, firewall, mcp, activation, detection, etc.)"))
932}
933
934// auditJobRunOptions holds parameters for auditJobRun.
935type auditJobRunOptions struct {

Callers 1

renderAuditReportFunction · 0.85

Calls 2

FormatSuccessMessageFunction · 0.92
FormatInfoMessageFunction · 0.92

Tested by

no test coverage detected