Skip to content

About

The Graylog Security Data Model is the authoritative source for schema, GIM, and reserved values.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

graylog-sdm

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.

Layout

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

Quick start

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/main
  • build writes the MadCap HTML to Content/SDM/ and the other output to build/sdm_artifacts/.
  • validate --base-ref origin/main is the check CI runs: a violation that is new relative to main fails, and violations that already exist on main are 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).

More

About

The Graylog Security Data Model is the authoritative source for schema, GIM, and reserved values.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages