Project

General

Profile

Actions

Feature #5719

open

configuration: add a "generated by" field to suricata.yaml, to aid determine what are the correct defaults

Added by Juliana Fajardini Reichow 2 months ago. Updated 2 months ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
Effort:
Difficulty:
Label:

Description

This emerged from the discussion in https://redmine.openinfosecfoundation.org/issues/5219#note-2

My understanding is that the idea is that generated by would indicate which Suricata version "created" that config, and therefore
decide what are the (main) default behaviors, for said version.

Actions #1

Updated by Jason Ish 2 months ago

We already embed the version that generated the suricata.yaml in a comment, but thats not useful to Suricata itself. I see this looking something like:

suricata-version: 7.0.0

Then we can actually do some stuff based on that. Combined with work as-in https://github.com/OISF/suricata/pull/7528/files#diff-7b694eeeab9ec0f0da758009b2fb0dcf323de7a72a23e157e3fd66a95376f29e we could do interesting stuff. The groundwork for editions perhaps.

Actions #2

Updated by Juliana Fajardini Reichow 2 months ago

I like the looks of this!

Actions

Also available in: Atom PDF