Enhance GenerateConfig function to accept ruleset paths and update related tests

- Modified the GenerateConfig function to include an additional parameter for ruleset paths.
- Updated multiple test cases across various files to accommodate the new parameter.
- Enhanced the manager's ApplyConfig method to handle ruleset file creation and error handling.
- Added integration tests for Coraza WAF to validate runtime behavior and ruleset application.
- Updated documentation to include instructions for testing Coraza WAF integration locally.
This commit is contained in:
GitHub Actions
2025-12-01 21:11:17 +00:00
parent 76ab163e69
commit 14859adf87
13 changed files with 316 additions and 57 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ You do not just "make it work"; you make it **feel** professional, responsive, a
3. **Verification (Definition of Done)**:
- Run `npm run lint`.
- Run `npm run test` (Ensure no regressions).
- **MANDATORY**: Run `pre-commit run --all-files`.
- **MANDATORY**: Run `pre-commit run --all-files` and fix any issues immediately..
</workflow>
<constraints>