Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
cli
Package main provides the entrypoint for the minder cli
|
Package main provides the entrypoint for the minder cli |
cli/app
Package app provides the root command for the minder CLI
|
Package app provides the root command for the minder CLI |
cli/app/artifact
Package artifact provides the artifact subcommands
|
Package artifact provides the artifact subcommands |
cli/app/auth
Package auth provides the auth command project for the minder CLI.
|
Package auth provides the auth command project for the minder CLI. |
cli/app/docs
Package apply provides the apply command for the minder CLI
|
Package apply provides the apply command for the minder CLI |
cli/app/profile
Package profile provides the CLI subcommand for managing profiles
|
Package profile provides the CLI subcommand for managing profiles |
cli/app/profile/status
Package status provides the CLI subcommand for managing profile statuses
|
Package status provides the CLI subcommand for managing profile statuses |
cli/app/project
Package project is the root command for the project subcommands
|
Package project is the root command for the project subcommands |
cli/app/project/role
Package role is the root command for the role subcommands
|
Package role is the root command for the role subcommands |
cli/app/provider
Package provider is the root command for the provider subcommands
|
Package provider is the root command for the provider subcommands |
cli/app/quickstart
Package quickstart provides the quickstart command for the minder CLI which is used to provide the means to quickly get started with minder.
|
Package quickstart provides the quickstart command for the minder CLI which is used to provide the means to quickly get started with minder. |
cli/app/repo
Package repo contains the repo logic for the control plane
|
Package repo contains the repo logic for the control plane |
cli/app/ruletype
Package ruletype provides the CLI subcommand for managing rules
|
Package ruletype provides the CLI subcommand for managing rules |
cli/app/version
Package version provides the version command for the minder CLI
|
Package version provides the version command for the minder CLI |
dev
Package main provides the entrypoint for the rule development cli
|
Package main provides the entrypoint for the rule development cli |
dev/app
Package app provides the root command for the mindev CLI
|
Package app provides the root command for the mindev CLI |
dev/app/bundles
Package bundles contains logic relating to mindpak bundles
|
Package bundles contains logic relating to mindpak bundles |
dev/app/image
Package image provides the root command for the image subcommands
|
Package image provides the root command for the image subcommands |
dev/app/rule_type
Package rule_type provides the root command for the ruletype subcommands
|
Package rule_type provides the root command for the ruletype subcommands |
dev/app/testserver
Package testserver spawns a test server useful for integration testing.
|
Package testserver spawns a test server useful for integration testing. |
reminder
Package main provides the entrypoint for the reminder service
|
Package main provides the entrypoint for the reminder service |
reminder/app
Package app provides the cli subcommands for managing the reminder service
|
Package app provides the cli subcommands for managing the reminder service |
server
Package main provides the entrypoint for the minder server
|
Package main provides the entrypoint for the minder server |
server/app
Package app provides the entrypoint for the minder migrations
|
Package app provides the entrypoint for the minder migrations |
Package database provides the database migration tooling for the minder application.
|
Package database provides the database migration tooling for the minder application. |
mock
Package mockdb is a generated GoMock package.
|
Package mockdb is a generated GoMock package. |
internal
|
|
artifacts
Package artifacts stores logic relating to the artifact entity type
|
Package artifacts stores logic relating to the artifact entity type |
assets
Package assets contains the static assets.
|
Package assets contains the static assets. |
auth/keycloak
Package keycloak provides an implementation of the Keycloak IdentityProvider.
|
Package keycloak provides an implementation of the Keycloak IdentityProvider. |
auth/keycloak/client
Package client provides primitives to interact with the openapi HTTP API.
|
Package client provides primitives to interact with the openapi HTTP API. |
auth/mock
Package mock_auth is a generated GoMock package.
|
Package mock_auth is a generated GoMock package. |
auth/noop
Package noop provides a no-op implementation of the JwtValidator interface
|
Package noop provides a no-op implementation of the JwtValidator interface |
authz
Package authz provides the authorization utilities for minder
|
Package authz provides the authorization utilities for minder |
authz/mock
Package mock provides a no-op implementation of the minder the authorization client
|
Package mock provides a no-op implementation of the minder the authorization client |
config
Package config contains the configuration for the minder cli and server
|
Package config contains the configuration for the minder cli and server |
config/client
Package client contains the configuration for the minder cli
|
Package client contains the configuration for the minder cli |
config/reminder
Package reminder contains configuration options for the reminder service.
|
Package reminder contains configuration options for the reminder service. |
config/server
Package server contains a centralized structure for all configuration options.
|
Package server contains a centralized structure for all configuration options. |
constants
Package constants contains constants used throughout the application.
|
Package constants contains constants used throughout the application. |
controlplane
Package controlplane contains the gRPC server implementation for the control plane
|
Package controlplane contains the gRPC server implementation for the control plane |
controlplane/metrics
Package metrics defines the primitives available for the controlplane metrics
|
Package metrics defines the primitives available for the controlplane metrics |
crypto
Package crypto provides cryptographic functions
|
Package crypto provides cryptographic functions |
crypto/algorithms
Package algorithms contains implementations of various crypto algorithms for the crypto engine.
|
Package algorithms contains implementations of various crypto algorithms for the crypto engine. |
crypto/keystores
Package keystores contains logic for loading encryption keys from a keystores
|
Package keystores contains logic for loading encryption keys from a keystores |
crypto/keystores/mock
Package mock_keystores is a generated GoMock package.
|
Package mock_keystores is a generated GoMock package. |
crypto/mock
Package mock_crypto is a generated GoMock package.
|
Package mock_crypto is a generated GoMock package. |
db/embedded
Package embedded provides a test-only embedded Postgres database for testing queries.
|
Package embedded provides a test-only embedded Postgres database for testing queries. |
db/fixtures
Package fixtures contains code for creating DB fixtures and is used in various parts of the code.
|
Package fixtures contains code for creating DB fixtures and is used in various parts of the code. |
eea
Package eea provides objects and event handlers for the EEA.
|
Package eea provides objects and event handlers for the EEA. |
engine
Package engine provides an implementation of the profile-engine-related objects, interfaces and functionality.
|
Package engine provides an implementation of the profile-engine-related objects, interfaces and functionality. |
engine/actions
Package actions provide necessary interfaces and implementations for processing actions, such as remediation and alerts.
|
Package actions provide necessary interfaces and implementations for processing actions, such as remediation and alerts. |
engine/actions/alert
Package alert provides necessary interfaces and implementations for processing alerts.
|
Package alert provides necessary interfaces and implementations for processing alerts. |
engine/actions/alert/noop
Package noop provides a fallback alert engine for cases where no alert is set.
|
Package noop provides a fallback alert engine for cases where no alert is set. |
engine/actions/alert/security_advisory
Package security_advisory provides necessary interfaces and implementations for creating alerts of type security advisory.
|
Package security_advisory provides necessary interfaces and implementations for creating alerts of type security advisory. |
engine/actions/remediate
Package remediate provides necessary interfaces and implementations for remediating rules.
|
Package remediate provides necessary interfaces and implementations for remediating rules. |
engine/actions/remediate/gh_branch_protect
Package gh_branch_protect provides the github branch protection remediation engine
|
Package gh_branch_protect provides the github branch protection remediation engine |
engine/actions/remediate/noop
Package noop provides a fallback remediation engine for cases where no remediation is set.
|
Package noop provides a fallback remediation engine for cases where no remediation is set. |
engine/actions/remediate/pull_request
Package pull_request provides the pull request remediation engine
|
Package pull_request provides the pull request remediation engine |
engine/actions/remediate/rest
Package rest provides the REST remediation engine
|
Package rest provides the REST remediation engine |
engine/entities
Package entities contains internal helper functions to deal with, validate and print the Entity protobuf enum.
|
Package entities contains internal helper functions to deal with, validate and print the Entity protobuf enum. |
engine/errors
Package errors provides errors for the evaluator engine
|
Package errors provides errors for the evaluator engine |
engine/eval
Package eval provides necessary interfaces and implementations for evaluating rules.
|
Package eval provides necessary interfaces and implementations for evaluating rules. |
engine/eval/homoglyphs/application
Package application contains the application logic for the homoglyphs rule type
|
Package application contains the application logic for the homoglyphs rule type |
engine/eval/homoglyphs/communication
Package communication contains the communication logic for the homoglyphs rule type
|
Package communication contains the communication logic for the homoglyphs rule type |
engine/eval/homoglyphs/domain
Package domain contains the domain logic for the homoglyphs rule type
|
Package domain contains the domain logic for the homoglyphs rule type |
engine/eval/homoglyphs/domain/resources
Package resources contains resources used by the homoglyphs evaluators.
|
Package resources contains resources used by the homoglyphs evaluators. |
engine/eval/homoglyphs/util
Package util contains utility functions for the homoglyphs evaluation engine
|
Package util contains utility functions for the homoglyphs evaluation engine |
engine/eval/jq
Package jq provides the jq profile evaluator
|
Package jq provides the jq profile evaluator |
engine/eval/pr_actions
Package pr_actions contains shared code to take on PRs
|
Package pr_actions contains shared code to take on PRs |
engine/eval/rego
Package rego provides the rego rule evaluator
|
Package rego provides the rego rule evaluator |
engine/eval/trusty
Package trusty provides an evaluator that uses the trusty API
|
Package trusty provides an evaluator that uses the trusty API |
engine/eval/vulncheck
Package vulncheck provides the vulnerability check evaluator
|
Package vulncheck provides the vulnerability check evaluator |
engine/ingestcache
Package ingestcache a cache that is used to cache the results of ingesting data.
|
Package ingestcache a cache that is used to cache the results of ingesting data. |
engine/ingester
Package ingester provides necessary interfaces and implementations for ingesting data for rules.
|
Package ingester provides necessary interfaces and implementations for ingesting data for rules. |
engine/ingester/artifact
Package artifact provides the artifact ingestion engine
|
Package artifact provides the artifact ingestion engine |
engine/ingester/builtin
Package builtin provides the builtin ingestion engine
|
Package builtin provides the builtin ingestion engine |
engine/ingester/diff
Package diff provides the diff rule data ingest engine
|
Package diff provides the diff rule data ingest engine |
engine/ingester/git
Package git provides the git rule data ingest engine
|
Package git provides the git rule data ingest engine |
engine/ingester/rest
Package rest provides the REST rule data ingest engine
|
Package rest provides the REST rule data ingest engine |
engine/interfaces
Package interfaces provides necessary interfaces and implementations for implementing engine plugins
|
Package interfaces provides necessary interfaces and implementations for implementing engine plugins |
events
Package events provides the eventer object which is responsible for setting up the watermill router and handling the incoming events
|
Package events provides the eventer object which is responsible for setting up the watermill router and handling the incoming events |
events/common
Package common contains common interfaces and types used by the eventer.
|
Package common contains common interfaces and types used by the eventer. |
events/gochannel
Package gochannel provides a gochannel implementation of the eventer
|
Package gochannel provides a gochannel implementation of the eventer |
events/mock
Package mock_events is a generated GoMock package.
|
Package mock_events is a generated GoMock package. |
events/sql
Package sql provides the eventer implementation for the SQL database.
|
Package sql provides the eventer implementation for the SQL database. |
events/stubs
Package stubs contains stubs for the eventer package
|
Package stubs contains stubs for the eventer package |
flags
Package flags containts utilities for managing feature flags.
|
Package flags containts utilities for managing feature flags. |
logger
Package logger provides a general logging tools
|
Package logger provides a general logging tools |
marketplaces
Package marketplaces holds logic for the importing rule types and profiles from bundles into projects.
|
Package marketplaces holds logic for the importing rule types and profiles from bundles into projects. |
marketplaces/bundles/mock
Package mockbundle is a generated GoMock package.
|
Package mockbundle is a generated GoMock package. |
marketplaces/bundles/mock/fixtures
Package fixtures contains code for creating bundle fixtures and is used in various parts of the code.
|
Package fixtures contains code for creating bundle fixtures and is used in various parts of the code. |
marketplaces/namespaces
Package namespaces contains logic relating to the namespacing of Rule Types and Profiles
|
Package namespaces contains logic relating to the namespacing of Rule Types and Profiles |
marketplaces/subscriptions
Package subscriptions contains logic relating to the concept of `subscriptions` - which describe a linkage between a project and a marketplace bundle
|
Package subscriptions contains logic relating to the concept of `subscriptions` - which describe a linkage between a project and a marketplace bundle |
marketplaces/subscriptions/mock
Package mock_subscriptions is a generated GoMock package.
|
Package mock_subscriptions is a generated GoMock package. |
marketplaces/subscriptions/mock/fixtures
Package fixtures contains code for creating subscription fixtures and is used in various parts of the code.
|
Package fixtures contains code for creating subscription fixtures and is used in various parts of the code. |
profiles
Package profiles contains business logic relating to the Profile entity in Minder
|
Package profiles contains business logic relating to the Profile entity in Minder |
profiles/mock
Package mock_profiles is a generated GoMock package.
|
Package mock_profiles is a generated GoMock package. |
profiles/mock/fixtures
Package fixtures contains code for creating ProfileService fixtures and is used in various parts of the code.
|
Package fixtures contains code for creating ProfileService fixtures and is used in various parts of the code. |
projects
Package projects contains utilities for working with projects.
|
Package projects contains utilities for working with projects. |
projects/features
Package features provides the features checks for the projects
|
Package features provides the features checks for the projects |
providers
Package providers contains general utilities for interacting with providers.
|
Package providers contains general utilities for interacting with providers. |
providers/credentials
Package credentials provides the implementations for the credentials
|
Package credentials provides the implementations for the credentials |
providers/dockerhub
Package dockerhub provides a client for interacting with Docker Hub
|
Package dockerhub provides a client for interacting with Docker Hub |
providers/git
Package git provides a client for interacting with Git providers
|
Package git provides a client for interacting with Git providers |
providers/github
Package github provides a client for interacting with the GitHub API
|
Package github provides a client for interacting with the GitHub API |
providers/github/clients
Package clients contains github client logic
|
Package clients contains github client logic |
providers/github/clients/mock
Package mock_clients is a generated GoMock package.
|
Package mock_clients is a generated GoMock package. |
providers/github/common
Package common provides common utilities for the GitHub provider
|
Package common provides common utilities for the GitHub provider |
providers/github/ghcr
Package ghcr provides a client for interacting with the GitHub Container Registry
|
Package ghcr provides a client for interacting with the GitHub Container Registry |
providers/github/installations
Package installations contains logic relating to GitHub provider installations
|
Package installations contains logic relating to GitHub provider installations |
providers/github/manager
Package manager contains the GitHubProviderClassManager
|
Package manager contains the GitHubProviderClassManager |
providers/github/mock
Package mock_github is a generated GoMock package.
|
Package mock_github is a generated GoMock package. |
providers/github/service
Package service contains the GitHubProviderService
|
Package service contains the GitHubProviderService |
providers/github/service/mock
Package mock_service is a generated GoMock package.
|
Package mock_service is a generated GoMock package. |
providers/http
Package http implements an HTTP client for interacting with an HTTP API.
|
Package http implements an HTTP client for interacting with an HTTP API. |
providers/manager
Package manager contains logic for creating Provider instances
|
Package manager contains logic for creating Provider instances |
providers/manager/mock
Package mock_manager is a generated GoMock package.
|
Package mock_manager is a generated GoMock package. |
providers/manager/mock/fixtures
Package fixtures contains code for creating ProfileService fixtures and is used in various parts of the code.
|
Package fixtures contains code for creating ProfileService fixtures and is used in various parts of the code. |
providers/mock
Package mock_providers is a generated GoMock package.
|
Package mock_providers is a generated GoMock package. |
providers/mock/fixtures
Package fixtures contains code for creating ProviderStore fixtures and is used in various parts of the code.
|
Package fixtures contains code for creating ProviderStore fixtures and is used in various parts of the code. |
providers/oci
Package oci provides a client for interacting with OCI registries
|
Package oci provides a client for interacting with OCI registries |
providers/ratecache
Package ratecache provides a cache for the REST clients
|
Package ratecache provides a cache for the REST clients |
providers/ratecache/mock
Package mock_ratecache is a generated GoMock package.
|
Package mock_ratecache is a generated GoMock package. |
providers/telemetry
Package telemetry provides the telemetry interfaces and implementations for providers
|
Package telemetry provides the telemetry interfaces and implementations for providers |
reconcilers
Package reconcilers contains the reconcilers for the various types of entities in minder.
|
Package reconcilers contains the reconcilers for the various types of entities in minder. |
reminder
Package reminder sends reminders to the minder server to process entities in background.
|
Package reminder sends reminders to the minder server to process entities in background. |
reminder/logger
Package logger provides the configuration for the reminder logger
|
Package logger provides the configuration for the reminder logger |
repositories
Package repositories contains logic relating to the repository entity type
|
Package repositories contains logic relating to the repository entity type |
repositories/github
Package github contains logic relating to the management of github repos
|
Package github contains logic relating to the management of github repos |
repositories/github/clients
Package clients defines the shared client interface used by github repo management code
|
Package clients defines the shared client interface used by github repo management code |
repositories/github/clients/mock
Package mock_clients is a generated GoMock package.
|
Package mock_clients is a generated GoMock package. |
repositories/github/clients/mock/fixtures
Package fixtures contains fixtures used within the github repositories package.
|
Package fixtures contains fixtures used within the github repositories package. |
repositories/github/mock
Package mock_github is a generated GoMock package.
|
Package mock_github is a generated GoMock package. |
repositories/github/webhooks
Package webhooks contains logic relating to manipulating GitHub webhooks
|
Package webhooks contains logic relating to manipulating GitHub webhooks |
repositories/github/webhooks/mock
Package mock_webhooks is a generated GoMock package.
|
Package mock_webhooks is a generated GoMock package. |
ruletypes
Package ruletypes contains logic relating to the management of rule types in minder
|
Package ruletypes contains logic relating to the management of rule types in minder |
ruletypes/mock
Package mock_ruletypes is a generated GoMock package.
|
Package mock_ruletypes is a generated GoMock package. |
ruletypes/mock/fixtures
Package fixtures contains code for creating ProfileService fixtures and is used in various parts of the code.
|
Package fixtures contains code for creating ProfileService fixtures and is used in various parts of the code. |
service
Package service contains the business logic for the minder services.
|
Package service contains the business logic for the minder services. |
util
Package util provides helper functions for the minder CLI.
|
Package util provides helper functions for the minder CLI. |
util/cli
Package cli contains utility for the cli
|
Package cli contains utility for the cli |
util/cli/table
Package table contains utilities for rendering tables
|
Package table contains utilities for rendering tables |
util/cli/table/layouts
Package layouts defines the available table layouts
|
Package layouts defines the available table layouts |
util/cli/table/simple
Package simple contains a simple table
|
Package simple contains a simple table |
util/cli/useragent
Package useragent contains utilities for setting up the CLI's user agent
|
Package useragent contains utilities for setting up the CLI's user agent |
util/cursor
Package cursor provides a way to encode and decode cursors for paginated queries
|
Package cursor provides a way to encode and decode cursors for paginated queries |
util/jsonyaml
Package jsonyaml contains utility functions for converting to/from json and yaml
|
Package jsonyaml contains utility functions for converting to/from json and yaml |
util/ptr
Package ptr contains the Ptr function
|
Package ptr contains the Ptr function |
util/rand
Package rand contains utility functions largely for unit testing.
|
Package rand contains utility functions largely for unit testing. |
util/schemaupdate
Package schemaupdate contains utility functions to compare two schemas for updates
|
Package schemaupdate contains utility functions to compare two schemas for updates |
util/testqueue
Package testqueue contains queue utilities for testing
|
Package testqueue contains queue utilities for testing |
verifier
Package verifier provides a client for verifying various types of artifacts against various provenance mechanisms
|
Package verifier provides a client for verifying various types of artifacts against various provenance mechanisms |
verifier/sigstore
Package sigstore provides a client for verifying artifacts using sigstore
|
Package sigstore provides a client for verifying artifacts using sigstore |
verifier/sigstore/container
Package container provides the tools to verify a container artifact using sigstore
|
Package container provides the tools to verify a container artifact using sigstore |
verifier/verifyif
Package verifyif provides the interface for artifact verifiers, including the Result type
|
Package verifyif provides the interface for artifact verifiers, including the Result type |
verifier/verifyif/mock
Package mock_verifyif is a generated GoMock package.
|
Package mock_verifyif is a generated GoMock package. |
pkg
|
|
api/protobuf/go/minder/v1
Package v1 is a reverse proxy.
|
Package v1 is a reverse proxy. |
mindpak
Package mindpak abstracts to bundle profiles and rule types together in an artifact that allows for easy distribution and upgrade.
|
Package mindpak abstracts to bundle profiles and rule types together in an artifact that allows for easy distribution and upgrade. |
mindpak/build
Package build implements tools and function to build mindpaks.
|
Package build implements tools and function to build mindpaks. |
mindpak/reader
Package reader contains logic for accessing the contents of a bundle
|
Package reader contains logic for accessing the contents of a bundle |
mindpak/sources
Package sources contains logic for loading a bundle from a source of bundles
|
Package sources contains logic for loading a bundle from a source of bundles |
providers/v1
Package v1 for providers provides the public interfaces for the providers implemented by minder.
|
Package v1 for providers provides the public interfaces for the providers implemented by minder. |
rule_methods
Package rule_methods provides the methods that are used by the rules
|
Package rule_methods provides the methods that are used by the rules |
Click to show internal directories.
Click to hide internal directories.