Commit Graph

6 Commits (928ac012156fb8d393ce5ac4a496fde3c2e87b00)

Author SHA1 Message Date
Juliana Fajardini 34b7a9ef82 scripts: check doc rules as TD and FW rules
Previously, a rule that had firewall-only syntax or keywords would fail
the script check.

Since we can't guarantee that a firewall rule will look different than a
detection one, run rule examples against both scenarios before failing
them.
3 weeks ago
Juliana Fajardini f3e27b0e41 scripts: check-doc-rules tries local bin first
If the point is to check the docs for added changes, it makes sense to
that used binary is the one that comes with the doc changes. Thus, try
using the local binary first, before falling back to usr/bin installed
Suricata.
3 weeks ago
Philippe Antoine 762b725e1f ci: check-doc-rules copies data(sets) files into tmpdir
Allows to use datasets load
3 months ago
Philippe Antoine d84b6789c9 ci: make doc rules validation strict
not finding anymore problems now
4 months ago
Philippe Antoine e0d10c0513 scripts: remove dead code in check-doc-rules 5 months ago
Philippe Antoine 42a85c37f1 scripts: add script to check rules in doc
Ticket: 8372

and run it in github CI
5 months ago