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

Add option to write output to file #95

Open
AdamVB opened this issue Dec 20, 2024 · 0 comments
Open

Add option to write output to file #95

AdamVB opened this issue Dec 20, 2024 · 0 comments

Comments

@AdamVB
Copy link

AdamVB commented Dec 20, 2024

Is your feature request related to a problem? Please describe.
If you want to use the junit report feature in github actions, you need to save an artifact file in junit format. This currently isn't possible with the action here as far as I can tell.

Describe the solution you'd like
Add an option to the action like output-to-file: true and output-file-name: report.xml

Describe alternatives you've considered
The alternative would be to call cnspec directly, and then > to file, but this would be more elegant.

Additional context
As shown in the docs here:
https://mondoo.com/docs/platform/infra/supply/cicd/gitlab/#junit-report

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