Project

General

Profile

Actions

Feature #8675

open
PA PA

detect/integers: auto-document list of possible values

Feature #8675: detect/integers: auto-document list of possible values

Added by Philippe Antoine about 3 hours ago.

Status:
New
Priority:
Normal
Target version:
Effort:
Difficulty:
Label:

Description

Not sure how it should be reachable

with something like `suricata --list-keywords` or `suricata -T`, or another option

But it should output the info like json

"snmp.trap_type" : {
"enum_values": {
"colstart": 0,
"warmstart": 1,
"linkdown": 2,
}
}

Then we can check in CI that ./src/suricata --list-keywords=csv | grep enum are true because they have this field

It could be then also used by other tools like suricata language server I guess


Related issues 1 (1 open0 closed)

Related to Suricata - Task #6644: tracking: detect: integer as first-class supportIn ProgressPhilippe AntoineActions
Actions

Also available in: PDF Atom