Add concept of "parent" tag namespaces

This allows us to create an EnumType that groups all of the analyzer
tag values into a single type, while still having the existing types
that split them up. We can then use this for certain events that benefit
from taking all of the tag types at once.
This commit is contained in:
Tim Wojtulewicz 2021-10-01 12:54:27 -07:00
parent 7d66f4252f
commit a7d3cb48ef
12 changed files with 147 additions and 21 deletions

View file

@ -19,8 +19,8 @@ namespace zeek::file_analysis
{
Manager::Manager()
: plugin::ComponentManager<file_analysis::Component>("Files", "Tag"), current_file_id(),
magic_state(), cumulative_files(0), max_files(0)
: plugin::ComponentManager<file_analysis::Component>("Files", "Tag", "AllAnalyzers"),
current_file_id(), magic_state(), cumulative_files(0), max_files(0)
{
}