File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -467,9 +467,8 @@ func watchScan(ctx context.Context, scanID string) error {
467467 out .Log ("Scan canceled" )
468468 } else if status .Status == "FAILED" {
469469 out .Log ("Scan failed" )
470- } else if status .Status == "FINISHED" {
471- out .Log ("Scan finished" )
472470 } else {
471+ out .Print (status , "Scan completed" )
473472 err := printScanIssues (ctx , scanID )
474473 if err != nil {
475474 return fmt .Errorf ("unable to fetch scan issues: %w" , err )
@@ -526,7 +525,7 @@ func printScanIssues(ctx context.Context, scanID string) error {
526525 return fmt .Errorf ("unable to fetch scan issues: %w" , err )
527526 }
528527 out .Table (issues , func () []string {
529- res := []string {"ID\t SEVERITY\t TYPE \ t CATEGORY\t NAME\t IGNORED \t URL \t LINK" }
528+ res := []string {"ID\t SEVERITY\t CATEGORY\t NAME\t LINK" }
530529 for _ , i := range issues {
531530 res = append (res , fmt .Sprintf ("%s\t %s\t %s\t %s\t %s" ,
532531 i .GetId (),
You can’t perform that action at this time.
0 commit comments