Commit graph

629 commits

Author SHA1 Message Date
Thibault "bui" Koechlin
da84805f5f
Doc improvements (#644)
* fix #640 : add faq about metrics and 'is my setup working'

* up documentation go routines, fix #637

* to merge along with https://github.com/crowdsecurity/hub/pull/160 to improve forensic's doc
2021-02-25 09:49:16 +01:00
Thibault "bui" Koechlin
4565d82f79
don't try to login with zero scenarios (#627) 2021-02-18 09:59:28 +01:00
Thibault "bui" Koechlin
22ada59393
Allow for acquisition files to be specified from a directory as well (#619)
* allow a acquisition_dir in crowdsec's config + change the behaviour of config loading so that it's working with a list instead. keep backward compat with acquisition_path

* remove the default behaviour of 'guessing' acquis path if param isn't present, and error
2021-02-17 13:55:36 +01:00
Thibault "bui" Koechlin
7d93302e05
add a prometheus_uri option for cscli's config (#625)
* add a prometheus_uri option for cscli's config, and update documentation

* specify min version
2021-02-17 13:53:57 +01:00
Thibault "bui" Koechlin
7f40160f6e
only set logfile dir if media is file (#615) 2021-02-11 18:28:01 +01:00
kingmilo
2888bda959
Update bouncer_machine_management.md (#614)
A few grammar updates.
2021-02-10 16:57:53 +01:00
erenJag
18ff3a3a30
update docker image + documentation (#602)
Co-authored-by: erenJag <erenJag>
2021-02-10 09:29:29 +01:00
AlteredCoder
dae4458a6f
create crowdsec group for metabase and crowdsec.db (#606) 2021-02-10 09:23:33 +01:00
blotus
260332c726
Add use_forwarded_for_headers configuration option for LAPI (#610)
* Add use_forwarded_for_headers configuration option for LAPI

* update documentation
2021-02-09 19:10:14 +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
AlteredCoder
22c4962768
don't load lapi creds when running only api (#608)
Co-authored-by: AlteredCoder <AlteredCoder>
2021-02-09 17:59:35 +01:00
AlteredCoder
e8709074f0
fix stack trace when missing cscli in config file (#607)
Co-authored-by: AlteredCoder <AlteredCoder>
2021-02-07 15:50:27 +01:00
AlteredCoder
50ee846e87
enable item when they have been added to a collection since previous release (#599)
Co-authored-by: AlteredCoder <AlteredCoder>
2021-02-04 17:17:51 +01:00
AlteredCoder
359a9cb8ce
allow environment variable in configuration file (#601) 2021-02-04 17:17:01 +01:00
kingmilo
564c4155a8
Update index.md (#598)
A grammar updates on documentation.
2021-02-03 10:22:50 +01:00
AlteredCoder
cb003ea347
update go.mod (#578) (#580)
Co-authored-by: AlteredCoder <AlteredCoder>
2021-02-02 14:16:03 +01:00
Thibault "bui" Koechlin
e74f221044
Fix default configurations (#597)
* fix default perms on SQLite file

* seed the prng securely

* fix defaults to enforce certificates verification

* ensure file is within path

* ensure the directory doesn't exist beforehand

* verify certificate by default

* disable http ip forward headers
2021-02-02 14:15:13 +01:00
JeanDevaux
bb25a261ad
Documentation update (#596)
* Update README.md
2021-02-02 09:17:42 +01:00
Shivam Sandbhor
c5bd603cce
Correct link in README for installation via source (#593) 2021-02-01 09:45:37 +01:00
Shivam Sandbhor
36844e50b3
Fix typo in apic.go logs (#592) 2021-01-31 11:42:17 +01:00
registergoofy
862105669f
add two options: configure and noop (#591) 2021-01-28 12:05:42 +01:00
Thibault "bui" Koechlin
0530aa6886
add answer to #589 as it doesn't seem obvious enough ^^ (#590) 2021-01-27 09:12:16 +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
13172fc490
add link to exported fields (#584)
Co-authored-by: AlteredCoder <AlteredCoder>
2021-01-19 11:35:41 +01:00
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