diff --git a/csa-app/csa/AppAnalyzer.go b/csa-app/csa/AppAnalyzer.go index 9af4cacb..61fcb1df 100644 --- a/csa-app/csa/AppAnalyzer.go +++ b/csa-app/csa/AppAnalyzer.go @@ -37,14 +37,14 @@ func (csaService *CsaService) analyzeApp(run *model.Run, app *model.Application, go func(idx int) { defer waitGroup.Done() if *util.Verbose { - util.WriteLog(fmt.Sprintf("A1nalyzing - %s", app.Name), "Scanning Files... Filename: %s\n", app.Files[idx].FQN) + util.WriteLog(fmt.Sprintf("Analyzing - %s", app.Name), "Scanning Files... Filename: %s\n", app.Files[idx].FQN) } err := csaService.analyzeFile(run, app, app.Files[idx], csaService.saveChan) if err != nil { if *util.FailFast { - util.WriteLog("A2nalyzing...error!", "Error occurred during analysis! Details: %s", err.Error()) + util.WriteLog("Analyzing...error!", "Error occurred during analysis! Details: %s", err.Error()) csaService.stopRun(run) os.Exit(2) } else { diff --git a/csa-app/model/Finding.go b/csa-app/model/Finding.go index b1e4ecec..a8a2bdaf 100644 --- a/csa-app/model/Finding.go +++ b/csa-app/model/Finding.go @@ -64,12 +64,12 @@ type FindingDTO struct { } func (f *Finding) SetValue(value string) { - if len(value) > (FINDING_VAL_LEN) { - f.Value = value[0:(FINDING_VAL_LEN-5)] + "..." + if *util.Efd { + f.Value = "---" + f.Result = "---" } else { - if *util.Efd { - f.Value = "---" - f.Result = "---" + if len(value) > (FINDING_VAL_LEN) { + f.Value = value[0:(FINDING_VAL_LEN-5)] + "..." } else { f.Value = value }