File size: 2,512 Bytes
b198790 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | # 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.
|