{"modulePath":"github.com/draugr-dev/draugr","version":"v0.197.0","isStandardLibrary":false,"packages":{"items":[{"path":"github.com/draugr-dev/draugr/cmd/draugr","name":"main","synopsis":"Command draugr is the Draugr CLI: developer-first, descriptor-driven security and compliance qualification.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/contrib/converters/npm-audit","name":"main","synopsis":"Command npm-audit turns what `npm audit --json` writes into a Draugr converter file, for an import with format draugr-converter.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/awsaccess","name":"awsaccess","synopsis":"Package awsaccess asks AWS which identity the credentials in the environment are, and which actions that identity's policies allow.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/azureaccess","name":"azureaccess","synopsis":"Package azureaccess asks Azure Resource Manager whether the credentials in the environment can read a subscription, and which actions they hold on it.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/builtins","name":"builtins","synopsis":"Package builtins assembles the default registry of controllers and scanners that ship with Draugr.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/ciguard","name":"ciguard","synopsis":"Package ciguard holds assertions about this repository's own CI configuration.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/cli","name":"cli","synopsis":"Package cli assembles the Draugr command-line interface on top of Cobra.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/controllers","name":"controllers","synopsis":"Package controllers holds Draugr's built-in controllers (e.g.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/credential","name":"credential","synopsis":"Package credential decides which credential a descriptor may name and where it may be sent.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/depsdev","name":"depsdev","synopsis":"Package depsdev asks deps.dev what is known about the packages a scan found.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/detect","name":"detect","synopsis":"Package detect turns on the controls a descriptor's repositories call for, for a descriptor that sets config.detect: the ones a scan with no descriptor turns on for the same files.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/detect/chosen","name":"chosen","synopsis":"Package chosen is what config.detect chose for a descriptor's files, and what becomes of a scanner it chose that this machine cannot run.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/draugrhome","name":"draugrhome","synopsis":"Package draugrhome answers where Draugr keeps what it downloads: the tools `draugr tools install` provisions, the data they need, and the feeds a scan reads without the network.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/english","name":"english","synopsis":"Package english forms the words a count is attached to.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/enrich","name":"enrich","synopsis":"Package enrich builds the signals a scan ranks its findings with: exploitability, the age a cached feed may reach, and dependency health.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/exploitdata","name":"exploitdata","synopsis":"Package exploitdata turns a scan's exploitability settings into the KEV and EPSS data its prioritizer ranks with, and describes where that data came from.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/feeds","name":"feeds","synopsis":"Package feeds fetches and caches the exploitability datasets Draugr can enrich findings with: CISA's Known Exploited Vulnerabilities catalog and FIRST's EPSS scores.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/fieldprobe","name":"fieldprobe","synopsis":"Package fieldprobe fills every exported field of a value and names the fields a copy of it lost.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/gcpaccess","name":"gcpaccess","synopsis":"Package gcpaccess asks Google Cloud which permissions the caller's credentials hold on a project.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/git","name":"git","synopsis":"Package git provides repository checkouts for scanners that operate on source trees.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/inventory","name":"inventory","synopsis":"Package inventory lists what a source tree holds that a control has something to say about: dependency files, vendored JavaScript, infrastructure code, Dockerfiles, API documents, and SARIF files another tool wrote, in the tree or from a CI step.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/login","name":"login","synopsis":"Package login holds a person's short-lived, check-only token for a Draugr server: the OAuth 2.0 device authorization grant (RFC 8628) that issues it, the revocation (RFC 7009) that ends it, and the OS keychain that keeps it between runs.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/manifests","name":"manifests","synopsis":"Package manifests recognizes the files in a tree that declare or pin dependencies, and accounts for the ones a dependency scan did not read.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/mcp","name":"mcp","synopsis":"Package mcp exposes Draugr to AI coding agents over the Model Context Protocol.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/mendapi","name":"mendapi","synopsis":"Package mendapi is the client for Mend's v1.3 API: the half of a Mend scan that returns findings.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/needs","name":"needs","synopsis":"Package needs answers what a scan of a descriptor would run: the scanners its enabled controls select, and the external tools those scanners execute.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/netpolicy","name":"netpolicy","synopsis":"Package netpolicy holds one answer to one question: may this process reach the network?","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/nonshipping","name":"nonshipping","synopsis":"Package nonshipping names the directories a repository keeps beside its code without shipping them: documentation, examples and tests.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/observability","name":"observability","synopsis":"Package observability provides Draugr's logging and telemetry foundations: structured logging via log/slog and distributed tracing via OpenTelemetry.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/preflight","name":"preflight","synopsis":"Package preflight checks that this machine can reach what a scan would read: each repository at its revision, the paths a component is scoped to, each image, each endpoint.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/registry","name":"registry","synopsis":"Package registry asks a container registry whether it will serve an image's manifest to this machine, with the credentials a scanner running here would use.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/sagafetch","name":"sagafetch","synopsis":"Package sagafetch fetches Saga fragments held in other repositories.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/sagatest","name":"sagatest","synopsis":"Package sagatest holds a descriptor to both of the readers that judge it: the JSON Schema an editor validates against, and the loader `draugr validate` runs.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/sbom","name":"sbom","synopsis":"Package sbom generates Software Bills of Materials by shelling out to Syft.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/scaffold","name":"scaffold","synopsis":"Package scaffold renders the starter Saga `draugr init` writes for a source tree.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/scanners","name":"scanners","synopsis":"Package scanners holds Draugr's built-in scanners, which wrap individual security tools and normalize their output to SARIF.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/scanpolicy","name":"scanpolicy","synopsis":"Package scanpolicy holds the scoring choices a scan makes, so every entry point into Draugr makes the same ones.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/schemagen","name":"schemagen","synopsis":"Package schemagen writes the Saga JSON Schema from pkg/saga's types and the registry that answers for its controls, and the fragment and config schemas derived from it.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/schemagen/gen","name":"main","synopsis":"Command gen writes the Saga JSON Schema from pkg/saga's types and the plugin registry, and the fragment and config schemas derived from it.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/selfupdate","name":"selfupdate","synopsis":"Package selfupdate updates the running draugr binary to a released version.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/standin","name":"standin","synopsis":"Package standin writes the executables tests run in place of a real tool: a shell script that prints what a scanner would, a fake `go` or `pip`, a git hook.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/suggest","name":"suggest","synopsis":"Package suggest finds the name somebody most likely meant, for a \"did you mean\" beside an error.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/surfaces","name":"surfaces","synopsis":"Package surfaces maps what a descriptor declares to the controls that look at it.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/surveyors","name":"surveyors","synopsis":"Package surveyors holds Draugr's built-in surveyors.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/toolexec","name":"toolexec","synopsis":"Package toolexec runs the external tools Draugr orchestrates, and reports what it ran.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/tools","name":"tools","synopsis":"Package tools describes the external command-line scanners Draugr orchestrates and detects whether they are installed.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/tools/cmd/pinbump","name":"main","synopsis":"Command pinbump moves one pinned scanner to a new version and records what that version hashes to.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/version","name":"version","synopsis":"Package version carries build metadata, injected at link time via -ldflags.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/versionorder","name":"versionorder","synopsis":"Package versionorder orders the versions of one package by the rules of the ecosystem it comes from.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/internal/vexload","name":"vexload","synopsis":"Package vexload resolves the VEX sources a descriptor names into documents a run can apply.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/pkg/cache","name":"cache","synopsis":"Package cache stores scan results keyed by content hash so unchanged targets are not re-scanned.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/pkg/ci","name":"ci","synopsis":"Package ci reports the continuous-integration job a scan is running in.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/pkg/config","name":"config","synopsis":"Package config is Draugr's machine- and organization-level configuration, kept apart from the Saga on purpose.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/pkg/converter","name":"converter","synopsis":"Package converter reads the file a converter writes for Draugr to import: the findings of a tool Draugr has no reader for, with those of Draugr's own result properties a declared converter may set.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/pkg/dephealth","name":"dephealth","synopsis":"Package dephealth ranks a finding by what is known about the dependency it is in, rather than only by what is known about the flaw.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/pkg/diff","name":"diff","synopsis":"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).","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/pkg/engine","name":"engine","synopsis":"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.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/pkg/exploit","name":"exploit","synopsis":"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).","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/pkg/norn","name":"norn","synopsis":"Package norn evaluates scan results against policy to produce a verdict (pass/fail) per control and overall.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/pkg/plugin","name":"plugin","synopsis":"Package plugin is the Draugr plugin SDK.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/pkg/prioritization","name":"prioritization","synopsis":"Package prioritization turns a finding's severity and its component's risk classification (exposure × business criticality) into a single Priority band.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/pkg/publish","name":"publish","synopsis":"Package publish delivers rendered reports (report.Artifact) to destinations.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/pkg/report","name":"report","synopsis":"Package report renders a scan result in a chosen format.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/pkg/saga","name":"saga","synopsis":"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.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/pkg/sarif","name":"sarif","synopsis":"Package sarif provides Draugr's result currency: a pragmatic model of SARIF 2.1.0 findings, plus merge and deduplication.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/pkg/sbom","name":"sbom","synopsis":"Package sbom is the Software Bill of Materials surface: the document type a run produces and the contract for producing one.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/pkg/skald","name":"skald","synopsis":"Package skald renders scan results and verdicts into evidence: a JSON summary and merged SARIF.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/pkg/surveyor","name":"surveyor","synopsis":"Package surveyor is the discovery framework: plugins that inspect an environment and return Saga fragments, which are merged so the descriptor can write itself.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/pkg/tooladapter","name":"tooladapter","synopsis":"Package tooladapter turns an external command-line security tool into a Draugr Scanner.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/pkg/tui","name":"tui","synopsis":"Package tui holds the terminal-presentation rules Draugr applies everywhere it writes for a person: when color is allowed, what the colors mean, and how to link to more detail.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/pkg/vex","name":"vex","synopsis":"Package vex reads OpenVEX documents somebody else wrote.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/test/sealed","name":"sealed","synopsis":"Package sealed builds what the sealed coverage tier runs against: advisory databases generated from one file of our own text, a container with no network, the expectations a scenario states, and the comparison between those and what a scan produced.","isRedistributable":true},{"path":"github.com/draugr-dev/draugr/test/sealed/serve","name":"main","synopsis":"Command serve runs a command inside a sealed container with sealed.ServedHandler listening on the loopback interface beside it:","isRedistributable":true}],"total":73}}
