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
+15
-15
@@ -1,8 +1,8 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
#
|
||||
# Xexéu image: one binary covering both Compose roles (`serve` and `scanner`).
|
||||
# Harpia image: one binary covering both Compose roles (`serve` and `scanner`).
|
||||
# The default image carries no external scanner; nmap lives in the optional
|
||||
# variant xexeu-scanner-nmap so the NPSL stays out of the standard binary.
|
||||
# variant harpia-scanner-nmap so the NPSL stays out of the standard binary.
|
||||
|
||||
# Build stage.
|
||||
FROM rust:1.99-slim-trixie AS build
|
||||
@@ -14,7 +14,7 @@ COPY Cargo.toml Cargo.lock ./
|
||||
COPY crates crates
|
||||
COPY apps apps
|
||||
COPY logo.png ./
|
||||
RUN cargo build --release --locked -p xexeu-cli
|
||||
RUN cargo build --release --locked -p harpia-cli
|
||||
|
||||
# Runtime stage: Debian slim, the binary and CA certificates for the optional
|
||||
# outbound feed sync, release check and HEALTHCHECK. Runs unprivileged by
|
||||
@@ -23,21 +23,21 @@ FROM debian:trixie-slim
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends ca-certificates curl libstdc++6 \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& groupadd --system --gid 10001 xexeu \
|
||||
&& useradd --system --uid 10001 --gid 10001 --home-dir /data --shell /usr/sbin/nologin xexeu \
|
||||
&& mkdir -p /data/xexeu /data/sweeps \
|
||||
&& chown xexeu:xexeu /data/xexeu
|
||||
COPY --from=build /src/target/release/xexeu /usr/local/bin/xexeu
|
||||
LABEL org.opencontainers.image.title="Xexéu" \
|
||||
&& groupadd --system --gid 10001 harpia \
|
||||
&& useradd --system --uid 10001 --gid 10001 --home-dir /data --shell /usr/sbin/nologin harpia \
|
||||
&& mkdir -p /data/harpia /data/sweeps \
|
||||
&& chown harpia:harpia /data/harpia
|
||||
COPY --from=build /src/target/release/harpia /usr/local/bin/harpia
|
||||
LABEL org.opencontainers.image.title="Harpia" \
|
||||
org.opencontainers.image.description="Continuous attack-surface and vulnerability auditing" \
|
||||
org.opencontainers.image.source="https://git.lucasrguerra.dev.br/ciberfauna/xexeu" \
|
||||
org.opencontainers.image.source="https://git.lucasrguerra.dev.br/ciberfauna/harpia" \
|
||||
org.opencontainers.image.licenses="MIT OR Apache-2.0"
|
||||
ENV XEXEU_RUNTIME=container
|
||||
USER xexeu
|
||||
ENV HARPIA_RUNTIME=container
|
||||
USER harpia
|
||||
WORKDIR /data
|
||||
EXPOSE 8788
|
||||
HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
|
||||
CMD curl -fsS http://127.0.0.1:8788/api/health >/dev/null || exit 1
|
||||
ENTRYPOINT ["xexeu"]
|
||||
CMD ["serve", "--bind", "0.0.0.0:8788", "--config", "/config/xexeu.toml", \
|
||||
"--sweeps", "/data/sweeps", "--data-dir", "/data/xexeu"]
|
||||
ENTRYPOINT ["harpia"]
|
||||
CMD ["serve", "--bind", "0.0.0.0:8788", "--config", "/config/harpia.toml", \
|
||||
"--sweeps", "/data/sweeps", "--data-dir", "/data/harpia"]
|
||||
Reference in new issue
Block a user