Directories
¶
| Path | Synopsis |
|---|---|
|
api
|
|
|
v1alpha1
Package v1alpha1 contains API types for the ocidex.io/v1alpha1 API group.
|
Package v1alpha1 contains API types for the ocidex.io/v1alpha1 API group. |
|
cmd
|
|
|
authmatrix
command
Package main renders the authorization matrix to stdout.
|
Package main renders the authorization matrix to stdout. |
|
git-worker
command
|
|
|
k8s-agent
command
Command k8s-agent reports the container images running in a Kubernetes cluster to OCIDex.
|
Command k8s-agent reports the container images running in a Kubernetes cluster to OCIDex. |
|
mock-idp
command
Command mock-idp runs a mock OpenID Connect issuer for local development.
|
Command mock-idp runs a mock OpenID Connect issuer for local development. |
|
oci-metadata-worker
command
|
|
|
ocidex
command
Package main is the entry point for the OCIDex server.
|
Package main is the entry point for the OCIDex server. |
|
ocidex-cli
command
Command ocidex-cli is a command-line client for the OCIDex API.
|
Command ocidex-cli is a command-line client for the OCIDex API. |
|
ocidex-cli/output
Package output renders command results in the format selected by --output.
|
Package output renders command results in the format selected by --output. |
|
ocidex-mcp
command
Command ocidex-mcp exposes the OCIDex catalog to agents as a Model Context Protocol server over stdio.
|
Command ocidex-mcp exposes the OCIDex catalog to agents as a Model Context Protocol server over stdio. |
|
operator
command
Package main is the entry point for the OCIDex K8s operator.
|
Package main is the entry point for the OCIDex K8s operator. |
|
provenance-worker
command
|
|
|
scanner-worker
command
Package main is the entry point for the OCIDex scanner worker.
|
Package main is the entry point for the OCIDex scanner worker. |
|
specgen
command
Package main exports the OpenAPI spec generated by huma to stdout.
|
Package main exports the OpenAPI spec generated by huma to stdout. |
|
specto30
command
Package main converts the OpenAPI 3.1 spec to 3.0 for oapi-codegen, which does not support 3.1 yet.
|
Package main converts the OpenAPI 3.1 spec to 3.0 for oapi-codegen, which does not support 3.1 yet. |
|
user-enricher-worker
command
|
|
|
vuln-parity
command
Command vuln-parity compares grype's matches for stored SBOMs against the OSV-derived package_vulnerability mappings (ADR-049).
|
Command vuln-parity compares grype's matches for stored SBOMs against the OSV-derived package_vulnerability mappings (ADR-049). |
|
vuln-worker
command
Command vuln-worker maintains the package-keyed vulnerability store by matching stored SBOMs against the grype vulnerability database (ADR-049).
|
Command vuln-worker maintains the package-keyed vulnerability store by matching stored SBOMs against the grype vulnerability database (ADR-049). |
|
Package db provides embedded database migration files.
|
Package db provides embedded database migration files. |
|
internal
|
|
|
api
Package api's request and response types are split by domain, one file per handler file: types_sbom.go beside sbom.go, types_registry.go beside registry.go, and so on.
|
Package api's request and response types are split by domain, one file per handler file: types_sbom.go beside sbom.go, types_registry.go beside registry.go, and so on. |
|
audit
Package audit implements an extension that emits structured audit log lines for every event published on the event bus.
|
Package audit implements an extension that emits structured audit log lines for every event published on the event bus. |
|
auth
Package auth holds the identity providers OCIDex can authenticate against.
|
Package auth holds the identity providers OCIDex can authenticate against. |
|
authz
Package authz holds the capability model: what a namespace role may do.
|
Package authz holds the capability model: what a namespace role may do. |
|
cliconfig
Package cliconfig holds the server URL and credential handling shared by the user-facing client binaries — ocidex-cli and ocidex-mcp.
|
Package cliconfig holds the server URL and credential handling shared by the user-facing client binaries — ocidex-cli and ocidex-mcp. |
|
config
Package config handles application configuration loaded from environment variables.
|
Package config handles application configuration loaded from environment variables. |
|
controller
Package controller implements controller-runtime reconcilers for OCIDex CRDs.
|
Package controller implements controller-runtime reconcilers for OCIDex CRDs. |
|
dbaudit
Package dbaudit inspects the live database for state that migrations or the application cannot repair themselves — principally object ownership.
|
Package dbaudit inspects the live database for state that migrations or the application cannot repair themselves — principally object ownership. |
|
devidp
Package devidp is a mock OpenID Connect issuer for local development and tests.
|
Package devidp is a mock OpenID Connect issuer for local development and tests. |
|
enrichment
Package enrichment defines the enrichment pipeline for post-ingestion data enrichment.
|
Package enrichment defines the enrichment pipeline for post-ingestion data enrichment. |
|
enrichment/git
Package git implements the git source enricher.
|
Package git implements the git source enricher. |
|
enrichment/names
Package names holds the string values written to the enrichments table.
|
Package names holds the string values written to the enrichments table. |
|
enrichment/oci
Package oci implements the OCI registry metadata enricher.
|
Package oci implements the OCI registry metadata enricher. |
|
enrichment/ocivalidate
Package ocivalidate provides a lightweight OCI manifest-type validator.
|
Package ocivalidate provides a lightweight OCI manifest-type validator. |
|
enrichment/provenance
Package provenance implements signature and attestation discovery for container images.
|
Package provenance implements signature and attestation discovery for container images. |
|
enrichment/subject
Package subject defines the identity type enrichers use to locate the artifact being enriched.
|
Package subject defines the identity type enrichers use to locate the artifact being enriched. |
|
enrichment/user
Package user provides the user enricher, which stores caller-supplied metadata (architecture, build date, subject version) as an enrichment record immediately after SBOM ingestion.
|
Package user provides the user enricher, which stores caller-supplied metadata (architecture, build date, subject version) as an enrichment record immediately after SBOM ingestion. |
|
event
Package event defines the in-process event bus for OCIDex.
|
Package event defines the in-process event bus for OCIDex. |
|
extension
Package extension provides the lifecycle interface for OCIDex extensions.
|
Package extension provides the lifecycle interface for OCIDex extensions. |
|
gosymbols
Package gosymbols defines how the function symbols linked into a Go binary travel inside a CycloneDX document and how their names are normalized (ADR-050).
|
Package gosymbols defines how the function symbols linked into a Go binary travel inside a CycloneDX document and how their names are normalized (ADR-050). |
|
health
Package health provides a tiny HTTP health server for the worker binaries.
|
Package health provides a tiny HTTP health server for the worker binaries. |
|
jobqueue
Package jobqueue implements the outbox-pattern job worker loop shared by scanner-worker and the per-enricher workers.
|
Package jobqueue implements the outbox-pattern job worker loop shared by scanner-worker and the per-enricher workers. |
|
mainmodule
Package mainmodule identifies an SBOM's main module — the package built from the image's own source repository — and recovers its version when the scanner could not.
|
Package mainmodule identifies an SBOM's main module — the package built from the image's own source repository — and recovers its version when the scanner could not. |
|
nats
Package nats provides a JetStream client for optional outbound event forwarding.
|
Package nats provides a JetStream client for optional outbound event forwarding. |
|
netguard
Package netguard decides which addresses OCIDex may open outbound connections to on behalf of a user.
|
Package netguard decides which addresses OCIDex may open outbound connections to on behalf of a user. |
|
repository
Package repository provides the data access layer for OCIDex.
|
Package repository provides the data access layer for OCIDex. |
|
scanner
Package scanner defines the scan request type, the Scanner interface, and the lightweight OCI catalog/walker/submitter machinery used by the API.
|
Package scanner defines the scan request type, the Scanner interface, and the lightweight OCI catalog/walker/submitter machinery used by the API. |
|
scanner/engine
Package engine houses the scan + ingest dispatcher used by the scanner-worker.
|
Package engine houses the scan + ingest dispatcher used by the scanner-worker. |
|
secretbox
Package secretbox encrypts credentials stored in the database (ADR-051).
|
Package secretbox encrypts credentials stored in the database (ADR-051). |
|
service
Package service contains business logic interfaces and implementations.
|
Package service contains business logic interfaces and implementations. |
|
trust
Package trust defines the per-host signature verification configuration shared by internal/service (which resolves it from stored registry settings) and internal/enrichment/provenance (which consumes it to verify signatures).
|
Package trust defines the per-host signature verification configuration shared by internal/service (which resolves it from stored registry settings) and internal/enrichment/provenance (which consumes it to verify signatures). |
|
version
Package version exposes build-time metadata, injected via -ldflags where the build controls the link step and recovered from the Go module's own build information where it does not.
|
Package version exposes build-time metadata, injected via -ldflags where the build controls the link step and recovered from the Go module's own build information where it does not. |
|
vuln
Package vuln holds the domain types and Postgres store of the package-keyed vulnerability store.
|
Package vuln holds the domain types and Postgres store of the package-keyed vulnerability store. |
|
vuln/grypematch
Package grypematch matches SBOM documents against the grype vulnerability database (ADR-049).
|
Package grypematch matches SBOM documents against the grype vulnerability database (ADR-049). |
|
worker/enrichment
Package enrichmentworker provides the shared daemon scaffolding used by all per-enricher worker binaries.
|
Package enrichmentworker provides the shared daemon scaffolding used by all per-enricher worker binaries. |
|
pkg
|
|
|
client
module
|
Click to show internal directories.
Click to hide internal directories.