]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect/analyzer: add the type
authorVictor Julien <vjulien@oisf.net>
Wed, 24 May 2023 13:28:49 +0000 (15:28 +0200)
committerVictor Julien <vjulien@oisf.net>
Fri, 26 May 2023 04:55:46 +0000 (06:55 +0200)
commitc6d3b461a661d039384c4118461909382c0cf7ac
tree341d98054bb2df383c6fc325ea579346df84d1e4
parent2696fda04168cb82bedc8920fb8a3cc7d55289de
detect/analyzer: add the type

Per rule type record properties of the type.

Example output:

    {
        "raw": "alert udp any any -> any any (msg:\"UDP with flow direction\"; flow:to_server; sid:1001;)",
        "id": 1001,
        "gid": 1,
        "rev": 0,
        "msg": "UDP with flow direction",
        "app_proto": "unknown",
        "requirements": [],
        "type": "pkt",
        "flags": [
            "src_any",
            "dst_any",
            "sp_any",
            "dp_any",
            "toserver"
        ],
        "pkt_engines": [],
        "frame_engines": [],
        "lists": {}
    }

Ticket: #6085.
src/detect-engine-analyzer.c