Skip to content

Consider testing for expected anomaly score #4150

Open
@theseion

Description

@theseion

Our tests currently check whether a specific rule is triggered for a given payload. However, we do not check the anomaly score (or action) of the triggered rules. Usually, this isn't a problem, but for new or refactored rules especially, they might include errors. For example, the setvar action for the anomaly score might be missing, or the score might be set for the wrong paranoia level.

Should we test for this? If so, we will need to implement this in go-ftw.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions