Skip to content

Simplify this plugin #29

@frantz45

Description

@frantz45

Actually the plugin has 2 threshold types (more/less than), 2 streams and multiple time conditions (any/before/after).
It makes the code complex.

Regarding the time conditions we could only keep before or after but not both (just invert the streams if you want the opposite order).

Regarding the threshold types we could only keep "more than".
It's the most meaningful type regarding detection rules.
"Less than" is mainly use with the "any" time condition to create exceptions.
This last use case could be moved to another new plugin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions