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] Report PDF Options - ScanSummary not working #703

Closed
gar0t0 opened this issue Apr 9, 2024 · 2 comments
Closed

[BUG] Report PDF Options - ScanSummary not working #703

gar0t0 opened this issue Apr 9, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@gar0t0
Copy link

gar0t0 commented Apr 9, 2024

Describe the bug

After this new version, the option to generate pdf reports from ScanSummary broke the scan.
This is afecting your product ast-github-actions too.

Expected behavior

(...)
2024/04/09 16:37:15 Scan Finished with status: Completed
Scan Summary:
Created At: 2024-04-09, 16:33:15
Project Name: my-org/my-project
Scan ID: 123456-cccc-aaa-bbb-abcdefghijk

Actual behavior

2024/04/09 16:49:34 Scan status: Running
2024/04/09 16:49:43 Scan Finished with status: Completed
report option "scansummary" unavailable

Steps to reproduce

Run an test and generate a report

Environment

  • 2.0.72 (MacOS)
  • ast-github-actions (Main)

Additional comments

Logs

./cx scan create -s [email protected]:my-org/project --project-name my-org/projects -b feature/batata --ssh-key "/Users/user/.ssh/id_rsa" --scan-types sast,iac-security,sca --report-pdf-options Sast,Sca,Iac-Security,ScanSummary,ExecutiveSummary,ScanResults --report-format pdf
2024/04/09 16:47:04

Scanning branch feature/batata...

Scan ID :
Project ID :
Project Name : my-org/project
Status : Running
Created at : 04-09-24
Branch : feature/batata
Tags : []
Type : Full
Timeout : NONE
Initiator : my-user
Origin : ASTCLI 2.0.72
Engines : [ sast kics sca]

2024/04/09 16:47:05 Wait for scan to complete aaaaa-aaaa-aaaa-aaa-bbbbbbbbbb Running
2024/04/09 16:47:10 Scan status: Running
2024/04/09 16:47:16 Scan status: Running
2024/04/09 16:47:21 Scan status: Running
2024/04/09 16:47:27 Scan status: Running
2024/04/09 16:47:32 Scan status: Running
2024/04/09 16:47:39 Scan status: Running
2024/04/09 16:47:46 Scan status: Running
2024/04/09 16:47:52 Scan status: Running
2024/04/09 16:47:58 Scan status: Running
2024/04/09 16:48:05 Scan status: Running
2024/04/09 16:48:12 Scan status: Running
2024/04/09 16:48:20 Scan status: Running
2024/04/09 16:48:27 Scan status: Running
2024/04/09 16:48:35 Scan status: Running
2024/04/09 16:48:42 Scan status: Running
2024/04/09 16:48:50 Scan status: Running
2024/04/09 16:48:59 Scan status: Running
2024/04/09 16:49:07 Scan status: Running
2024/04/09 16:49:16 Scan status: Running
2024/04/09 16:49:24 Scan status: Running
2024/04/09 16:49:34 Scan status: Running
2024/04/09 16:49:43 Scan Finished with status: Completed
report option "scansummary" unavailable

@gar0t0 gar0t0 added the bug Something isn't working label Apr 9, 2024
Copy link

github-actions bot commented Apr 9, 2024

Internal Jira issue: AST-39171

@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