crowdsec/cmd/crowdsec-cli
mmetc e36df40ba7
pkg/types cleanup (#2398)
* move function GetLineCountForFile from pkg/types to cscli
* move ParseDuration from pkg/types to pkg/database
* remove unused types.Profile, types.RemediationProfile
2023-08-24 09:44:46 +02:00
..
require fix "crowdsec-cli/require" log verbosity (#2390) 2023-07-28 09:56:20 +02:00
alerts.go cscli decisions list -o json => [] instead of null; same for alerts (#2397) 2023-08-03 12:51:50 +02:00
alerts_table.go display source in alerts list when an alert has multiple decisions (#2098) 2023-03-06 13:51:57 +01:00
bouncers.go Update bouncers.go (#2404) 2023-08-03 11:26:08 +01:00
bouncers_table.go cscli: new tables, --color yes|no|auto option (#1763) 2022-10-07 11:05:35 +02:00
capi.go update dependency on go-cs-lib; drop the pkg/ part (#2393) 2023-07-28 16:35:08 +02:00
collections.go remove calls to log.Fatal (#2399) 2023-08-16 21:04:46 +02:00
completion.go Update deps to latest stable: go-systemd, tail, cobra, lumberjack, testify (#2164) 2023-04-12 16:58:11 +02:00
config.go Implement "cscli config show-yaml" (#2191) 2023-05-11 21:01:13 +02:00
config_backup.go errors.Wrap -> fmt.Errorf; clean up imports (#2297) 2023-06-22 15:01:34 +02:00
config_feature_flags.go cscli config feature-flags (#2006) 2023-01-20 09:32:10 +01:00
config_restore.go errors.Wrap -> fmt.Errorf; clean up imports (#2297) 2023-06-22 15:01:34 +02:00
config_show.go Remove duplicate line (#2432) 2023-08-22 14:09:19 +02:00
config_showyaml.go Implement "cscli config show-yaml" (#2191) 2023-05-11 21:01:13 +02:00
console.go update dependency on go-cs-lib; drop the pkg/ part (#2393) 2023-07-28 16:35:08 +02:00
console_table.go do not try to load PAPI is url is not set (#2099) 2023-03-06 15:38:58 +01:00
copyfile.go minor refactor to pkg/types, cscli machines (#2270) 2023-06-08 15:08:51 +02:00
dashboard.go Check cscli preconditions with crowdsec-cli/require package (#2388) 2023-07-27 17:02:20 +02:00
decisions.go cscli decisions list -o json => [] instead of null; same for alerts (#2397) 2023-08-03 12:51:50 +02:00
decisions_import.go update dependency on go-cs-lib; drop the pkg/ part (#2393) 2023-07-28 16:35:08 +02:00
decisions_table.go print missing "AS" values as empty strings instead of "0 " (#1867) 2022-11-14 09:55:53 +01:00
explain.go pkg/types cleanup (#2398) 2023-08-24 09:44:46 +02:00
hub.go fallback to master for hub index download if it does not exist (#2210) 2023-05-17 11:20:53 +02:00
hubtest.go replace log.Fatal -> fmt.Errorf (#2058) 2023-02-20 15:05:42 +01:00
hubtest_table.go rename pkg/cstest -> pkg/hubtest (#1811) 2022-10-17 09:24:07 +02:00
lapi.go Simplify context add (#2408) 2023-08-04 16:50:35 +02:00
machines.go Add machines prune command (#2011) 2023-07-28 15:23:47 +01:00
machines_table.go minor refactor to pkg/types, cscli machines (#2270) 2023-06-08 15:08:51 +02:00
main.go Update main.go (#2431) 2023-08-22 14:09:53 +02:00
Makefile Build target for "make tidy" (#2378) 2023-07-26 10:24:37 +02:00
messages.go functional tests, minor refactoring and lint/cleanup (#1570) 2022-06-06 15:24:48 +02:00
metrics.go update dependency on go-cs-lib; drop the pkg/ part (#2393) 2023-07-28 16:35:08 +02:00
metrics_table.go typo fix, uppercase 'API', adjusted log level (#2361) 2023-07-21 23:23:24 +02:00
notifications.go update dependency on go-cs-lib; drop the pkg/ part (#2393) 2023-07-28 16:35:08 +02:00
notifications_table.go cscli: new tables, --color yes|no|auto option (#1763) 2022-10-07 11:05:35 +02:00
papi.go update dependency on go-cs-lib; drop the pkg/ part (#2393) 2023-07-28 16:35:08 +02:00
parsers.go remove calls to log.Fatal (#2399) 2023-08-16 21:04:46 +02:00
postoverflows.go remove calls to log.Fatal (#2399) 2023-08-16 21:04:46 +02:00
scenarios.go remove calls to log.Fatal (#2399) 2023-08-16 21:04:46 +02:00
setup.go cscli setup (#1923) 2023-02-06 07:33:04 +01:00
simulation.go types.InSlice() -> slices.Contains() (#2246) 2023-05-31 12:39:22 +02:00
support.go update dependency on go-cs-lib; drop the pkg/ part (#2393) 2023-07-28 16:35:08 +02:00
tables.go cscli: new tables, --color yes|no|auto option (#1763) 2022-10-07 11:05:35 +02:00
utils.go update dependency on go-cs-lib; drop the pkg/ part (#2393) 2023-07-28 16:35:08 +02:00
utils_table.go cscli: new tables, --color yes|no|auto option (#1763) 2022-10-07 11:05:35 +02:00