Actions
Feature #1028
closedHow to identify which rule called the lua script
Effort:
Difficulty:
Label:
Description
Hello,
I am looking for a way to identify which rule called a lua script
when different rules call the same script.
Thank you.
Updated by Tuatini GODARD about 11 years ago
VictorJ> maybe you could set a flowint
VictorJ> and access that from the script
from IRC
Updated by Victor Julien almost 11 years ago
- Assignee set to Victor Julien
- Target version set to TBD
Updated by Victor Julien almost 11 years ago
- Status changed from New to Closed
- Target version changed from TBD to 2.0beta2
- % Done changed from 0 to 100
This was added through:
commit ae69a4a024aa666e4051c8ea4c73cd363e97a03d Author: Victor Julien <victor@inliniac.net> Date: Tue Nov 5 21:45:08 2013 +0100 luajit: pass calling rule's sid,gid,rev to script as SCRuleSid, SCRuleGid, SCRuleRev.
Actions