Commit graph

63 commits

Author SHA1 Message Date
AlteredCoder
185f9ad541
Alert context (#1895)
Co-authored-by: bui <thibault@crowdsec.net>
2023-01-04 16:50:02 +01:00
Laurence Jones
24b540ecde
Cronjob via packages (#1820)
* Final version
2022-10-18 16:11:48 +01:00
Laurence Jones
0ecb6dcd4d
Hub auto update cronjob (#1817)
Add hub cron installation to install scripts

Plus remove on uninstall
2022-10-17 16:04:01 +01:00
mmetc
1aac5d78d9
replace wizard patch for .deb & .rpm packages with an envvar check (#1630) 2022-08-16 14:59:59 +02:00
mmetc
fae1f96856
install config.yaml with chmod 600 (#1518) 2022-05-17 12:50:18 +02:00
Greg Myers
0f4ab71f01
Fix typos in docs, comments, code (#1483) 2022-04-27 11:04:12 +02:00
mmetc
d7a269a6e4
wizard: removed jq dependency (#1460) 2022-04-20 09:45:23 +02:00
mmetc
81793fe8bf
dummy plugin (#1342) 2022-03-16 09:30:04 +01:00
Shivam Sandbhor
76e97303a5
Deprecate pid_file config (#1346)
* Deprecate pid_file config

Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>

* Fix unit test

Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>

* Impl review suggestions.

Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
2022-03-16 09:23:49 +01:00
he2ss
5f2d7f6a65
wizard: install matched collections only (#1212) 2022-01-28 09:08:25 +01:00
mmetc
8310c10ce3
console_config.yaml -> console.yaml (#1195) 2022-01-21 11:52:23 +01:00
Thibault "bui" Koechlin
6e92da76ad
lapi to capi : allow push of tainted/custom/manual decisions (#1154)
* add console command to control signal sharing
* modify metrics endpoint to add lastpush

Co-authored-by: alteredCoder <kevin@crowdsec.net>
2022-01-13 16:46:16 +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
Manuel Sabban
f46f0ae553
add the ability for the wizard to work on raspbian (#1136)
Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
2021-12-30 14:47:51 +01:00
he2ss
002268b32f
wizard: add openresty logs location (#1108) 2021-12-17 10:29:00 +01:00
Thibault "bui" Koechlin
6e272d3f88
fix links in wizard (#1098) 2021-12-15 11:31:32 +01:00
AlteredCoder
01130a5e17
add headers when using raw output (#1087)
* add headers when output raw with cscli
2021-12-14 11:09:26 +01:00
Thibault "bui" Koechlin
3c2462fbc5
Fix #1070 (#1092)
* fix #1070
2021-12-13 19:31:43 +01:00
mmetc
a4998913d8
install coreutils under alpine; do not copy notification configuration (#1044)
under Docker; assume systemctl is not running if it does not exist
2021-11-03 16:56:44 +01:00
Manuel Sabban
1d955f4258
fix plugins directories (#942)
* use usr over var for plugins
* add patch for debian directory
* patch rpm conf as well
* update directory structure
* modify config at build time
* use macros

Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
2021-09-07 17:18:55 +02:00
Thibault "bui" Koechlin
950759f6d6
Output plugins (#878)
* Add plugin system for notifications (#857)
2021-08-25 11:43:29 +02:00
Thibault "bui" Koechlin
1d21679b3f
fix #840 : check for whiptail in detect mode (#844) 2021-07-01 13:50:40 +02:00
Manuel Sabban
bb37e2e70d
fix functional tests (#838)
* fix functional tests
* add journal detection feature in wizard.sh

Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
2021-07-01 10:36:27 +02:00
Andrew Armstrong
b29730520f
Trivial typo fix adresses -> addresses in msgbox (#832)
A minor change to correct the spelling of the word addresses in a wizard message box during installation
2021-06-21 15:10:59 +02:00
Thibault "bui" Koechlin
f1b0414c89
Unified functional tests (#696)
* remove dead / not needed code & scripts

* don't rely on /dev/urandom in wizard

* unified functional tests
2021-03-18 13:59:41 +01:00
AlteredCoder
f2d14c8ca2
update the config.yaml file (#674) 2021-03-11 11:18:09 +01:00
AlteredCoder
8b504e9f67
improve logging in cscli and wizard (#643) 2021-02-25 11:20:36 +01:00
AlteredCoder
dae4458a6f
create crowdsec group for metabase and crowdsec.db (#606) 2021-02-10 09:23:33 +01:00
AlteredCoder
9f515cb7ef
remove help message backup/restore in wizard (#612)
Co-authored-by: AlteredCoder <AlteredCoder>
2021-02-09 18:07:00 +01:00
registergoofy
862105669f
add two options: configure and noop (#591) 2021-01-28 12:05:42 +01:00
Thibault "bui" Koechlin
6724c2aca4
winzard uninstall : check if user has registered bouncers (#579)
* check if user has registered bouncers
2021-01-19 12:31:03 +01:00
AlteredCoder
8bd53a89c0
add useful links in the wizard (#576)
Co-authored-by: AlteredCoder <AlteredCoder>
2021-01-15 18:14:33 +01:00
Thibault "bui" Koechlin
986a0be812
fix wizard behaviour when detecting appropriate action (#573)
* fix wizard behaviour when detecting appropriate action

* fix filter handling with cscli

* add ipv6 tests

Co-authored-by: AlteredCoder <AlteredCoder>
2021-01-15 09:48:39 +01:00
Shivam Sandbhor
a63b6729bf
Enable detection of httpd (#512)
* Enable detection of `httpd` on centos

Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
2020-12-23 09:47:49 +01:00
erenJag
23ba741f2e
improve wizard upgrade (#542)
* improve wizard upgrade
2020-12-15 17:52:57 +01:00
erenJag
b6d73f48cd
Fix some bugs : update doc, codename and fix wizard (#522)
* change localhost to 127.0.0.1 + fix uninstall in wizard
* remove beta from repo
2020-12-08 12:45:36 +01:00
AlteredCoder
8707140fb2
Fix documentation errors (#496) 2020-12-01 17:04:13 +01:00
AlteredCoder
fa11a94e21
fix paths in documentation (#490) 2020-11-30 17:44:30 +01:00
Thibault "bui" Koechlin
dbb420f79e
local api (#482)
Co-authored-by: AlteredCoder
Co-authored-by: erenJag
2020-11-30 10:37:17 +01:00
registergoofy
6bff2d0325 enable/disable crowdsec through systemd 2020-11-19 12:18:40 +01:00
AlteredCoder
a042ef3097
wizard: use whiptail or dialog for interactive mode, else don't run (#417) 2020-11-11 17:54:03 +01:00
Thibault "bui" Koechlin
62cbf99dbb
add a warning/error if the user is trying to run wizard from source (yes that's you) (#337) 2020-10-28 17:23:05 +01:00
AlteredCoder
dcaa6afadf
add warning in wzard (#297)
Co-authored-by: AlteredCoder <AlteredCoder>
2020-10-07 12:03:06 +02:00
AlteredCoder
b270bfbcfe
Fix documentation (#219)
* fix typo in documentation
2020-09-13 15:56:04 +02:00
Thibault "bui" Koechlin
911d2d6d5c
fix configuration file permissions in wizard (#176) 2020-08-05 11:20:40 +02:00
AlteredCoder
2da55f411b
remove data folder from release and fix binary size (#160) 2020-07-29 17:14:32 +02:00
AlteredCoder
0864f13cb8
fix post merge (#138)
* fix post merge (#138)
2020-07-17 15:26:46 +02:00
AlteredCoder
87a90583fe
Fix#80 (#133)
* fix #80 

Co-authored-by: AlteredCoder <AlteredCoder>
Co-authored-by: Thibault bui Koechlin <thibault@crowdsec.net>
2020-07-16 15:48:46 +02:00
Thibault "bui" Koechlin
454e2850b5
don't trash the database when upgrading (#112) 2020-07-01 17:14:05 +02:00
erenJag
bdda08223e
Fix hub CI (#86) 2020-06-24 15:00:30 +02:00