Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
AlteredCoder committed Dec 27, 2023
1 parent b899af4 commit ca63d65
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/waf-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,11 @@ jobs:
BUILD_STATIC=1 make release
cd crowdsec-v*
sudo ./wizard.sh --unattended
cd $current_pwd
- name: Setup CrowdSec Appsec
run: |
cp waf-check/config/acquis.yaml /etc/crowdsec/acquis.yaml
sudo cscli collections install crowdsecurity/appsec-virtual-patching
sudo systemctl restart crowdsec
- name: Register Remediation Component API Key
run: |
sudo cscli bouncers add hubtestAppsec -k "this_is_a_bad_password"
Expand Down
5 changes: 5 additions & 0 deletions waf-check/config/acquis.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
source: appsec
appsec_config: crowdsecurity/virtual-patching
listen_addr: 127.0.0.1:4241
labels:
type: appsec

0 comments on commit ca63d65

Please sign in to comment.