mmetc
ffadd42779
update dependency on go-cs-lib; drop the pkg/ part ( #2393 )
2023-07-28 16:35:08 +02:00
mmetc
1a6f12c88e
Build target for "make tidy" ( #2378 )
...
The make tidy target runs "go mod tidy" in the root directory and all plugins.
2023-07-26 10:24:37 +02:00
blotus
867245aefb
go mod tidy for sentinel plugin ( #2377 )
2023-07-25 15:43:15 +02:00
blotus
77d58652a3
add sentinel notification plugin ( #2268 )
2023-07-25 15:07:10 +02:00
mmetc
fc78845a97
update gin-gonic/gin to 1.9.1 ( #2230 )
2023-07-25 13:32:32 +02:00
mmetc
c10bca93df
update dependencies on go-plugin and go-hclog ( #2341 )
...
* update dependencies on go-plugin and go-hclog
* bump logrus (panic fix)
* implement HCLogAdapter.Getleve() to satisfy the new interface
2023-07-06 12:01:07 +02:00
mmetc
59afb285f3
Update grpc dependency to latest stable version ( #2339 )
2023-07-06 10:15:17 +02:00
mmetc
8bfeb7d90d
Update go dependencies ( #2293 )
...
- update fatih/color (fix windows issue)
- update mongo-driver (fix build issue)
- go.mod: merge two "require" blocks
- update semver dependency (same version as indirect dep), fix test checks in cscli setup
- remove gotest.tools dependency (use testify, cstest)
- update x/ exp, mod, sys dependencies
2023-06-22 11:31:41 +02:00
mmetc
4c4b545e9b
append vendor.tgz to each release ( #2288 )
2023-06-21 09:52:33 +02:00
mmetc
9ccdddaab1
CI: refactor makefile for plugins and vendor target ( #2256 )
2023-06-05 23:15:18 +02:00
mmetc
1f9f81da70
makefiles: de-duplicate, simplify and remove unused code ( #2222 )
2023-05-25 10:32:05 +02:00
mmetc
6b744884b0
Update deps to latest stable: go-systemd, tail, cobra, lumberjack, testify ( #2164 )
2023-04-12 16:58:11 +02:00
mmetc
c7014dba8f
Build notification plugins with current crowdsec; mod tidy ( #2102 )
2023-03-07 16:41:13 +01:00
dependabot[bot]
ef4e61e05e
Bump golang.org/x/net in /plugins/notifications/slack ( #2088 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.0.0-20220418201149-a630d4f3e7a2 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/commits/v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-03 10:13:22 +01:00
dependabot[bot]
54fc5e48dc
Bump golang.org/x/net in /plugins/notifications/splunk ( #2086 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.0.0-20220418201149-a630d4f3e7a2 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/commits/v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-02 22:21:00 +01:00
dependabot[bot]
7f04d12333
Bump golang.org/x/net in /plugins/notifications/http ( #2087 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.0.0-20220418201149-a630d4f3e7a2 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/commits/v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-02 21:54:26 +01:00
dependabot[bot]
76c84c69c4
Bump golang.org/x/net in /plugins/notifications/email ( #2085 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.0.0-20220418201149-a630d4f3e7a2 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/commits/v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-02 21:21:50 +01:00
dependabot[bot]
d7119b73ab
Bump golang.org/x/text in /plugins/notifications/http ( #2074 )
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.3.7...v0.3.8 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-02 09:41:27 +01:00
dependabot[bot]
83db873f5b
Bump golang.org/x/text in /plugins/notifications/email ( #2073 )
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.3.7...v0.3.8 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-01 12:27:26 +01:00
dependabot[bot]
cdd2401ff6
Bump golang.org/x/text in /plugins/notifications/splunk ( #2071 )
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.3.7...v0.3.8 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-01 11:38:44 +01:00
dependabot[bot]
37c8d4419a
Bump golang.org/x/text in /plugins/notifications/slack ( #2070 )
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.3.7...v0.3.8 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-01 09:30:20 +01:00
mmetc
8e74575c03
email plugin: add "starttls" as accepted encryption_type in the comment ( #2068 )
2023-02-22 11:11:31 +01:00
mmetc
487bf4e74a
require go 1.19 for plugins; require crowdsec 1.4.1; go mod tidy ( #1823 )
2022-10-18 17:01:36 +02:00
Laurence Jones
04a8fb7f81
Add helo config ( #1765 )
...
HELO message always need to send an ip or FQDN, set localhost to be default instead of doing an if statement. (Replicate same default in email client)
2022-10-17 20:42:31 +01:00
mmetc
c920a301e0
make: accept BUILD_VENDOR_FLAGS variable ( #1771 )
2022-10-04 09:51:35 +02:00
Shivam Sandbhor
87239c62c1
Replace shodan with crowdsec cti ( #1741 )
...
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
2022-09-14 15:06:27 +02:00
mmetc
52fbda1a5e
simpler makefiles for static targets ( #1744 )
2022-09-14 14:22:57 +02:00
AlteredCoder
b06167a3fa
Allow plugins to load environment variable ( #1727 )
...
* Allow plugins to load environment variable
2022-09-08 11:41:28 +02:00
mmetc
414282a2c9
golangci-lint 1.49 and related fixes ( #1736 )
2022-09-06 13:55:03 +02:00
Manuel Sabban
64e0832b85
fix the ssltls by actually doing ssltls. ( #1672 )
...
BEWARE: THIS IS A BREAKING CHANGE
Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
2022-08-26 16:49:31 +02:00
Manuel Sabban
27194a9f9c
fix logging for email plugin ( #1670 )
...
Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
2022-08-16 18:07:00 +02:00
mmetc
628d7be1d8
simplify err.Error() to err when used in printf context ( #1603 )
2022-06-22 15:53:53 +02:00
mmetc
c78c833400
CI: colored test output, colored crowdsec and crowdsec-api logs, full final db dump for mysql and sqlite ( #1596 )
...
* github-ci: color unit test output and logs
* new config option: force_color_logs (useful in CI)
* bats: show sqlite/mysql dump at the end
* removed "-v" (print package names) from "go build"
* general workflow cleanup
2022-06-17 16:12:49 +02:00
mmetc
7c7fe70cb2
test multiple notification events with the same plugin ( #1539 )
2022-05-19 09:54:26 +02:00
blotus
0449ec1868
Windows Support ( #1159 )
2022-05-17 12:14:59 +02:00
Manuel Sabban
589a30cd5f
[fix issue 1484] Allow to send email without auth again ( #1485 )
...
* We can now send email with plain auth
* better defaults for email plugin
Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
2022-04-27 12:07:54 +02:00
Thibault "bui" Koechlin
d8dc01cd94
Revamp unit tests ( #1368 )
...
* Revamp unit tests
* Increase coverage
* Use go-acc to get cross packages coverage
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
2022-03-29 14:20:26 +02:00
mmetc
81793fe8bf
dummy plugin ( #1342 )
2022-03-16 09:30:04 +01:00
Thibault "bui" Koechlin
6f68f4056e
fix #1316 : add html body ( #1339 )
...
* fix #1316 : add html body
2022-03-10 16:44:21 +01:00
mmetc
e7de05d6c9
don't set logger default level twice ( #1336 )
2022-03-10 13:56:46 +01:00
Christophe Jauffret
a77b3e2690
Email notification plugin add sender_name option ( #1297 )
...
* add sender_name option
* default config and validation
2022-03-07 10:18:12 +01:00
mmetc
5817fa4147
configuration comments ( #1255 )
2022-02-14 17:09:31 +01:00
mmetc
ad28a979e9
local control flow cleanup ( #1215 )
...
removed redundant/unreachable returns, else branches, type declarations, unused variables
2022-02-01 22:08:06 +01:00
mmetc
383eebf2b6
Makefile cleanup ( #1211 )
...
* rm -f => $(RM)
* PHONY targets
* remove email plugin binary on cleanup
* unused make variables
2022-02-01 09:22:47 +01:00
AlteredCoder
9b3db6b6bb
update notifications template ( #1188 )
...
* update notifications template
2022-01-20 11:44:26 +01:00
Thibault "bui" Koechlin
9d133ea2b5
fix #1172 ( #1175 )
2022-01-18 08:35:49 +01:00
Shivam Sandbhor
a6e405422c
Add email notification plugin. ( #1013 )
...
* Add email notification plugin.
* Add plugin binary to gitignore
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
2022-01-06 11:20:59 +01:00
blotus
dd41c30fba
log more information if server returns non 200 status code ( #966 )
2021-09-10 14:24:17 +02:00
Shivam Sandbhor
899b2abae7
Avoid code duplication for protobuf in plugins ( #918 )
...
* Avoid code duplication for protobuf in plugins
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
2021-09-03 12:24:59 +02:00
Thibault "bui" Koechlin
950759f6d6
Output plugins ( #878 )
...
* Add plugin system for notifications (#857 )
2021-08-25 11:43:29 +02:00