marco
|
95f38d97d8
|
explicit message for 404
|
2024-03-19 15:33:55 +01:00 |
|
marco
|
b00e553ce9
|
interval messages
|
2024-03-19 15:33:55 +01:00 |
|
marco
|
876c33945d
|
lint
|
2024-03-19 15:33:55 +01:00 |
|
marco
|
d9a3819ef5
|
ignore duplicate data points
|
2024-03-19 15:33:55 +01:00 |
|
marco
|
c325c2765d
|
(wip) lp metrics
|
2024-03-19 15:33:55 +01:00 |
|
marco
|
76c04fdd82
|
regenerate pkg/models
|
2024-03-19 15:33:55 +01:00 |
|
Sebastien Blot
|
d1f62263ef
|
add /usage-metrics endpoint definition
|
2024-03-19 15:33:55 +01:00 |
|
mmetc
|
dd71f0a866
|
CI: bump lint version and update configuration (#2901)
* bump golangci-lint to 1.56
* lint (testifylint)
* update lint configuration
* windows test: remove stale code
|
2024-03-19 10:48:49 +01:00 |
|
Thibault "bui" Koechlin
|
b63e64ee9f
|
Fix locking logic for HA + add list unsubscribe for PAPI (#2904)
* add list unsubscribe operation for papi
* fix the locking logic for HA
|
2024-03-19 10:29:16 +01:00 |
|
blotus
|
6de62a1468
|
warn if user is using inotify to tail a symlink (#2881)
|
2024-03-19 10:22:43 +01:00 |
|
mmetc
|
b411782648
|
CI: use go 1.21.8 (#2906)
|
2024-03-19 10:03:54 +01:00 |
|
mmetc
|
2f49088163
|
file acquisition: don't bubble error when tailed file disappears (#2903)
* file acquisition: don't bubble error when tailed file disappears
* don't call t.Kill()
* lint (whitespace)
|
2024-03-18 11:25:45 +01:00 |
|
Manuel Sabban
|
fd2bb8927c
|
Fix rpm build (#2894)
* fix rpm build
|
2024-03-15 14:36:34 +01:00 |
|
Laurence Jones
|
e9b0f3c54e
|
wip: fix unix socket error (#2897)
|
2024-03-14 15:36:47 +00:00 |
|
mmetc
|
a6b0e58380
|
CI: bump github actions (#2895)
|
2024-03-14 14:04:45 +01:00 |
|
mmetc
|
caca4032d1
|
lapi: log error "can't sinchronize with console" only if papi is enabled (#2896)
|
2024-03-14 14:03:43 +01:00 |
|
blotus
|
7dd86e2b95
|
add cron as a suggested package (#2799)
|
2024-03-14 14:02:53 +01:00 |
|
dependabot[bot]
|
06bebdeac7
|
Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 (#2893)
Bumps google.golang.org/protobuf from 1.31.0 to 1.33.0.
|
2024-03-14 14:01:09 +01:00 |
|
blotus
|
742f5e8cda
|
[appsec] delete api key header before processing the request (#2890)
|
2024-03-14 14:00:39 +01:00 |
|
mmetc
|
6c042f18f0
|
LAPI: local api unix socket support (#2770)
|
2024-03-14 10:43:02 +01:00 |
|
Thibault "bui" Koechlin
|
2a7e8383c8
|
fix #2889 (#2892)
* fix #2889
|
2024-03-13 17:20:06 +01:00 |
|
Thibault "bui" Koechlin
|
b1c09f7512
|
acquisition : take prometheus level into account (#2885)
* properly take into account the aggregation level of prometheus metrics in acquisition
|
2024-03-13 14:57:19 +01:00 |
|
Manuel Sabban
|
bd785ede15
|
Fix armhf (#2886)
* armhf compile fix
|
2024-03-12 17:33:22 +01:00 |
|
Manuel Sabban
|
1a56a0e0b9
|
armhf fix for getfstype (#2884)
* armhf fix for getfstype
|
2024-03-12 14:33:10 +01:00 |
|
mmetc
|
49e0735b53
|
cscli tests + fix bouncer/machine prune (#2883)
* func tests: "cscli config feature-flags"
* func tests: "cscli bouncers list"
* func tests + fix: "cscli bouncers/machines prune"
* lint
|
2024-03-11 13:14:01 +01:00 |
|
blotus
|
6daaab1789
|
support both scope and scopes parameter in decisions filter (#2882)
|
2024-03-11 10:54:40 +01:00 |
|
blotus
|
e8ff13bc17
|
appsec: get the original UA from headers (#2809)
|
2024-03-08 15:04:36 +01:00 |
|
mmetc
|
a928b4d001
|
bump dependencies for geoip db / lookup (#2880)
|
2024-03-08 14:22:23 +01:00 |
|
blotus
|
44ec3b9e01
|
file acquis: add mutex to protect access to the internal tail map (#2878)
|
2024-03-08 13:56:59 +01:00 |
|
mmetc
|
6c5e8afde9
|
pkg/cwhub: download data assets to temporary files to avoid partial fetch (#2879)
|
2024-03-08 10:55:30 +01:00 |
|
mmetc
|
1eab943ec2
|
crowdsec: remove warning if prometheus port is taken during cold logs processing (#2857)
i.e. remove a "Warning: port is already in use" because it's probably LAPI
|
2024-03-07 14:36:28 +01:00 |
|
mmetc
|
8108e4156d
|
CI: "make generate" target; use ent 0.12.5 (#2871)
* CI: "make generate" target; pin tool versions
* use ent 0.12.5
* fix make help
* fix model generation target; re-run swagger
|
2024-03-07 14:25:25 +01:00 |
|
blotus
|
5731491b4e
|
Auto detect if reading logs or storing sqlite db on a network share (#2241)
|
2024-03-07 14:04:50 +01:00 |
|
mmetc
|
98560d0cf5
|
bin/crowdsec: avoid writing errors twice when log_media=stdout (#2876)
* bin/crowdsec: avoid writing errors twice when log_media=stdout
simpler, correct hook usage
* lint
|
2024-03-07 12:29:10 +01:00 |
|
mmetc
|
e611d01c90
|
cscli: hide hashed api keys (#2874)
* cscli: hide hashed api keys
* lint
|
2024-03-06 14:27:05 +01:00 |
|
mmetc
|
5356ccc6cd
|
cron: spread server load when upgrading hub and data files (#2873)
|
2024-03-06 13:42:57 +01:00 |
|
mmetc
|
d8877a71fc
|
lp metrics: collect datasources and console options (#2870)
|
2024-03-05 14:56:14 +01:00 |
|
mmetc
|
e7ecea764e
|
pkg/csconfig: use yaml.v3; deprecate yaml.v2 for new code (#2867)
* pkg/csconfig: use yaml.v3; deprecate yaml.v2 for new code
* yaml.v3: handle empty files
* Lint whitespace, errors
|
2024-03-04 14:22:53 +01:00 |
|
mmetc
|
41b43733b0
|
fix: log stack trace while computing metrics (#2865)
|
2024-03-01 10:52:35 +01:00 |
|
mmetc
|
8e9e091656
|
systemd: check configuration before attempting reload (#2861)
|
2024-02-26 13:44:40 +01:00 |
|
mmetc
|
a23fe06d68
|
remove dependencies on enescakir/emoji, gotest.tools (#2837)
* wrap emoji package in pkg/emoji
* remove dependency on enescakir/emoji
* remove dependency on gotest.tools
* lint (whitespace)
|
2024-02-23 16:05:01 +01:00 |
|
mmetc
|
4bf640c6e8
|
refact pkg/apiserver (auth helpers) (#2856)
|
2024-02-23 14:03:50 +01:00 |
|
mmetc
|
e34af358d7
|
refact cscli (globals) (#2854)
* cscli capi: avoid globals, extract methods
* cscli config restore: avoid global
* cscli hubtest: avoid global
* lint (whitespace, wrapped errors)
|
2024-02-23 10:37:04 +01:00 |
|
Laurence Jones
|
0df8f54fbb
|
Add unix socket option to http plugin, we have to use this in conjunction with URL parameter as we dont know which path the user wants so if they would like to communicate over unix socket they need to use both, however, the hostname can be whatever they want. We could be a little smarter and actually parse the url, however, increasing code when a user can just define it correctly make no sense (#2764)
|
2024-02-22 11:18:29 +00:00 |
|
mmetc
|
8da490f593
|
refact pkg/apiclient (#2846)
* extract resperr.go
* extract method prepareRequest()
* reset token inside mutex
|
2024-02-22 11:42:33 +01:00 |
|
mmetc
|
3e3df5e4c6
|
refact "cscli config", remove flag "cscli restore --old-backup" (#2832)
* refact "cscli config show"
* refact "cscli config backup"
* refact "cscli confgi show-yaml"
* refact "cscli config restore"
* refact "cscli config feature-flags"
* cscli restore: remove 'old-backup' option
* lint (whitespace, wrapped errors)
|
2024-02-22 11:04:36 +01:00 |
|
Laurence Jones
|
f3ea88f64c
|
Appsec unix socket (#2737)
* Appsec socket
* Patch detection of nil listenaddr
* Allow TLS unix socket
* Merge diff issue
|
2024-02-21 13:40:38 +00:00 |
|
mmetc
|
e976614645
|
cscli metrics: rename buckets -> scenarios (#2848)
* cscli metrics: rename buckets -> scenarios
* update lint configuration
* lint
|
2024-02-15 14:34:12 +01:00 |
|
Thibault "bui" Koechlin
|
717fc97ca0
|
add SetMeta and SetParsed helpers (#2845)
* add SetMeta and SetParsed helpers
|
2024-02-14 13:38:40 +01:00 |
|
he2ss
|
97c441dab6
|
implement highAvailability feature (#2506)
* implement highAvailability feature
---------
Co-authored-by: Marco Mariani <marco@crowdsec.net>
|
2024-02-14 12:26:42 +01:00 |
|