Enodia - service version inventory vs vendor lifecycle calendars, CVE correlation
7.2K
epicmorg/enodiaOfficial container image of Enodia (enodia.sh,
docs): it asks your deployed services what version they are running, checks
those versions against vendor lifecycle calendars and reports what is already dead, what is dying and
where the fleet has drifted apart. Pipeline: collect → inventory → evaluate → render.
/usr/bin/enodia — the release binary (enodia_linux_amd64.tar.gz) of the tagged version;
entrypoint is enodia, so container arguments are Enodia subcommandsepicmorg/debian:trixie-light; runs as root/etc/enodia (config: enodia.yaml / settings.yaml / credentials.yaml) and
/opt/enodia (working directory: inventory.jsonl, HTML exports, resolver cache)/var/lib/enodia/cve (a volume) and are not baked into the image: 2.2.0+
fetches them with enodia cve update, 2.0.0–2.1.1 ship /usr/local/bin/enodia-cve-update;
see CVE databasesAlias tags: latest and 2 → 2.2.1, 1 → the newest 1.x; 1.0.0-0 is an alias of 1.0.0.
| Tags | Dockerfile |
|---|---|
1.0.0, 1.0.0-0 | 1.0.0 |
1.1.0 | 1.1.0 |
1.1.1 | 1.1.1 |
1.2.0 | 1.2.0 |
1.2.1, 1 | 1.2.1 |
2.0.0 | 2.0.0 |
2.1.0 | 2.1.0 |
2.1.1 | 2.1.1 |
2.2.0 | 2.2.0 |
2.2.1, 2, latest | 2.2.1 |
Every tag is pushed to docker.io, quay.io and ghcr.io (epicmorg/enodia:<tag> on each) - same digest everywhere.
# one-shot check with a config from the host
docker run --rm \
-v /etc/enodia:/etc/enodia:ro \
epicmorg/enodia:2 check --config /etc/enodia/config.yaml
# air-gapped: collect inside the closed network, evaluate elsewhere
docker run --rm -v /etc/enodia:/etc/enodia:ro -v "$PWD":/opt/enodia \
epicmorg/enodia:2 collect --config /etc/enodia/config.yaml -o inventory.jsonl
docker run --rm -v "$PWD":/opt/enodia epicmorg/enodia:2 check --from inventory.jsonl
Config format, probes and subcommands: docs.enodia.sh.
Enodia 2.0.0+ matches versions against local CVE databases (cve.*.path in enodia.yaml).
| Image | Databases | Downloaded by |
|---|---|---|
2.0.0 | NVD (JSON 2.0, per year), BDU FSTEC | enodia-cve-update |
2.1.0, 2.1.1 | the above + Debian Security Tracker, vendor OVAL (ENODIA_OVAL), Alpine secdb (ENODIA_ALPINE) | enodia-cve-update |
2.2.0, 2.2.1 | the above + MariaDB, Atlassian, PostgreSQL and nginx advisories | enodia cve update |
2.2.0+: enodia cve updateEnodia downloads every database whose cve.*.path the config sets — nothing else; check,
collect and serve still never download anything. OVAL releases, Alpine branches and PostgreSQL
majors come from the files already there, from --from inventory.jsonl and from
--oval/--alpine/--postgresql; --dry-run lists the plan.
# refresh — e.g. nightly from cron; unchanged files cost one request each
docker run --rm \
-v /etc/enodia:/etc/enodia:ro -v /var/lib/enodia/cve:/var/lib/enodia/cve \
epicmorg/enodia:2.2.1 cve update --config /etc/enodia/config.yaml --oval ubuntu:noble
# use
docker run --rm \
-v /etc/enodia:/etc/enodia:ro -v /var/lib/enodia/cve:/var/lib/enodia/cve:ro \
epicmorg/enodia:2.2.1 check --config /etc/enodia/config.yaml
# enodia.yaml (2.2.0+)
cve:
bdu: {path: /var/lib/enodia/cve/bdu/vulxml.zip}
nvd: {path: /var/lib/enodia/cve/nvd}
debian: {path: /var/lib/enodia/cve/debian.json}
oval: {path: /var/lib/enodia/cve/oval}
alpine: {path: /var/lib/enodia/cve/alpine}
mariadb: {path: /var/lib/enodia/cve/mariadb.md}
atlassian: {path: /var/lib/enodia/cve/atlassian.json}
postgresql: {path: /var/lib/enodia/cve/postgresql}
nginx: {path: /var/lib/enodia/cve/nginx.html}
update:
# bdu.fstec.ru is signed by the Russian Trusted Root CA, absent from the image's trust store:
ca_file: /etc/enodia/russian-trusted.pem # root + Sub CA (PEM, one or many, or DER); or ca_dir
# tls_skip_verify: true # or verify nothing
Each file is sent If-Modified-Since, downloaded beside the old copy, loaded by Enodia's own parser and only then moved over it. Exit code 1 if any file failed; the rest are still updated.
2.0.0–2.1.1: enodia-cve-updateThese images ship enodia-cve-update, which fetches exactly the databases its Enodia version reads.
Run it on a host directory (or a named volume) and give the same directory to check/serve:
# refresh — e.g. nightly from cron; unchanged files cost one request each
docker run --rm --entrypoint enodia-cve-update \
-v /var/lib/enodia/cve:/var/lib/enodia/cve \
-e ENODIA_OVAL="ubuntu:noble rhel:9 astra:1.8" -e ENODIA_ALPINE="v3.22" \
epicmorg/enodia:2.1.1
# use
docker run --rm \
-v /etc/enodia:/etc/enodia:ro -v /var/lib/enodia/cve:/var/lib/enodia/cve:ro \
epicmorg/enodia:2.1.1 check --config /etc/enodia/config.yaml
# enodia.yaml (2.1.x; 2.0.0 has bdu and nvd only)
cve:
bdu: {path: /var/lib/enodia/cve/bdu/vulxml.zip}
nvd: {path: /var/lib/enodia/cve/nvd}
debian: {path: /var/lib/enodia/cve/debian.json}
oval: {path: /var/lib/enodia/cve/oval}
alpine: {path: /var/lib/enodia/cve/alpine}
| Variable | Default | Meaning |
|---|---|---|
ENODIA_CVE_DIR | /var/lib/enodia/cve | target directory (or the first argument) |
ENODIA_NVD_YEARS | all | all: every year from 2002; recent: this year and last, plus years not on disk yet |
ENODIA_BDU_INSECURE | 1 | don't verify bdu.fstec.ru's certificate (Russian Trusted Root CA, no intermediate sent); 0 to verify, with ENODIA_BDU_CA_FILE naming a bundle of the root and Sub CA |
ENODIA_DEBIAN | 1 | 2.1.x: fetch the Debian Security Tracker JSON |
ENODIA_OVAL | — | 2.1.x: releases to fetch OVAL for: ubuntu:<codename>, rhel:<N> (also for Rocky), almalinux:<N>, oracle:<N>, astra:<1.7|1.8>, redos:<7.3|8.0> |
ENODIA_ALPINE | — | 2.1.x: Alpine branches, e.g. v3.21 v3.22 (main and community each) |
Every file is fetched with If-Modified-Since into a temporary name, checked (gzip / zip / bz2 / JSON / XML) and only then moved over the old copy, so a failed or broken download never replaces a working database. The exit code is 1 if any file failed; the others are still updated. The first run fetches everything (NVD alone is ~230 MB); after that Enodia re-parses a changed file once and caches it.
Content type
Image
Digest
sha256:9ab58e4ed…
Size
100.7 MB
Last updated
5 days ago
docker pull epicmorg/enodia