Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
blotus opened this issue Aug 5, 2021 · 2 comments
Open

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

blotus opened this issue Aug 5, 2021 · 2 comments
Assignees

Comments

@blotus
Copy link
Member

blotus commented Aug 5, 2021

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)

@mmetc mmetc self-assigned this Apr 7, 2023
@LaurenceJJones
Copy link
Contributor

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

@mmetc
Copy link
Contributor

mmetc commented Aug 21, 2023

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants