configuration: add a "generated by" field to suricata.yaml, to aid determine what are the correct defaults
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.
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:
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.