zeek/src/analyzer/protocol/http/Plugin.cc

22 lines
591 B
C++

// See the file in the main distribution directory for copyright.
#include "HTTP.h"
#include "plugin/Plugin.h"
#include "analyzer/Component.h"
namespace zeek::plugin::detail::Zeek_HTTP {
class Plugin : public zeek::plugin::Plugin {
public:
zeek::plugin::Configuration Configure() override
{
AddComponent(new zeek::analyzer::Component("HTTP", zeek::analyzer::http::HTTP_Analyzer::Instantiate));
zeek::plugin::Configuration config;
config.name = "Zeek::HTTP";
config.description = "HTTP analyzer";
return config;
}
} plugin;
} // namespace zeek::plugin::detail::Zeek_HTTP