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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user