mmetc
|
ffadd42779
|
update dependency on go-cs-lib; drop the pkg/ part (#2393)
|
2023-07-28 16:35:08 +02:00 |
|
mmetc
|
bb16552aca
|
Use same levenshtein package for cscli, ent, hcl (#2359)
remove one dependency, slightly smaller binary
|
2023-07-18 11:30:14 +02:00 |
|
mmetc
|
25bb23d8b7
|
minor refactor to pkg/types, cscli machines (#2270)
* cleanup: separate ui and logic
* trim some code from pkg/types
|
2023-06-08 15:08:51 +02:00 |
|
mmetc
|
228e4f9acc
|
cscli: add G (1e9) suffix to metric units (#2254)
|
2023-06-02 14:38:11 +02:00 |
|
mmetc
|
92a9d6c321
|
types.InSlice() -> slices.Contains() (#2246)
|
2023-05-31 12:39:22 +02:00 |
|
mmetc
|
534328ca30
|
decouple bouncer dependencies: use go-cs-lib/pkg/* (#2216)
* decouple bouncer dependencies: use go-cs-lib/pkg/trace
* decouple bouncer dependencies: use go-cs-lib/pkg/version
* decouple bouncer dependencies: use go-cs-lib/pkg/yamlpatch
* decouple bouncer dependencies: use go-cs-lib/pkg/csstring
* unused import
|
2023-05-23 10:52:47 +02:00 |
|
mmetc
|
c4deaf0994
|
cscli: avoid initializing the db configuration twice (#1982)
|
2023-01-11 09:50:12 +01:00 |
|
AlteredCoder
|
185f9ad541
|
Alert context (#1895)
Co-authored-by: bui <thibault@crowdsec.net>
|
2023-01-04 16:50:02 +01:00 |
|
Manuel Sabban
|
3d72ca731a
|
Suggest bouncers and machines to delete (#1896)
* Suggest bouncers to delete
* Autocomplete machines delete cmd
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
* Fix lint.
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
* fix compilation (git merge errors)
* cleanup go.mod unneeded changes
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
Co-authored-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
|
2022-12-05 15:39:54 +01:00 |
|
blotus
|
7144dca68a
|
Fix missing metrics cscli (#1809)
|
2022-10-13 15:49:41 +02:00 |
|
mmetc
|
4b3c9c2806
|
print cscli usage in color, fix windows terminal detection (#1801)
|
2022-10-13 12:28:24 +02:00 |
|
mmetc
|
ddd75eae9a
|
cscli: new tables, --color yes|no|auto option (#1763)
|
2022-10-07 11:05:35 +02:00 |
|
Shivam Sandbhor
|
52447f6999
|
Don't suggest an item which user already mentioned. (#1702)
|
2022-09-28 13:26:47 +02:00 |
|
Sean Kelly
|
568eb1d4e0
|
Fix misspelling of instantiate participles (#1759)
|
2022-09-27 17:13:43 +02:00 |
|
mmetc
|
414282a2c9
|
golangci-lint 1.49 and related fixes (#1736)
|
2022-09-06 13:55:03 +02:00 |
|
blotus
|
e46ca38cbb
|
add cscli support dump (#1634)
|
2022-08-18 11:54:01 +02:00 |
|
AlteredCoder
|
fe5f9bfc28
|
add suggestion on cscli install items (#1686)
|
2022-08-04 10:09:56 +02:00 |
|
AlteredCoder
|
5c8e2a8510
|
Fix 1652 (#1654)
|
2022-07-13 10:57:07 +02:00 |
|
mmetc
|
10585bfecc
|
enabled linters and fixes for: misspell, predeclared, unconvert, ineffassign, gosimple, govet (#1595)
|
2022-06-16 14:41:54 +02:00 |
|
mmetc
|
799cc82bb5
|
functional tests, minor refactoring and lint/cleanup (#1570)
* cmd/crowdsec: removed log.Fatal()s, added tests and print error for unrecognized argument
* updated golangci-lint to v1.46
* lint/deadcode: fix existing issues
* tests: cscli config backup/restore
* tests: cscli completion powershell/fish
* err check: pflags MarkHidden()
* empty .dockerignore (and explain the reason)
* tests, errors.Wrap
* test for CS_LAPI_SECRET and minor refactoring
* minor style changes
* log cleanup
|
2022-06-06 15:24:48 +02:00 |
|
mmetc
|
1a293a2a27
|
cwhub: export SetHubBranch (#1559)
|
2022-05-24 15:46:48 +02:00 |
|
Greg Myers
|
0f4ab71f01
|
Fix typos in docs, comments, code (#1483)
|
2022-04-27 11:04:12 +02:00 |
|
AlteredCoder
|
4273a0f243
|
cscli: add autocompletions for hubitems (#1465)
* Add autocompletion for hub items in cscli
|
2022-04-20 15:44:48 +02:00 |
|
Shivam Sandbhor
|
8060f54f27
|
Cwhub testing (#1438)
* Add tests in cwhub and fix collection upgrade(#1431)
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com
Co-authored-by: bui <thibault@crowdsec.net>
Co-authored-by: Thibault "bui" Koechlin <orixxx@gmail.com>
|
2022-04-19 12:07:35 +02:00 |
|
mmetc
|
5f2797c83c
|
more func test coverage; capture exit code for bincover (#1425)
|
2022-04-13 15:44:23 +02:00 |
|
mmetc
|
1e63727064
|
int64 for metric units (#1419)
|
2022-04-04 21:50:19 +02:00 |
|
AlteredCoder
|
411baa4dcf
|
Improve cscli metrics units (#1374)
* Improve cscli metrics units
|
2022-03-21 12:13:36 +01:00 |
|
AlteredCoder
|
b57eb92bbc
|
Allow to ignore errors when installing multiple configuration items (#1359)
* Allow to ignore errors when installing multiple configuration items
|
2022-03-16 17:27:30 +01:00 |
|
mmetc
|
aca37a38e7
|
return 1 with incomplete command line; always check error when calling cmd.Help (#1335)
|
2022-03-10 13:55:25 +01:00 |
|
mmetc
|
7c0593c659
|
noop code removal, typos and lint fixes (#1329)
|
2022-03-09 16:15:18 +01:00 |
|
AlteredCoder
|
8b90f4b2b2
|
Upgrade download datafiles if doesn't exist (#1254)
|
2022-02-14 16:51:06 +01:00 |
|
mmetc
|
ad28a979e9
|
local control flow cleanup (#1215)
removed redundant/unreachable returns, else branches, type declarations, unused variables
|
2022-02-01 22:08:06 +01:00 |
|
Thibault "bui" Koechlin
|
3bca25fd6d
|
lists support from central api (#1074)
* lists support from central api
Co-authored-by: Sebastien Blot <sebastien@crowdsec.net>
|
2022-01-11 14:31:51 +01:00 |
|
Shivam Sandbhor
|
ba71c55492
|
Fix cscli inpsect json output (#1145)
* Fix cscli inpsect json output
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
|
2022-01-05 10:42:27 +01:00 |
|
Shivam Sandbhor
|
6c4ec64ca9
|
Fix json output of cscli hub list (#1143)
* Fix json output of cscli hub list
* Fix functional tests.
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
|
2022-01-04 11:49:23 +01:00 |
|
AlteredCoder
|
9c8ca5c73a
|
Alert inspect improvement / Use correct CSV output when listing in raw format (#1127)
|
2021-12-29 14:08:47 +01:00 |
|
AlteredCoder
|
01130a5e17
|
add headers when using raw output (#1087)
* add headers when output raw with cscli
|
2021-12-14 11:09:26 +01:00 |
|
Thibault "bui" Koechlin
|
e5204bc1b1
|
fix #1083 : do not update/overwrite 'not installed' collections sub-items on 'cscli XX upgrade' (#1089)
* fix #1083 : do not update/overwrite 'not installed' collections sub-items on 'cscli XX upgrade'
|
2021-12-13 19:31:16 +01:00 |
|
mmetc
|
c7fb6a1428
|
enabled -> enabling (#1090)
|
2021-12-13 13:14:29 +01:00 |
|
AlteredCoder
|
078c994159
|
don't install all items from hub when upgrade --force (#948)
|
2021-09-08 11:58:51 +02:00 |
|
Manuel Sabban
|
4dbbd4b3c4
|
Download datafile (#895)
* add the ability to download datafile on cscli hub upgrade on files are missing
* fix stuff + lint
* fix error management
Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
|
2021-08-19 09:08:20 +02:00 |
|
blotus
|
53f9837e6a
|
set hubBranch to master if not provided in the configuration and if crowdsec has been built without version information (#884)
|
2021-08-11 14:55:51 +02:00 |
|
Thibault "bui" Koechlin
|
ca3e9ea487
|
load hub file properly when restoring config from tmpdir (#847)
|
2021-07-01 18:38:45 +02:00 |
|
Thibault "bui" Koechlin
|
ce6a61df1c
|
Refactor Acquisition Interface (#773)
* Add new acquisition interface + new modules (cloudwatch, syslog)
Co-authored-by: Sebastien Blot <sebastien@crowdsec.net>
|
2021-06-11 09:53:53 +02:00 |
|
Shivam Sandbhor
|
f25d02a7c8
|
Allow bouncers to filter decisions by scope (#817)
Signed-off-by: Shivam Sandbhor <shivam@crowdsec.net>
|
2021-05-31 15:07:09 +02:00 |
|
AlteredCoder
|
60740f6279
|
fix makefile for static binaries (#764)
* Fix LD_OPTS for static build
Co-authored-by: AlteredCoder <AlteredCoder>
Co-authored-by: Sebastien Blot <sebastien@crowdsec.net>
|
2021-04-26 14:45:52 +02:00 |
|
Thibault "bui" Koechlin
|
88e1095478
|
cscli machines|bouncers|dashboard error message clarification (#754)
|
2021-04-16 10:50:08 +02:00 |
|
AlteredCoder
|
1e899c2211
|
Refactor configuration management (#698)
|
2021-03-24 18:16:17 +01:00 |
|
AlteredCoder
|
f2d14c8ca2
|
update the config.yaml file (#674)
|
2021-03-11 11:18:09 +01:00 |
|
Thibault "bui" Koechlin
|
b79c897d99
|
fix the config restore feature for tainted configurations (#541)
|
2020-12-15 12:07:43 +01:00 |
|