Files
harpia/docs/interface.md
T
Lucas Guerra 2298117c47
Release / Plan (reuse the published image?) (push) Successful in 4s
CI / Docker image (build and smoke test) (push) Skipped
CI / Format and clippy (push) Failing after 9s
CI / Dependency audit (push) Failing after 11s
CI / Tests (Linux) (push) Successful in 9m25s
Release / ci (push) Failing after 9m26s
Release / Build image (amd64) (push) Skipped
Release / Build image (arm64) (push) Skipped
Release / Publish tags (push) Skipped
Release / Gitea release (push) Skipped
feat(scan): implement raw-socket SYN engine; fix Docker build and cross-container permissions; full v1.0 docs
- scan::syn_scan: raw TCP SYN half-open scanning (CAP_NET_RAW), validated
  end-to-end against a real target through the actual hardened Docker
  Compose stack (scanner uid 0 restricted to NET_RAW, xexeu uid 10001 zero
  capabilities). Automatic fallback to nativo-sem-raw, engine actually used
  recorded in every sweep manifest.
- caps::has_net_raw: CAP_NET_RAW detection via /proc/self/status, shared by
  the scan engine selection and `xexeu doctor`.
- Fix: Dockerfile never copied apps/ or logo.png, so the image never
  actually built until this was caught by a real `docker build`.
- Fix: sweep batches were written 0600 by scanner (uid 0); xexeu (uid 10001)
  couldn't read them through the read-only xexeu-sweeps mount. Now written
  0644/0755 explicitly.
- Fix: group names from the config CRUD API weren't validated as safe path
  components until a sweep tried to write a batch for them; now rejected
  immediately.
- Fix: CSV exports had no CSV/formula-injection guard; cells starting with
  =, +, -, @ or a tab are now prefixed to force plain-text interpretation.
- docs/: full EN/PT-BR set (architecture rewritten to match the real
  implementation — SQLite not DuckDB, include_str!/include_bytes! not
  rust-embed; new cli.md, configuration.md, docker.md, interface.md,
  support.md) with real dashboard/report screenshots.
- README, ROADMAP, CHANGELOG, SECURITY, CONTRIBUTING (EN/PT-BR): updated to
  reflect actual v1.0-candidate state instead of the initial-scaffolding
  status they still described.
2026-11-02 11:08:51 -03:00

69 lines
3.3 KiB
Markdown

<p align="center"><a href="../README.md">◂ Back to README</a></p>
# Interface
`xexeu serve` embeds a vanilla HTML/CSS/JS dashboard (no build step, no
framework) — the same architectural pattern as Acauã's. It polls the API
every few seconds and never needs a page reload to reflect a new sweep.
## Overview
<p align="center"><img src="img/visao-geral-dark-pt.png" width="900" alt="Xexéu overview: KPI cards for active hosts, open ports, critical findings and the local CVE database size, a severity-distribution bar chart and a top-exposed-hosts chart, and a list of the highest-CVSS findings"></p>
KPIs (active hosts, open ports, critical/KEV findings, CVE database size),
two hand-drawn SVG charts (findings by CVSS severity band, top hosts by
highest CVSS), and the highest-priority findings list. Severity color-coding
(critical/high in red/orange, medium in amber, low in teal) is consistent
across every view and the executive report.
## Hosts
<p align="center"><img src="img/hosts-dark-pt.png" width="900" alt="Xexéu hosts table, expanded to show one host's open port with its product, version, CPE and full list of correlated CVE findings"></p>
One row per discovered asset; expanding a row shows every open port with
its fingerprinted product/version/CPE and the findings correlated against
it, each with its CVSS, KEV status and match confidence.
## Findings
<p align="center"><img src="img/achados-dark-pt.png" width="900" alt="Xexéu findings view listing every correlated vulnerability across all hosts, filterable and sortable by CVSS"></p>
Every `Finding` across every host, filterable by severity/KEV and
searchable, sorted by CVSS by default.
## Groups & scheduling
<p align="center"><img src="img/grupos-dark-pt.png" width="900" alt="Xexéu groups view: a card per target group with its cron expression and next scheduled run, plus an Add group form for CIDR/host/network targets with a custom cron"></p>
Add, edit and delete target groups (CIDR ranges, single hosts, exclusions,
cron, port profile, criticality) without touching `xexeu.toml` by hand —
see [`configuration.md`](configuration.md#editing-a-group-from-the-dashboard)
for how the change reaches the running `scanner`.
## Executive report
<p align="center"><img src="img/relatorio-executivo-pt.png" width="900" alt="Xexéu executive security report cover page: authorized-use and confidentiality badges, title, subtitle, KPI strip and the table of contents"></p>
`GET /relatorio` renders a print-oriented A4 report (cover, table of
contents, KPIs, prioritized findings table, host inventory, glossary),
paginated with Paged.js — open it in a browser and print/"save as PDF" for
a shareable document. See the dashboard's "Export executive report" link.
## Changes
The **Changes** view lists diff events (new host, new/closed port, new/
fixed vulnerability) from `/api/changes`, the same data `xexeu changes
--since <duration>` prints on the terminal.
## CSV exports
The Hosts, Findings and Changes views each have an "Export CSV" button that
downloads `/api/export/{hosts,findings,changes}.csv` directly — Portuguese
headers, RFC 4180 quoting, a timestamped filename.
## Settings
Language (PT-BR/English) and theme (light/dark/auto) — the same pattern as
every other Ciberfauna dashboard, including the dark-mode `<select>` fix
documented in the project's own changelog.