crowdsec icon indicating copy to clipboard operation
crowdsec copied to clipboard

`cscli hubtest run` should display crowdsec stderr if any

Open buixor opened this issue 2 years ago • 1 comments

What happened?

When testing the waf and found some requests triggering a crash of crowdsec, the cscli hubtest run command displays the output of crowdsec without the stacktrace or the panic mesage (as it's logged on stderr)message

What did you expect to happen?

If any stderr data is captured from stderr when running it w/ cscli hubtest run, display it. captured.

How can we reproduce it (as minimally and precisely as possible)?

Find a nuclei template that will trigger a crowdsec crash and use it in a hubtest test.

Anything else we need to know?

No response

Crowdsec version

1.5.6-RC3

OS version

No response

Enabled collections and parsers

No response

Acquisition config

No response

Config show

No response

Prometheus metrics

No response

Related custom configs versions (if applicable) : notification plugins, custom scenarios, parsers etc.

No response

buixor avatar Dec 14 '23 14:12 buixor

@buixor: Thanks for opening an issue, it is currently awaiting triage.

In the meantime, you can:

  1. Check Crowdsec Documentation to see if your issue can be self resolved.
  2. You can also join our Discord.
  3. Check Releases to make sure your agent is on the latest version.
Details

I am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository.

github-actions[bot] avatar Dec 14 '23 14:12 github-actions[bot]