2020-05-15 09:39:16 +00:00
|
|
|
module github.com/crowdsecurity/crowdsec
|
|
|
|
|
2023-10-04 11:01:57 +00:00
|
|
|
go 1.21
|
|
|
|
|
|
|
|
// Don't use the toolchain directive to avoid uncontrolled downloads during
|
|
|
|
// a build, especially in sandboxed environments (freebsd, gentoo...).
|
2023-10-12 14:28:24 +00:00
|
|
|
// toolchain go1.21.3
|
2020-05-15 09:39:16 +00:00
|
|
|
|
|
|
|
require (
|
2023-10-02 14:30:09 +00:00
|
|
|
entgo.io/ent v0.12.4
|
2023-11-24 14:30:54 +00:00
|
|
|
github.com/AlecAivazis/survey/v2 v2.3.7
|
|
|
|
github.com/Masterminds/semver/v3 v3.2.1
|
|
|
|
github.com/Masterminds/sprig/v3 v3.2.3
|
2023-07-18 09:30:14 +00:00
|
|
|
github.com/agext/levenshtein v1.2.1
|
2023-11-24 14:30:54 +00:00
|
|
|
github.com/alexliesenfeld/health v0.8.0
|
2023-11-24 10:10:54 +00:00
|
|
|
github.com/antonmedv/expr v1.15.3
|
2022-01-17 16:18:12 +00:00
|
|
|
github.com/appleboy/gin-jwt/v2 v2.8.0
|
2023-07-31 15:00:06 +00:00
|
|
|
github.com/aquasecurity/table v1.8.0
|
|
|
|
github.com/aws/aws-lambda-go v1.38.0
|
2022-01-11 13:19:43 +00:00
|
|
|
github.com/aws/aws-sdk-go v1.42.25
|
2023-07-31 15:00:06 +00:00
|
|
|
github.com/beevik/etree v1.1.0
|
|
|
|
github.com/blackfireio/osinfo v1.0.3
|
|
|
|
github.com/bluele/gcache v0.0.2
|
2021-02-02 13:16:03 +00:00
|
|
|
github.com/buger/jsonparser v1.1.1
|
2022-03-17 13:12:13 +00:00
|
|
|
github.com/c-robinson/iplib v1.0.3
|
2023-07-06 08:15:17 +00:00
|
|
|
github.com/cespare/xxhash/v2 v2.2.0
|
2022-10-07 09:05:35 +00:00
|
|
|
github.com/crowdsecurity/dlog v0.0.0-20170105205344-4fb5f8204f26
|
2023-10-20 12:32:35 +00:00
|
|
|
github.com/crowdsecurity/go-cs-lib v0.0.5
|
2023-03-28 14:26:47 +00:00
|
|
|
github.com/crowdsecurity/grokky v0.2.1
|
2022-05-17 16:59:53 +00:00
|
|
|
github.com/crowdsecurity/machineid v1.0.2
|
2020-05-15 09:39:16 +00:00
|
|
|
github.com/davecgh/go-spew v1.1.1
|
|
|
|
github.com/dghubble/sling v1.3.0
|
2023-11-24 15:20:39 +00:00
|
|
|
github.com/docker/docker v24.0.7+incompatible
|
2020-05-15 09:39:16 +00:00
|
|
|
github.com/docker/go-connections v0.4.0
|
|
|
|
github.com/enescakir/emoji v1.0.0
|
2023-07-31 15:00:06 +00:00
|
|
|
github.com/fatih/color v1.15.0
|
2023-04-12 14:58:11 +00:00
|
|
|
github.com/fsnotify/fsnotify v1.6.0
|
2023-07-25 11:32:32 +00:00
|
|
|
github.com/gin-gonic/gin v1.9.1
|
2022-10-06 12:55:42 +00:00
|
|
|
github.com/go-co-op/gocron v1.17.0
|
2022-01-11 15:45:34 +00:00
|
|
|
github.com/go-openapi/errors v0.20.1
|
2021-02-02 13:16:03 +00:00
|
|
|
github.com/go-openapi/strfmt v0.19.11
|
2023-07-18 07:33:32 +00:00
|
|
|
github.com/go-openapi/swag v0.22.3
|
2021-02-02 13:16:03 +00:00
|
|
|
github.com/go-openapi/validate v0.20.0
|
2022-03-17 13:12:13 +00:00
|
|
|
github.com/go-sql-driver/mysql v1.6.0
|
2023-07-06 10:05:34 +00:00
|
|
|
github.com/goccy/go-yaml v1.11.0
|
2023-07-31 15:00:06 +00:00
|
|
|
github.com/gofrs/uuid v4.0.0+incompatible
|
2023-11-24 15:20:39 +00:00
|
|
|
github.com/golang-jwt/jwt/v4 v4.5.0
|
2020-11-30 09:37:17 +00:00
|
|
|
github.com/google/go-querystring v1.0.0
|
2022-03-17 13:12:13 +00:00
|
|
|
github.com/google/uuid v1.3.0
|
2023-07-26 08:14:29 +00:00
|
|
|
github.com/google/winops v0.0.0-20230712152054-af9b550d0601
|
2020-05-15 09:39:16 +00:00
|
|
|
github.com/goombaio/namegenerator v0.0.0-20181006234301-989e774b106e
|
2023-11-22 12:31:39 +00:00
|
|
|
github.com/gorilla/websocket v1.5.0
|
2023-07-06 09:56:30 +00:00
|
|
|
github.com/hashicorp/go-hclog v1.5.0
|
|
|
|
github.com/hashicorp/go-plugin v1.4.10
|
2020-11-30 09:37:17 +00:00
|
|
|
github.com/hashicorp/go-version v1.2.1
|
2023-07-31 15:00:06 +00:00
|
|
|
github.com/ivanpirog/coloredcobra v1.0.1
|
2022-03-17 13:12:13 +00:00
|
|
|
github.com/jackc/pgx/v4 v4.14.1
|
2022-03-29 12:20:26 +00:00
|
|
|
github.com/jarcoal/httpmock v1.1.0
|
2021-12-16 13:39:58 +00:00
|
|
|
github.com/jszwec/csvutil v1.5.1
|
2023-07-31 15:00:06 +00:00
|
|
|
github.com/lithammer/dedent v1.1.0
|
2023-07-25 11:32:32 +00:00
|
|
|
github.com/mattn/go-isatty v0.0.19
|
2023-04-19 10:05:24 +00:00
|
|
|
github.com/mattn/go-sqlite3 v1.14.16
|
2020-11-30 09:37:17 +00:00
|
|
|
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826
|
2023-04-12 14:58:11 +00:00
|
|
|
github.com/nxadm/tail v1.4.8
|
2020-05-15 09:39:16 +00:00
|
|
|
github.com/oschwald/geoip2-golang v1.4.0
|
2021-02-02 13:16:03 +00:00
|
|
|
github.com/oschwald/maxminddb-golang v1.8.0
|
2023-07-31 15:00:06 +00:00
|
|
|
github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58
|
2020-11-30 09:37:17 +00:00
|
|
|
github.com/pkg/errors v0.9.1
|
2023-11-24 15:20:39 +00:00
|
|
|
github.com/prometheus/client_golang v1.16.0
|
|
|
|
github.com/prometheus/client_model v0.4.0
|
2020-05-15 09:39:16 +00:00
|
|
|
github.com/prometheus/prom2json v1.3.0
|
2021-12-02 14:55:50 +00:00
|
|
|
github.com/r3labs/diff/v2 v2.14.1
|
2023-11-23 09:02:53 +00:00
|
|
|
github.com/segmentio/kafka-go v0.4.45
|
2023-07-31 15:00:06 +00:00
|
|
|
github.com/shirou/gopsutil/v3 v3.23.5
|
2023-07-13 14:22:21 +00:00
|
|
|
github.com/sirupsen/logrus v1.9.3
|
2023-08-24 07:46:25 +00:00
|
|
|
github.com/slack-go/slack v0.12.2
|
2023-04-12 14:58:11 +00:00
|
|
|
github.com/spf13/cobra v1.7.0
|
2023-07-28 14:35:08 +00:00
|
|
|
github.com/stretchr/testify v1.8.4
|
2023-07-31 15:00:06 +00:00
|
|
|
github.com/umahmood/haversine v0.0.0-20151105152445-808ab04add26
|
2023-07-05 11:14:40 +00:00
|
|
|
github.com/wasilibs/go-re2 v1.3.0
|
2023-09-29 14:59:06 +00:00
|
|
|
github.com/xhit/go-simple-mail/v2 v2.16.0
|
2023-12-04 13:01:10 +00:00
|
|
|
golang.org/x/crypto v0.16.0
|
2023-07-31 15:00:06 +00:00
|
|
|
golang.org/x/mod v0.11.0
|
2023-12-04 13:01:10 +00:00
|
|
|
golang.org/x/sys v0.15.0
|
2023-11-20 10:55:29 +00:00
|
|
|
google.golang.org/grpc v1.56.3
|
2023-11-24 15:20:39 +00:00
|
|
|
google.golang.org/protobuf v1.31.0
|
2023-04-12 14:58:11 +00:00
|
|
|
gopkg.in/natefinch/lumberjack.v2 v2.2.1
|
2020-05-15 09:39:16 +00:00
|
|
|
gopkg.in/tomb.v2 v2.0.0-20161208151619-d5d1b5820637
|
2021-02-02 13:16:03 +00:00
|
|
|
gopkg.in/yaml.v2 v2.4.0
|
2023-07-04 16:46:20 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
require (
|
2023-12-04 14:02:32 +00:00
|
|
|
github.com/crowdsecurity/coraza/v3 v3.0.0-20231204135508-23eef9bf7f39
|
2023-11-27 12:34:22 +00:00
|
|
|
golang.org/x/text v0.14.0
|
2023-02-06 06:33:04 +00:00
|
|
|
gopkg.in/yaml.v3 v3.0.1
|
2023-11-22 12:31:39 +00:00
|
|
|
gotest.tools/v3 v3.5.0
|
2023-11-24 15:20:39 +00:00
|
|
|
k8s.io/apiserver v0.28.4
|
2022-05-17 10:14:59 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
require (
|
2023-10-02 14:30:09 +00:00
|
|
|
ariga.io/atlas v0.14.1-0.20230918065911-83ad451a4935 // indirect
|
2021-12-16 13:39:58 +00:00
|
|
|
github.com/Masterminds/goutils v1.1.1 // indirect
|
2023-07-31 15:00:06 +00:00
|
|
|
github.com/Microsoft/go-winio v0.6.1 // indirect
|
2022-10-18 15:01:36 +00:00
|
|
|
github.com/ahmetalpbalkan/dlog v0.0.0-20170105205344-4fb5f8204f26 // indirect
|
2022-03-17 13:12:13 +00:00
|
|
|
github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect
|
2021-12-16 13:39:58 +00:00
|
|
|
github.com/asaskevich/govalidator v0.0.0-20200907205600-7a23bdc65eef // indirect
|
|
|
|
github.com/beorn7/perks v1.0.1 // indirect
|
2023-07-25 11:32:32 +00:00
|
|
|
github.com/bytedance/sonic v1.9.1 // indirect
|
|
|
|
github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 // indirect
|
2023-07-04 16:46:20 +00:00
|
|
|
github.com/corazawaf/libinjection-go v0.1.2 // indirect
|
2023-07-31 15:00:06 +00:00
|
|
|
github.com/coreos/go-systemd/v22 v22.5.0 // indirect
|
2022-09-27 14:28:07 +00:00
|
|
|
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
|
2023-07-18 07:33:32 +00:00
|
|
|
github.com/creack/pty v1.1.18 // indirect
|
2023-05-12 07:45:08 +00:00
|
|
|
github.com/docker/distribution v2.8.2+incompatible // indirect
|
2023-07-24 09:53:33 +00:00
|
|
|
github.com/docker/go-units v0.5.0 // indirect
|
2023-07-25 11:32:32 +00:00
|
|
|
github.com/gabriel-vasile/mimetype v1.4.2 // indirect
|
2021-12-16 13:39:58 +00:00
|
|
|
github.com/gin-contrib/sse v0.1.0 // indirect
|
2023-11-24 15:20:39 +00:00
|
|
|
github.com/go-logr/logr v1.2.4 // indirect
|
2023-02-06 06:33:04 +00:00
|
|
|
github.com/go-ole/go-ole v1.2.6 // indirect
|
2021-12-16 13:39:58 +00:00
|
|
|
github.com/go-openapi/analysis v0.19.16 // indirect
|
2022-03-16 08:40:34 +00:00
|
|
|
github.com/go-openapi/inflect v0.19.0 // indirect
|
2023-07-18 07:33:32 +00:00
|
|
|
github.com/go-openapi/jsonpointer v0.19.6 // indirect
|
2023-11-24 15:20:39 +00:00
|
|
|
github.com/go-openapi/jsonreference v0.20.2 // indirect
|
2021-12-16 13:39:58 +00:00
|
|
|
github.com/go-openapi/loads v0.20.0 // indirect
|
|
|
|
github.com/go-openapi/runtime v0.19.24 // indirect
|
|
|
|
github.com/go-openapi/spec v0.20.0 // indirect
|
2023-07-25 11:32:32 +00:00
|
|
|
github.com/go-playground/locales v0.14.1 // indirect
|
|
|
|
github.com/go-playground/universal-translator v0.18.1 // indirect
|
|
|
|
github.com/go-playground/validator/v10 v10.14.0 // indirect
|
2021-12-16 13:39:58 +00:00
|
|
|
github.com/go-stack/stack v1.8.0 // indirect
|
2023-07-25 11:32:32 +00:00
|
|
|
github.com/goccy/go-json v0.10.2 // indirect
|
2021-12-16 13:39:58 +00:00
|
|
|
github.com/gogo/protobuf v1.3.2 // indirect
|
2023-07-06 08:15:17 +00:00
|
|
|
github.com/golang/glog v1.1.0 // indirect
|
|
|
|
github.com/golang/protobuf v1.5.3 // indirect
|
2023-02-06 06:33:04 +00:00
|
|
|
github.com/google/go-cmp v0.5.9 // indirect
|
2022-12-06 12:47:29 +00:00
|
|
|
github.com/google/gofuzz v1.2.0 // indirect
|
2022-10-06 12:55:42 +00:00
|
|
|
github.com/hashicorp/hcl/v2 v2.13.0 // indirect
|
2021-12-16 13:39:58 +00:00
|
|
|
github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb // indirect
|
2023-11-24 14:30:54 +00:00
|
|
|
github.com/huandu/xstrings v1.3.3 // indirect
|
2021-12-16 13:39:58 +00:00
|
|
|
github.com/imdario/mergo v0.3.12 // indirect
|
2023-04-12 14:58:11 +00:00
|
|
|
github.com/inconshreveable/mousetrap v1.1.0 // indirect
|
2022-01-20 10:17:21 +00:00
|
|
|
github.com/jackc/chunkreader/v2 v2.0.1 // indirect
|
|
|
|
github.com/jackc/pgconn v1.10.1 // indirect
|
|
|
|
github.com/jackc/pgio v1.0.0 // indirect
|
|
|
|
github.com/jackc/pgpassfile v1.0.0 // indirect
|
|
|
|
github.com/jackc/pgproto3/v2 v2.2.0 // indirect
|
|
|
|
github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b // indirect
|
|
|
|
github.com/jackc/pgtype v1.9.1 // indirect
|
2021-12-16 13:39:58 +00:00
|
|
|
github.com/jmespath/go-jmespath v0.4.0 // indirect
|
|
|
|
github.com/josharian/intern v1.0.0 // indirect
|
2022-01-17 16:18:12 +00:00
|
|
|
github.com/json-iterator/go v1.1.12 // indirect
|
2021-12-16 13:39:58 +00:00
|
|
|
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
|
2023-11-23 09:02:53 +00:00
|
|
|
github.com/klauspost/compress v1.17.3 // indirect
|
2023-07-25 11:32:32 +00:00
|
|
|
github.com/klauspost/cpuid/v2 v2.2.4 // indirect
|
|
|
|
github.com/leodido/go-urn v1.2.4 // indirect
|
2023-02-06 06:33:04 +00:00
|
|
|
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
|
2023-07-13 14:22:21 +00:00
|
|
|
github.com/magefile/mage v1.15.0 // indirect
|
2023-07-18 07:33:32 +00:00
|
|
|
github.com/mailru/easyjson v0.7.7 // indirect
|
2023-07-31 15:00:06 +00:00
|
|
|
github.com/mattn/go-colorable v0.1.13 // indirect
|
2022-03-17 13:12:13 +00:00
|
|
|
github.com/mattn/go-runewidth v0.0.13 // indirect
|
2023-01-12 16:25:53 +00:00
|
|
|
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
|
2021-12-16 13:39:58 +00:00
|
|
|
github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d // indirect
|
|
|
|
github.com/mitchellh/copystructure v1.2.0 // indirect
|
|
|
|
github.com/mitchellh/go-testing-interface v1.0.0 // indirect
|
2022-03-17 13:12:13 +00:00
|
|
|
github.com/mitchellh/go-wordwrap v1.0.1 // indirect
|
2022-10-06 12:55:42 +00:00
|
|
|
github.com/mitchellh/mapstructure v1.5.0 // indirect
|
2021-12-16 13:39:58 +00:00
|
|
|
github.com/mitchellh/reflectwalk v1.0.2 // indirect
|
2023-07-18 07:33:32 +00:00
|
|
|
github.com/moby/term v0.5.0 // indirect
|
2021-12-16 13:39:58 +00:00
|
|
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
2022-01-17 16:18:12 +00:00
|
|
|
github.com/modern-go/reflect2 v1.0.2 // indirect
|
2021-12-16 13:39:58 +00:00
|
|
|
github.com/morikuni/aec v1.0.0 // indirect
|
|
|
|
github.com/oklog/run v1.0.0 // indirect
|
|
|
|
github.com/opencontainers/go-digest v1.0.0 // indirect
|
2023-01-12 16:25:53 +00:00
|
|
|
github.com/opencontainers/image-spec v1.0.3-0.20211202183452-c5a74bcca799 // indirect
|
2023-07-25 11:32:32 +00:00
|
|
|
github.com/pelletier/go-toml/v2 v2.0.8 // indirect
|
2023-07-27 08:04:24 +00:00
|
|
|
github.com/petar-dambovaliev/aho-corasick v0.0.0-20230725210150-fb29fc3c913e // indirect
|
2023-11-23 09:02:53 +00:00
|
|
|
github.com/pierrec/lz4/v4 v4.1.18 // indirect
|
2021-12-16 13:39:58 +00:00
|
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
2023-02-06 06:33:04 +00:00
|
|
|
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
|
2023-11-24 15:20:39 +00:00
|
|
|
github.com/prometheus/common v0.44.0 // indirect
|
|
|
|
github.com/prometheus/procfs v0.10.1 // indirect
|
2021-12-16 13:39:58 +00:00
|
|
|
github.com/rivo/uniseg v0.2.0 // indirect
|
|
|
|
github.com/robfig/cron/v3 v3.0.1 // indirect
|
|
|
|
github.com/russross/blackfriday/v2 v2.1.0 // indirect
|
2023-07-31 15:00:06 +00:00
|
|
|
github.com/shoenig/go-m1cpu v0.1.6 // indirect
|
2022-09-05 07:05:50 +00:00
|
|
|
github.com/shopspring/decimal v1.2.0 // indirect
|
|
|
|
github.com/spf13/cast v1.3.1 // indirect
|
2021-12-16 13:39:58 +00:00
|
|
|
github.com/spf13/pflag v1.0.5 // indirect
|
2023-07-05 11:14:40 +00:00
|
|
|
github.com/tetratelabs/wazero v1.2.1 // indirect
|
2023-11-14 09:17:39 +00:00
|
|
|
github.com/tidwall/gjson v1.17.0 // indirect
|
2023-07-04 16:46:20 +00:00
|
|
|
github.com/tidwall/match v1.1.1 // indirect
|
|
|
|
github.com/tidwall/pretty v1.2.1 // indirect
|
2023-02-06 06:33:04 +00:00
|
|
|
github.com/tklauser/go-sysconf v0.3.11 // indirect
|
|
|
|
github.com/tklauser/numcpus v0.6.0 // indirect
|
2023-08-24 07:46:25 +00:00
|
|
|
github.com/toorop/go-dkim v0.0.0-20201103131630-e1cd1a0a5208 // indirect
|
2023-07-25 11:32:32 +00:00
|
|
|
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
|
|
|
|
github.com/ugorji/go/codec v1.2.11 // indirect
|
2023-07-04 16:46:20 +00:00
|
|
|
github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect
|
2023-07-31 15:00:06 +00:00
|
|
|
github.com/yusufpapurcu/wmi v1.2.3 // indirect
|
2022-12-06 12:47:29 +00:00
|
|
|
github.com/zclconf/go-cty v1.8.0 // indirect
|
2023-07-31 15:00:06 +00:00
|
|
|
go.mongodb.org/mongo-driver v1.9.4 // indirect
|
2023-07-25 11:32:32 +00:00
|
|
|
golang.org/x/arch v0.3.0 // indirect
|
2023-12-04 13:01:10 +00:00
|
|
|
golang.org/x/net v0.19.0 // indirect
|
2023-11-14 09:17:39 +00:00
|
|
|
golang.org/x/sync v0.5.0 // indirect
|
2023-12-04 13:01:10 +00:00
|
|
|
golang.org/x/term v0.15.0 // indirect
|
2023-11-24 15:20:39 +00:00
|
|
|
golang.org/x/time v0.3.0 // indirect
|
2023-10-02 14:30:09 +00:00
|
|
|
golang.org/x/tools v0.8.1-0.20230428195545-5283a0178901 // indirect
|
2022-12-20 15:11:51 +00:00
|
|
|
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
|
2022-03-17 13:12:13 +00:00
|
|
|
google.golang.org/appengine v1.6.7 // indirect
|
2023-11-24 15:20:39 +00:00
|
|
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234030-28d5490b6b19 // indirect
|
2022-12-06 12:47:29 +00:00
|
|
|
gopkg.in/inf.v0 v0.9.1 // indirect
|
2021-12-16 13:39:58 +00:00
|
|
|
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
|
2023-11-24 15:20:39 +00:00
|
|
|
k8s.io/api v0.28.4 // indirect
|
|
|
|
k8s.io/apimachinery v0.28.4 // indirect
|
|
|
|
k8s.io/klog/v2 v2.100.1 // indirect
|
|
|
|
k8s.io/utils v0.0.0-20230406110748-d93618cff8a2 // indirect
|
2023-07-04 16:46:20 +00:00
|
|
|
rsc.io/binaryregexp v0.2.0 // indirect
|
2023-07-18 07:33:32 +00:00
|
|
|
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
|
2022-12-06 12:47:29 +00:00
|
|
|
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
|
2021-12-16 13:39:58 +00:00
|
|
|
)
|
|
|
|
|
2021-09-09 12:46:16 +00:00
|
|
|
replace golang.org/x/time/rate => github.com/crowdsecurity/crowdsec/pkg/time/rate v0.0.0
|