C
CrowdSec2mo ago
Laz

Custom parser install

Crowdsec v1.6.11 I wrote my own parser to use with a custom app, and I want to upload to to crowdsec so I can test it before I move on to writing the scenario. The documentation I've found assumes that I will upload it to the hub for functional testing. I don't want to upload it to the hub because I'm not really a programmer, so it's almost certainly a terrible parser. Is there a simple way I can mount a .yaml file and install it as a parser for testing purposes? I'm on windows docker desktop
4 Replies
CrowdSec
CrowdSec2mo ago
Important Information
This post has been marked as resolved. If this is a mistake please press the red button below or type /unresolve
© Created By WhyAydan for CrowdSec ❤️
blotus
blotus2mo ago
You can just mount the parser in /etc/crowdsec/parsers/s01-parse/, then in the container you can use cscli explain to see how it behaves
Laz
LazOP2mo ago
Thanks, I tried that using a docker compose, but it overwrote the existing parsers I had in that folder 🙁 Nvm figured it out. Thanks for the help, you pointed me in the right direction
CrowdSec
CrowdSec2mo ago
Resolving Custom parser install This has now been resolved. If you think this is a mistake please run /unresolve

Did you find this page helpful?