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

Using decision.duration instead of custom duration #3

Open
he2ss opened this issue Aug 16, 2024 · 0 comments
Open

Using decision.duration instead of custom duration #3

he2ss opened this issue Aug 16, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@he2ss
Copy link

he2ss commented Aug 16, 2024

Following this line, we see that you're using a custom ttl. You can fetch the duration from the decision fetched from crowdsec.
We have are using this lua code to parse the duration for the TTL in another lua remediation component, you can use it as inspiration.

@mostafahussein mostafahussein added the enhancement New feature or request label Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants