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

[CAPI] Wrong expirations for custom blocklists #3464

Open
blotus opened this issue Feb 12, 2025 · 3 comments
Open

[CAPI] Wrong expirations for custom blocklists #3464

blotus opened this issue Feb 12, 2025 · 3 comments
Labels
kind/bug Something isn't working needs/triage

Comments

@blotus
Copy link
Member

blotus commented Feb 12, 2025

Custom blocklists allows a different expiration per item, but when pulled through CAPI, the duration is set to 24h globally (because the blocklist format of CAPI does not allow for per-iterm expiration).

This means that any decisions added to a custom blocklist will be kept for at least 24h, and for decisions longer than that, they will be rounded up to the next 24h.

We need a new blocklist format (probably similar to the one used for the allowlists) to better handle custom blocklists.

Copy link

@blotus: 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.

Copy link

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

  • /kind feature
  • /kind enhancement
  • /kind refactoring
  • /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.

@blotus
Copy link
Member Author

blotus commented Feb 12, 2025

/kind bug

@github-actions github-actions bot added kind/bug Something isn't working and removed needs/kind labels Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working needs/triage
Projects
None yet
Development

No branches or pull requests

1 participant