|
Download VALIDATION.md from PolytechCyInstitute/cyber-range: direct link, hf CLI and curl.
- Browser
- Download file 2.51 kB
-
https://huggingface.co/PolytechCyInstitute/cyber-range/resolve/main/VALIDATION.md
- Command line
-
hf download hf://PolytechCyInstitute/cyber-range/VALIDATION.md
-
curl -L -o VALIDATION.md https://huggingface.co/PolytechCyInstitute/cyber-range/resolve/main/VALIDATION.md
2.51 kB
| # Validation Report | |
| Date: 2026-11-26 | |
| ## Verified on this workstation | |
| Host observed by preflight: | |
| - Python 3.12.16 | |
| - 20 logical CPU threads (initial capability check) | |
| - 31.1 GiB physical RAM | |
| - Git available | |
| - Docker CLI/engine unavailable | |
| ### Unit tests | |
| Command: | |
| ```bash | |
| python -m unittest discover -s tests -v | |
| ``` | |
| Observed result: **21 tests passed, 0 failures**. | |
| Coverage includes: | |
| - Nmap target and option-injection rejection. | |
| - Safe argument-array command construction. | |
| - Wazuh patch idempotence and the official two-`<ossec_config>` layout. | |
| - Resource-budget values and physical-memory detection. | |
| - Loopback-only published-port validation, including Compose `${VAR:-default}` syntax. | |
| - Deterministic alert severity, malformed JSON handling, bounded/untrusted prompts. | |
| - Ollama-outage fallback, alert-follower restart deduplication, and report persistence. | |
| ### Static policy and syntax checks | |
| Command: | |
| ```bash | |
| python validate.py | |
| python -m compileall -q lab.py validate.py soc_copilot tests | |
| ``` | |
| Observed result: **passed**. The validator checked required services and guides, internal target networking, memory limits, localhost bindings, and the absence of privileged mode, host PID, and Docker-socket mounts. All Python files compiled successfully. | |
| ### Offline behavior | |
| Command: | |
| ```bash | |
| python lab.py triage examples/alerts.json | |
| ``` | |
| Observed result: two valid advisory JSON reports, including one high-severity and one low-severity deterministic result. | |
| ### Documentation coverage | |
| Observed result: all ten numbered resources are present in `docs/RESOURCES.md`; dedicated VM, Android, Academy, operations, and troubleshooting guides exist. | |
| ## Not verified: runtime deployment | |
| Command: | |
| ```bash | |
| python lab.py preflight | |
| ``` | |
| Observed result: `Docker CLI: NOT FOUND`; preflight returned exit code 1 as designed. | |
| Therefore: | |
| - `docker compose config` could not be run with the Docker CLI. | |
| - No images were pulled or containers started. | |
| - Wazuh certificate generation and manager/indexer/dashboard health were not runtime-tested. | |
| - WAF, Juice Shop, MobSF, Ollama, and copilot HTTP endpoints were not runtime-tested. | |
| - Security Onion and GOAD are documented VM tracks, not installed VMs. | |
| The package is statically validated and unit-tested, but it is **not claimed to be a running or runtime-verified deployment**. After installing/starting Docker, begin with: | |
| ```bash | |
| python lab.py preflight | |
| python lab.py up core | |
| ``` | |
| Then verify `http://127.0.0.1:8080` before enabling heavier profiles. | |