refactor!: rename project from Xexéu to Harpia
Release / Build image (amd64) (push) Successful in 10m49s
Release / Plan (reuse the published image?) (push) Successful in 5s
Release / ci (push) Successful in 20m40s
CI / Format and clippy (push) Successful in 5m43s
CI / Tests (Linux) (push) Successful in 16m5s
CI / Dependency audit (push) Successful in 11s
CI / Docker image (build and smoke test) (push) Skipped
Release / Build image (arm64) (push) Successful in 7m34s
Release / Publish tags (push) Successful in 15s
Release / Gitea release (push) Skipped
Release / CLI (linux-aarch64) (push) Skipped
Release / CLI (linux-x86_64) (push) Skipped
Release / Build image (amd64) (push) Successful in 10m49s
Release / Plan (reuse the published image?) (push) Successful in 5s
Release / ci (push) Successful in 20m40s
CI / Format and clippy (push) Successful in 5m43s
CI / Tests (Linux) (push) Successful in 16m5s
CI / Dependency audit (push) Successful in 11s
CI / Docker image (build and smoke test) (push) Skipped
Release / Build image (arm64) (push) Successful in 7m34s
Release / Publish tags (push) Successful in 15s
Release / Gitea release (push) Skipped
Release / CLI (linux-aarch64) (push) Skipped
Release / CLI (linux-x86_64) (push) Skipped
Renames the whole project, after the harpy eagle: crates (xexeu-core/xexeu-cli -> harpia-core/harpia-cli), binary (xexeu -> harpia), admin token env var (XEXEU_ADMIN_TOKEN -> HARPIA_ADMIN_TOKEN), compose env vars (XEXEU_* -> HARPIA_*), container image (ciberfauna/xexeu -> ciberfauna/harpia) and the Gitea repository (ciberfauna/xexeu -> ciberfauna/harpia). Logo updated to the new brand artwork. All docs (EN/PT-BR), CI workflows, scripts, GUI strings and the openspec change history updated to match. BREAKING CHANGE: binary, crate, env var and image names all changed; existing .env files, scripts and deployments referencing the old xexeu/XEXEU names must be updated. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VAyr8cd6jzwpJM9cS1oGjy
This commit is contained in:
1 parent
1dc754a561
commit
5ed6cb2c95
93 files changed
+849
-826
No files matched your search
+10
-10
@@ -4,9 +4,9 @@ const SVG_NS = 'http://www.w3.org/2000/svg';
|
||||
const $ = (selector) => document.querySelector(selector);
|
||||
const $$ = (selector) => document.querySelectorAll(selector);
|
||||
|
||||
// Admin token for the routes that change state. `xexeu serve` prints a link
|
||||
// Admin token for the routes that change state. `harpia serve` prints a link
|
||||
// with `?token=`; it is kept for this tab only and dropped from the address bar.
|
||||
const TOKEN_KEY = 'xexeu.adminToken';
|
||||
const TOKEN_KEY = 'harpia.adminToken';
|
||||
{
|
||||
const params = new URLSearchParams(location.search);
|
||||
if (params.has('token')) {
|
||||
@@ -25,7 +25,7 @@ async function adminFetch(url, options = {}) {
|
||||
});
|
||||
let res = await send();
|
||||
if (res.status === 401) {
|
||||
const token = window.prompt(t('Token de administração (exibido no log do xexeu serve ou definido em XEXEU_ADMIN_TOKEN):'));
|
||||
const token = window.prompt(t('Token de administração (exibido no log do harpia serve ou definido em HARPIA_ADMIN_TOKEN):'));
|
||||
if (token && token.trim()) {
|
||||
sessionStorage.setItem(TOKEN_KEY, token.trim());
|
||||
res = await send();
|
||||
@@ -269,7 +269,7 @@ async function fetchData() {
|
||||
]);
|
||||
|
||||
if (!healthRes || !statusRes || !hostsRes) {
|
||||
throw new Error('Falha ao comunicar com a API do Xexéu');
|
||||
throw new Error('Falha ao comunicar com a API do Harpia');
|
||||
}
|
||||
|
||||
state.health = await healthRes.json();
|
||||
@@ -282,7 +282,7 @@ async function fetchData() {
|
||||
connection.classList.remove('offline');
|
||||
connectionText.textContent = t('Conectado');
|
||||
if (state.health && state.health.version) {
|
||||
versionEl.textContent = `Xexéu v${state.health.version}`;
|
||||
versionEl.textContent = `Harpia v${state.health.version}`;
|
||||
$('#versionPill').textContent = `v${state.health.version}`;
|
||||
}
|
||||
if (state.status) {
|
||||
@@ -1359,16 +1359,16 @@ function eventKindLabel(kind) {
|
||||
|
||||
// ------------------------------------------------------------------ SETTINGS & THEME
|
||||
function initSettings() {
|
||||
const savedLang = localStorage.getItem('xexeu-lang') || 'auto';
|
||||
const savedLang = localStorage.getItem('harpia-lang') || 'auto';
|
||||
langSel.value = savedLang;
|
||||
setLang(resolveLang(savedLang));
|
||||
|
||||
const savedTheme = localStorage.getItem('xexeu-theme') || 'auto';
|
||||
const savedTheme = localStorage.getItem('harpia-theme') || 'auto';
|
||||
applyTheme(savedTheme);
|
||||
|
||||
langSel.addEventListener('change', () => {
|
||||
const val = langSel.value;
|
||||
localStorage.setItem('xexeu-lang', val);
|
||||
localStorage.setItem('harpia-lang', val);
|
||||
setLang(resolveLang(val));
|
||||
render();
|
||||
});
|
||||
@@ -1376,7 +1376,7 @@ function initSettings() {
|
||||
themePick.querySelectorAll('button').forEach((btn) => {
|
||||
btn.addEventListener('click', () => {
|
||||
const mode = btn.dataset.themePick;
|
||||
localStorage.setItem('xexeu-theme', mode);
|
||||
localStorage.setItem('harpia-theme', mode);
|
||||
applyTheme(mode);
|
||||
});
|
||||
});
|
||||
@@ -1386,7 +1386,7 @@ function initSettings() {
|
||||
doneSettings.addEventListener('click', () => settingsDlg.close());
|
||||
|
||||
// Listen to language change to trigger re-render
|
||||
document.addEventListener('xexeu:lang', () => {
|
||||
document.addEventListener('harpia:lang', () => {
|
||||
render();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
export const EN = {
|
||||
'Xexéu': 'Xexéu',
|
||||
'Harpia': 'Harpia',
|
||||
'superfície contínua e vulnerabilidades': 'continuous attack surface and vulnerabilities',
|
||||
'Navegação': 'Navigation',
|
||||
'Visão geral': 'Overview',
|
||||
@@ -55,7 +55,7 @@ export const EN = {
|
||||
// Notice & Footnotes
|
||||
'Uso autorizado.': 'Authorized use.',
|
||||
'Auditoria contínua e não-intrusiva estritamente nos escopos autorizados. Nenhum payload destrutivo ou exploit é disparado.': 'Continuous, non-intrusive auditing strictly on authorized scopes. No destructive payload or exploit is fired.',
|
||||
'Xexéu · auditoria contínua de superfície de ataque': 'Xexéu · continuous attack surface auditing',
|
||||
'Harpia · auditoria contínua de superfície de ataque': 'Harpia · continuous attack surface auditing',
|
||||
|
||||
// Hosts View
|
||||
'Hosts e Superfície Descoberta': 'Hosts and Discovered Surface',
|
||||
@@ -185,7 +185,7 @@ export const EN = {
|
||||
'{n}min atrás': '{n}min ago',
|
||||
'{n}h atrás': '{n}h ago',
|
||||
'{n}d atrás': '{n}d ago',
|
||||
'Falha ao comunicar com a API do Xexéu': 'Could not reach the Xexéu API',
|
||||
'Falha ao comunicar com a API do Harpia': 'Could not reach the Harpia API',
|
||||
'Contém vulnerabilidade no CISA KEV!': 'Has a vulnerability in CISA KEV!',
|
||||
'Clique para abrir na tabela de hosts': 'Click to open it in the hosts table',
|
||||
'Serviço desconhecido': 'Unknown service',
|
||||
@@ -199,7 +199,7 @@ export const EN = {
|
||||
'Erro de rede ao salvar grupo': 'Network error while saving the group',
|
||||
'Erro ao remover grupo': 'Could not remove the group',
|
||||
'Erro de rede ao remover grupo': 'Network error while removing the group',
|
||||
'Xexéu — Auditoria Contínua de Superfície de Ataque': 'Xexéu — Continuous Attack Surface Auditing',
|
||||
'Harpia — Auditoria Contínua de Superfície de Ataque': 'Harpia — Continuous Attack Surface Auditing',
|
||||
'superfície de risco': 'risk surface',
|
||||
'Informações de sincronização incremental NVD e catálogo CISA KEV.': 'Incremental NVD sync and CISA KEV catalog status.',
|
||||
'Média': 'Medium',
|
||||
@@ -211,7 +211,7 @@ export const EN = {
|
||||
'Filtrar por severidade': 'Filter by severity',
|
||||
'Filtrar por período': 'Filter by period',
|
||||
'Filtrar por IP ou tipo de evento...': 'Filter by IP or event type...',
|
||||
'Token de administração (exibido no log do xexeu serve ou definido em XEXEU_ADMIN_TOKEN):': 'Admin token (shown in the xexeu serve log or set in XEXEU_ADMIN_TOKEN):',
|
||||
'Token de administração (exibido no log do harpia serve ou definido em HARPIA_ADMIN_TOKEN):': 'Admin token (shown in the harpia serve log or set in HARPIA_ADMIN_TOKEN):',
|
||||
'token de administração ausente ou inválido': 'admin token missing or invalid',
|
||||
'origem da requisição não confere': 'request origin does not match',
|
||||
};
|
||||
+1
-1
@@ -129,6 +129,6 @@ export function setLang(next) {
|
||||
}
|
||||
restoreAll(document.body);
|
||||
}
|
||||
document.dispatchEvent(new CustomEvent('xexeu:lang', { detail: { lang } }));
|
||||
document.dispatchEvent(new CustomEvent('harpia:lang', { detail: { lang } }));
|
||||
}
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Xexéu — Auditoria Contínua de Superfície de Ataque</title>
|
||||
<title>Harpia — Auditoria Contínua de Superfície de Ataque</title>
|
||||
<link rel="icon" href="/logo.png">
|
||||
<link rel="stylesheet" href="/app.css">
|
||||
</head>
|
||||
@@ -11,9 +11,9 @@
|
||||
<div class="app">
|
||||
<aside class="sidebar">
|
||||
<div class="brand">
|
||||
<img class="logo" src="/logo.png" alt="Xexéu Logo">
|
||||
<img class="logo" src="/logo.png" alt="Harpia Logo">
|
||||
<div>
|
||||
<strong>Xexéu</strong>
|
||||
<strong>Harpia</strong>
|
||||
<small>superfície contínua e vulnerabilidades</small>
|
||||
</div>
|
||||
</div>
|
||||
@@ -52,7 +52,7 @@
|
||||
<span id="versionPill" class="pill muted">—</span>
|
||||
</div>
|
||||
<div class="status-row">
|
||||
<span id="version" class="mono">Xexéu</span>
|
||||
<span id="version" class="mono">Harpia</span>
|
||||
<span class="mono" id="feedsStatus">—</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -61,7 +61,7 @@
|
||||
<main class="main">
|
||||
<header class="topbar">
|
||||
<div>
|
||||
<p class="eyebrow">Xexéu</p>
|
||||
<p class="eyebrow">Harpia</p>
|
||||
<h1 id="viewTitle">Visão geral</h1>
|
||||
<p id="viewSub" class="sub">Auditoria contínua de superfície de ataque e identificação de vulnerabilidades</p>
|
||||
</div>
|
||||
@@ -305,7 +305,7 @@
|
||||
</section>
|
||||
|
||||
<footer class="foot">
|
||||
<span>Xexéu · auditoria contínua de superfície de ataque</span>
|
||||
<span>Harpia · auditoria contínua de superfície de ataque</span>
|
||||
<span class="mono">MIT OR Apache-2.0</span>
|
||||
</footer>
|
||||
</main>
|
||||
|
||||
Reference in new issue
Block a user