Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
draugr
command
Command draugr is the Draugr CLI: developer-first, descriptor-driven security and compliance qualification.
|
Command draugr is the Draugr CLI: developer-first, descriptor-driven security and compliance qualification. |
|
internal
|
|
|
builtins
Package builtins assembles the default registry of controllers and scanners that ship with Draugr.
|
Package builtins assembles the default registry of controllers and scanners that ship with Draugr. |
|
cli
Package cli assembles the Draugr command-line interface on top of Cobra.
|
Package cli assembles the Draugr command-line interface on top of Cobra. |
|
controllers
Package controllers holds Draugr's built-in controllers (e.g.
|
Package controllers holds Draugr's built-in controllers (e.g. |
|
git
Package git provides repository checkouts for scanners that operate on source trees.
|
Package git provides repository checkouts for scanners that operate on source trees. |
|
mcp
Package mcp exposes Draugr to AI coding agents over the Model Context Protocol.
|
Package mcp exposes Draugr to AI coding agents over the Model Context Protocol. |
|
observability
Package observability provides Draugr's logging and telemetry foundations: structured logging via log/slog and distributed tracing via OpenTelemetry.
|
Package observability provides Draugr's logging and telemetry foundations: structured logging via log/slog and distributed tracing via OpenTelemetry. |
|
sbom
Package sbom generates Software Bills of Materials by shelling out to Syft.
|
Package sbom generates Software Bills of Materials by shelling out to Syft. |
|
scanners
Package scanners holds Draugr's built-in scanners, which wrap individual security tools and normalize their output to SARIF.
|
Package scanners holds Draugr's built-in scanners, which wrap individual security tools and normalize their output to SARIF. |
|
scanpolicy
Package scanpolicy holds the scoring choices a scan makes, so every entry point into Draugr makes the same ones.
|
Package scanpolicy holds the scoring choices a scan makes, so every entry point into Draugr makes the same ones. |
|
selfupdate
Package selfupdate updates the running draugr binary to a released version.
|
Package selfupdate updates the running draugr binary to a released version. |
|
surveyors
Package surveyors holds Draugr's built-in surveyors.
|
Package surveyors holds Draugr's built-in surveyors. |
|
toolexec
Package toolexec runs the external tools Draugr orchestrates, and reports what it ran.
|
Package toolexec runs the external tools Draugr orchestrates, and reports what it ran. |
|
tools
Package tools describes the external command-line scanners Draugr orchestrates and detects whether they are installed.
|
Package tools describes the external command-line scanners Draugr orchestrates and detects whether they are installed. |
|
version
Package version carries build metadata, injected at link time via -ldflags.
|
Package version carries build metadata, injected at link time via -ldflags. |
|
pkg
|
|
|
cache
Package cache stores scan results keyed by content hash so unchanged targets are not re-scanned.
|
Package cache stores scan results keyed by content hash so unchanged targets are not re-scanned. |
|
diff
Package diff compares two Draugr scan results and classifies every finding as new, fixed, or unchanged — the security delta of a change (typically a PR's head vs the base branch).
|
Package diff compares two Draugr scan results and classifies every finding as new, fixed, or unchanged — the security delta of a change (typically a PR's head vs the base branch). |
|
engine
Package engine orchestrates a run: it expands a Saga into scan jobs (controllers × components), executes them with bounded parallelism, and aggregates each control's results.
|
Package engine orchestrates a run: it expands a Saga into scan jobs (controllers × components), executes them with bounded parallelism, and aggregates each control's results. |
|
exploit
Package exploit enriches a finding's severity with real-world exploitability signals: CISA KEV (Known Exploited Vulnerabilities — confirmed exploited in the wild) and FIRST EPSS (Exploit Prediction Scoring System — probability of exploitation).
|
Package exploit enriches a finding's severity with real-world exploitability signals: CISA KEV (Known Exploited Vulnerabilities — confirmed exploited in the wild) and FIRST EPSS (Exploit Prediction Scoring System — probability of exploitation). |
|
norn
Package norn evaluates scan results against policy to produce a verdict (pass/fail) per control and overall.
|
Package norn evaluates scan results against policy to produce a verdict (pass/fail) per control and overall. |
|
plugin
Package plugin is the Draugr plugin SDK.
|
Package plugin is the Draugr plugin SDK. |
|
prioritization
Package prioritization turns a finding's severity and its component's risk classification (exposure × business criticality) into a single Priority band.
|
Package prioritization turns a finding's severity and its component's risk classification (exposure × business criticality) into a single Priority band. |
|
publish
Package publish delivers rendered reports (report.Artifact) to destinations.
|
Package publish delivers rendered reports (report.Artifact) to destinations. |
|
report
Package report renders a scan result in a chosen format.
|
Package report renders a scan result in a chosen format. |
|
saga
Package saga defines the Draugr descriptor ("Saga") — the declarative account of an application's security surface (repositories, images, hosts, infrastructure) plus the controller configuration that drives a scan.
|
Package saga defines the Draugr descriptor ("Saga") — the declarative account of an application's security surface (repositories, images, hosts, infrastructure) plus the controller configuration that drives a scan. |
|
sarif
Package sarif provides Draugr's result currency: a pragmatic model of SARIF 2.1.0 findings, plus merge and deduplication.
|
Package sarif provides Draugr's result currency: a pragmatic model of SARIF 2.1.0 findings, plus merge and deduplication. |
|
sbom
Package sbom is the Software Bill of Materials surface: the document type a run produces and the contract for producing one.
|
Package sbom is the Software Bill of Materials surface: the document type a run produces and the contract for producing one. |
|
skald
Package skald renders scan results and verdicts into evidence: a JSON summary and merged SARIF.
|
Package skald renders scan results and verdicts into evidence: a JSON summary and merged SARIF. |
|
surveyor
Package surveyor is the discovery framework: plugins that inspect an environment and return Saga fragments, which are merged so the descriptor can write itself.
|
Package surveyor is the discovery framework: plugins that inspect an environment and return Saga fragments, which are merged so the descriptor can write itself. |
|
tooladapter
Package tooladapter turns an external command-line security tool into a Draugr Scanner declaratively: describe how to build the command for a target, and the adapter runs it and parses its SARIF output.
|
Package tooladapter turns an external command-line security tool into a Draugr Scanner declaratively: describe how to build the command for a target, and the adapter runs it and parses its SARIF output. |
|
tui
Package tui holds the terminal-presentation rules Draugr applies everywhere it writes for a person: when colour is allowed, what the colours mean, and how to link to more detail.
|
Package tui holds the terminal-presentation rules Draugr applies everywhere it writes for a person: when colour is allowed, what the colours mean, and how to link to more detail. |
Click to show internal directories.
Click to hide internal directories.
