Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Results table malformed due to missing line breaks? #656

Open
scotty6435 opened this issue Jan 30, 2025 · 0 comments
Open

Results table malformed due to missing line breaks? #656

scotty6435 opened this issue Jan 30, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@scotty6435
Copy link

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.

@scotty6435 scotty6435 added the bug Something isn't working label Jan 30, 2025
@scotty6435 scotty6435 changed the title [BUG] Results table malformed due to missing line breaks? Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant