Documentation
¶
Overview ¶
Package cmd contains the cobra-rooted CLI for `disco`. Each file hosts one subcommand; cross-cutting helpers live in helpers.go.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = resolveVersion()
Version is set at build time via -ldflags "-X codeberg.org/icearp/disco/cmd.Version=<tag>". Defaults to "dev" for local builds, but `go build .` inside a git checkout substitutes the VCS revision via build-info, so the stamp propagated to snapshot manifests + SARIF tool.driver.version stays traceable. Falls back to "dev" only when no VCS info is available (e.g. `go test`, `go install` from a tarball).
Functions ¶
Types ¶
This section is empty.
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
aws-resolver-audit walks every AWS resource's AttributesJSON, extracts ARN and bare-ID references to other scanned types, then diffs the proposed (source_type, target_type) pairs against edges already persisted in `relationships`.
|
aws-resolver-audit walks every AWS resource's AttributesJSON, extracts ARN and bare-ID references to other scanned types, then diffs the proposed (source_type, target_type) pairs against edges already persisted in `relationships`. |
|
disco-scaffold is a forward-only dev tool: it reads a provider's live upstream catalog (via the already-wired coverage.Provider.Fetch), subtracts the types disco already scans, and emits restype.Descriptor-shaped stubs for the *uncovered* types so a new scanner is born in the unified shape.
|
disco-scaffold is a forward-only dev tool: it reads a provider's live upstream catalog (via the already-wired coverage.Provider.Fetch), subtracts the types disco already scans, and emits restype.Descriptor-shaped stubs for the *uncovered* types so a new scanner is born in the unified shape. |
Click to show internal directories.
Click to hide internal directories.