diff --git a/examples/http-server/go.mod b/examples/http-server/go.mod index b3698b8ce..b3f8819c6 100644 --- a/examples/http-server/go.mod +++ b/examples/http-server/go.mod @@ -5,7 +5,7 @@ go 1.22 require github.com/corazawaf/coraza/v3 v3.2.1 require ( - github.com/corazawaf/libinjection-go v0.2.1 // indirect + github.com/corazawaf/libinjection-go v0.2.2 // indirect github.com/magefile/mage v1.15.0 // indirect github.com/petar-dambovaliev/aho-corasick v0.0.0-20240411101913-e07a1f0e8eb4 // indirect github.com/tidwall/gjson v1.18.0 // indirect diff --git a/examples/http-server/go.sum b/examples/http-server/go.sum index 9afa47292..4457419b9 100644 --- a/examples/http-server/go.sum +++ b/examples/http-server/go.sum @@ -1,7 +1,6 @@ github.com/corazawaf/coraza/v3 v3.2.1 h1:zBIji4ut9FtFe8lXdqFwXMAkUoDJZ7HsOlEUYWERLI8= github.com/corazawaf/coraza/v3 v3.2.1/go.mod h1:fVndCGdUHJWl9c26VZPcORQRzUYwMPnRkC6TyTkhbUg= -github.com/corazawaf/libinjection-go v0.2.1 h1:vNJ7L6c4xkhRgYU6sIO0Tl54TmeCQv/yfxBma30Dy/Y= -github.com/corazawaf/libinjection-go v0.2.1/go.mod h1:OP4TM7xdJ2skyXqNX1AN1wN5nNZEmJNuWbNPOItn7aw= +github.com/corazawaf/libinjection-go v0.2.2 h1:Chzodvb6+NXh6wew5/yhD0Ggioif9ACrQGR4qjTCs1g= github.com/foxcpp/go-mockdns v1.1.0 h1:jI0rD8M0wuYAxL7r/ynTrCQQq0BVqfB99Vgk7DlmewI= github.com/foxcpp/go-mockdns v1.1.0/go.mod h1:IhLeSFGed3mJIAXPH2aiRQB+kqz7oqu8ld2qVbOu7Wk= github.com/magefile/mage v1.15.0 h1:BvGheCMAsG3bWUDbZ8AyXXpCNwU9u5CB6sM+HNb9HYg= diff --git a/go.sum b/go.sum index 997e6a3fc..29d49f709 100644 --- a/go.sum +++ b/go.sum @@ -1,7 +1,5 @@ github.com/anuraaga/go-modsecurity v0.0.0-20220824035035-b9a4099778df h1:YWiVl53v0R8Knj/k+4slO0SXPL67Y4dXWiOIWNzrkew= github.com/anuraaga/go-modsecurity v0.0.0-20220824035035-b9a4099778df/go.mod h1:7jguE759ADzy2EkxGRXigiC0ER1Yq2IFk2qNtwgzc7U= -github.com/corazawaf/libinjection-go v0.2.1 h1:vNJ7L6c4xkhRgYU6sIO0Tl54TmeCQv/yfxBma30Dy/Y= -github.com/corazawaf/libinjection-go v0.2.1/go.mod h1:OP4TM7xdJ2skyXqNX1AN1wN5nNZEmJNuWbNPOItn7aw= github.com/corazawaf/libinjection-go v0.2.2 h1:Chzodvb6+NXh6wew5/yhD0Ggioif9ACrQGR4qjTCs1g= github.com/corazawaf/libinjection-go v0.2.2/go.mod h1:OP4TM7xdJ2skyXqNX1AN1wN5nNZEmJNuWbNPOItn7aw= github.com/foxcpp/go-mockdns v1.1.0 h1:jI0rD8M0wuYAxL7r/ynTrCQQq0BVqfB99Vgk7DlmewI= diff --git a/internal/auditlog/formats_ocsf_test.go b/internal/auditlog/formats_ocsf_test.go index 2f0409918..930357fc6 100644 --- a/internal/auditlog/formats_ocsf_test.go +++ b/internal/auditlog/formats_ocsf_test.go @@ -9,12 +9,13 @@ import ( "strings" "testing" + "github.com/valllabh/ocsf-schema-golang/ocsf/v1_2_0/events/application" + "github.com/valllabh/ocsf-schema-golang/ocsf/v1_2_0/events/application/enums" + "github.com/corazawaf/coraza/v3/experimental/plugins/plugintypes" "github.com/corazawaf/coraza/v3/internal/collections" "github.com/corazawaf/coraza/v3/types" "github.com/corazawaf/coraza/v3/types/variables" - "github.com/valllabh/ocsf-schema-golang/ocsf/v1_2_0/events/application" - "github.com/valllabh/ocsf-schema-golang/ocsf/v1_2_0/events/application/enums" ) func TestOCSFFormatter(t *testing.T) { diff --git a/testing/coreruleset/coreruleset_test.go b/testing/coreruleset/coreruleset_test.go index 6fe6ead86..9955ff8b8 100644 --- a/testing/coreruleset/coreruleset_test.go +++ b/testing/coreruleset/coreruleset_test.go @@ -23,6 +23,7 @@ import ( "time" "github.com/bmatcuk/doublestar/v4" + albedo "github.com/coreruleset/albedo/server" "github.com/coreruleset/go-ftw/config" "github.com/coreruleset/go-ftw/output" "github.com/coreruleset/go-ftw/runner" @@ -34,7 +35,6 @@ import ( "github.com/corazawaf/coraza/v3" txhttp "github.com/corazawaf/coraza/v3/http" "github.com/corazawaf/coraza/v3/types" - albedo "github.com/coreruleset/albedo/server" ) func BenchmarkCRSCompilation(b *testing.B) { diff --git a/testing/coreruleset/go.mod b/testing/coreruleset/go.mod index e35277884..1a3cf3e26 100644 --- a/testing/coreruleset/go.mod +++ b/testing/coreruleset/go.mod @@ -15,7 +15,7 @@ require ( github.com/Masterminds/goutils v1.1.1 // indirect github.com/Masterminds/semver v1.5.0 // indirect github.com/Masterminds/sprig v2.22.0+incompatible // indirect - github.com/corazawaf/libinjection-go v0.2.1 // indirect + github.com/corazawaf/libinjection-go v0.2.2 // indirect github.com/coreruleset/ftw-tests-schema/v2 v2.1.0 // indirect github.com/fatih/color v1.17.0 // indirect github.com/fsnotify/fsnotify v1.7.0 // indirect diff --git a/testing/coreruleset/go.sum b/testing/coreruleset/go.sum index 39b19a5c1..4a81d6329 100644 --- a/testing/coreruleset/go.sum +++ b/testing/coreruleset/go.sum @@ -8,8 +8,7 @@ github.com/bmatcuk/doublestar/v4 v4.6.1 h1:FH9SifrbvJhnlQpztAx++wlkk70QBf0iBWDwN github.com/bmatcuk/doublestar/v4 v4.6.1/go.mod h1:xBQ8jztBU6kakFMg+8WGxn0c6z1fTSPVIjEY1Wr7jzc= github.com/corazawaf/coraza-coreruleset/v4 v4.6.0 h1:VGlMw3QMuKaV7XgifPgcqCm66K+HRSdM4d9PRh1nD50= github.com/corazawaf/coraza-coreruleset/v4 v4.6.0/go.mod h1:1FQt1p+JSQ6tYrafMqZrEEdDmhq6aVuIJdnk+bM9hMY= -github.com/corazawaf/libinjection-go v0.2.1 h1:vNJ7L6c4xkhRgYU6sIO0Tl54TmeCQv/yfxBma30Dy/Y= -github.com/corazawaf/libinjection-go v0.2.1/go.mod h1:OP4TM7xdJ2skyXqNX1AN1wN5nNZEmJNuWbNPOItn7aw= +github.com/corazawaf/libinjection-go v0.2.2 h1:Chzodvb6+NXh6wew5/yhD0Ggioif9ACrQGR4qjTCs1g= github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= github.com/coreruleset/albedo v0.0.16 h1:YYWEJBSfAwVmZ5tbBgQQhL8uU6IKeA2QwpAkii3UPKY= github.com/coreruleset/albedo v0.0.16/go.mod h1:6mYBASfvvRM2ckXgYO7N5nyKAj8OqLnT4+YLbM0/XWE=