crowdsec/pkg
Laurence Jones 55247cd46a
Add machines prune command (#2011)
* Add machines prune command

* Fix scope variable for naming scheme

* Add some freshness and add new features

* Fix force and fix duration if less than 60

* Allow duration to be more readable

* Fix description

* Improve func wording and make int machines length

* No point overloading functions

* Add prune to list of commands

* Check if GID is already the group if so no need to chown

* Revert "Check if GID is already the group if so no need to chown"

This reverts commit c7cef1773e.

* change all short desc to be similar, and made it really really clear when pruning it is not recoverable

* Better examples

* Match bouncer like for like

* Fix merge error

* Dont use log. and dont return error on user input to abort
2023-07-28 15:23:47 +01:00
..
acquisition add object key in src for S3 acquis (#2342) 2023-07-07 10:09:18 +02:00
alertcontext types.InSlice() -> slices.Contains() (#2246) 2023-05-31 12:39:22 +02:00
apiclient errors.Wrap -> fmt.Errorf; clean up imports (#2297) 2023-06-22 15:01:34 +02:00
apiserver fix double push of metrics by properly handling tickers (#2374) 2023-07-25 12:19:26 +02:00
cache support for regexps result cache (#2104) 2023-03-08 16:07:49 +01:00
csconfig fix "crowdsec-cli/require" log verbosity (#2390) 2023-07-28 09:56:20 +02:00
csplugin fix a confusing debug message (#2386) 2023-07-28 09:52:21 +02:00
csprofiles fix a confusing debug message (#2386) 2023-07-28 09:52:21 +02:00
cticlient rename status to state in fire response (#2313) 2023-06-29 11:06:49 +02:00
cwhub replace imports of path with path/filepath (#2330) 2023-07-26 10:29:58 +02:00
cwversion build against libre2-dev if found (#2255) 2023-06-06 15:46:25 +02:00
database Add machines prune command (#2011) 2023-07-28 15:23:47 +01:00
exprhelpers replace imports of path with path/filepath (#2330) 2023-07-26 10:29:58 +02:00
fflag decouple bouncer dependencies: use go-cs-lib in test code (#2229) 2023-05-25 15:37:44 +02:00
hubtest fix the ci by adding the ability to enforce event ordering (#2347) 2023-07-20 11:41:30 +02:00
leakybucket scenario labels to map string interface (#2201) 2023-07-24 15:19:28 +02:00
longpollclient Add cscli papi status and cscli papi sync (#2091) 2023-03-03 13:46:28 +01:00
metabase replace imports of path with path/filepath (#2330) 2023-07-26 10:29:58 +02:00
models Polling API Integration (#1715) 2023-01-31 14:47:44 +01:00
modelscapi v3 capi and blocklists links support (#2019) 2023-02-06 14:06:14 +01:00
parser replace imports of path with path/filepath (#2330) 2023-07-26 10:29:58 +02:00
protobufs Add plugin interface code in protobufs package (#921) 2021-08-31 14:40:17 +02:00
setup Update go dependencies (#2293) 2023-06-22 11:31:41 +02:00
time Windows Support (#1159) 2022-05-17 12:14:59 +02:00
types errors.Wrap -> fmt.Errorf (#2317) 2023-06-29 11:34:59 +02:00