Victor Edvardsson
|
8ed607e9b6
|
Fix typo
|
2024-04-15 16:03:20 +02:00 |
|
Victor Edvardsson
|
65dcc5876f
|
Fix order of arguments passed
|
2024-04-15 15:59:36 +02:00 |
|
Victor Edvardsson
|
c7cdb770bd
|
Argument were missing when calling SetDefaultLoggerConfig function
|
2024-04-15 15:57:06 +02:00 |
|
Victor Edvardsson
|
1ee0358b05
|
Add variables that were undefined
|
2024-04-15 15:23:33 +02:00 |
|
Victor Edvardsson
|
96b8408392
|
defining logFormatter outside if statement so that log.SetFormatter(logFormatter) is not undefined when function is called
|
2024-04-15 14:52:08 +02:00 |
|
Victor Edvardsson
|
b5a3e1c303
|
Default to text formatter, if log_format is not configured.
|
2024-04-15 14:28:53 +02:00 |
|
Victor Edvardsson
|
27d43116f1
|
Fix some formatting that got messed up
|
2024-04-15 10:13:34 +02:00 |
|
Victor Edvardsson
|
e44b4cced8
|
Move in if statement under previous
|
2024-04-15 10:05:59 +02:00 |
|
Victor Edvardsson
|
2697c75dd3
|
Fix formatting
|
2024-04-15 09:59:54 +02:00 |
|
Victor Edvardsson
|
ea83066515
|
Set same timestamp format for json logging
|
2024-04-15 09:56:41 +02:00 |
|
Victor Edvardsson
|
99606b722d
|
Fix some typos and change naming from native to text, makes more sense
|
2024-04-15 09:02:07 +02:00 |
|
Victor Edvardsson
|
d7022a2692
|
Fix typo
|
2024-04-14 21:33:33 +02:00 |
|
Victor Edvardsson
|
2355a93a9a
|
Fix typo
|
2024-04-14 21:32:33 +02:00 |
|
Victor Edvardsson
|
cb6e59f59c
|
Fix syntax error in if statement
|
2024-04-14 21:31:20 +02:00 |
|
Victor Edvardsson
|
194ac7a5e7
|
Add error handling
|
2024-04-14 21:18:49 +02:00 |
|
Victor Edvardsson
|
11b1e23e1c
|
fix typo
|
2024-04-14 20:44:30 +02:00 |
|
Victor Edvardsson
|
d98a569ef1
|
fix typo
|
2024-04-14 20:41:45 +02:00 |
|
Victor Edvardsson
|
a72f22377e
|
fix typo
|
2024-04-14 20:30:28 +02:00 |
|
Victor Edvardsson
|
9a50396982
|
fix typo
|
2024-04-14 20:29:31 +02:00 |
|
Victor Edvardsson
|
c8652aa9fd
|
fix typo
|
2024-04-14 20:28:34 +02:00 |
|
Victor Edvardsson
|
fe0c8f352d
|
fix
|
2024-04-14 20:27:34 +02:00 |
|
Victor Edvardsson
|
a8477f7c4f
|
make it possible to enable json log
|
2024-04-14 20:23:39 +02:00 |
|
AlteredCoder
|
0746e0c091
|
Rename bouncers to Remediation component in openAPI (#2936)
* Rename bouncers to Remediation component in openAPI
|
2024-04-11 11:23:19 +02:00 |
|
mmetc
|
2682f801df
|
windows: fix data file update (remove before rename) (#2930)
|
2024-04-05 14:57:33 +02:00 |
|
Thibault "bui" Koechlin
|
912c4bca70
|
split & reorganize tests a bit. Add tests on existing zones (#2925)
|
2024-04-03 17:49:05 +02:00 |
|
Thibault "bui" Koechlin
|
63bd31b471
|
Fix REQUEST_URI behavior + fix #2891 (#2917)
* fix our behavior to comply more with modsec, REQUEST_URI should be: path+query string
* fix #2891 as well
* add new transforms
* add transform tests
|
2024-03-29 17:57:54 +01:00 |
|
Christian Kampka
|
f6bb8412c5
|
Add patterns_dir configuration option (#2868)
* Add patterns_dir configuration option
* Update config.yaml
---------
Co-authored-by: mmetc <92726601+mmetc@users.noreply.github.com>
|
2024-03-25 16:20:16 +01:00 |
|
mmetc
|
2e1ddec107
|
cscli: Add user-agent to all hub requests (#2915)
* cscli: Add user-agent to all hub requests
* fix unit test and avoid httpmock
* fix windows test
|
2024-03-25 10:40:41 +01:00 |
|
blotus
|
52f86c2d10
|
add libinjection expr helpers (#2914)
|
2024-03-21 11:39:37 +01:00 |
|
mmetc
|
7779c7ff0c
|
hub update: reload crowdsec if only data files have changed (#2912)
|
2024-03-20 15:46:14 +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
|
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 |
|
Laurence Jones
|
e9b0f3c54e
|
wip: fix unix socket error (#2897)
|
2024-03-14 15:36:47 +00: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
|
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 |
|
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 |
|
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
|
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
|
e611d01c90
|
cscli: hide hashed api keys (#2874)
* cscli: hide hashed api keys
* lint
|
2024-03-06 14:27:05 +01:00 |
|
mmetc
|
d8877a71fc
|
lp metrics: collect datasources and console options (#2870)
|
2024-03-05 14:56:14 +01:00 |
|