crowdsec icon indicating copy to clipboard operation
crowdsec copied to clipboard

`cscli capi register` : do no re-register by default

Open buixor opened this issue 2 years ago • 4 comments

What would you like to be added?

when running cscli capi register, it will re-register even if you have an existing and valid CAPI credentials. Can we add a --force option to it that - if not specified - will only register you if you are not already registered and/or if you login is not valid.

Why is this needed?

because @mazzma12 asked for it :face_in_clouds:

buixor avatar May 22 '23 08:05 buixor

@buixor: 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 developers manage community feedback and contributions. You can check out my manifest file 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 repository.

github-actions[bot] avatar May 22 '23 08:05 github-actions[bot]

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

  • /kind feature
  • /kind enhancement
  • /kind bug
  • /kind packaging
Details

I am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file 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 repository.

github-actions[bot] avatar May 22 '23 08:05 github-actions[bot]

I'm having a look at this because I want to add tests with mock capi, so I have a hand in the code

mmetc avatar Sep 04 '23 14:09 mmetc

/kind enhancement

MrAlucardDante avatar Oct 24 '23 10:10 MrAlucardDante