Directories
¶
| Path | Synopsis |
|---|---|
|
app/generated/restapi
Package restapi OpenSSF Scorecard API
|
Package restapi OpenSSF Scorecard API |
|
app/server/internal/cdn
Package cdn implements clients for CDN operations.
|
Package cdn implements clients for CDN operations. |
|
cmd
|
|
|
scorecard-api
command
Command scorecard-api is a cloud-agnostic, self-hosted OpenSSF Scorecard results API server.
|
Command scorecard-api is a cloud-agnostic, self-hosted OpenSSF Scorecard results API server. |
|
cron
|
|
|
config
Package config defines the configuration values for the cron job.
|
Package config defines the configuration values for the cron job. |
|
data
Package data contains util fns for reading and writing data handled by the cron job.
|
Package data contains util fns for reading and writing data handled by the cron job. |
|
internal/bq
command
Package main implements the BQ transfer job.
|
Package main implements the BQ transfer job. |
|
internal/cdn
Package cdn implements clients for CDN operations.
|
Package cdn implements clients for CDN operations. |
|
internal/cii
command
Package main implements the PubSub controller.
|
Package main implements the PubSub controller. |
|
internal/controller
command
Package main implements the PubSub controller.
|
Package main implements the PubSub controller. |
|
internal/data/add
command
Package main adds new project repositories to the projects file.
|
Package main adds new project repositories to the projects file. |
|
internal/data/validate
command
Package main validates an input file with a list of projects.
|
Package main validates an input file with a list of projects. |
|
internal/githubserver
command
Package main implements the GitHub token server.
|
Package main implements the GitHub token server. |
|
internal/provenance
Package provenance reports which Scorecard engine produced a result.
|
Package provenance reports which Scorecard engine produced a result. |
|
internal/pubsub
Package pubsub handles interactions with PubSub framework.
|
Package pubsub handles interactions with PubSub framework. |
|
internal/shuffle
command
Package main implements the PubSub controller.
|
Package main implements the PubSub controller. |
|
internal/webhook
command
Package main implements a Webhook which runs a bash script when called.
|
Package main implements a Webhook which runs a bash script when called. |
|
internal/worker
command
Package main implements cron worker job.
|
Package main implements cron worker job. |
|
monitoring
Package monitoring defines exporters to be used by opencensus package in the cron job.
|
Package monitoring defines exporters to be used by opencensus package in the cron job. |
|
worker
Package worker implements the generic cron worker logic.
|
Package worker implements the generic cron worker logic. |
|
internal
|
|
|
config
Package config loads all server configuration from the environment (design D10, 12-factor).
|
Package config loads all server configuration from the environment (design D10, 12-factor). |
|
fallback
Package fallback fetches an existing latest Scorecard result from an upstream Scorecard API (e.g.
|
Package fallback fetches an existing latest Scorecard result from an upstream Scorecard API (e.g. |
|
flags
Package flags is the single seam for runtime feature flags (design FF1/FF5).
|
Package flags is the single seam for runtime feature flags (design FF1/FF5). |
|
httpapi
Package httpapi implements the Scorecard-webapp GET contract over the orchestrator (design D1/D11): GET /projects/{host}/{org}/{repo} (+ ?commit=), /badge, /capabilities, /health, and /readyz.
|
Package httpapi implements the Scorecard-webapp GET contract over the orchestrator (design D1/D11): GET /projects/{host}/{org}/{repo} (+ ?commit=), /badge, /capabilities, /health, and /readyz. |
|
model
Package model defines a lean in-repo mirror of the OpenSSF Scorecard JSON2 wire format (Result), the repository reference the server routes on (RepoRef), and the provenance metadata (Provenance) that the server declares for every response.
|
Package model defines a lean in-repo mirror of the OpenSSF Scorecard JSON2 wire format (Result), the repository reference the server routes on (RepoRef), and the provenance metadata (Provenance) that the server declares for every response. |
|
orchestrator
Package orchestrator is the read-through cache and the central serve-vs-scan seam (design D2).
|
Package orchestrator is the read-through cache and the central serve-vs-scan seam (design D2). |
|
scan
Package scan generates Scorecard results on demand by wrapping pkg/scorecard.Run (design D8).
|
Package scan generates Scorecard results on demand by wrapping pkg/scorecard.Run (design D8). |
|
store
Package store persists Scorecard results in a cloud-agnostic object store via gocloud.dev/blob.
|
Package store persists Scorecard results in a cloud-agnostic object store via gocloud.dev/blob. |
|
tokens
Package tokens manages SCM credentials and rate limiting for live scans (design D8).
|
Package tokens manages SCM credentials and rate limiting for live scans (design D8). |
Click to show internal directories.
Click to hide internal directories.