Sign inSign up

crowdsecurity/custom-bouncer

By crowdsecurity

Updated over 1 year ago

Image
0

619

crowdsecurity/custom-bouncer repository overview

Quick reference

CrowdSec bouncer to use custom scripts.

For all the options, refer to the documentation: https://docs.crowdsec.net/u/bouncers/custom/

To use the container image, mount your configuration and the script that will receive decision notifications.

$ cat config.yaml
bin_path: /custom-script
feed_via_stdin: true # Invokes binary once and feeds incoming decisions to it's stdin.
total_retries: 3
log_mode: stdout
api_url: http://127.0.0.1:8080/
api_key: "......"
$ docker run \
  --network host \
  -v $(pwd)/config.yaml:/crowdsec-custom-bouncer.yaml \
  -v $(pwd)/custom-script:/custom-script crowdsecurity/cs-custom-bouncer:latest
...

Tag summary

Content type

Image

Digest

sha256:0c9d3d176

Size

8.4 MB

Last updated

over 1 year ago

docker pull crowdsecurity/custom-bouncer:v0.0.19