crowdsecurity / crowdsec

CrowdSec - the open-source and participative security solution offering crowdsourced protection against malicious IPs and access to the most advanced real-world CTI.
https://crowdsec.net
MIT License
8.59k stars 441 forks source link

[cscli] LAPI status inform about certificates #2808

Open LaurenceJJones opened 7 months ago

LaurenceJJones commented 7 months ago

https://github.com/crowdsecurity/crowdsec/blob/5ff8a03195fda2466cb4a18cfd11256467fa064a/cmd/crowdsec-cli/lapi.go#L64

The log at the moment always states username, however, when using certificates this is not the case.

INFO[02-02-2024 08:57:30] Loaded credentials from /etc/crowdsec/local_api_credentials.yaml 
INFO[02-02-2024 08:57:30] Trying to authenticate with username  on https://crowdsec-service.crowdsec:8080/
INFO[02-02-2024 08:57:30] You can successfully interact with Local API (LAPI) 

We should inform that we use the certificates as it easier for the user to know its "working"

github-actions[bot] commented 7 months ago

@LaurenceJJones: Thanks for opening an issue, it is currently awaiting triage.

In the meantime, you can:

  1. Check Crowdsec Documentation to see if your issue can be self resolved.
  2. You can also join our Discord.
  3. Check Releases to make sure your agent is on the latest version.
Details I am a bot created to help the [crowdsecurity](https://github.com/crowdsecurity) developers manage community feedback and contributions. You can check out my [manifest file](https://github.com/crowdsecurity/crowdsec/blob/master/.github/governance.yml) to understand my behavior and what I can do. If you want to use this for your project, you can check out the [BirthdayResearch/oss-governance-bot](https://github.com/BirthdayResearch/oss-governance-bot) repository.
github-actions[bot] commented 7 months ago

@LaurenceJJones: There are no 'kind' label on this issue. You need a 'kind' label to start the triage process.

Details I am a bot created to help the [crowdsecurity](https://github.com/crowdsecurity) developers manage community feedback and contributions. You can check out my [manifest file](https://github.com/crowdsecurity/crowdsec/blob/master/.github/governance.yml) to understand my behavior and what I can do. If you want to use this for your project, you can check out the [BirthdayResearch/oss-governance-bot](https://github.com/BirthdayResearch/oss-governance-bot) repository.