crowdsec/cmd/crowdsec-cli
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
..
require Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
alerts.go add alert alias (#2485) 2023-09-23 19:35:02 +01:00
alerts_table.go display source in alerts list when an alert has multiple decisions (#2098) 2023-03-06 13:51:57 +01:00
bouncers.go cscli bouncers: increase key size, deprecate and ignore --length option (#2531) 2023-11-24 15:01:13 +01:00
bouncers_table.go cscli: new tables, --color yes|no|auto option (#1763) 2022-10-07 11:05:35 +02:00
capi.go cscli machines add: don't overwrite existing credential file (#2625) 2023-12-04 22:59:52 +01:00
completion.go Update deps to latest stable: go-systemd, tail, cobra, lumberjack, testify (#2164) 2023-04-12 16:58:11 +02:00
config.go Implement "cscli config show-yaml" (#2191) 2023-05-11 21:01:13 +02:00
config_backup.go cscli hub list: show only non-empty tables with -o human 2023-12-05 13:38:52 +01:00
config_feature_flags.go cscli config feeature-flags: point user to the right location of feature.yaml (#2539) 2023-10-13 09:52:51 +02:00
config_restore.go cscli machines add: don't overwrite existing credential file (#2625) 2023-12-04 22:59:52 +01:00
config_show.go cscli config show: pretty print with package "litter" (#2633) 2023-12-05 10:38:21 +01:00
config_showyaml.go Implement "cscli config show-yaml" (#2191) 2023-05-11 21:01:13 +02:00
console.go Refactor hub management and cscli commands (#2545) 2023-11-24 15:57:32 +01:00
console_table.go do not try to load PAPI is url is not set (#2099) 2023-03-06 15:38:58 +01:00
copyfile.go minor refactor to pkg/types, cscli machines (#2270) 2023-06-08 15:08:51 +02:00
dashboard.go [Metabase] QOL Changes and chown wal files (#2627) 2023-12-04 10:06:41 +00:00
dashboard_unsupported.go [Metabase] QOL Changes and chown wal files (#2627) 2023-12-04 10:06:41 +00:00
decisions.go cscli decisions list -o json => [] instead of null; same for alerts (#2397) 2023-08-03 12:51:50 +02:00
decisions_import.go Fix formt on documentation (#2577) 2023-12-04 15:52:14 +00:00
decisions_table.go print missing "AS" values as empty strings instead of "0 " (#1867) 2022-11-14 09:55:53 +01:00
explain.go [Explain] Ignore blank lines as crowdsec will anyways (#2630) 2023-12-04 11:48:12 +00:00
hub.go cscli hub list: show only non-empty tables with -o human 2023-12-05 13:38:52 +01:00
hubappsec.go Application Security Engine Support (#2273) 2023-12-07 12:21:04 +01:00
hubcollection.go Application Security Engine Support (#2273) 2023-12-07 12:21:04 +01:00
hubparser.go Application Security Engine Support (#2273) 2023-12-07 12:21:04 +01:00
hubpostoverflow.go Application Security Engine Support (#2273) 2023-12-07 12:21:04 +01:00
hubscenario.go Application Security Engine Support (#2273) 2023-12-07 12:21:04 +01:00
hubtest.go Application Security Engine Support (#2273) 2023-12-07 12:21:04 +01:00
hubtest_table.go Application Security Engine Support (#2273) 2023-12-07 12:21:04 +01:00
item_metrics.go Application Security Engine Support (#2273) 2023-12-07 12:21:04 +01:00
item_suggest.go Refact pkg/cwhub: fix some known issues and reorganize files (#2616) 2023-11-28 23:51:51 +01:00
itemcli.go Application Security Engine Support (#2273) 2023-12-07 12:21:04 +01:00
items.go cscli hub list: show only non-empty tables with -o human 2023-12-05 13:38:52 +01:00
lapi.go cscli context detect: fix nil dereference (#2635) 2023-12-05 12:08:35 +01:00
machines.go Refact bouncer auth (#2456) 2023-12-04 23:06:01 +01:00
machines_table.go minor refactor to pkg/types, cscli machines (#2270) 2023-06-08 15:08:51 +02:00
main.go Application Security Engine Support (#2273) 2023-12-07 12:21:04 +01:00
Makefile Make: build with debug symbols in func tests or if DEBUG=1; drop BUILD_VENDOR_FLAGS (#2443) 2023-08-28 15:58:26 +02:00
messages.go functional tests, minor refactoring and lint/cleanup (#1570) 2022-06-06 15:24:48 +02:00
metrics.go Application Security Engine Support (#2273) 2023-12-07 12:21:04 +01:00
metrics_table.go Application Security Engine Support (#2273) 2023-12-07 12:21:04 +01:00
notifications.go [cscli] notifications test command and slight re write (#2391) 2023-11-28 13:17:54 +00:00
notifications_table.go cscli: new tables, --color yes|no|auto option (#1763) 2022-10-07 11:05:35 +02:00
papi.go update dependency on go-cs-lib; drop the pkg/ part (#2393) 2023-07-28 16:35:08 +02:00
setup.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
support.go cscli hub list: show only non-empty tables with -o human 2023-12-05 13:38:52 +01:00
tables.go cscli: new tables, --color yes|no|auto option (#1763) 2022-10-07 11:05:35 +02:00
utils.go Refact pkg/cwhub: fix some known issues and reorganize files (#2616) 2023-11-28 23:51:51 +01:00
utils_table.go cscli hub list: show only non-empty tables with -o human 2023-12-05 13:38:52 +01:00