Manuel Sabban
6b5f272c0a
Func tests ( #970 )
...
* stabilize func tests
* fix cold logs func tests
* add wait condition on mock server
Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
2021-09-13 17:33:47 +02:00
Manuel Sabban
e929ba16de
add sleep ( #969 )
...
Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
2021-09-10 17:42:46 +02:00
Manuel Sabban
e67fad06d3
fix error ( #960 )
...
Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
2021-09-10 11:06:25 +02:00
Manuel Sabban
e6afafa4d8
fix ( #958 )
...
Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
2021-09-10 09:32:01 +02:00
Thibault "bui" Koechlin
21dfc784b1
remove config.patch on master ( #957 )
...
* remove config.patch on master
* fix functional tests for plugins : replace group by nobody's actual group
* fix mock http server
2021-09-09 19:12:44 +02:00
Manuel Sabban
9b5cb6abc9
fucntional tests fix ( #952 )
...
* add patch for the user used for starting plugins
* fix postinst
* fix fucn tests to make it work with ansible
* group_wait to 5s
* small fixes
Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
2021-09-09 16:24:59 +02:00
Shivam Sandbhor
e89543f725
Add functional tests for plugins ( #941 )
...
* Add functional tests for plugins
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
(cherry picked from commit 1a11c87296454aac1ebbc95c06b813ae67c91819)
* Update plugin dir in functional tests
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
* Update plugin process config in func tests
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
* Robust config replacement
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
2021-09-08 15:22:34 +02:00
ThinkChaos
448a227079
Minor changes to specific logs ( #900 )
...
- Minor changes to specific logs
- Fix LAPI to not push signals to CAPI when disabled #907
2021-08-25 18:30:05 +02:00
Thibault "bui" Koechlin
c188d401a3
Improve CAPI pull management ( #871 )
...
* prepare for new consensus : thousands of ips
Co-authored-by: Sebastien Blot <sebastien@crowdsec.net>
2021-08-25 11:45:29 +02:00
Manuel Sabban
535f0353df
should fix the unit tests ( #858 )
...
Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
2021-07-23 13:44:30 +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
Thibault "bui" Koechlin
ce6a61df1c
Refactor Acquisition Interface ( #773 )
...
* Add new acquisition interface + new modules (cloudwatch, syslog)
Co-authored-by: Sebastien Blot <sebastien@crowdsec.net>
2021-06-11 09:53:53 +02:00
he2ss
eb0bd70046
fix #787 : load simulation config at startup ( #793 )
...
* fix #787 : load simulation config at startup
2021-05-17 11:54:28 +02:00
bui
b007b8e932
fix paths for tests (packages and tarball don't deploy in the same path)
2021-03-26 10:18:13 +01:00
AlteredCoder
1e899c2211
Refactor configuration management ( #698 )
2021-03-24 18:16:17 +01:00
Thibault "bui" Koechlin
190fa112dd
Debian package auto-testing ( #701 )
...
* add dispatch to debian CI
* test dispatch
* keep only master
* push+mr
* document the functional tests
2021-03-19 16:28:55 +01: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
registergoofy
5b7ac4a473
[Rebased] fix races ( #633 )
...
* get rid of dead code
* have LeakRoutined started in a tomb
* fix race and multiple small issues in the way we handle tombs
* yet another race fix
* another race
* get rid of leaky.KillSwitch for proper tomb use
* fix deadlock
* empty overflow before exiting
* fix an obvious typo
* proper use of waitgroup
* have a smart signalisation for allowing LeakRoutine being killed
* ugly workaround
* fix lint error
* fix compilation
* fix panic
* shorten lock
* up lock both copy
* wait for crowdsec to die
* fix coding style and lint issue
* go mod tidy
Co-authored-by: bui <thibault@crowdsec.net>
2021-02-25 11:26:46 +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
AlteredCoder
5544000d38
lapi: fix ipv6 operations ( #567 )
2021-01-14 16:27:45 +01:00
AlteredCoder
bd7bcff2fd
Add upgrade tests ( #545 )
2020-12-17 10:50:34 +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
Thibault "bui" Koechlin
f8abb01bbc
Advise user to perform a reload when appropriate ( #163 )
2020-07-30 12:15:15 +02:00
Thibault "bui" Koechlin
177480cff7
updated mysql plugin support ( #135 )
...
* add support for plugin, support mysql & so on
* fix queries
Co-authored-by: erenJag <erenJag>
Co-authored-by: AlteredCoder <AlteredCoder>
2020-07-16 16:05:03 +02:00
Thibault "bui" Koechlin
7fe6741df3
Simulation support ( #136 )
...
* support simulation mode
2020-07-16 15:59:09 +02:00
Thibault "bui" Koechlin
26f77bed88
CI: provide makefile for CI and fixe types.Event ( #70 )
2020-06-11 15:03:43 +02:00
Thibault "bui" Koechlin
1abdfc9b10
make message better
2020-05-28 11:28:49 +02:00
Thibault bui Koechlin
2016167654
initial import
2020-05-15 11:39:16 +02:00