* custom duration type for "cscli decisions list", "cscli alerts list"
* custom duration type for "cscli allowlist add"
* custom duration type for "cscli machines prune"
* custom duration type for "cscli bouncers prune"
* replace old function ParseDuration
* use custom duration type in expr helpers
* update dependency
* lint
* test fix
* support days in 'metrics_max_age'
* DurationWithDays for 'max_age'
* cscsli: remove unused Command.Args setting
* cscli: review/update argument number checking
cscli will consistently print the help text if the number of arguments is
wrong for the command, but not for other types of errors.
* fix func tests
* lint
* make it possible to enable json log
* fix
* fix typo
* fix typo
* fix typo
* fix typo
* fix typo
* fix typo
* Add error handling
* Add log_format to default config
* Fix syntax error in if statement
* Fix typo
* Fix typo
* Fix some typos and change naming from native to text, makes more sense
* Set same timestamp format for json logging
* Fix formatting
* Move in if statement under previous
* Fix some formatting that got messed up
* Default to text formatter, if log_format is not configured.
* defining logFormatter outside if statement so that log.SetFormatter(logFormatter) is not undefined when function is called
* Add variables that were undefined
* Argument were missing when calling SetDefaultLoggerConfig function
* Fix order of arguments passed
* Fix order of arguments passed
* Fix typo
* Implicit log_format = "text"
* functional test
* ignore log_format in FatalHook
* make it possible to enable json log
* fix
* fix typo
* fix typo
* fix typo
* fix typo
* fix typo
* fix typo
* Add error handling
* Add log_format to default config
* Fix syntax error in if statement
* Fix typo
* Fix typo
* Fix some typos and change naming from native to text, makes more sense
* Set same timestamp format for json logging
* Fix formatting
* Move in if statement under previous
* Fix some formatting that got messed up
* Default to text formatter, if log_format is not configured.
* defining logFormatter outside if statement so that log.SetFormatter(logFormatter) is not undefined when function is called
* Add variables that were undefined
* Argument were missing when calling SetDefaultLoggerConfig function
* Fix order of arguments passed
* Fix order of arguments passed
* Fix typo
* Implicit log_format = "text"
* functional test
* ignore log_format in FatalHook
* lint
* fix func test
* lint
* remove < > characters from log
---------
Co-authored-by: Victor Edvardsson <victor.edvardsson@loopia.se>
Co-authored-by: marco <marco@crowdsec.net>
Co-authored-by: Thibault "bui" Koechlin <thibault@crowdsec.net>
* update dependency on docker
since docker doesn't have a go.mod, the opentelemetry dependencies
in go.sum must be updated by hand according to the vendor.mod file
of the related docker release
ex. https://github.com/docker/cli/blob/v27.1.1/vendor.mod