mmetc
|
866b0ad60c
|
Hubops tests (#3393)
|
2025-01-07 16:39:32 +01:00 |
|
mmetc
|
78f4b85311
|
pkg/cwhub - refact Downloader (#3382)
* pkg/cwhub - refact Downloader
* single method interfaces
* lint
|
2024-12-27 11:49:14 +01:00 |
|
mmetc
|
a1d26bdc5b
|
cscli: improved hub management (#3352)
|
2024-12-26 15:21:52 +01:00 |
|
mmetc
|
89aec7cf6b
|
pkg/cwhub: simpler accessor methods (#3165)
* pkg/cwhub: simpler accessor methods
- prefer higher level GetItemsByType, GetInstalledByType over GetItemMap
- always send both appsec-rules and scenarios to api
- explicit parameter for (case insensitive) sorted list of items
- shorter code
- assume itemType parameter makes sense, don't error
* lint (gofumpt)
|
2024-08-22 12:12:40 +02:00 |
|
Manuel Sabban
|
36d15fedce
|
Use the new hub api url (#3132)
* new hapi url
* mock url in tests has to be updated
---------
Co-authored-by: marco <marco@crowdsec.net>
|
2024-07-24 12:20:23 +02:00 |
|
mmetc
|
cad760e605
|
pkg/cwhub: use explicit context for version check, index update (#3064)
* cscli refactor: explicit context for hub (version lookup)
* change order of version checks
* pkg/cwhub: split NewHub() + Update() + Load()
* cscli refactor: explicit context for hub (index update)
* updated pkg/cwhub docs
* lint
|
2024-06-07 16:56:02 +02:00 |
|
mmetc
|
ffcab0b2bc
|
Refactor hub management and cscli commands (#2545)
|
2023-11-24 15:57:32 +01:00 |
|