Skip to content

Results table malformed due to missing line breaks? #656

@scotty6435

Description

@scotty6435

Describe the bug

The result output includes a handy table however the header row is output on the same line as the table opening markup. Is the 'Created at:" line also misplaced?

Expected behavior

See below:

2025/01/30 10:43:54 Scan Finished with status:  Completed
            Scan Summary:
              Created At: 2025-01-30, 10:26:44
              Project Name: REDACTED                        
              Scan ID: REDACTED                             

            Results Summary:                     
              Risk Level: High Risk																									 
              ---------------------------------------------------------------------     

              Total Results: 66                       

              ---------------------------------------------------------------------
              |               Critical   High    Medium   Low   Info   Status     |
              | APIs              -       -        -       -      -       -       |
              | IAC             N/A       0        0       2      0   Completed   |
              | SAST            N/A      20       23      18      0   Completed   |
              | SCA             N/A       3        0       0      0   Completed   |
              ---------------------------------------------------------------------     
              | TOTAL           N/A      23       23      20      0   Completed   |
              ---------------------------------------------------------------------     

Actual behavior

2025/01/30 10:43:54 Scan Finished with status:  Completed
            Scan Summary:                                   Created At: 2025-01-30, 10:26:44
              Project Name: REDACTED                        
              Scan ID: REDACTED                             

            Results Summary:                     
              Risk Level: High Risk																									 
              ---------------------------------------------------------------------     

              Total Results: 66                       

              ---------------------------------------------------------------------                   |               Critical   High    Medium   Low   Info   Status     |
              | APIs              -       -        -       -      -       -       |
              | IAC             N/A       0        0       2      0   Completed   |
              | SAST            N/A      20       23      18      0   Completed   |
              | SCA             N/A       3        0       0      0   Completed   |
              ---------------------------------------------------------------------     
              | TOTAL           N/A      23       23      20      0   Completed   |
              ---------------------------------------------------------------------     

Steps to reproduce

  1. Run a scan
  2. Wait for results

Environment

  • AZURE PLUGIN version 3
  • Platform RHEL 8 Linux

Additional comments

Add any other context about the problem here.

Logs

Paste the output from your PLUGIN. Redact if needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions