The Graylog Security Data Model (SDM) is the authoritative source for the field schema, the GIM (Graylog Information Model: classes, categories, subcategories and event types) and reserved values.
This repo is the source of truth. graylog-project-illuminate keeps its own copy of the SDM until a later cutover switches it to consume this repo.
| Path | Contents |
|---|---|
src/sdm/infomodels/ |
GIM categories, one file per category (10.authentication.toml) |
src/sdm/schema/ |
Field schema, one file per entity (user.toml) |
src/sdm/config/ |
SDM-wide config: sdm_version, allowed field types, documentation sections |
tools/build_sdm/ |
The build-sdm tool, with its output plugins and their config in configs/ |
Content/SDM/ |
MadCap HTML built from the source, inside the Flare project. Committed; never edit it by hand |
graylog-sdm.flprj, Project/, Content/ |
The MadCap Flare project, maintained by the docs team (ADR 0007) |
build/sdm_artifacts/ |
Output from the other plugins (CSV, JSON). Gitignored |
tests/ |
Tests for build-sdm, including output snapshots in tests/golden/ |
docs/decisions/ |
Architecture decision records (ADRs) |
docs/plans/ |
Active plans, and finished ones in archive/ |
docs/proposals/ |
Proposals that need a decision before any work starts |
docs/templates/ |
A template for new GIM category files |
You need uv. It installs Python 3.13 and the dependencies.
uv sync
uv run build-sdm build
uv run build-sdm validate --base-ref origin/mainbuildwrites the MadCap HTML toContent/SDM/and the other output tobuild/sdm_artifacts/.validate --base-ref origin/mainis the check CI runs: a violation that is new relative tomainfails, and violations that already exist onmainare only warnings.
Plain uv run build-sdm validate, with no base ref, lists every known existing violation and exits 1. That is expected, not a broken checkout: without a base ref, every violation is an error (ADR 0004).
- docs/contributing.md: how to change the SDM, every command, the lint rules and CI.
- docs/decisions/: why the repo works the way it does.
- AGENTS.md: development standards for people and AI agents.