crowdsec/pkg/types
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
..
appsec_event.go Application Security Engine Support (#2273) 2023-12-07 12:21:04 +01:00
constants.go fix include_capi filter (#2478) 2023-09-20 11:56:00 +02:00
datasource.go trim pkg/types: move DataSet/GetData to pkg/cwhub, removed unused Clone function (#2271) 2023-06-08 16:49:51 +02:00
event.go Application Security Engine Support (#2273) 2023-12-07 12:21:04 +01:00
event_test.go Runtime whitelist parsing improvement (#2422) 2023-10-16 10:08:57 +01:00
ip.go errors.Wrap -> fmt.Errorf (#2317) 2023-06-29 11:34:59 +02:00
ip_test.go simplify err.Error() to err when used in printf context (#1603) 2022-06-22 15:53:53 +02:00
line.go Refactor Acquisition Interface (#773) 2021-06-11 09:53:53 +02:00
queue.go Improved expr debugger (#2495) 2023-11-24 11:10:54 +01:00
utils.go iso8601: use yyyy-mm-dd in log timestamps instead of dd-mm-yyyy (#2564) 2023-11-24 14:59:28 +01:00