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

[BUG] Latest version of ast-github-action (2.0.24) with problem when generating PDF report with scansummary #171

Closed
rester opened this issue Apr 10, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@rester
Copy link

rester commented Apr 10, 2024

Describe the bug

The latest ast-github-action version (2.0.24) is not working properly when using PDF report generator options with scansummary, resulting in a scan failed result even the scan finishing correctly. This behavior is happing in the actual @main of this repo.

Expected behavior

Keep using the scansummary option to generate PDFs reports without failed the action.

Actual behavior

The action failed when using the option scansummary to generete PDFs. As shown here:

2024/04/09 12:22:15 Scan Finished with status:  Completed
report option "scansummary" unavailable
Creating PR decoration for scan ID: 5f6f322a-9c98-.....
2024/04/09 12:22:50 github PR comment created successfully.
2024/04/09 12:23:00 Creating Markdown Summary Report:  cx_result.md
Scan failed

Steps to reproduce

  1. Create an action using aditional params to generate PDF report using the scansummary option:
    --report-format pdf --report-pdf-options Sast,Sca,Iac-Security,**ScanSummary**,ExecutiveSummary,ScanResults
  2. Run the action and wait to fail.

Additional comments

Propose to fix:
Looks like the updated ast-cli version (version 2.0.72) is not working properly, so maybe downgrade the version to use a versino that doesn't have this behavior (2.0.71) or update after they fix it.
An issue is already open in ast-cli repo related to this problem: Checkmarx/ast-cli#703

@rester rester added the bug Something isn't working label Apr 10, 2024
Copy link

Internal Jira issue: AST-39230

@OrShamirCM
Copy link
Contributor

Solved

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

2 participants