# Debian ELTS feeder

`osv_debian_elts_importer` imports the OSV advisories published at
<https://github.com/captn3m0/debian-elts-advisories>. The upstream project
republishes Freexian's Debian Extended LTS security advisories. It is distinct
from Debian's Security Tracker snapshot.

The repository is a shallow submodule on `main`. The feeder reads
`advisories/ELA-<number>-<revision>.json`, retaining the upstream `ELA-*`
identifier, OSV fields and `Debian:<release>` ecosystem values. CVEs in `related`
are linked in both directions. Vendor/product indexes use `debian` as the vendor
so release separators do not become part of storage keys.

The existing OSV parser handles initial and incremental imports, the commit
checkpoint, interruption recovery and `--reimport`. This feeder opts into
publishing imported batches after storage succeeds, for stream consumers and
fulltext indexing. Other OSV feeders retain their existing notification behavior.

Upstream advisories currently provide `modified` but no `published` field; the
feeder does not invent a publication date. Upstream's README says its code is
MIT licensed but does not specify an advisory data license, so the source catalog
does not label the advisory data as MIT.

Rebuilding with `index_vulnerabilities` preserves missing publication dates and
uses the same `debian` vendor keys as ingestion. When the source is in
`SOURCES_TO_SHOW`, ELTS is selectable for fulltext, vendor and package searches.

Copy `[feeder:osv_debian_elts]` from `config/modules.cfg.sample` into the local
configuration, and add the source from `config/website.py.sample` to
`SOURCES_TO_SHOW`. After installing the updated project, run:

```sh
poetry run osv_debian_elts_importer
# Force a complete import:
poetry run osv_debian_elts_importer --reimport
```
