Commit graph

472 commits

Author SHA1 Message Date
Thibault "bui" Koechlin 42bc31cf23
update docker file to reflect change on acquisitions (#834)
* update docker file to reflect change on acquisitions

* generic --dsn approach

Co-authored-by: he2ss <he2ss>
2021-06-29 18:03:45 +02:00
blotus 3994aec7fe
add console enroll command to cscli (#828) 2021-06-28 17:34:19 +02:00
Andrew Armstrong b29730520f
Trivial typo fix adresses -> addresses in msgbox (#832)
A minor change to correct the spelling of the word addresses in a wizard message box during installation
2021-06-21 15:10:59 +02:00
Thibault "bui" Koechlin 7f0cac8ee6
add support for 'expression' (fix #822) in grok patterns (#830)
* add support for 'expression' (fix #822) in grok patterns

* add tests
2021-06-21 09:07:33 +02:00
blotus c026fc7f16
Build docker image for both amd64 and arm64 (#829) 2021-06-11 11:50:05 +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
Thibault "bui" Koechlin 71c1d9431f
fix #823 : lower JsonExtract debug (#824)
* lower key not found log level, fix #823
2021-06-02 14:27:34 +02:00
blotus 7e81bdddef
Update README.md (#821) 2021-06-01 09:28:28 +02:00
blotus 3705c0be50
Remove documentation (#820)
Remove docs folder as it has been moved to a dedicated repository.
2021-05-31 18:14:18 +02:00
Shivam Sandbhor f25d02a7c8
Allow bouncers to filter decisions by scope (#817)
Signed-off-by: Shivam Sandbhor <shivam@crowdsec.net>
2021-05-31 15:07:09 +02:00
AlteredCoder 68080e5d24
update documentation for cscli metrics (#814)
Co-authored-by: AlteredCoder <AlteredCoder>
2021-05-31 14:48:26 +02:00
he2ss 4bb503ceae
doc: update user-guide network section (#813) 2021-05-28 16:48:10 +02:00
he2ss 2aee7be628
ignore CI when it concern documentation (#815) 2021-05-28 13:37:11 +02:00
Thibault "bui" Koechlin bf6b791420
fix #781 - avoid unconsistent body : do not send NbDeleted on error (#812) 2021-05-28 11:17:30 +02:00
blotus c1c76645a7
improve emoji for local configuration when listing (#811) 2021-05-28 11:11:53 +02:00
AlteredCoder b5db93ee74
Update README.md (#810)
* Update README.md


Co-authored-by: AlteredCoder <AlteredCoder>
2021-05-27 19:31:28 +02:00
Thibault "bui" Koechlin b42c42379a
Fix #806 : improve upgrade documentation (#808)
* new logo

* fix #806 : improve upgrade doc
2021-05-27 08:17:39 +02:00
AlteredCoder 3cb770c3bb
Update README.md 2021-05-26 18:31:01 +02:00
Florian Michel 8a42601d3d
add docker option to specify timezone (#803) 2021-05-26 13:02:23 +02:00
svesve 6693bff2f5
Add postgres sslmode option (#772)
Co-authored-by: aleksandr.drozdin <aleksandr.drozdin@karuna.group>
2021-05-19 17:03:23 +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
Thibault "bui" Koechlin f881510f79
delete orphan nodes (fix #778) (#794)
* delete orphan nodes (for #778 and partially #781)

* and do it as well for decisions
2021-05-17 11:45:01 +02:00
Shivam Sandbhor 98277f5bb7
Gen passwd until it satisfies metabase policy (#792)
Signed-off-by: Shivam Sandbhor <shivam@crowdsec.net>
2021-05-17 11:43:53 +02:00
AlteredCoder 4433e3bf87
fix typo in writing parser documentation (#800)
Co-authored-by: AlteredCoder <AlteredCoder>
2021-05-14 11:47:18 +02:00
AlteredCoder 8db7fc1f58
fix typo in scenario doc (#798)
Co-authored-by: AlteredCoder <AlteredCoder>
2021-05-14 11:20:10 +02:00
Lamera 1c7faabd8b
Added steps for proxy on systemd service (#795)
* Added steps for proxy on systemd service
2021-05-14 10:37:04 +02:00
AlteredCoder 1d13fe754b
improve proxy doc (#791)
Co-authored-by: AlteredCoder <AlteredCoder>
2021-05-12 17:19:56 +02:00
AlteredCoder fd830b4293
Fix some bugs (#788)
* fix config restore

* fix panic on middleware

Co-authored-by: AlteredCoder <AlteredCoder>
2021-05-07 18:40:01 +02:00
AlteredCoder ab4878d4e6
Update acquisition.md (#784) 2021-05-07 11:09:24 +02:00
registergoofy 75f0adebb7
fix build (#774) 2021-05-05 08:54:33 +02:00
AlteredCoder a19f13ab45
fix cscli alerts delete -all (#769)
Co-authored-by: AlteredCoder <AlteredCoder>
2021-04-27 11:59:18 +02:00
registergoofy e82ad5704d
fix (#768) 2021-04-27 11:20:20 +02:00
registergoofy 9102d37f27
Functional tests staticbuild (#767)
* try out func tests on uploaded tarball
* fix url of tarball
* fix tarball and uncompress

Co-authored-by: bui <thibault@crowdsec.net>
2021-04-27 10:23:45 +02:00
AlteredCoder 60740f6279
fix makefile for static binaries (#764)
* Fix LD_OPTS for static build

Co-authored-by: AlteredCoder <AlteredCoder>
Co-authored-by: Sebastien Blot <sebastien@crowdsec.net>
2021-04-26 14:45:52 +02:00
Thibault "bui" Koechlin b0d4744b15
add System to cwversion to know platform, add it in UA (#763) 2021-04-23 15:23:46 +02:00
blotus 5e2412cc5d
cscli: sort meta by key in alerts inspect output (#762) 2021-04-23 13:42:14 +02:00
blotus 430b4bafbc
Update CI (#760)
* Force machine-id when running tests

* Use the source branch instead of master when dispatching to packaging repo
2021-04-20 11:07:13 +02:00
registergoofy 7e9ce901a4
add TimeNow in the exprlib helpers (#756)
* add TimeNow in the exprlib helpers
* add a default date when none is detected: when no date is recognised by ParseDate, then use time.Now()
2021-04-16 19:13:48 +02:00
Thibault "bui" Koechlin 88e1095478
cscli machines|bouncers|dashboard error message clarification (#754) 2021-04-16 10:50:08 +02:00
Thibault "bui" Koechlin 446fd499c8
fix #741 : document network streams about crowdsec and lapi (#750)
* fix #741 : document network streams about crowdsec and lapi
2021-04-14 19:24:48 +02:00
philippecrowdsec a47dab73e3
Updated readme.md (#743)
* Simplified CrowdSec process

A basic, visual, explanation of how CrowdSec works.
2021-04-14 15:13:48 +02:00
Thibault "bui" Koechlin 2679867061
ensure to flush acquis config while reloading (#748) 2021-04-13 13:55:33 +02:00
Thibault "bui" Koechlin c10f798545
clarify doc (#747) 2021-04-13 09:19:51 +02:00
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