]> git.ipfire.org Git - thirdparty/suricata-verify.git/commitdiff
lua: enable lua rules for tests that use lua rules
authorJason Ish <jason.ish@oisf.net>
Wed, 7 Jun 2023 22:50:53 +0000 (16:50 -0600)
committerJason Ish <jason.ish@oisf.net>
Tue, 13 Jun 2023 21:29:08 +0000 (15:29 -0600)
tests/dns-lua-rules/test.yaml
tests/lua-byte-extract/test.yaml
tests/lua-match-scrule/test.yaml
tests/lua-scflowvarget/test.yaml
tests/tls/tls-ja3s/test.yaml

index 656f5eeaac1e58572b0721ae2076bdff75f10001..298034b36d334711ec23c34cf989b7a932dadfe5 100644 (file)
@@ -2,9 +2,8 @@ requires:
   features:
     - HAVE_LUA
 
-# skip:
-#   - feature: RUST
-#     msg: Known issue with feature RUST
+args:
+  - --set security.lua.allow-rules=true
 
 checks:
   - filter:
index f7fe236781d17130ff2dbff800106710e1f69870..3e2269ada2b870cfcc9691316cec11a4406443a1 100644 (file)
@@ -6,6 +6,7 @@ requires:
 
 args:
    - --set default-rule-path=${TEST_DIR}
+   - --set security.lua.allow-rules=true
 
 checks:
   - filter:
index c1d12a16e310b3c238979b216495f483a9fd5b14..a7f4914de9956ea9d8ac126a89846bfb98be8352 100644 (file)
@@ -3,6 +3,9 @@ requires:
   features:
     - HAVE_LUA
 
+args:
+  - --set security.lua.allow-rules=true
+
 checks:
   - filter:
       count: 1
index 9332b9f6652f5303cb76fa9ace138e24ae2d98a1..d4ac6a513157b41cdb55f17963d806919f32eb30 100644 (file)
@@ -5,6 +5,7 @@ requires:
 
 args:
  - -k none
+ - --set security.lua.allow-rules=true
 
 checks:
   - filter:
index f1730f47ee5e6cd4debf1999e9d9a158685ec45b..42b5e3b15a510df968260b36063ee556551f343f 100644 (file)
@@ -7,6 +7,7 @@ requires:
 
 args:
  - -k none
+ - --set security.lua.allow-rules=true
 
 checks:
   # Check that we have the following events in eve.json