Feature #1028
closed
How to identify which rule called the lua script
Added by Tuatini GODARD about 11 years ago.
Updated almost 11 years ago.
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.
VictorJ> maybe you could set a flowint
VictorJ> and access that from the script
from IRC
- Assignee set to Victor Julien
- Target version set to TBD
- 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.
Also available in: Atom
PDF