registergoofy
bf192593b6
trigger ci
2021-03-23 17:24:44 +01:00
bui
29323494c9
dpkg ci
2021-03-23 15:55:20 +01:00
Thibault "bui" Koechlin
6d28599efa
Ensure LAPI logs respect log_media
( #707 )
...
* if log_media is set to file, don't try to log to stdout
* use the log media no matter what
2021-03-22 17:46:55 +01:00
AlteredCoder
1f2f6c87d5
update crowdsec tour documentation ( #713 )
...
Co-authored-by: AlteredCoder <AlteredCoder>
2021-03-22 17:17:33 +01:00
AlteredCoder
4166d9ff48
fix pattern registration ( #715 )
2021-03-22 17:17:24 +01:00
AlteredCoder
e59c33a8e2
update README ( #714 )
...
Co-authored-by: AlteredCoder <AlteredCoder>
2021-03-22 16:48:42 +01:00
registergoofy
bdca1d79c1
fix debian-like installation documentation ( #708 )
2021-03-22 10:07:50 +01:00
Thibault "bui" Koechlin
1938e1a62d
clarify doc on onsuccess in parsers + add new date formats for dateparse ( #703 )
2021-03-19 16:33:10 +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
Lars Lehtonen
7f8faa7565
pkg/apiclient: pick up dropped errors ( #676 )
2021-03-17 12:36:47 +01:00
AlteredCoder
f1d23b51f6
fix null deref in cscli config ( #694 )
2021-03-16 16:09:11 +01:00
Thibault "bui" Koechlin
28446b6d29
Ent update : 0.7.0 ( #692 )
...
* up regenerate new schema
* new ent
* update documentation for min required versions
* update documentation
2021-03-15 18:46:52 +01:00
Peter Dave Hello
9d1e2f3795
Use --no-cache with apk to skip manual apk update ( #689 )
...
Save one step, also prevent additional local cache files need cleaning.
2021-03-15 11:51:33 +01:00
thibaut severac
ecad34091e
Misspelling in docker Readme ( #688 )
...
correct an error on a link
2021-03-15 09:29:55 +01:00
AlteredCoder
111e17e884
don't hide cscli version ( #686 )
...
Co-authored-by: AlteredCoder <AlteredCoder>
2021-03-12 16:17:28 +01:00
AlteredCoder
c1abf69979
fix #677 ( #684 )
2021-03-12 15:10:56 +01:00
Thibault "bui" Koechlin
17ad9de738
up installation documentation ( #678 )
...
* up installation documentation
2021-03-12 11:16:17 +01:00
Peter Dave Hello
d09cc0eeb3
Reorder Dockerfile to improve image layer caching ( #681 )
...
This will speed up the build and prevent additional image layer every time the code base changed.
2021-03-12 11:00:08 +01:00
he2ss
ccec56c1a6
Automatically update docker hub readme (github action) ( #679 )
...
* add new github action : update docker hub readme
2021-03-12 10:29:57 +01:00
AlteredCoder
f2d14c8ca2
update the config.yaml file ( #674 )
2021-03-11 11:18:09 +01:00
Thibault "bui" Koechlin
0981aa98d8
Pattern syntax consistence ( #675 )
...
* fix #667
* improved error message
* mark the compability, ordered pattern_syntax will be tagged as 'version 2'
* fix tests + add tests to check grok subpattern dependencies
2021-03-10 18:27:21 +01:00
Thibault "bui" Koechlin
534c535490
fix #670 , improve decision delete doc ( #673 )
...
* fix #670 , improve decision delete doc
* fix typo
2021-03-10 15:12:09 +01:00
Lars Lehtonen
7863bad596
pkg/metabase: fix dropped error ( #652 )
2021-03-10 15:11:56 +01:00
Daniel B
09a63ab868
Remove pattern matching valid SSH disconnect ( #668 )
...
Fixes #177
2021-03-10 15:10:41 +01:00
Thibault "bui" Koechlin
c2d4fb037a
clarify help message, fix #659 ( #672 )
2021-03-10 14:58:19 +01:00
AlteredCoder
92f290ebe0
fix documentation in write_configurations ( #666 )
...
Co-authored-by: AlteredCoder <AlteredCoder>
2021-03-08 15:20:25 +01:00
registergoofy
a8b16a66b1
truely don't try to send anything with empty online credentials configuration file ( #657 )
...
* truely don't try to send anything with empty online credentials config file
Co-authored-by: AlteredCoder <AlteredCoder>
2021-03-02 09:25:12 +01:00
Thibault "bui" Koechlin
a627887841
reference faq for metabase without docker ( #649 )
2021-03-01 09:51:50 +01:00
Thibault "bui" Koechlin
70055b3fd6
Doc api + minor api fixes ( #654 )
...
* add doc for API
* link users guide on metabase without docker
* rename doc and swagger
2021-02-26 17:42:45 +01:00
Thibault "bui" Koechlin
6f8b6cdb42
fix the perms of SQLite DB for metabase ( #647 )
2021-02-25 11:29:39 +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
AlteredCoder
8b504e9f67
improve logging in cscli and wizard ( #643 )
2021-02-25 11:20:36 +01:00
Thibault "bui" Koechlin
a3d00fe130
skip empty lines to avoid issue of #630 ( #631 )
...
* skip empty lines to avoid issue of #630
* add tests on empty lines and comms
2021-02-25 09:57:24 +01:00
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