Files
harpia/ROADMAP.md
T

59 lines
3.8 KiB
Markdown

# Roadmap
**English** · [Português](ROADMAP.pt-BR.md)
This roadmap outlines the implementation plan for Xexéu based on the approved specification (`openspec/changes/criar-xexeu/`).
## Done
- **Design approval & specification:** Formal design and task breakdown completed (`proposal.md`, `design.md`, `tasks.md`).
- **Initial project scaffolding:** Project directory structure, Docker Compose orchestration with least-privilege separation (`scanner` + `xexeu`), and `.env.example`.
- **Configuration schema:** Tiered scheduling model with cron expressions, group scopes, and default profiles (`examples/xexeu.toml`).
- **Core documentation:** Bilingual documentation pairs (`README`, `CHANGELOG`, `CONTRIBUTING`, `SECURITY`, `ROADMAP`) and architectural summaries in `docs/`.
## In Progress (v0.1.0)
1. **Rust Workspace & CLI Skeleton:**
- Workspace setup with `crates/xexeu-core` and `crates/xexeu-cli`.
- CLI subcommands (`serve`, `scanner`, `scan`, `config check`, `feeds`, `changes`, `export`, `doctor`).
- Dynamic linking to precompiled `libduckdb.so`.
2. **Target & Tiered Schedule Configuration:**
- Parsing of `[escopo]`, `[padrao]`, `[perfis.*]`, and `[[grupo]]`.
- Target expansion (CIDR, ranges, DNS) and rigid enforcement of `escopo.autorizado`.
- Vixie 5-field cron parsing with jitter and aggressive cadence warnings (< 5 min).
- Hot configuration reloading without daemon downtime.
3. **Scan Engine & Scheduler:**
- Multi-group scheduler respecting shared packet-per-second budgets and non-overlapping group runs.
- Native Rust engine: ARP/ICMP discovery, TCP SYN half-open, connect mode fallback, UDP protocol probes, and lightweight banner fingerprinting.
- Atomic Parquet batch creation (`observations.parquet` + `manifest.json`) in `xexeu-sweeps`.
- Optional `nmap` adapter integration for the `xexeu-scanner-nmap` container variant.
4. **Non-Intrusive Vulnerability Identification:**
- Local caching and synchronization of NVD CVE JSON 2.0 and CISA KEV feeds.
- Deterministic CPE → CVE matcher with confidence levels (`confirmada-por-versao`, `provavel`, `indeterminada`).
- Safe configuration checks (expired TLS certs, weak ciphers, cleartext protocols).
5. **Storage, Diff Engine & Change History:**
- Embedded DuckDB + Parquet storage (`sweeps`, `observations`, `assets`, `services`, `findings`, `events`).
- Idempotent batch ingestion and scoped diff computation across sweeps.
- Debounced state transitions (`ausencias_para_sumir`) generating structured change events.
6. **API & Embedded Web Dashboard:**
- Read-only Axum API (`/api/status`, `/api/assets`, `/api/services`, `/api/findings`, `/api/events`, `/api/export`).
- Embedded vanilla HTML/CSS/JS dashboard (`apps/gui/ui/`) with bilingual support (EN/PT-BR).
7. **CI/CD & Hardening:**
- Multi-stage Dockerfile and multi-arch build workflows (`linux/amd64`, `linux/arm64`) for Gitea Actions.
- Local validation scripts (`scripts/verificar.sh`, pre-push hooks).
## Later Releases
- **Alert Notifications:** Outbound webhooks and email alerting for critical new findings or surface changes.
- **Distribution Backport Mapping:** Automated detection of backported vulnerability fixes in Debian/Ubuntu packages.
- **OSV Feed Integration:** Open Source Vulnerabilities database correlation for exposed application dependencies.
- **Advanced Network Topologies:** Coordinated multi-scanner worker pools reporting to a centralized aggregator daemon.
## Non-Goals
- Active exploit execution, credential brute-forcing, or denial-of-service testing.
- Replication of the Greenbone/NASL scripting engine.
- Authenticated credentialed auditing (SSH/WinRM).
- Tauri/desktop native shell wrappers (the embedded web UI is the standard interface).
- Cloud dependency, analytics telemetry, or required hosted accounts.