suricata_check.utils

The suricata_check.utils module contains several utilities for the suricata-check main program and the checkers.

Submodules

Functions

find_rules_file(→ str)

Find the Suricata rules file in the given directory.

Package Contents

suricata_check.utils.find_rules_file(root: str) str[source]

Find the Suricata rules file in the given directory.

Returns an absolute path to the rules file.