crowdsec/pkg/cwhub
Thibault "bui" Koechlin 8cca4346a5
Application Security Engine Support (#2273)
Add a new datasource that:
- Receives HTTP requests from remediation components
- Apply rules on them to determine whether they are malicious or not
- Rules can be evaluated in-band (the remediation component will block the request directly) or out-band (the RC will let the request through, but crowdsec can still process the rule matches with scenarios)

The PR also adds support for 2 new hub items:
- appsec-configs: Configure the Application Security Engine (which rules to load, in which phase)
- appsec-rules: a rule that is added in the Application Security Engine (can use either our own format, or seclang)

---------

Co-authored-by: alteredCoder <kevin@crowdsec.net>
Co-authored-by: Sebastien Blot <sebastien@crowdsec.net>
Co-authored-by: mmetc <92726601+mmetc@users.noreply.github.com>
Co-authored-by: Marco Mariani <marco@crowdsec.net>
2023-12-07 12:21:04 +01:00
..
testdata Refact pkg/cwhub (part 3) (#2516) 2023-10-04 12:54:21 +02:00
cwhub.go Refact pkg/cwhub: fix some known issues and reorganize files (#2616) 2023-11-28 23:51:51 +01:00
cwhub_test.go Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
dataset.go Refact pkg/cwhub: fix some known issues and reorganize files (#2616) 2023-11-28 23:51:51 +01:00
dataset_test.go Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
doc.go Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
errors.go Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
hub.go cscli hub list: show only non-empty tables with -o human 2023-12-05 13:38:52 +01:00
hub_test.go Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
item.go Application Security Engine Support (#2273) 2023-12-07 12:21:04 +01:00
item_test.go cscli hub list: show only non-empty tables with -o human 2023-12-05 13:38:52 +01:00
iteminstall.go cscli hub list: show only non-empty tables with -o human 2023-12-05 13:38:52 +01:00
iteminstall_test.go command "cscli hub types" (#2632) 2023-12-01 09:36:38 +01:00
itemlink.go Refact pkg/cwhub: fix some known issues and reorganize files (#2616) 2023-11-28 23:51:51 +01:00
itemremove.go cscli hub list: show only non-empty tables with -o human 2023-12-05 13:38:52 +01:00
itemupgrade.go cscli hub list: show only non-empty tables with -o human 2023-12-05 13:38:52 +01:00
itemupgrade_test.go command "cscli hub types" (#2632) 2023-12-01 09:36:38 +01:00
leakybucket.go Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
pathseparator_unix.go Refact pkg/cwhub (part 4) (#2518) 2023-10-05 09:35:03 +02:00
pathseparator_windows.go Refact pkg/cwhub (part 1) (#2512) 2023-10-04 10:34:10 +02:00
remote.go Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
sync.go Application Security Engine Support (#2273) 2023-12-07 12:21:04 +01:00