Lars Lehtonen
d86ba98cff
pkg/apiserver: fix dropped error ( #700 )
...
* pkg/apiserver: fix dropped error
* pkg/apiserver: remove unused Context from APIServer{}
2021-04-07 14:51:00 +02:00
Thibault "bui" Koechlin
4bb34d8e77
fix #723 : intercept http2 stream closed errors ( #724 )
...
* fix #723 : intercept http2 stream closed errors
* factorize the 'dump stacktrace' code
2021-04-07 14:31:03 +02:00
registergoofy
01c557e209
get rid of tmp stuff ( #738 )
2021-04-07 14:23:48 +02:00
dependabot[bot]
c3a2022941
Bump pygments from 2.6.1 to 2.7.4 in /docs ( #725 )
...
Bumps [pygments](https://github.com/pygments/pygments ) from 2.6.1 to 2.7.4.
- [Release notes](https://github.com/pygments/pygments/releases )
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES )
- [Commits](https://github.com/pygments/pygments/compare/2.6.1...2.7.4 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-07 14:22:34 +02:00
Thibault "bui" Koechlin
cd06929e75
honor log levels for api : don't log access logs if level is warn/err ( #732 )
...
* honor log levels for api : don't log access logs if level is warn/err
* add basic test for logging of api server
2021-04-07 11:39:24 +02:00
registergoofy
10c98b6547
Static release ( #737 )
...
* dispatch on tag creation
* add static build to release
* fix static release tarball name
* This should be removed once merged and static release file built
2021-04-07 10:14:39 +02:00
Manuel Sabban
e45cb167bd
dispatch on tag creation ( #734 )
...
Co-authored-by: registergoofy <70151212+registergoofy@users.noreply.github.com>
2021-04-06 16:24:34 +02:00
Thibault "bui" Koechlin
8df8ed9e3e
README update ( #730 )
...
* README update
2021-04-01 09:54:25 +02:00
Thibault "bui" Koechlin
59a9a6b6bf
ensure to load db config for dashboard commands ( #731 )
2021-03-31 11:32:38 +02:00
Thibault "bui" Koechlin
20ef67a699
cscli
hub mgmt improvements (#710 )
...
* avoid this confusing behaviour where 'cscli parsers/scenarios/... upgrade' won't tell a thing if no arguments are given (and won't do anything neither)
* avoid repeating warnings about available update to the user
2021-03-29 10:33:23 +02:00
AlteredCoder
20ccb32124
FreeBSD changes ( #718 ) ( #721 )
...
* FreeBSD changes (#718 )
* Update build Makefile to be able to build on other platforms
Split Makefiles to isolate every specifics per platform if specific file
is not found, the include will default to linux.
* Isolate linux specific messages emitted by crowdsec command line
On other platforms, we shouldn't write messages with `systemctl`
occurrences. This commit isolate the specific messages and ensure the
messages are relevant for the given platform according result of `GOOS`.
* remove the test
Co-authored-by: Sofian Brabez <sbz@6dev.net>
Co-authored-by: AlteredCoder <AlteredCoder>
2021-03-26 17:42:56 +01:00
dependabot[bot]
5ad7e9e729
Bump pyyaml from 5.3.1 to 5.4 in /docs ( #720 )
...
Bumps [pyyaml](https://github.com/yaml/pyyaml ) from 5.3.1 to 5.4.
- [Release notes](https://github.com/yaml/pyyaml/releases )
- [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES )
- [Commits](https://github.com/yaml/pyyaml/compare/5.3.1...5.4 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-26 17:19:48 +01: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
dependabot[bot]
f2a0155d90
Bump jinja2 from 2.11.1 to 2.11.3 in /docs ( #706 )
...
Bumps [jinja2](https://github.com/pallets/jinja ) from 2.11.1 to 2.11.3.
- [Release notes](https://github.com/pallets/jinja/releases )
- [Changelog](https://github.com/pallets/jinja/blob/master/CHANGES.rst )
- [Commits](https://github.com/pallets/jinja/compare/2.11.1...2.11.3 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-24 19:37:54 +01:00
AlteredCoder
73a10ef0e5
add autocompletion for cscli ( #717 )
2021-03-24 19:07:58 +01:00
AlteredCoder
1e899c2211
Refactor configuration management ( #698 )
2021-03-24 18:16:17 +01:00
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