From 5de442a369fb7db47d11ef9b965f2a5316a99dfe Mon Sep 17 00:00:00 2001 From: he2ss Date: Fri, 25 Oct 2024 15:16:36 +0200 Subject: [PATCH] forgotten file --- pkg/acquisition/http.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pkg/acquisition/http.go diff --git a/pkg/acquisition/http.go b/pkg/acquisition/http.go new file mode 100644 index 00000000000..59745772b62 --- /dev/null +++ b/pkg/acquisition/http.go @@ -0,0 +1,12 @@ +//go:build !no_datasource_http + +package acquisition + +import ( + httpacquisition "github.com/crowdsecurity/crowdsec/pkg/acquisition/modules/http" +) + +//nolint:gochecknoinits +func init() { + registerDataSource("http", func() DataSource { return &httpacquisition.HTTPSource{} }) +}