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

CxSAST queuing feature doesn't have any logs #198

Open
cx-scord opened this issue Feb 17, 2022 · 0 comments
Open

CxSAST queuing feature doesn't have any logs #198

cx-scord opened this issue Feb 17, 2022 · 0 comments

Comments

@cx-scord
Copy link

There isn't any logging when waiting for scan completion when queuing scans in the SDK backend, currently, logging in queuing is limited to when the timeout is reached.

We need to have informative logging at least in debug mode so we can understand if we're waiting for a scan to finish before committing a new one or else we can't even understand if we even reach the queuing phase.

My proposal:

  1. Add INFO logging once a scan is queued in the logs here with the scan ID outputted:
  2. Add debug logging for each 5 or 10 minutes informing that the scan with the given ID of the current project hasn't finished yet here:

This is also related to CxFlow issue 905 enhancement since PRs are not receiving prompt Markdown feedback on whether a scan was queued and/or is still in queue, so that CxFlow knows that the scan is still waiting in queue to be triggered in CxSAST.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant