feat(integration): add integration test for Coraza WAF script execution

This commit is contained in:
GitHub Actions
2025-12-02 00:32:40 +00:00
parent 14859adf87
commit 4e975421de
7 changed files with 296 additions and 73 deletions

16
.vscode/tasks.json vendored
View File

@@ -1,6 +1,22 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Coraza: Run Integration Script",
"type": "shell",
"command": "bash",
"args": ["./scripts/coraza_integration.sh"],
"group": "test",
"problemMatcher": []
},
{
"label": "Coraza: Run Integration Go Test",
"type": "shell",
"command": "sh",
"args": ["-c", "cd backend && go test -tags=integration ./integration -run TestCorazaIntegration -v"],
"group": "test",
"problemMatcher": []
},
{
"label": "Git Remove Cached",
"type": "shell",