conf

package
v1.104.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_controlplane_config_v1_conf_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Attestations added in v1.95.2

type Attestations struct {

	// When true, skip writing the attestation bundle to the per-run row in
	// the attestation table; the bundle is stored exclusively in the
	// configured CAS backend. The digest is still recorded on the workflow
	// run so the bundle can be retrieved from CAS on read. Has no effect
	// when the workflow run's CAS backend is inline, since inline backends
	// do not store attestation bundles externally.
	SkipDbStorage bool `protobuf:"varint,1,opt,name=skip_db_storage,json=skipDbStorage,proto3" json:"skip_db_storage,omitempty"`
	// contains filtered or unexported fields
}

func (*Attestations) Descriptor deprecated added in v1.95.2

func (*Attestations) Descriptor() ([]byte, []int)

Deprecated: Use Attestations.ProtoReflect.Descriptor instead.

func (*Attestations) GetSkipDbStorage added in v1.95.2

func (x *Attestations) GetSkipDbStorage() bool

func (*Attestations) ProtoMessage added in v1.95.2

func (*Attestations) ProtoMessage()

func (*Attestations) ProtoReflect added in v1.95.2

func (x *Attestations) ProtoReflect() protoreflect.Message

func (*Attestations) Reset added in v1.95.2

func (x *Attestations) Reset()

func (*Attestations) String added in v1.95.2

func (x *Attestations) String() string

type Auth

type Auth struct {

	// Authentication creates a JWT that uses this secret for signing
	GeneratedJwsHmacSecret        string         `` /* 131-byte string literal not displayed */
	AllowList                     *v11.AllowList `protobuf:"bytes,3,opt,name=allow_list,json=allowList,proto3" json:"allow_list,omitempty"`
	CasRobotAccountPrivateKeyPath string         `` /* 156-byte string literal not displayed */
	Oidc                          *Auth_OIDC     `protobuf:"bytes,6,opt,name=oidc,proto3" json:"oidc,omitempty"`
	// Generates an initial user. Use only for development purposes
	DevUser string `protobuf:"bytes,7,opt,name=dev_user,json=devUser,proto3" json:"dev_user,omitempty"`
	// contains filtered or unexported fields
}

func (*Auth) Descriptor deprecated

func (*Auth) Descriptor() ([]byte, []int)

Deprecated: Use Auth.ProtoReflect.Descriptor instead.

func (*Auth) GetAllowList

func (x *Auth) GetAllowList() *v11.AllowList

func (*Auth) GetCasRobotAccountPrivateKeyPath

func (x *Auth) GetCasRobotAccountPrivateKeyPath() string

func (*Auth) GetDevUser added in v0.96.4

func (x *Auth) GetDevUser() string

func (*Auth) GetGeneratedJwsHmacSecret

func (x *Auth) GetGeneratedJwsHmacSecret() string

func (*Auth) GetOidc

func (x *Auth) GetOidc() *Auth_OIDC

func (*Auth) ProtoMessage

func (*Auth) ProtoMessage()

func (*Auth) ProtoReflect

func (x *Auth) ProtoReflect() protoreflect.Message

func (*Auth) Reset

func (x *Auth) Reset()

func (*Auth) String

func (x *Auth) String() string

type Auth_OIDC

type Auth_OIDC struct {
	Domain       string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
	ClientId     string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	ClientSecret string `protobuf:"bytes,3,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
	// Optional login URL that will be used by the CLI to start the OIDC flow
	// If not provided, it will default to [controlplane domain]/login
	LoginUrlOverride string `protobuf:"bytes,5,opt,name=login_url_override,json=loginUrlOverride,proto3" json:"login_url_override,omitempty"`
	// contains filtered or unexported fields
}

func (*Auth_OIDC) Descriptor deprecated

func (*Auth_OIDC) Descriptor() ([]byte, []int)

Deprecated: Use Auth_OIDC.ProtoReflect.Descriptor instead.

func (*Auth_OIDC) GetClientId

func (x *Auth_OIDC) GetClientId() string

func (*Auth_OIDC) GetClientSecret

func (x *Auth_OIDC) GetClientSecret() string

func (*Auth_OIDC) GetDomain

func (x *Auth_OIDC) GetDomain() string

func (*Auth_OIDC) GetLoginUrlOverride added in v0.92.0

func (x *Auth_OIDC) GetLoginUrlOverride() string

func (*Auth_OIDC) ProtoMessage

func (*Auth_OIDC) ProtoMessage()

func (*Auth_OIDC) ProtoReflect

func (x *Auth_OIDC) ProtoReflect() protoreflect.Message

func (*Auth_OIDC) Reset

func (x *Auth_OIDC) Reset()

func (*Auth_OIDC) String

func (x *Auth_OIDC) String() string

type Bootstrap

type Bootstrap struct {
	Server             *Server                  `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"`
	Data               *Data                    `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	Auth               *Auth                    `protobuf:"bytes,3,opt,name=auth,proto3" json:"auth,omitempty"`
	Observability      *Bootstrap_Observability `protobuf:"bytes,4,opt,name=observability,proto3" json:"observability,omitempty"`
	CredentialsService *v1.Credentials          `protobuf:"bytes,5,opt,name=credentials_service,json=credentialsService,proto3" json:"credentials_service,omitempty"`
	// CAS Server endpoint
	CasServer *Bootstrap_CASServer `protobuf:"bytes,6,opt,name=cas_server,json=casServer,proto3" json:"cas_server,omitempty"`
	// Plugins directory
	// NOTE: plugins have the form of chainloop-plugin-<name>
	PluginsDir string `protobuf:"bytes,7,opt,name=plugins_dir,json=pluginsDir,proto3" json:"plugins_dir,omitempty"`
	// The certificate authority used for keyless signing (deprecated, use certificate_authorities instead)
	//
	// Deprecated: Marked as deprecated in controlplane/config/v1/conf.proto.
	CertificateAuthority *CA `protobuf:"bytes,9,opt,name=certificate_authority,json=certificateAuthority,proto3" json:"certificate_authority,omitempty"`
	// Multiple certificate authorities, used for CA rotation
	CertificateAuthorities []*CA `` /* 128-byte string literal not displayed */
	// Multiple timestamp authorities
	TimestampAuthorities []*TSA `protobuf:"bytes,17,rep,name=timestamp_authorities,json=timestampAuthorities,proto3" json:"timestamp_authorities,omitempty"`
	// Configuration for onboarding users in organizations with specific roles
	Onboarding []*v11.OnboardingSpec `protobuf:"bytes,10,rep,name=onboarding,proto3" json:"onboarding,omitempty"`
	// Configuration to enable Prometheus integration for the specified organizations
	PrometheusIntegration []*PrometheusIntegrationSpec `protobuf:"bytes,11,rep,name=prometheus_integration,json=prometheusIntegration,proto3" json:"prometheus_integration,omitempty"`
	// providers for external policy repositories
	PolicyProviders []*PolicyProvider `protobuf:"bytes,12,rep,name=policy_providers,json=policyProviders,proto3" json:"policy_providers,omitempty"`
	// Enable :6060 pprof endpoint
	EnableProfiler bool `protobuf:"varint,13,opt,name=enable_profiler,json=enableProfiler,proto3" json:"enable_profiler,omitempty"`
	// nats server configuration for sending events
	NatsServer *Bootstrap_NatsServer `protobuf:"bytes,14,opt,name=nats_server,json=natsServer,proto3" json:"nats_server,omitempty"`
	// Federated verification allows to delegate the API tokens received during the attestation
	// to a third party service for verification
	// For example, we can forward Gitlab or Github API tokens
	FederatedAuthentication *FederatedAuthentication `` /* 131-byte string literal not displayed */
	// Restrict organization creation to admins
	RestrictOrgCreation bool `protobuf:"varint,18,opt,name=restrict_org_creation,json=restrictOrgCreation,proto3" json:"restrict_org_creation,omitempty"`
	// External URL of the platform UI, if available
	UiDashboardUrl string `protobuf:"bytes,19,opt,name=ui_dashboard_url,json=uiDashboardUrl,proto3" json:"ui_dashboard_url,omitempty"`
	// Optional external operation authorization provider
	OperationAuthorizationProvider *OperationAuthorizationProvider `` /* 154-byte string literal not displayed */
	// Attestation storage and processing options
	Attestations *Attestations `protobuf:"bytes,21,opt,name=attestations,proto3" json:"attestations,omitempty"`
	// contains filtered or unexported fields
}

func (*Bootstrap) Descriptor deprecated

func (*Bootstrap) Descriptor() ([]byte, []int)

Deprecated: Use Bootstrap.ProtoReflect.Descriptor instead.

func (*Bootstrap) GetAttestations added in v1.95.2

func (x *Bootstrap) GetAttestations() *Attestations

func (*Bootstrap) GetAuth

func (x *Bootstrap) GetAuth() *Auth

func (*Bootstrap) GetCasServer

func (x *Bootstrap) GetCasServer() *Bootstrap_CASServer

func (*Bootstrap) GetCertificateAuthorities added in v0.162.0

func (x *Bootstrap) GetCertificateAuthorities() []*CA

func (*Bootstrap) GetCertificateAuthority deprecated

func (x *Bootstrap) GetCertificateAuthority() *CA

Deprecated: Marked as deprecated in controlplane/config/v1/conf.proto.

func (*Bootstrap) GetCredentialsService

func (x *Bootstrap) GetCredentialsService() *v1.Credentials

func (*Bootstrap) GetData

func (x *Bootstrap) GetData() *Data

func (*Bootstrap) GetEnableProfiler added in v0.114.0

func (x *Bootstrap) GetEnableProfiler() bool

func (*Bootstrap) GetFederatedAuthentication added in v0.165.0

func (x *Bootstrap) GetFederatedAuthentication() *FederatedAuthentication

func (*Bootstrap) GetNatsServer added in v0.136.0

func (x *Bootstrap) GetNatsServer() *Bootstrap_NatsServer

func (*Bootstrap) GetObservability

func (x *Bootstrap) GetObservability() *Bootstrap_Observability

func (*Bootstrap) GetOnboarding added in v0.91.8

func (x *Bootstrap) GetOnboarding() []*v11.OnboardingSpec

func (*Bootstrap) GetOperationAuthorizationProvider added in v1.92.0

func (x *Bootstrap) GetOperationAuthorizationProvider() *OperationAuthorizationProvider

func (*Bootstrap) GetPluginsDir

func (x *Bootstrap) GetPluginsDir() string

func (*Bootstrap) GetPolicyProviders added in v0.95.7

func (x *Bootstrap) GetPolicyProviders() []*PolicyProvider

func (*Bootstrap) GetPrometheusIntegration added in v0.94.0

func (x *Bootstrap) GetPrometheusIntegration() []*PrometheusIntegrationSpec

func (*Bootstrap) GetRestrictOrgCreation added in v1.37.0

func (x *Bootstrap) GetRestrictOrgCreation() bool

func (*Bootstrap) GetServer

func (x *Bootstrap) GetServer() *Server

func (*Bootstrap) GetTimestampAuthorities added in v0.170.0

func (x *Bootstrap) GetTimestampAuthorities() []*TSA

func (*Bootstrap) GetUiDashboardUrl added in v1.72.0

func (x *Bootstrap) GetUiDashboardUrl() string

func (*Bootstrap) ProtoMessage

func (*Bootstrap) ProtoMessage()

func (*Bootstrap) ProtoReflect

func (x *Bootstrap) ProtoReflect() protoreflect.Message

func (*Bootstrap) Reset

func (x *Bootstrap) Reset()

func (*Bootstrap) String

func (x *Bootstrap) String() string

type Bootstrap_CASServer

type Bootstrap_CASServer struct {

	// CAS server GRPC endpoint
	Grpc *Server_GRPC `protobuf:"bytes,1,opt,name=grpc,proto3" json:"grpc,omitempty"`
	// insecure is used to connect to the CAS server in development
	Insecure bool `protobuf:"varint,2,opt,name=insecure,proto3" json:"insecure,omitempty"`
	// CAS server external http(s) download endpoint
	// In the form of [scheme]://[host]/path i.e https://cas.chainloop.dev/download
	// https://github.com/chainloop-dev/chainloop/blob/126f47b6c0803eac844b8e3e1a21d582f00e4dc6/app/artifact-cas/internal/service/download.go#L34
	DownloadUrl string `protobuf:"bytes,3,opt,name=download_url,json=downloadUrl,proto3" json:"download_url,omitempty"`
	// Default max size for each entry in the CAS backend
	// the format is a number followed by a unit, like 100MB, 1GB, etc
	// Default is 100MB
	DefaultEntryMaxSize string `protobuf:"bytes,4,opt,name=default_entry_max_size,json=defaultEntryMaxSize,proto3" json:"default_entry_max_size,omitempty"`
	// contains filtered or unexported fields
}

func (*Bootstrap_CASServer) Descriptor deprecated

func (*Bootstrap_CASServer) Descriptor() ([]byte, []int)

Deprecated: Use Bootstrap_CASServer.ProtoReflect.Descriptor instead.

func (*Bootstrap_CASServer) GetDefaultEntryMaxSize added in v0.140.0

func (x *Bootstrap_CASServer) GetDefaultEntryMaxSize() string

func (*Bootstrap_CASServer) GetDownloadUrl

func (x *Bootstrap_CASServer) GetDownloadUrl() string

func (*Bootstrap_CASServer) GetGrpc

func (x *Bootstrap_CASServer) GetGrpc() *Server_GRPC

func (*Bootstrap_CASServer) GetInsecure

func (x *Bootstrap_CASServer) GetInsecure() bool

func (*Bootstrap_CASServer) ProtoMessage

func (*Bootstrap_CASServer) ProtoMessage()

func (*Bootstrap_CASServer) ProtoReflect

func (x *Bootstrap_CASServer) ProtoReflect() protoreflect.Message

func (*Bootstrap_CASServer) Reset

func (x *Bootstrap_CASServer) Reset()

func (*Bootstrap_CASServer) String

func (x *Bootstrap_CASServer) String() string

type Bootstrap_NatsServer added in v0.136.0

type Bootstrap_NatsServer struct {

	// Connection URI
	Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	// Types that are valid to be assigned to Authentication:
	//
	//	*Bootstrap_NatsServer_Token
	Authentication isBootstrap_NatsServer_Authentication `protobuf_oneof:"authentication"`
	// Number of replicas for JetStream KV buckets.
	// Defaults to 1. Maximum is 3. Set to 3 for production clusters.
	Replicas int32 `protobuf:"varint,3,opt,name=replicas,proto3" json:"replicas,omitempty"`
	// contains filtered or unexported fields
}

func (*Bootstrap_NatsServer) Descriptor deprecated added in v0.136.0

func (*Bootstrap_NatsServer) Descriptor() ([]byte, []int)

Deprecated: Use Bootstrap_NatsServer.ProtoReflect.Descriptor instead.

func (*Bootstrap_NatsServer) GetAuthentication added in v1.0.0

func (x *Bootstrap_NatsServer) GetAuthentication() isBootstrap_NatsServer_Authentication

func (*Bootstrap_NatsServer) GetReplicas added in v1.91.0

func (x *Bootstrap_NatsServer) GetReplicas() int32

func (*Bootstrap_NatsServer) GetToken added in v1.0.0

func (x *Bootstrap_NatsServer) GetToken() string

func (*Bootstrap_NatsServer) GetUri added in v0.136.0

func (x *Bootstrap_NatsServer) GetUri() string

func (*Bootstrap_NatsServer) ProtoMessage added in v0.136.0

func (*Bootstrap_NatsServer) ProtoMessage()

func (*Bootstrap_NatsServer) ProtoReflect added in v0.136.0

func (x *Bootstrap_NatsServer) ProtoReflect() protoreflect.Message

func (*Bootstrap_NatsServer) Reset added in v0.136.0

func (x *Bootstrap_NatsServer) Reset()

func (*Bootstrap_NatsServer) String added in v0.136.0

func (x *Bootstrap_NatsServer) String() string

type Bootstrap_NatsServer_Token added in v1.0.0

type Bootstrap_NatsServer_Token struct {
	// Token based authentication
	Token string `protobuf:"bytes,2,opt,name=token,proto3,oneof"`
}

type Bootstrap_Observability

type Bootstrap_Observability struct {
	Sentry  *Bootstrap_Observability_Sentry  `protobuf:"bytes,1,opt,name=sentry,proto3" json:"sentry,omitempty"`
	Tracing *Bootstrap_Observability_Tracing `protobuf:"bytes,2,opt,name=tracing,proto3" json:"tracing,omitempty"`
	// contains filtered or unexported fields
}

func (*Bootstrap_Observability) Descriptor deprecated

func (*Bootstrap_Observability) Descriptor() ([]byte, []int)

Deprecated: Use Bootstrap_Observability.ProtoReflect.Descriptor instead.

func (*Bootstrap_Observability) GetSentry

func (*Bootstrap_Observability) GetTracing added in v1.95.2

func (*Bootstrap_Observability) ProtoMessage

func (*Bootstrap_Observability) ProtoMessage()

func (*Bootstrap_Observability) ProtoReflect

func (x *Bootstrap_Observability) ProtoReflect() protoreflect.Message

func (*Bootstrap_Observability) Reset

func (x *Bootstrap_Observability) Reset()

func (*Bootstrap_Observability) String

func (x *Bootstrap_Observability) String() string

type Bootstrap_Observability_Sentry

type Bootstrap_Observability_Sentry struct {
	Dsn         string `protobuf:"bytes,1,opt,name=dsn,proto3" json:"dsn,omitempty"`
	Environment string `protobuf:"bytes,2,opt,name=environment,proto3" json:"environment,omitempty"`
	// contains filtered or unexported fields
}

func (*Bootstrap_Observability_Sentry) Descriptor deprecated

func (*Bootstrap_Observability_Sentry) Descriptor() ([]byte, []int)

Deprecated: Use Bootstrap_Observability_Sentry.ProtoReflect.Descriptor instead.

func (*Bootstrap_Observability_Sentry) GetDsn

func (*Bootstrap_Observability_Sentry) GetEnvironment

func (x *Bootstrap_Observability_Sentry) GetEnvironment() string

func (*Bootstrap_Observability_Sentry) ProtoMessage

func (*Bootstrap_Observability_Sentry) ProtoMessage()

func (*Bootstrap_Observability_Sentry) ProtoReflect

func (*Bootstrap_Observability_Sentry) Reset

func (x *Bootstrap_Observability_Sentry) Reset()

func (*Bootstrap_Observability_Sentry) String

type Bootstrap_Observability_Tracing added in v1.95.2

type Bootstrap_Observability_Tracing struct {

	// Whether tracing is enabled. Disabled by default for backward compatibility.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// OTLP gRPC exporter endpoint (e.g. "localhost:4317")
	Endpoint string `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	// Whether to use insecure connection (no TLS). Useful for local development.
	Insecure bool `protobuf:"varint,3,opt,name=insecure,proto3" json:"insecure,omitempty"`
	// Sampling ratio between 0.0 and 1.0. Defaults to 1.0 (sample everything) when unset.
	SamplingRatio *float64 `protobuf:"fixed64,4,opt,name=sampling_ratio,json=samplingRatio,proto3,oneof" json:"sampling_ratio,omitempty"`
	// contains filtered or unexported fields
}

OpenTelemetry tracing configuration

func (*Bootstrap_Observability_Tracing) Descriptor deprecated added in v1.95.2

func (*Bootstrap_Observability_Tracing) Descriptor() ([]byte, []int)

Deprecated: Use Bootstrap_Observability_Tracing.ProtoReflect.Descriptor instead.

func (*Bootstrap_Observability_Tracing) GetEnabled added in v1.95.2

func (x *Bootstrap_Observability_Tracing) GetEnabled() bool

func (*Bootstrap_Observability_Tracing) GetEndpoint added in v1.95.2

func (x *Bootstrap_Observability_Tracing) GetEndpoint() string

func (*Bootstrap_Observability_Tracing) GetInsecure added in v1.95.2

func (x *Bootstrap_Observability_Tracing) GetInsecure() bool

func (*Bootstrap_Observability_Tracing) GetSamplingRatio added in v1.95.2

func (x *Bootstrap_Observability_Tracing) GetSamplingRatio() float64

func (*Bootstrap_Observability_Tracing) ProtoMessage added in v1.95.2

func (*Bootstrap_Observability_Tracing) ProtoMessage()

func (*Bootstrap_Observability_Tracing) ProtoReflect added in v1.95.2

func (*Bootstrap_Observability_Tracing) Reset added in v1.95.2

func (*Bootstrap_Observability_Tracing) String added in v1.95.2

type CA

type CA struct {

	// Types that are valid to be assigned to Ca:
	//
	//	*CA_FileCa
	//	*CA_EjbcaCa
	Ca isCA_Ca `protobuf_oneof:"ca"`
	// Marks this CA as the certificate issuer. If set to false, it will be used just for verification,
	// and considered obsolete (after a certificate rotation, for example).
	// Only one CA should have it set to `true` at a time.
	Issuer bool `protobuf:"varint,3,opt,name=issuer,proto3" json:"issuer,omitempty"`
	// contains filtered or unexported fields
}

func (*CA) Descriptor deprecated

func (*CA) Descriptor() ([]byte, []int)

Deprecated: Use CA.ProtoReflect.Descriptor instead.

func (*CA) GetCa

func (x *CA) GetCa() isCA_Ca

func (*CA) GetEjbcaCa added in v0.93.0

func (x *CA) GetEjbcaCa() *CA_EJBCA

func (*CA) GetFileCa

func (x *CA) GetFileCa() *CA_FileCA

func (*CA) GetIssuer added in v0.162.0

func (x *CA) GetIssuer() bool

func (*CA) ProtoMessage

func (*CA) ProtoMessage()

func (*CA) ProtoReflect

func (x *CA) ProtoReflect() protoreflect.Message

func (*CA) Reset

func (x *CA) Reset()

func (*CA) String

func (x *CA) String() string

type CA_EJBCA added in v0.93.0

type CA_EJBCA struct {
	ServerUrl string `protobuf:"bytes,1,opt,name=server_url,json=serverUrl,proto3" json:"server_url,omitempty"`
	// client cert authentication configuration
	KeyPath    string `protobuf:"bytes,2,opt,name=key_path,json=keyPath,proto3" json:"key_path,omitempty"`
	CertPath   string `protobuf:"bytes,3,opt,name=cert_path,json=certPath,proto3" json:"cert_path,omitempty"`
	RootCaPath string `protobuf:"bytes,4,opt,name=root_ca_path,json=rootCaPath,proto3" json:"root_ca_path,omitempty"`
	// EJBCA Profile configuration
	CertificateProfileName   string `` /* 129-byte string literal not displayed */
	EndEntityProfileName     string `protobuf:"bytes,6,opt,name=end_entity_profile_name,json=endEntityProfileName,proto3" json:"end_entity_profile_name,omitempty"`
	CertificateAuthorityName string `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CA_EJBCA) Descriptor deprecated added in v0.93.0

func (*CA_EJBCA) Descriptor() ([]byte, []int)

Deprecated: Use CA_EJBCA.ProtoReflect.Descriptor instead.

func (*CA_EJBCA) GetCertPath added in v0.93.0

func (x *CA_EJBCA) GetCertPath() string

func (*CA_EJBCA) GetCertificateAuthorityName added in v0.93.0

func (x *CA_EJBCA) GetCertificateAuthorityName() string

func (*CA_EJBCA) GetCertificateProfileName added in v0.93.0

func (x *CA_EJBCA) GetCertificateProfileName() string

func (*CA_EJBCA) GetEndEntityProfileName added in v0.93.0

func (x *CA_EJBCA) GetEndEntityProfileName() string

func (*CA_EJBCA) GetKeyPath added in v0.93.0

func (x *CA_EJBCA) GetKeyPath() string

func (*CA_EJBCA) GetRootCaPath added in v0.93.0

func (x *CA_EJBCA) GetRootCaPath() string

func (*CA_EJBCA) GetServerUrl added in v0.93.0

func (x *CA_EJBCA) GetServerUrl() string

func (*CA_EJBCA) ProtoMessage added in v0.93.0

func (*CA_EJBCA) ProtoMessage()

func (*CA_EJBCA) ProtoReflect added in v0.93.0

func (x *CA_EJBCA) ProtoReflect() protoreflect.Message

func (*CA_EJBCA) Reset added in v0.93.0

func (x *CA_EJBCA) Reset()

func (*CA_EJBCA) String added in v0.93.0

func (x *CA_EJBCA) String() string

type CA_EjbcaCa added in v0.93.0

type CA_EjbcaCa struct {
	EjbcaCa *CA_EJBCA `protobuf:"bytes,2,opt,name=ejbca_ca,json=ejbcaCa,proto3,oneof"`
}

type CA_FileCA

type CA_FileCA struct {
	CertPath string `protobuf:"bytes,1,opt,name=cert_path,json=certPath,proto3" json:"cert_path,omitempty"`
	KeyPath  string `protobuf:"bytes,2,opt,name=key_path,json=keyPath,proto3" json:"key_path,omitempty"`
	KeyPass  string `protobuf:"bytes,3,opt,name=key_pass,json=keyPass,proto3" json:"key_pass,omitempty"`
	// contains filtered or unexported fields
}

func (*CA_FileCA) Descriptor deprecated

func (*CA_FileCA) Descriptor() ([]byte, []int)

Deprecated: Use CA_FileCA.ProtoReflect.Descriptor instead.

func (*CA_FileCA) GetCertPath

func (x *CA_FileCA) GetCertPath() string

func (*CA_FileCA) GetKeyPass

func (x *CA_FileCA) GetKeyPass() string

func (*CA_FileCA) GetKeyPath

func (x *CA_FileCA) GetKeyPath() string

func (*CA_FileCA) ProtoMessage

func (*CA_FileCA) ProtoMessage()

func (*CA_FileCA) ProtoReflect

func (x *CA_FileCA) ProtoReflect() protoreflect.Message

func (*CA_FileCA) Reset

func (x *CA_FileCA) Reset()

func (*CA_FileCA) String

func (x *CA_FileCA) String() string

type CA_FileCa

type CA_FileCa struct {
	FileCa *CA_FileCA `protobuf:"bytes,1,opt,name=file_ca,json=fileCa,proto3,oneof"`
}

type Data

type Data struct {
	Database *Data_Database `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
	// contains filtered or unexported fields
}

func (*Data) Descriptor deprecated

func (*Data) Descriptor() ([]byte, []int)

Deprecated: Use Data.ProtoReflect.Descriptor instead.

func (*Data) GetDatabase

func (x *Data) GetDatabase() *Data_Database

func (*Data) ProtoMessage

func (*Data) ProtoMessage()

func (*Data) ProtoReflect

func (x *Data) ProtoReflect() protoreflect.Message

func (*Data) Reset

func (x *Data) Reset()

func (*Data) String

func (x *Data) String() string

type Data_Database

type Data_Database struct {
	Driver string `protobuf:"bytes,1,opt,name=driver,proto3" json:"driver,omitempty"`
	Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
	// default 0
	MinOpenConns int32 `protobuf:"varint,3,opt,name=min_open_conns,json=minOpenConns,proto3" json:"min_open_conns,omitempty"`
	// default max(4, runtime.NumCPU())
	MaxOpenConns int32 `protobuf:"varint,4,opt,name=max_open_conns,json=maxOpenConns,proto3" json:"max_open_conns,omitempty"`
	// default 30 minutes
	MaxConnIdleTime *durationpb.Duration `protobuf:"bytes,5,opt,name=max_conn_idle_time,json=maxConnIdleTime,proto3" json:"max_conn_idle_time,omitempty"`
	// contains filtered or unexported fields
}

func (*Data_Database) Descriptor deprecated

func (*Data_Database) Descriptor() ([]byte, []int)

Deprecated: Use Data_Database.ProtoReflect.Descriptor instead.

func (*Data_Database) GetDriver

func (x *Data_Database) GetDriver() string

func (*Data_Database) GetMaxConnIdleTime added in v0.119.0

func (x *Data_Database) GetMaxConnIdleTime() *durationpb.Duration

func (*Data_Database) GetMaxOpenConns added in v0.119.0

func (x *Data_Database) GetMaxOpenConns() int32

func (*Data_Database) GetMinOpenConns added in v0.129.0

func (x *Data_Database) GetMinOpenConns() int32

func (*Data_Database) GetSource

func (x *Data_Database) GetSource() string

func (*Data_Database) ProtoMessage

func (*Data_Database) ProtoMessage()

func (*Data_Database) ProtoReflect

func (x *Data_Database) ProtoReflect() protoreflect.Message

func (*Data_Database) Reset

func (x *Data_Database) Reset()

func (*Data_Database) String

func (x *Data_Database) String() string

type FederatedAuthentication added in v0.165.0

type FederatedAuthentication struct {

	// URL of the federated verification endpoint
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// Whether to enable the federated verification
	Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

func (*FederatedAuthentication) Descriptor deprecated added in v0.165.0

func (*FederatedAuthentication) Descriptor() ([]byte, []int)

Deprecated: Use FederatedAuthentication.ProtoReflect.Descriptor instead.

func (*FederatedAuthentication) GetEnabled added in v0.165.0

func (x *FederatedAuthentication) GetEnabled() bool

func (*FederatedAuthentication) GetUrl added in v0.165.0

func (x *FederatedAuthentication) GetUrl() string

func (*FederatedAuthentication) ProtoMessage added in v0.165.0

func (*FederatedAuthentication) ProtoMessage()

func (*FederatedAuthentication) ProtoReflect added in v0.165.0

func (x *FederatedAuthentication) ProtoReflect() protoreflect.Message

func (*FederatedAuthentication) Reset added in v0.165.0

func (x *FederatedAuthentication) Reset()

func (*FederatedAuthentication) String added in v0.165.0

func (x *FederatedAuthentication) String() string

type OperationAuthorizationProvider added in v1.92.0

type OperationAuthorizationProvider struct {

	// URL of the authorization endpoint
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// Whether to enable the operation authorization
	Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// authorized operations list
	Operations []string `protobuf:"bytes,3,rep,name=operations,proto3" json:"operations,omitempty"`
	// contains filtered or unexported fields
}

func (*OperationAuthorizationProvider) Descriptor deprecated added in v1.92.0

func (*OperationAuthorizationProvider) Descriptor() ([]byte, []int)

Deprecated: Use OperationAuthorizationProvider.ProtoReflect.Descriptor instead.

func (*OperationAuthorizationProvider) GetEnabled added in v1.92.0

func (x *OperationAuthorizationProvider) GetEnabled() bool

func (*OperationAuthorizationProvider) GetOperations added in v1.98.5

func (x *OperationAuthorizationProvider) GetOperations() []string

func (*OperationAuthorizationProvider) GetUrl added in v1.92.0

func (*OperationAuthorizationProvider) ProtoMessage added in v1.92.0

func (*OperationAuthorizationProvider) ProtoMessage()

func (*OperationAuthorizationProvider) ProtoReflect added in v1.92.0

func (*OperationAuthorizationProvider) Reset added in v1.92.0

func (x *OperationAuthorizationProvider) Reset()

func (*OperationAuthorizationProvider) String added in v1.92.0

type PolicyProvider added in v0.95.7

type PolicyProvider struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// default policies will be used for schema-less references eg `my-policy`. Only one provider can be the default one
	Default bool `protobuf:"varint,2,opt,name=default,proto3" json:"default,omitempty"`
	// Host points to the policy API. Deprecated: use `url` instead if you want to provide both policies and groups.
	//
	// Deprecated: Marked as deprecated in controlplane/config/v1/conf.proto.
	Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"`
	// URL of the provider API, it will be used both for policies and groups. Example: https://my-server/policy-api
	Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` // Note. Validations not applied not to break compatibility with current deployments
	// contains filtered or unexported fields
}

func (*PolicyProvider) Descriptor deprecated added in v0.95.7

func (*PolicyProvider) Descriptor() ([]byte, []int)

Deprecated: Use PolicyProvider.ProtoReflect.Descriptor instead.

func (*PolicyProvider) GetDefault added in v0.95.7

func (x *PolicyProvider) GetDefault() bool

func (*PolicyProvider) GetHost deprecated added in v0.95.7

func (x *PolicyProvider) GetHost() string

Deprecated: Marked as deprecated in controlplane/config/v1/conf.proto.

func (*PolicyProvider) GetName added in v0.95.7

func (x *PolicyProvider) GetName() string

func (*PolicyProvider) GetUrl added in v0.96.14

func (x *PolicyProvider) GetUrl() string

func (*PolicyProvider) ProtoMessage added in v0.95.7

func (*PolicyProvider) ProtoMessage()

func (*PolicyProvider) ProtoReflect added in v0.95.7

func (x *PolicyProvider) ProtoReflect() protoreflect.Message

func (*PolicyProvider) Reset added in v0.95.7

func (x *PolicyProvider) Reset()

func (*PolicyProvider) String added in v0.95.7

func (x *PolicyProvider) String() string

type PrometheusIntegrationSpec added in v0.94.0

type PrometheusIntegrationSpec struct {
	OrgName string `protobuf:"bytes,1,opt,name=org_name,json=orgName,proto3" json:"org_name,omitempty"`
	// contains filtered or unexported fields
}

PrometheusIntegrationSpec is a configuration to enable Prometheus integration for the specified organizations

func (*PrometheusIntegrationSpec) Descriptor deprecated added in v0.94.0

func (*PrometheusIntegrationSpec) Descriptor() ([]byte, []int)

Deprecated: Use PrometheusIntegrationSpec.ProtoReflect.Descriptor instead.

func (*PrometheusIntegrationSpec) GetOrgName added in v0.94.0

func (x *PrometheusIntegrationSpec) GetOrgName() string

func (*PrometheusIntegrationSpec) ProtoMessage added in v0.94.0

func (*PrometheusIntegrationSpec) ProtoMessage()

func (*PrometheusIntegrationSpec) ProtoReflect added in v0.94.0

func (*PrometheusIntegrationSpec) Reset added in v0.94.0

func (x *PrometheusIntegrationSpec) Reset()

func (*PrometheusIntegrationSpec) String added in v0.94.0

func (x *PrometheusIntegrationSpec) String() string

type Server

type Server struct {
	Http *Server_HTTP `protobuf:"bytes,1,opt,name=http,proto3" json:"http,omitempty"`
	Grpc *Server_GRPC `protobuf:"bytes,2,opt,name=grpc,proto3" json:"grpc,omitempty"`
	// HTTPMetrics defines the HTTP server that exposes prometheus metrics
	HttpMetrics *Server_HTTP `protobuf:"bytes,3,opt,name=http_metrics,json=httpMetrics,proto3" json:"http_metrics,omitempty"`
	// contains filtered or unexported fields
}

func (*Server) Descriptor deprecated

func (*Server) Descriptor() ([]byte, []int)

Deprecated: Use Server.ProtoReflect.Descriptor instead.

func (*Server) GetGrpc

func (x *Server) GetGrpc() *Server_GRPC

func (*Server) GetHttp

func (x *Server) GetHttp() *Server_HTTP

func (*Server) GetHttpMetrics

func (x *Server) GetHttpMetrics() *Server_HTTP

func (*Server) ProtoMessage

func (*Server) ProtoMessage()

func (*Server) ProtoReflect

func (x *Server) ProtoReflect() protoreflect.Message

func (*Server) Reset

func (x *Server) Reset()

func (*Server) String

func (x *Server) String() string

type Server_GRPC

type Server_GRPC struct {
	Network   string               `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	Addr      string               `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
	Timeout   *durationpb.Duration `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"`
	TlsConfig *Server_TLS          `protobuf:"bytes,4,opt,name=tls_config,json=tlsConfig,proto3" json:"tls_config,omitempty"`
	// Maximum size in bytes of received gRPC messages.
	// Defaults to 4MB (4194304) if not set. Use this to allow larger attestations.
	MaxRecvMsgSize int32 `protobuf:"varint,5,opt,name=max_recv_msg_size,json=maxRecvMsgSize,proto3" json:"max_recv_msg_size,omitempty"`
	// contains filtered or unexported fields
}

func (*Server_GRPC) Descriptor deprecated

func (*Server_GRPC) Descriptor() ([]byte, []int)

Deprecated: Use Server_GRPC.ProtoReflect.Descriptor instead.

func (*Server_GRPC) GetAddr

func (x *Server_GRPC) GetAddr() string

func (*Server_GRPC) GetMaxRecvMsgSize added in v1.93.4

func (x *Server_GRPC) GetMaxRecvMsgSize() int32

func (*Server_GRPC) GetNetwork

func (x *Server_GRPC) GetNetwork() string

func (*Server_GRPC) GetTimeout

func (x *Server_GRPC) GetTimeout() *durationpb.Duration

func (*Server_GRPC) GetTlsConfig

func (x *Server_GRPC) GetTlsConfig() *Server_TLS

func (*Server_GRPC) ProtoMessage

func (*Server_GRPC) ProtoMessage()

func (*Server_GRPC) ProtoReflect

func (x *Server_GRPC) ProtoReflect() protoreflect.Message

func (*Server_GRPC) Reset

func (x *Server_GRPC) Reset()

func (*Server_GRPC) String

func (x *Server_GRPC) String() string

type Server_HTTP

type Server_HTTP struct {
	Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	Addr    string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
	// In the form of [scheme]://[host] i.e https://instance.chainloop.dev
	// Optional
	ExternalUrl string               `protobuf:"bytes,4,opt,name=external_url,json=externalUrl,proto3" json:"external_url,omitempty"`
	Timeout     *durationpb.Duration `protobuf:"bytes,5,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

func (*Server_HTTP) Descriptor deprecated

func (*Server_HTTP) Descriptor() ([]byte, []int)

Deprecated: Use Server_HTTP.ProtoReflect.Descriptor instead.

func (*Server_HTTP) GetAddr

func (x *Server_HTTP) GetAddr() string

func (*Server_HTTP) GetExternalUrl

func (x *Server_HTTP) GetExternalUrl() string

func (*Server_HTTP) GetNetwork

func (x *Server_HTTP) GetNetwork() string

func (*Server_HTTP) GetTimeout

func (x *Server_HTTP) GetTimeout() *durationpb.Duration

func (*Server_HTTP) ProtoMessage

func (*Server_HTTP) ProtoMessage()

func (*Server_HTTP) ProtoReflect

func (x *Server_HTTP) ProtoReflect() protoreflect.Message

func (*Server_HTTP) Reset

func (x *Server_HTTP) Reset()

func (*Server_HTTP) String

func (x *Server_HTTP) String() string

type Server_TLS

type Server_TLS struct {

	// path to certificate and private key
	Certificate string `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"`
	PrivateKey  string `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
	// contains filtered or unexported fields
}

func (*Server_TLS) Descriptor deprecated

func (*Server_TLS) Descriptor() ([]byte, []int)

Deprecated: Use Server_TLS.ProtoReflect.Descriptor instead.

func (*Server_TLS) GetCertificate

func (x *Server_TLS) GetCertificate() string

func (*Server_TLS) GetPrivateKey

func (x *Server_TLS) GetPrivateKey() string

func (*Server_TLS) ProtoMessage

func (*Server_TLS) ProtoMessage()

func (*Server_TLS) ProtoReflect

func (x *Server_TLS) ProtoReflect() protoreflect.Message

func (*Server_TLS) Reset

func (x *Server_TLS) Reset()

func (*Server_TLS) String

func (x *Server_TLS) String() string

type TSA added in v0.170.0

type TSA struct {

	// TSA service URL for generating timestamps
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// PEM encoded certificate chain (in leaf to root order)
	CertChainPath string `protobuf:"bytes,2,opt,name=cert_chain_path,json=certChainPath,proto3" json:"cert_chain_path,omitempty"`
	// Marks this TSA as the main timestamp issuer. Only one can be enabled at at ime.
	Issuer bool `protobuf:"varint,3,opt,name=issuer,proto3" json:"issuer,omitempty"`
	// contains filtered or unexported fields
}

func (*TSA) Descriptor deprecated added in v0.170.0

func (*TSA) Descriptor() ([]byte, []int)

Deprecated: Use TSA.ProtoReflect.Descriptor instead.

func (*TSA) GetCertChainPath added in v0.170.0

func (x *TSA) GetCertChainPath() string

func (*TSA) GetIssuer added in v0.170.0

func (x *TSA) GetIssuer() bool

func (*TSA) GetUrl added in v0.170.0

func (x *TSA) GetUrl() string

func (*TSA) ProtoMessage added in v0.170.0

func (*TSA) ProtoMessage()

func (*TSA) ProtoReflect added in v0.170.0

func (x *TSA) ProtoReflect() protoreflect.Message

func (*TSA) Reset added in v0.170.0

func (x *TSA) Reset()

func (*TSA) String added in v0.170.0

func (x *TSA) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL