Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DepsNode ¶
type DepsNode struct {
ParentKey string
Deps []models.Dependency
AnalyzedAt *time.Time
}
type DepsTreeEdge ¶
type DepsTreeEdge struct {
models.DepsTreeEdge
ChildAnalyzedAt *time.Time `json:"analyzed_at,omitempty"`
}
type SBOMNode ¶
type SBOMNode struct {
Key string
Deps []string
AnalyzedAt *time.Time
Ecosystem *string
PackageName *string
PackageVersion *string
Violations []violations.Violation
// Location is the manifest file + line that declared this dep, populated
// from parsers that record source positions (npm/yarn/pnpm/bun
// package.json, pip requirements.txt, ruby Gemfile, etc.).
//
// Only set on nodes that the parser-built dep tree treats as direct (edge
// from rootKey). Transitives and the root are nil. Lockfile-resolved
// versioned keys (e.g. "package/npm/lodash?version=4.17.20") are also nil
// even when logically direct: locations come from the manifest, not the
// lockfile, so they attach to the unversioned key the parser produced.
Location *models.LocationInfo
}
Click to show internal directories.
Click to hide internal directories.