Project

General

Profile

Actions

Feature #6647

closed

Feature #6644: tracking: detect: integer as first-class support

detect: integers: support for enumerations

Added by Philippe Antoine 4 months ago. Updated 3 months ago.

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

Description

cf https://github.com/OISF/suricata/pull/10075 and use of derive

An enumeration is just an integer, with a string associated to it.
We shouyld be able to use the string when parsing rules so that they are more easily readable by humans...


Related issues 1 (1 open0 closed)

Related to Suricata - Feature #6723: detect: review existing keywords for usage of enumerationsNewPhilippe AntoineActions
Actions #1

Updated by Philippe Antoine 4 months ago

  • Status changed from New to In Review
  • Target version changed from TBD to 8.0.0-beta1
Actions #2

Updated by Philippe Antoine 3 months ago

Also, some keywords should be converted to this enumeration style like http2.error_code after the PR is merged

Actions #3

Updated by Philippe Antoine 3 months ago

  • Status changed from In Review to Closed
Actions #4

Updated by Philippe Antoine 3 months ago

  • Related to Feature #6723: detect: review existing keywords for usage of enumerations added
Actions

Also available in: Atom PDF