crowdsec/test/bats
mmetc f8f0b2a211
improve support for parsing time durations with 'day' units (#3599)
* 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'
2025-05-05 15:12:29 +02:00
..
testdata improved tls middleware revocation checks (#3034) 2024-06-26 10:41:30 +02:00
00_wait_for.bats tests: remove modeline (#3486) 2025-02-28 15:24:13 +01:00
01_crowdsec.bats fix #3532 "reload causes crashing process" (#3534) 2025-03-24 15:10:10 +01:00
01_crowdsec_lapi.bats lapi: return specific error if a unix socket path is too long for the OS (#3593) 2025-04-29 12:42:49 +02:00
01_cscli.bats tests: remove modeline (#3486) 2025-02-28 15:24:13 +01:00
01_cscli_lapi.bats tests: remove modeline (#3486) 2025-02-28 15:24:13 +01:00
02_nolapi.bats tests: remove modeline (#3486) 2025-02-28 15:24:13 +01:00
03_noagent.bats tests: remove modeline (#3486) 2025-02-28 15:24:13 +01:00
04_capi.bats tests: remove modeline (#3486) 2025-02-28 15:24:13 +01:00
04_nocapi.bats tests: remove modeline (#3486) 2025-02-28 15:24:13 +01:00
05_config_yaml_local.bats tests: remove modeline (#3486) 2025-02-28 15:24:13 +01:00
07_setup.bats tests: remove modeline (#3486) 2025-02-28 15:24:13 +01:00
08_metrics.bats tests: remove modeline (#3486) 2025-02-28 15:24:13 +01:00
08_metrics_bouncer.bats tests: remove modeline (#3486) 2025-02-28 15:24:13 +01:00
08_metrics_machines.bats tests: remove modeline (#3486) 2025-02-28 15:24:13 +01:00
09_console.bats tests: remove modeline (#3486) 2025-02-28 15:24:13 +01:00
09_context.bats tests: remove modeline (#3486) 2025-02-28 15:24:13 +01:00
09_socket.bats tests: remove modeline (#3486) 2025-02-28 15:24:13 +01:00
10_bouncers.bats improve support for parsing time durations with 'day' units (#3599) 2025-05-05 15:12:29 +02:00
11_bouncers_tls.bats tests: remove modeline (#3486) 2025-02-28 15:24:13 +01:00
12_notifications.bats tests: remove modeline (#3486) 2025-02-28 15:24:13 +01:00
13_capi_whitelists.bats tests: remove modeline (#3486) 2025-02-28 15:24:13 +01:00
20_hub.bats revert ActionPlan info/warning to StandardLogger (#3536) 2025-03-24 15:13:24 +01:00
20_hub_collections_dep.bats tests: remove modeline (#3486) 2025-02-28 15:24:13 +01:00
20_hub_items.bats explicit message for malformed data URL in local items (#3537) 2025-03-25 11:53:49 +01:00
30_machines.bats improve support for parsing time durations with 'day' units (#3599) 2025-05-05 15:12:29 +02:00
30_machines_tls.bats tests: remove modeline (#3486) 2025-02-28 15:24:13 +01:00
40_cold-logs.bats test: add cold log event assert (#3577) 2025-04-16 12:37:50 +02:00
40_live-ban.bats tests: remove modeline (#3486) 2025-02-28 15:24:13 +01:00
50_simulation.bats tests: remove modeline (#3486) 2025-02-28 15:24:13 +01:00
70_plugin_http.bats tests: remove modeline (#3486) 2025-02-28 15:24:13 +01:00
71_plugin_dummy.bats tests: remove modeline (#3486) 2025-02-28 15:24:13 +01:00
72_plugin_badconfig.bats tests: remove modeline (#3486) 2025-02-28 15:24:13 +01:00
73_plugin_formatting.bats tests: remove modeline (#3486) 2025-02-28 15:24:13 +01:00
80_alerts.bats improve support for parsing time durations with 'day' units (#3599) 2025-05-05 15:12:29 +02:00
81_alert_context.bats tests: remove modeline (#3486) 2025-02-28 15:24:13 +01:00
90_decisions.bats improve support for parsing time durations with 'day' units (#3599) 2025-05-05 15:12:29 +02:00
97_ipv4_single.bats tests: remove modeline (#3486) 2025-02-28 15:24:13 +01:00
97_ipv6_single.bats tests: remove modeline (#3486) 2025-02-28 15:24:13 +01:00
98_ipv4_range.bats tests: remove modeline (#3486) 2025-02-28 15:24:13 +01:00
98_ipv6_range.bats tests: remove modeline (#3486) 2025-02-28 15:24:13 +01:00
99_lapi-stream-mode-scenario.bats tests: remove modeline (#3486) 2025-02-28 15:24:13 +01:00
99_lapi-stream-mode-scopes.bats tests: remove modeline (#3486) 2025-02-28 15:24:13 +01:00
99_lapi-stream-mode.bats tests: remove modeline (#3486) 2025-02-28 15:24:13 +01:00
appsec.bats appsec: support custom CA for lapi (#3503) 2025-03-12 09:33:21 +01:00
crowdsec-acquisition.bats crowdsec: allow -t to work if using appsec and allowlists (#3484) 2025-02-27 14:26:38 +01:00
cscli-allowlists.bats improve support for parsing time durations with 'day' units (#3599) 2025-05-05 15:12:29 +02:00
cscli-hubtype-inspect.bats cscli inspect: don't show metrics or converted rules if an item is not installed (#3602) 2025-05-02 00:12:55 +02:00
cscli-hubtype-install.bats revert ActionPlan info/warning to StandardLogger (#3536) 2025-03-24 15:13:24 +01:00
cscli-hubtype-list.bats log warning if local items have conflicting names (#3399) 2025-01-13 13:28:48 +01:00
cscli-hubtype-remove.bats cscli hub/items: always show action plan; fix --interactive in pipes (#3451) 2025-02-21 00:17:01 +01:00
cscli-hubtype-upgrade.bats revert ActionPlan info/warning to StandardLogger (#3536) 2025-03-24 15:13:24 +01:00
cscli-parsers.bats cscli: improved hub management (#3352) 2024-12-26 15:21:52 +01:00
cscli-postoverflows.bats cscli: improved hub management (#3352) 2024-12-26 15:21:52 +01:00
hub-index.bats cscli hub/items: always show action plan; fix --interactive in pipes (#3451) 2025-02-21 00:17:01 +01:00
reformat Rename directory "tests" to "test" (#2094) 2023-03-03 15:54:49 +01:00