Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
embargo
command
|
|
|
internal
|
|
|
cache
Package cache stores fetched release metadata on disk so repeated checks don't re-hit registries.
|
Package cache stores fetched release metadata on disk so repeated checks don't re-hit registries. |
|
cli
Package cli wires the embargo command tree (Cobra) and global flags.
|
Package cli wires the embargo command tree (Cobra) and global flags. |
|
config
Package config loads and validates the .embargo.yaml policy file.
|
Package config loads and validates the .embargo.yaml policy file. |
|
ecosystem
Package ecosystem defines the shared domain types used across embargo: dependencies, release metadata, policy decisions, and the core interfaces implemented by registry clients and lockfile parsers.
|
Package ecosystem defines the shared domain types used across embargo: dependencies, release metadata, policy decisions, and the core interfaces implemented by registry clients and lockfile parsers. |
|
fsatomic
Package fsatomic writes files atomically with owner-only permissions, used by the on-disk caches whose integrity is security-relevant (a tampered cached block list would silently weaken the policy).
|
Package fsatomic writes files atomically with owner-only permissions, used by the on-disk caches whose integrity is security-relevant (a tampered cached block list would silently weaken the policy). |
|
lockfile
Package lockfile detects and parses dependency lockfiles across ecosystems, producing a normalized list of resolved dependencies for policy evaluation.
|
Package lockfile detects and parses dependency lockfiles across ecosystems, producing a normalized list of resolved dependencies for policy evaluation. |
|
output
Package output renders policy results in human-readable, JSON, and SARIF formats.
|
Package output renders policy results in human-readable, JSON, and SARIF formats. |
|
pathexec
Package pathexec resolves executables on the PATH in a cross-platform way.
|
Package pathexec resolves executables on the PATH in a cross-platform way. |
|
policy
Package policy decides whether a dependency is allowed.
|
Package policy decides whether a dependency is allowed. |
|
proxy
Package proxy intercepts package-manager commands, classifies them, and enforces policy either before (preflight) or after (post-hoc) running the real tool.
|
Package proxy intercepts package-manager commands, classifies them, and enforces policy either before (preflight) or after (post-hoc) running the real tool. |
|
registry
Package registry fetches release publication timestamps from the upstream registries that back each ecosystem (npm, crates.io, the Go module proxy, and PyPI).
|
Package registry fetches release publication timestamps from the upstream registries that back each ecosystem (npm, crates.io, the Go module proxy, and PyPI). |
|
remote
Package remote fetches shared allow/block lists published over HTTP(S) — for example a file in a GitHub repo — and merges their package globs into the local policy.
|
Package remote fetches shared allow/block lists published over HTTP(S) — for example a file in a GitHub repo — and merges their package globs into the local policy. |
|
shim
Package shim installs and inspects the PATH shims that route package-manager commands through `embargo proxy`.
|
Package shim installs and inspects the PATH shims that route package-manager commands through `embargo proxy`. |
Click to show internal directories.
Click to hide internal directories.