Files
Lucas RayanandClaude Opus 5.5 9c0d00a9db
Release / Plan (reuse the published image?) (push) Successful in 4s
CI / Docker image (build and smoke test) (push) Skipped
CI / Tests (Linux) (push) Successful in 1m29s
CI / Dependency audit (push) Successful in 11s
CI / Format and clippy (push) Successful in 5m37s
Release / ci (push) Successful in 5m38s
Release / Build image (arm64) (push) Failing after 31s
Release / Build image (amd64) (push) Successful in 8m49s
Release / Publish tags (push) Skipped
Release / Gitea release (push) Skipped
Release / CLI (linux-aarch64) (push) Skipped
Release / CLI (linux-x86_64) (push) Skipped
feat(report): new cover and layout for the executive report
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 21:23:57 -03:00

3.8 KiB

◂ Back to README

Interface

harpia 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

Harpia 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

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

Harpia hosts table, expanded to show one host's open port with its product, version, CPE and full list of correlated CVE findings

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

Harpia findings view listing every correlated vulnerability across all hosts, filterable and sortable by CVSS

Every Finding across every host, filterable by severity/KEV and searchable, sorted by CVSS by default.

Groups & scheduling

Harpia 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

Add, edit and delete target groups (CIDR ranges, single hosts, exclusions, cron, port profile, criticality) without touching harpia.toml by hand, see configuration.md for how the change reaches the running scanner.

Changing groups needs the admin token: open the ?token= link printed by harpia serve (or docker compose logs harpia), or type the token when the dashboard asks for it. It is kept for the browser tab only.

Executive report

Harpia executive security report cover: the Harpia logo over a radar of findings (nearer the center means more severe), TLP and authorized-use badges, title, headline numbers and the metadata grid

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 harpia 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.

The screenshots are regenerated by scripts/screenshots.sh (see CONTRIBUTING.md): a synthetic Apache 2.4.25 service on 127.0.0.10, scanned by Harpia and correlated with the real NVD and CISA KEV feeds. No real data appears.