Commit graph

355 commits

Author SHA1 Message Date
Thibault "bui" Koechlin
25562e9575
drop the platform argument to avoid being compatible ONLY with API 1.41 (#582) 2021-01-18 15:25:07 +01:00
AlteredCoder
81e7db71ed
Fix bugs in wizard and cscli (#577)
* fix id generation bug

* fix api client response

Co-authored-by: AlteredCoder <AlteredCoder>
2021-01-15 18:14:50 +01:00
AlteredCoder
8bd53a89c0
add useful links in the wizard (#576)
Co-authored-by: AlteredCoder <AlteredCoder>
2021-01-15 18:14:33 +01:00
AlteredCoder
82ec6b3d80
Update db schema in documentation (#575)
* update db schema in documentation

* rename title to be in the table of contents

Co-authored-by: AlteredCoder <AlteredCoder>
2021-01-15 16:28:27 +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
Thibault bui Koechlin
0c5c2a0ac2 up doc 2021-01-14 17:19:20 +01:00
AlteredCoder
5544000d38
lapi: fix ipv6 operations (#567) 2021-01-14 16:27:45 +01:00
Thibault "bui" Koechlin
9ec0ea08bb
fix jwt token desynchronization between crowdsec and lapi (#572) 2021-01-14 16:04:10 +01:00
Pͥetͣeͫr Zuidˢeͬmͨaͬ
fbfd5de096
MAKE is now a variable in the Makefile (#569)
For building on FreeBSD we need gmake instead of make. As first step making MAKE a variable is an improvement.
2021-01-14 13:04:42 +01:00
Pͥetͣeͫr Zuidˢeͬmͨaͬ
1778ee840e
Sanitize id from either source (#568)
On FreeBSD the uuid has dashes. So moved line 74 outside the if loop to have it sanitize either id source of dashes.
2021-01-14 13:03:24 +01:00
Thibault "bui" Koechlin
b15fc96ef8
go mod tidy (#566) 2021-01-13 10:07:59 +01:00
registergoofy
eaeaa5ccd1
Update LICENSE (#565) 2021-01-12 18:09:56 +01:00
AlteredCoder
c2517e8eb4
fix docker container creation for metabase (#563) 2021-01-08 14:32:29 +01:00
registergoofy
eda9c03c82
jwt token generation improvement (#557)
* add some warning comment for those who want to choose their secret
* strictly follow the golang doc for using crypto/rand
* fatal if not enough entropy
* add a check when using pre-choosen secret
2021-01-07 14:24:53 +01:00
Thibault "bui" Koechlin
f25acab313
remove tachymeter (#561) 2021-01-07 14:07:05 +01:00
Thibault "bui" Koechlin
66f943446a
add doc on how to contribute bouncers (#560)
* add doc on how to contribute bouncers

* fix typo
2021-01-07 12:17:52 +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
thelittlefireman
9a1babc365
Update docker doc for database persistence (#551)
Fix #550
2020-12-21 16:57:44 +01:00
Thibault "bui" Koechlin
8a87e76fe5
up add http as well (#547) 2020-12-17 11:30:26 +01:00
AlteredCoder
bd7bcff2fd
Add upgrade tests (#545) 2020-12-17 10:50:34 +01:00
Thibault "bui" Koechlin
f00f7778bc
document how to use it with tor (#546) 2020-12-17 09:55:55 +01:00
Thibault "bui" Koechlin
2d990c4e7f
delete old empty docs (#544) 2020-12-16 12:55:03 +01:00
erenJag
23ba741f2e
improve wizard upgrade (#542)
* improve wizard upgrade
2020-12-15 17:52:57 +01:00
Thibault "bui" Koechlin
825f8f83b2
up doc (#543) 2020-12-15 17:02:24 +01:00
Thibault "bui" Koechlin
b79c897d99
fix the config restore feature for tainted configurations (#541) 2020-12-15 12:07:43 +01:00
AlteredCoder
ea86a4f4ec
Update README.md 2020-12-14 17:55:03 +01:00
Thibault "bui" Koechlin
ad4521f2cc
gin: broken pipe (#538)
* broken pipe

* don't fail if release isn't here
2020-12-14 17:48:32 +01:00
AlteredCoder
1c005d6923
fix systemctl env (#535)
Co-authored-by: AlteredCoder <AlteredCoder>
2020-12-14 17:44:24 +01:00
registergoofy
13881edbaa
export node logger (#537) 2020-12-14 14:12:22 +01:00
Thibault "bui" Koechlin
f2b30db684
ensure decisions from local or tainted scenarios aren't push, neither are manual decisions (#536) 2020-12-14 12:46:07 +01:00
Thibault "bui" Koechlin
bb679310c7
deal with LAPI down : ensure client will reauthenticate (#527)
* to avoid keeping apiclient in broken state, reset the token on error
2020-12-14 11:54:16 +01:00
AlteredCoder
79080d4e36
Fix cscli hub (#534) 2020-12-14 11:53:30 +01:00
Thibault "bui" Koechlin
fd8c23eb09 Update issue templates 2020-12-08 22:37:46 +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
registergoofy
23a8707fad
first try at fixing the CI (#521) 2020-12-08 10:51:01 +01:00
AlteredCoder
0ed92b20a0
fix prometheus URL used by cscli (#520) 2020-12-07 17:35:30 +01:00
erenJag
674630f7b1
trying to fix docker push ci (#519) 2020-12-07 15:44:24 +01:00
erenJag
da5ca5f0ba
fix docker push CI ep3 (#518)
Co-authored-by: erenJag <erenJag>
2020-12-07 12:53:32 +01:00
AlteredCoder
6f4c72776a
remove debug for docker CI (#517)
Co-authored-by: AlteredCoder <AlteredCoder>
2020-12-07 12:39:58 +01:00
AlteredCoder
f8054e1f32
debug CI (#516)
Co-authored-by: AlteredCoder <AlteredCoder>
2020-12-07 12:31:46 +01:00
erenJag
bd69c8042a
fix docker CI (#515)
Co-authored-by: erenJag <erenJag>
2020-12-07 12:20:13 +01:00
erenJag
89f1c92d7e
fix docker ci (#514)
Co-authored-by: erenJag <erenJag>
2020-12-07 12:05:32 +01:00
Thibault "bui" Koechlin
6dcc9e7810
change the hub branch for the upcoming release (#513) 2020-12-07 10:42:37 +01:00
AlteredCoder
cbbe210736
improve docs (#511) 2020-12-04 14:24:34 +01:00
erenJag
a9353e3016
cscli: fix bug in restore command (#510) 2020-12-04 13:00:13 +01:00
erenJag
339cb6cce7
update prometheus doc (#509) 2020-12-04 11:24:12 +01:00
AlteredCoder
759bd2134c
Faq metabase (#508) 2020-12-04 10:43:39 +01:00
erenJag
28c1ea1e23
Add ci docker push (#504) 2020-12-04 10:05:33 +01:00
AlteredCoder
7831dabaa8
rename username by machine (#506)
Co-authored-by: AlteredCoder <AlteredCoder>
2020-12-03 17:38:27 +01:00
registergoofy
f411ab4fcd
Fix a crash (#503)
* fix a crash
2020-12-03 17:34:57 +01:00