Files
Charon/.github/skills/integration-test-waf.SKILL.md
T
GitHub Actions 3169b05156 fix: skip incomplete system log viewer tests
- Marked 12 tests as skip pending feature implementation
- Features tracked in GitHub issue #686 (system log viewer feature completion)
- Tests cover sorting by timestamp/level/method/URI/status, pagination controls, filtering by text/level, download functionality
- Unblocks Phase 2 at 91.7% pass rate to proceed to Phase 3 security enforcement validation
- TODO comments in code reference GitHub #686 for feature completion tracking
- Tests skipped: Pagination (3), Search/Filter (2), Download (2), Sorting (1), Log Display (4)
2026-02-09 21:55:55 +00:00

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
waf
security
testing
os shells
linux
darwin
bash
name version optional
docker >=24.0 false
name version optional
curl >=7.0 false
name description default required
WAF_MODE Override WAF mode (monitor or block) false
name type description default required
verbose boolean Enable verbose output false false
name type description
test_results stdout WAF integration test results
category subcategory execution_time risk_level ci_cd_safe requires_network idempotent
integration-test waf medium medium true true true

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:

  1. WAF blocking behavior for common payloads
  2. Allowed requests succeed

Last Updated: 2026-02-07 Maintained by: Charon Project Team Source: scripts/waf_integration.sh