Project

General

Profile

Actions

Feature #3199

closed

transformation should be able to take options

Added by Victor Julien over 4 years ago. Updated almost 4 years ago.

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

Description

Currently rule transformations cannot take options. This is due to the way it is implemented. It would be useful to allow options.


Related issues 2 (1 open1 closed)

Blocks Suricata - Feature #2290: lua: use script as transformAssignedJeff LucovskyActions
Blocks Suricata - Feature #3200: pcre: allow operation as transformClosedJeff LucovskyActions
Actions #1

Updated by Victor Julien over 4 years ago

Actions #2

Updated by Victor Julien over 4 years ago

Actions #3

Updated by Victor Julien about 4 years ago

  • Status changed from New to Assigned
  • Assignee changed from OISF Dev to Jeff Lucovsky
Actions #4

Updated by Jeff Lucovsky about 4 years ago

This sounds like a good idea; are you suggesting it be restricted to Lua and PCRE? Or, a general purpose mechanism for these and the existing transforms?

Actions #5

Updated by Victor Julien about 4 years ago

I would like it to be possible to express something like

http.uri; take:4; content:"/abc";

Here 'take' would be an transform. Currently the underlying transactions code has nowhere to store this argument.

Actions #6

Updated by Victor Julien about 4 years ago

  • Status changed from Assigned to In Review
Actions #7

Updated by Victor Julien almost 4 years ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF