crowdsec/test/bats
mmetc a5ab73d458
cscli machines add: don't overwrite existing credential file (#2625)
* cscli machines add: don't overwrite existing credential file
* keep old behavior with --force
Now --force is used both to override the replacement of and existing machine,
and an existing credentials file. To retain the old behavior, the
existence of the file is only checked for the default configuration, not
if explicitly specified.
2023-12-04 22:59: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 Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
01_cscli.bats Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +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 Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +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 fix "cscli console disable --all"; cleanup "cscli console" command (#2444) 2023-08-29 11:44:23 +02: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 command "cscli hub types" (#2632) 2023-12-01 09:36:38 +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 Refact pkg/cwhub: fix some known issues and reorganize files (#2616) 2023-11-28 23:51:51 +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 add: don't overwrite existing credential file (#2625) 2023-12-04 22:59:52 +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