crowdsec/pkg/csconfig
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 Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
api.go Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
api_test.go Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
common.go Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
config.go Application Security Engine Support (#2273) 2023-12-07 12:21:04 +01:00
config_paths.go Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
config_test.go Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
console.go Refact pkg/csconfig tests (#2526) 2023-10-09 11:10:51 +02:00
crowdsec_service.go cscli hub list: show only non-empty tables with -o human 2023-12-05 13:38:52 +01:00
crowdsec_service_test.go Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
cscli.go Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
cscli_test.go Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
database.go Refact pkg/csconfig tests (#2526) 2023-10-09 11:10:51 +02:00
database_test.go Refact pkg/csconfig tests (#2526) 2023-10-09 11:10:51 +02:00
fflag.go cscli config feeature-flags: point user to the right location of feature.yaml (#2539) 2023-10-13 09:52:51 +02:00
hub.go Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
hub_test.go Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
plugin_config.go Make plugin runner configurable and run only registered plugins (#944) 2021-09-08 11:36:42 +02:00
profiles.go Refact pkg/csconfig tests (#2526) 2023-10-09 11:10:51 +02:00
prometheus.go Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
simulation.go Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
simulation_test.go Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00