Skip to content

Using decision.duration instead of custom duration #3

@he2ss

Description

@he2ss

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions