crowdsec/pkg
Cristian Nitescu 7284c0a47a
retry with backoff requests to CAPI (#1957)
* backoff on refresh token error

* fix tls communication with lapi and user/pw auth (#1956)

allow self-signed TLS encryption with user/pw auth

docker:
 - remove defaults for certificate file locations
 - new envvar INSECURE_SKIP_VERIFY
 - register agent before TLS settings (cscli machine add removes them
   from the credentials file)

* separate cscli cobra constructors:  lapi, machines, bouncers, postoverflows (#1945)

* use feature toggling to improve testability with http retry backoff

* Add parse unix to dateparse enricher (#1958)

Add parse unix is we do have a strTime but wasnt parsed using convential golang time

* func tests: redirect stderr to filter extra logs (#1961)

* backoff on refresh token error

* use feature toggling to improve testability with http retry backoff

* refactor feature backoff toggle for tests

Co-authored-by: mmetc <92726601+mmetc@users.noreply.github.com>
Co-authored-by: Laurence Jones <laurence.jones@live.co.uk>
2023-01-09 14:49:21 +01:00
..
acquisition fix parser test 2k23 (#1971) 2023-01-04 15:46:16 +01:00
alertcontext Alert context (#1895) 2023-01-04 16:50:02 +01:00
apiclient retry with backoff requests to CAPI (#1957) 2023-01-09 14:49:21 +01:00
apiserver Alert context (#1895) 2023-01-04 16:50:02 +01:00
csconfig Alert context (#1895) 2023-01-04 16:50:02 +01:00
csplugin Add Kubernetes audit acquisition (#1767) 2022-12-06 13:47:29 +01:00
csprofiles unit tests: always capture testcase variable -> allow parallel testing (#1797) 2022-10-10 10:48:26 +02:00
cstest feature flags (#1933) 2022-12-20 16:11:51 +01:00
cwhub lint: error handling cleanup (#1877) 2022-11-29 09:16:07 +01:00
cwversion refactor: use runtime rather than ldflags for go details (#1302) 2022-03-14 11:29:34 +01:00
database Add postgres socket support, clean some code (#1926) 2022-12-12 16:08:19 +00:00
exprhelpers ParseUnix() test fix: force UTC (#1970) 2023-01-04 16:22:17 +01:00
fflag retry with backoff requests to CAPI (#1957) 2023-01-09 14:49:21 +01:00
hubtest Improve warnings around lack of evt.StrTime field (#1954) 2022-12-29 15:03:32 +01:00
leakybucket Add conditional bucket (#1962) 2023-01-06 09:26:16 +01:00
metabase lint: error handling cleanup (#1877) 2022-11-29 09:16:07 +01:00
models Alert context (#1895) 2023-01-04 16:50:02 +01:00
parser Alert context (#1895) 2023-01-04 16:50:02 +01:00
protobufs Add plugin interface code in protobufs package (#921) 2021-08-31 14:40:17 +02:00
time Windows Support (#1159) 2022-05-17 12:14:59 +02:00
types Add Kubernetes audit acquisition (#1767) 2022-12-06 13:47:29 +01:00
yamlpatch unit tests: always capture testcase variable -> allow parallel testing (#1797) 2022-10-10 10:48:26 +02:00