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

Output filenames should be configurable #3643

Closed
JonZeolla opened this issue Oct 11, 2022 · 3 comments
Closed

Output filenames should be configurable #3643

JonZeolla opened this issue Oct 11, 2022 · 3 comments
Labels
outputs question Further information is requested

Comments

@JonZeolla
Copy link
Contributor

Describe the issue
Currently the output filenames are a part of a hard-coded mapping. They should be configurable.

In some cases users can redirect stdout/stderr to meet their needs, but this is not the case in my situation.

@JonZeolla
Copy link
Contributor Author

It looks like parser args are here which gets parsed into config. Looks like this was recently touched via 11edf57

@gruebel
Copy link
Contributor

gruebel commented Oct 11, 2022

yeap, you can leverage my change like described in the help text

checkov -d . -o cli -o junitxml --output-file-path console,results.xml

for a single output you need still to append a comma, otherwise it will use the old mechanism.

@gruebel gruebel added the question Further information is requested label Oct 11, 2022
@JonZeolla
Copy link
Contributor Author

That works, thanks! By the way, I did read that help text but didn't expect it would work that way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
outputs question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants