-
Notifications
You must be signed in to change notification settings - Fork 594
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
feat(codeqlExecuteScan): added a feature to execute custom command #4912
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i made one minor suggestion - otherwise LGTM. thanks!
if err != nil { | ||
log.Entry().WithError(err).Errorf("failed to parse custom command %s", command) | ||
} | ||
err = utils.RunExecutable(cmd[0], cmd[1:]...) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we log the output of Split() here? that could help diagnose parsing/quoting issues later.
Quality Gate passedIssues Measures |
/it-go |
…AP#4912) * added running custom command * go mod tidy * added log with parsed command info * fixed log format --------- Co-authored-by: sumeet patil <[email protected]>
Changes
Added a feature to execute arbitrary commands between codeql analysis and results upload.