crowdsec/test/bats
mmetc ca784b147b
test and log fixes (#2690)
* cscli inspect: suggest --diff if an item is tainted
* appropriate warning, or error if context configuration file is empty
* fix user/group lookup unit test
* fix: allow hub upgrade --force with local items
* fix pkg/parser lookup for 8.8.8.8
* fix func test
* fix hubtests: machines add --force
2024-01-03 09:33:52 +01:00
..
testdata Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
00_wait_for.bats Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
01_crowdsec.bats fix package tests for 1.5.6-rc2 (#2652) 2023-12-11 10:07:09 +01:00
01_crowdsec_lapi.bats light pkg/api{client,server} refact (#2659) 2023-12-14 14:54:11 +01:00
01_cscli.bats light pkg/api{client,server} refact (#2659) 2023-12-14 14:54:11 +01:00
02_nolapi.bats Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
03_noagent.bats Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
04_capi.bats Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
04_nocapi.bats Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
05_config_yaml_local.bats cscli config show: pretty print with package "litter" (#2633) 2023-12-05 10:38:21 +01:00
07_setup.bats Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
08_metrics.bats Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
09_console.bats remove PAPI feature flag (#2601) 2023-12-08 14:55:45 +01:00
09_context.bats fix package tests for 1.5.6-rc2 (#2652) 2023-12-11 10:07:09 +01:00
10_bouncers.bats cscli bouncers: increase key size, deprecate and ignore --length option (#2531) 2023-11-24 15:01:13 +01:00
11_bouncers_tls.bats CI: separate stderr in all func tests (#2250) 2023-06-01 09:42:27 +02:00
12_notifications.bats Check cscli preconditions with crowdsec-cli/require package (#2388) 2023-07-27 17:02:20 +02:00
13_capi_whitelists.bats Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
20_hub.bats Add "taintedBy" and "--diff" flag to cscli... inspect (#2665) 2023-12-15 15:27:22 +01:00
20_hub_collections.bats Refact pkg/cwhub: fix some known issues and reorganize files (#2616) 2023-11-28 23:51:51 +01:00
20_hub_collections_dep.bats Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
20_hub_items.bats test and log fixes (#2690) 2024-01-03 09:33:52 +01:00
20_hub_parsers.bats Refact pkg/cwhub: fix some known issues and reorganize files (#2616) 2023-11-28 23:51:51 +01:00
20_hub_postoverflows.bats Refact pkg/cwhub: fix some known issues and reorganize files (#2616) 2023-11-28 23:51:51 +01:00
20_hub_scenarios.bats Refact pkg/cwhub: fix some known issues and reorganize files (#2616) 2023-11-28 23:51:51 +01:00
30_machines.bats cscli machines: lint + write output to stdout instead of log (#2657) 2023-12-13 15:43:46 +01:00
30_machines_tls.bats Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
40_cold-logs.bats Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
40_live-ban.bats Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
50_simulation.bats Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
70_plugin_http.bats notification-email: configurable timeouts (#2465) 2023-09-29 16:59:06 +02:00
71_plugin_dummy.bats notification-email: configurable timeouts (#2465) 2023-09-29 16:59:06 +02:00
72_plugin_badconfig.bats Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
73_plugin_formatting.bats notification-email: configurable timeouts (#2465) 2023-09-29 16:59:06 +02:00
80_alerts.bats cscli decisions list -o json => [] instead of null; same for alerts (#2397) 2023-08-03 12:51:50 +02:00
81_alert_context.bats Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
90_decisions.bats refactor alert/decisions insert/update to avoid database locking in bulk operations (#2446) 2023-09-04 14:21:45 +02:00
97_ipv4_single.bats cscli decisions list -o json => [] instead of null; same for alerts (#2397) 2023-08-03 12:51:50 +02:00
97_ipv6_single.bats cscli decisions list -o json => [] instead of null; same for alerts (#2397) 2023-08-03 12:51:50 +02:00
98_ipv4_range.bats cscli decisions list -o json => [] instead of null; same for alerts (#2397) 2023-08-03 12:51:50 +02:00
98_ipv6_range.bats cscli decisions list -o json => [] instead of null; same for alerts (#2397) 2023-08-03 12:51:50 +02:00
99_lapi-stream-mode-scenario.bats CI: separate stderr in all func tests (#2250) 2023-06-01 09:42:27 +02:00
99_lapi-stream-mode-scopes.bats CI: separate stderr in all func tests (#2250) 2023-06-01 09:42:27 +02:00
99_lapi-stream-mode.bats CI: separate stderr in all func tests (#2250) 2023-06-01 09:42:27 +02:00
reformat Rename directory "tests" to "test" (#2094) 2023-03-03 15:54:49 +01:00