Complete bash migration

This commit is contained in:
Owen
2025-02-12 21:56:13 -05:00
parent a7b8ffaf9f
commit 81c4199e87
9 changed files with 301 additions and 504 deletions

View File

@@ -1,18 +0,0 @@
filenames:
- /var/log/auth.log
- /var/log/syslog
labels:
type: syslog
---
poll_without_inotify: false
filenames:
- /var/log/traefik/*.log
labels:
type: traefik
---
listen_addr: 0.0.0.0:7422
appsec_config: crowdsecurity/appsec-default
name: myAppSecComponent
source: appsec
labels:
type: appsec

View File

@@ -1,12 +0,0 @@
api:
client:
insecure_skip_verify: false
credentials_path: /etc/crowdsec/local_api_credentials.yaml
server:
log_level: info
listen_uri: 0.0.0.0:9090
profiles_path: /etc/crowdsec/profiles.yaml
trusted_ips:
- 0.0.0.0/0
- 127.0.0.1
- ::1

View File

@@ -1,2 +0,0 @@
url: http://0.0.0.0:9090
login: localhost

View File

@@ -1,25 +0,0 @@
name: captcha_remediation
filters:
- Alert.Remediation == true && Alert.GetScope() == "Ip" && Alert.GetScenario() contains "http"
decisions:
- type: captcha
duration: 4h
on_success: break
---
name: default_ip_remediation
filters:
- Alert.Remediation == true && Alert.GetScope() == "Ip"
decisions:
- type: ban
duration: 4h
on_success: break
---
name: default_range_remediation
filters:
- Alert.Remediation == true && Alert.GetScope() == "Range"
decisions:
- type: ban
duration: 4h
on_success: break