Project

General

Profile

Feature #4059

Updated by Shivani Bhardwaj about 4 years ago

Current createst script generates only the filter blocks as per eve.json, extend its functionality to add a global Suricata version as mentioned on command line. 

 +Expectation+ 

 <pre><code class="shell"> 
 createst.py mytest mypcap --add-version 6.0.0 5.0 

 </code></pre> 

 The final generated test.yaml should have a suricata version defined globally. 

 <pre><code class="yaml"> 
 requires: 
   features: 
     - HAVE_LIBJANSSON 
   version: 6.0.0 

 checks: 
 - filter: 
     count: 1 
 </code></pre> 

Back