Directories
¶
| Path | Synopsis |
|---|---|
|
Package assets contains the static assets.
|
Package assets contains the static assets. |
|
mock
Package auth is a generated GoMock package.
|
Package auth is a generated GoMock package. |
|
noop
Package noop provides a no-op implementation of the JwtValidator interface
|
Package noop provides a no-op implementation of the JwtValidator interface |
|
Package authz provides the authorization utilities for minder
|
Package authz provides the authorization utilities for minder |
|
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 |
|
Package config contains the configuration for the minder cli and server
|
Package config contains the configuration for the minder cli and server |
|
client
Package client contains the configuration for the minder cli
|
Package client contains the configuration for the minder cli |
|
server
Package server contains a centralized structure for all configuration options.
|
Package server contains a centralized structure for all configuration options. |
|
Package constants contains constants used throughout the application.
|
Package constants contains constants used throughout the application. |
|
Package controlplane contains the gRPC server implementation for the control plane
|
Package controlplane contains the gRPC server implementation for the control plane |
|
metrics
Package metrics defines the primitives available for the controlplane metrics
|
Package metrics defines the primitives available for the controlplane metrics |
|
Package crypto provides cryptographic functions
|
Package crypto provides cryptographic functions |
|
mock
Package mockcrypto is a generated GoMock package.
|
Package mockcrypto is a generated GoMock package. |
|
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. |
|
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. |
|
Package eea provides objects and event handlers for the EEA.
|
Package eea provides objects and event handlers for the EEA. |
|
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. |
|
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. |
|
actions/alert
Package alert provides necessary interfaces and implementations for processing alerts.
|
Package alert provides necessary interfaces and implementations for processing alerts. |
|
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. |
|
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. |
|
actions/remediate
Package remediate provides necessary interfaces and implementations for remediating rules.
|
Package remediate provides necessary interfaces and implementations for remediating rules. |
|
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 |
|
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. |
|
actions/remediate/pull_request
Package pull_request provides the pull request remediation engine
|
Package pull_request provides the pull request remediation engine |
|
actions/remediate/rest
Package rest provides the REST remediation engine
|
Package rest provides the REST remediation 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. |
|
errors
Package errors provides errors for the evaluator engine
|
Package errors provides errors for the evaluator engine |
|
eval
Package eval provides necessary interfaces and implementations for evaluating rules.
|
Package eval provides necessary interfaces and implementations for evaluating rules. |
|
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 |
|
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 |
|
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 |
|
eval/homoglyphs/domain/resources
Package resources contains resources used by the homoglyphs evaluators.
|
Package resources contains resources used by the homoglyphs evaluators. |
|
eval/homoglyphs/util
Package util contains utility functions for the homoglyphs evaluation engine
|
Package util contains utility functions for the homoglyphs evaluation engine |
|
eval/jq
Package jq provides the jq profile evaluator
|
Package jq provides the jq profile evaluator |
|
eval/pr_actions
Package pr_actions contains shared code to take on PRs
|
Package pr_actions contains shared code to take on PRs |
|
eval/rego
Package rego provides the rego rule evaluator
|
Package rego provides the rego rule evaluator |
|
eval/trusty
Package trusty provides an evaluator that uses the trusty API
|
Package trusty provides an evaluator that uses the trusty API |
|
eval/vulncheck
Package vulncheck provides the vulnerability check evaluator
|
Package vulncheck provides the vulnerability check evaluator |
|
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. |
|
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. |
|
ingester/artifact
Package artifact provides the artifact ingestion engine
|
Package artifact provides the artifact ingestion engine |
|
ingester/builtin
Package builtin provides the builtin ingestion engine
|
Package builtin provides the builtin ingestion engine |
|
ingester/diff
Package diff provides the diff rule data ingest engine
|
Package diff provides the diff rule data ingest engine |
|
ingester/git
Package git provides the git rule data ingest engine
|
Package git provides the git rule data ingest engine |
|
ingester/rest
Package rest provides the REST rule data ingest engine
|
Package rest provides the REST rule data ingest engine |
|
interfaces
Package interfaces provides necessary interfaces and implementations for implementing engine plugins
|
Package interfaces provides necessary interfaces and implementations for implementing engine plugins |
|
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 |
|
common
Package common contains common interfaces and types used by the eventer.
|
Package common contains common interfaces and types used by the eventer. |
|
gochannel
Package gochannel provides a gochannel implementation of the eventer
|
Package gochannel provides a gochannel implementation of the eventer |
|
mock
Package mockevents is a generated GoMock package.
|
Package mockevents is a generated GoMock package. |
|
sql
Package sql provides the eventer implementation for the SQL database.
|
Package sql provides the eventer implementation for the SQL database. |
|
stubs
Package stubs contains stubs for the eventer package
|
Package stubs contains stubs for the eventer package |
|
Package logger provides a general logging tools
|
Package logger provides a general logging tools |
|
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. |
|
bundles/mock
Package mockbundle is a generated GoMock package.
|
Package mockbundle is a generated GoMock package. |
|
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. |
|
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 |
|
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 |
|
subscriptions/mock
Package mocksubscription is a generated GoMock package.
|
Package mocksubscription is a generated GoMock package. |
|
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. |
|
types
Package types contains domain models for marketplaces
|
Package types contains domain models for marketplaces |
|
Package profiles contains business logic relating to the Profile entity in Minder
|
Package profiles contains business logic relating to the Profile entity in Minder |
|
mock
Package mockprofsvc is a generated GoMock package.
|
Package mockprofsvc is a generated GoMock package. |
|
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. |
|
Package projects contains utilities for working with projects.
|
Package projects contains utilities for working with projects. |
|
features
Package features provides the features checks for the projects
|
Package features provides the features checks for the projects |
|
Package providers contains general utilities for interacting with providers.
|
Package providers contains general utilities for interacting with providers. |
|
credentials
Package credentials provides the implementations for the credentials
|
Package credentials provides the implementations for the credentials |
|
git
Package git provides a client for interacting with Git providers
|
Package git provides a client for interacting with Git providers |
|
github
Package github provides a client for interacting with the GitHub API
|
Package github provides a client for interacting with the GitHub API |
|
github/app
Package app provides the GitHub App specific operations
|
Package app provides the GitHub App specific operations |
|
github/common
Package common provides common utilities for the GitHub provider
|
Package common provides common utilities for the GitHub provider |
|
github/mock
Package mockgh is a generated GoMock package.
|
Package mockgh is a generated GoMock package. |
|
github/oauth
Package oauth provides a client for interacting with the GitHub API using OAuth 2.0 authorization
|
Package oauth provides a client for interacting with the GitHub API using OAuth 2.0 authorization |
|
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. |
|
mock
Package mockprofsvc is a generated GoMock package.
|
Package mockprofsvc is a generated GoMock package. |
|
ratecache
Package ratecache provides a cache for the REST clients
|
Package ratecache provides a cache for the REST clients |
|
telemetry
Package telemetry provides the telemetry interfaces and implementations for providers
|
Package telemetry provides the telemetry interfaces and implementations for providers |
|
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. |
|
repositories
|
|
|
github
Package github contains logic relating to the management of github repos
|
Package github contains logic relating to the management of github repos |
|
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 |
|
github/clients/mock
Package mockghclients is a generated GoMock package.
|
Package mockghclients is a generated GoMock package. |
|
github/fixtures
Package fixtures contains fixtures used within the github repositories package.
|
Package fixtures contains fixtures used within the github repositories package. |
|
github/mock
Package mockghrepo is a generated GoMock package.
|
Package mockghrepo is a generated GoMock package. |
|
github/webhooks
Package webhooks contains logic relating to manipulating GitHub webhooks
|
Package webhooks contains logic relating to manipulating GitHub webhooks |
|
github/webhooks/mock
Package mockghhook is a generated GoMock package.
|
Package mockghhook is a generated GoMock package. |
|
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 |
|
mock
Package mockrulesvc is a generated GoMock package.
|
Package mockrulesvc is a generated GoMock package. |
|
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. |
|
Package service contains the business logic for the minder services.
|
Package service contains the business logic for the minder services. |
|
Package util provides helper functions for the minder CLI.
|
Package util provides helper functions for the minder CLI. |
|
cli
Package cli contains utility for the cli
|
Package cli contains utility for the cli |
|
cli/table
Package table contains utilities for rendering tables
|
Package table contains utilities for rendering tables |
|
cli/table/layouts
Package layouts defines the available table layouts
|
Package layouts defines the available table layouts |
|
cli/table/simple
Package simple contains a simple table
|
Package simple contains a simple table |
|
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 |
|
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 |
|
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 |
|
ptr
Package ptr contains the Ptr function
|
Package ptr contains the Ptr function |
|
rand
Package rand contains utility functions largely for unit testing.
|
Package rand contains utility functions largely for unit testing. |
|
schemaupdate
Package schemaupdate contains utility functions to compare two schemas for updates
|
Package schemaupdate contains utility functions to compare two schemas for updates |
|
testqueue
Package testqueue contains queue utilities for testing
|
Package testqueue contains queue utilities for testing |
|
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 |
|
mock
Package mockverify is a generated GoMock package.
|
Package mockverify is a generated GoMock package. |
|
sigstore
Package sigstore provides a client for verifying artifacts using sigstore
|
Package sigstore provides a client for verifying artifacts using sigstore |
|
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 |
|
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 |
Click to show internal directories.
Click to hide internal directories.