Skip to main content
Version: Next

Creating a test environment

It is possible to deploy a minimalist test environment, which is useful :

  • to create new parsers or scenarios
  • to test new features
  • to try to showcase a bug or a corner-case

This can be done directly with the tarball of the release :

https://github.com/crowdsecurity/crowdsec/releases/download/v1.1.1/crowdsec-release.tgztar xvzf crowdsec-release.tgzcd crowdsec-v1.1.1./test_env.sh

The test env is then available in the tests directory and should provide a functional crowdsec environment :

cd tests./crowdsec -c dev.yaml

cscli should be functional as well :

cd tests./cscli -c dev.yaml hub list

In this test env, configurations are under the config/ dir.