Project

General

Profile

Actions

Feature #1028

closed
TG VJ

How to identify which rule called the lua script

Feature #1028: How to identify which rule called the lua script

Added by Tuatini GODARD over 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
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.

TG Updated by Tuatini GODARD over 12 years ago Actions #1

VictorJ> maybe you could set a flowint
VictorJ> and access that from the script
from IRC

VJ Updated by Victor Julien over 12 years ago Actions #2

  • Assignee set to Victor Julien
  • Target version set to TBD

VJ Updated by Victor Julien about 12 years ago Actions #3

  • 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

Also available in: PDF Atom