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

Improvement/cscli: add versioning for local parsers/post-overflows/etc. #777

Open
Lamera opened this issue May 5, 2021 · 1 comment
Open
Labels
kind/enhancement New feature or request needs/triage

Comments

@Lamera
Copy link
Contributor

Lamera commented May 5, 2021

Is your feature request related to a problem? Please describe.
At this time our custom whitelist config is not versioned. This can be an issue when you have multiple instances and you made changes to this config. Then you never can be sure, which version this file is. I tried to add a version number in the config file, but then crowdsec doesn't start anymore.

Describe the solution you'd like
In cscli hub list local files should also have a version number. The configuration file, for example my_whitelist.yaml should have an option to define a version number in the yaml file.

Example of what you imagine

name: me/whitelists
description: "Whitelist events from private ipv4 addresses"
version: 1.2
whitelist:
  reason: "private ipv4 ranges"
  ip:
    - "127.0.0.1"
@Lamera Lamera added the kind/enhancement New feature or request label May 5, 2021
@sabban
Copy link
Contributor

sabban commented Feb 20, 2024

In the near future it will be possible to achieve this by using an alternate hub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request needs/triage
Projects
None yet
Development

No branches or pull requests

2 participants