2.2 KiB
2.2 KiB
name, version, description, author, license, tags, compatibility, requirements, environment_variables, parameters, outputs, metadata
| name | version | description | author | license | tags | compatibility | requirements | environment_variables | parameters | outputs | metadata | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| integration-test-waf | 1.0.0 | Test generic WAF integration behavior | Charon Project | MIT |
|
|
|
|
|
|
|
Integration Test WAF
Overview
Tests the generic WAF integration behavior using the legacy WAF script. This test is kept for local verification and is not the CI WAF entrypoint (Coraza is the CI path).
Prerequisites
- Docker 24.0 or higher installed and running
- curl 7.0 or higher for API testing
Usage
Run the WAF integration tests:
.github/skills/scripts/skill-runner.sh integration-test-waf
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| verbose | boolean | No | false | Enable verbose output |
Environment Variables
| Variable | Required | Default | Description |
|---|---|---|---|
| WAF_MODE | No | (script default) | Override WAF mode |
Outputs
Success Exit Code
- 0: All WAF integration tests passed
Error Exit Codes
- 1: One or more tests failed
- 2: Docker environment setup failed
- 3: Container startup timeout
Test Coverage
This skill validates:
- WAF blocking behavior for common payloads
- Allowed requests succeed
Last Updated: 2026-02-07
Maintained by: Charon Project Team
Source: scripts/waf_integration.sh