cs-firewall-bouncer icon indicating copy to clipboard operation
cs-firewall-bouncer copied to clipboard

Get API URL from /etc/crowdsec/local_api_credentials.yaml

Open blotus opened this issue 3 years ago • 2 comments

When installing the package, we should pull the LAPI URL from /etc/crowdsec/local_api_credentials.yaml, and add it to the configuration. If the file is not present (or invalid), we should fallback to the current default (127.0.0.1:8080)

blotus avatar Aug 05 '21 14:08 blotus

Resolved already on master branch? can we just close @mmetc

LaurenceJJones avatar Aug 21 '23 09:08 LaurenceJJones

No, and since the issue is old I'd like to be sure if it's still something we want to do (presumably for the other bouncers too)

parsing yaml with bin/sh is not something to do on a whim :)

mmetc avatar Aug 21 '23 12:08 mmetc