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 |
|
mmetc
|
8de8bf0e06
|
pkg/hubtest: extract methods + consistent error handling (#2756)
* pkg/hubtest: extract methods + consistent error handling
* lint
* rename variables for further refactor
|
2024-02-14 11:53:12 +01:00 |
|
mmetc
|
2bbf0b4762
|
re-generate ent code (#2844)
|
2024-02-14 11:19:13 +01:00 |
|
mmetc
|
45571cea08
|
use go 1.21.7 (#2830)
|
2024-02-14 09:47:12 +01:00 |
|
mmetc
|
d34fb7e8a8
|
log processor: share apiclient in output goroutines (#2836)
|
2024-02-13 14:22:19 +01:00 |
|
mmetc
|
4561eb787b
|
bats: color formatter in CI (#2838)
|
2024-02-12 20:15:16 +01:00 |
|
mmetc
|
a6a4d460d7
|
refact "cscli console" (#2834)
|
2024-02-12 11:45:58 +01:00 |
|
mmetc
|
eada3739e6
|
refact "cscli notifications" (#2833)
|
2024-02-12 11:40:59 +01:00 |
|
blotus
|
bdecf38616
|
update codeql action to v3 (#2822)
|
2024-02-12 11:33:44 +01:00 |
|
mmetc
|
5c83695177
|
refact "cscli explain" (#2835)
|
2024-02-12 11:23:17 +01:00 |
|
mmetc
|
2853410576
|
refact "cscli alerts" (#2827)
|
2024-02-09 17:51:29 +01:00 |
|
mmetc
|
58a1d7164f
|
refact "cscli lapi" (#2825)
|
2024-02-09 17:39:50 +01:00 |
|
blotus
|
332af5dd8d
|
appsec: split return code for bouncer and user (#2821)
|
2024-02-09 14:39:34 +01:00 |
|
Laurence Jones
|
fa56d35a48
|
[Loki] Set headers/basic auth if set for queryRange (#2815)
|
2024-02-09 14:37:49 +01:00 |
|
mmetc
|
df159b0167
|
update calls to deprecated x509 methods (#2824)
|
2024-02-09 13:55:24 +01:00 |
|
mmetc
|
af1df0696b
|
refact cscli metric processing (#2816)
* typos
* refact cscli metric processing
* lint
|
2024-02-07 11:10:25 +01:00 |
|
Thibault "bui" Koechlin
|
3208a40ef3
|
Dedicated whitelist metrics (#2813)
* add proper whitelist metrics : both its own table and an extension to acquis metrics to track discarded/whitelisted lines
|
2024-02-06 18:04:17 +01:00 |
|
mmetc
|
4e724f6c0a
|
refact "cscli" root cmd (#2811)
* refact "cscli" root cmd
* lint (naming, imports, whitespace)
|
2024-02-06 10:50:28 +01:00 |
|
mmetc
|
fdc525164a
|
refact "cscli metrics" part 3 (#2807)
|
2024-02-06 10:07:05 +01:00 |
|
mmetc
|
81acad0d66
|
refact "cscli metrics" part 2 (#2806)
|
2024-02-02 10:40:55 +01:00 |
|
mmetc
|
5ff8a03195
|
refact "cscli metrics" par 1 (#2805)
|
2024-02-02 09:45:03 +01:00 |
|
mmetc
|
4160bb8102
|
refact "cscli decisions" (#2804)
* refact "cscli decisions"
* CI: relax mysql test timing
* lint
|
2024-02-01 22:36:21 +01:00 |
|
mmetc
|
f5fbe4a200
|
refact "cscli dashboard" (#2803)
|
2024-02-01 17:27:15 +01:00 |
|
mmetc
|
45c669fb65
|
refact "cscli papi" (#2802)
|
2024-02-01 17:27:00 +01:00 |
|
mmetc
|
825c08aa9d
|
refact "cscli simulation" (#2801)
|
2024-02-01 17:26:46 +01:00 |
|
mmetc
|
af14f1085f
|
refact "cscli <itemtype>" (#2782)
|
2024-02-01 17:26:06 +01:00 |
|
mmetc
|
e6f5d157b8
|
refact "cscli hub" (#2800)
|
2024-02-01 17:25:29 +01:00 |
|
mmetc
|
785fce4dc7
|
refact "cscli alerts" (#2778)
|
2024-02-01 17:24:00 +01:00 |
|
mmetc
|
17db4cb970
|
refact "cscli machines" (#2777)
|
2024-02-01 17:22:52 +01:00 |
|
mmetc
|
4192af30d5
|
refact "cscli bouncers" (#2776)
|
2024-01-31 12:40:41 +01:00 |
|
mmetc
|
3921c3f480
|
CI: rename workflows, improve docker build and tests (#2798)
|
2024-01-31 12:07:27 +01:00 |
|
mmetc
|
6507e8f4cd
|
cscli: don't print use_wal warning (#2794)
|
2024-01-30 11:07:53 +01:00 |
|
mmetc
|
66544baa7f
|
CI: workflow improvements (#2792)
- update deprecated action dependencies
- remove go version matrix (track stable version)
- optimize docker builds
- comments, renamed workflow
|
2024-01-30 10:20:25 +01:00 |
|
mmetc
|
311dfdee1f
|
Decouple docker image from package release (#2791)
- entry point fixes for 1.6.0
- correctly override BUILD_VERSION argument
- manual release workflow
|
2024-01-29 22:05:26 +01:00 |
|
mmetc
|
91b0fce955
|
option to override hub url template. for testers only. (#2785)
|
2024-01-25 12:53:20 +01:00 |
|