orchestrator

package
v2.0.0-ccit-pre2 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Overview

Package orchestrator is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	Orchestrator_RegisterAssessmentTool_FullMethodName           = "/clouditor.orchestrator.v1.Orchestrator/RegisterAssessmentTool"
	Orchestrator_ListAssessmentTools_FullMethodName              = "/clouditor.orchestrator.v1.Orchestrator/ListAssessmentTools"
	Orchestrator_GetAssessmentTool_FullMethodName                = "/clouditor.orchestrator.v1.Orchestrator/GetAssessmentTool"
	Orchestrator_UpdateAssessmentTool_FullMethodName             = "/clouditor.orchestrator.v1.Orchestrator/UpdateAssessmentTool"
	Orchestrator_DeregisterAssessmentTool_FullMethodName         = "/clouditor.orchestrator.v1.Orchestrator/DeregisterAssessmentTool"
	Orchestrator_StoreAssessmentResult_FullMethodName            = "/clouditor.orchestrator.v1.Orchestrator/StoreAssessmentResult"
	Orchestrator_StoreAssessmentResults_FullMethodName           = "/clouditor.orchestrator.v1.Orchestrator/StoreAssessmentResults"
	Orchestrator_GetAssessmentResult_FullMethodName              = "/clouditor.orchestrator.v1.Orchestrator/GetAssessmentResult"
	Orchestrator_ListAssessmentResults_FullMethodName            = "/clouditor.orchestrator.v1.Orchestrator/ListAssessmentResults"
	Orchestrator_CreateMetric_FullMethodName                     = "/clouditor.orchestrator.v1.Orchestrator/CreateMetric"
	Orchestrator_UpdateMetric_FullMethodName                     = "/clouditor.orchestrator.v1.Orchestrator/UpdateMetric"
	Orchestrator_GetMetric_FullMethodName                        = "/clouditor.orchestrator.v1.Orchestrator/GetMetric"
	Orchestrator_ListMetrics_FullMethodName                      = "/clouditor.orchestrator.v1.Orchestrator/ListMetrics"
	Orchestrator_RemoveMetric_FullMethodName                     = "/clouditor.orchestrator.v1.Orchestrator/RemoveMetric"
	Orchestrator_RegisterCertificationTarget_FullMethodName      = "/clouditor.orchestrator.v1.Orchestrator/RegisterCertificationTarget"
	Orchestrator_UpdateCertificationTarget_FullMethodName        = "/clouditor.orchestrator.v1.Orchestrator/UpdateCertificationTarget"
	Orchestrator_GetCertificationTarget_FullMethodName           = "/clouditor.orchestrator.v1.Orchestrator/GetCertificationTarget"
	Orchestrator_ListCertificationTargets_FullMethodName         = "/clouditor.orchestrator.v1.Orchestrator/ListCertificationTargets"
	Orchestrator_RemoveCertificationTarget_FullMethodName        = "/clouditor.orchestrator.v1.Orchestrator/RemoveCertificationTarget"
	Orchestrator_GetCertificationTargetStatistics_FullMethodName = "/clouditor.orchestrator.v1.Orchestrator/GetCertificationTargetStatistics"
	Orchestrator_UpdateMetricConfiguration_FullMethodName        = "/clouditor.orchestrator.v1.Orchestrator/UpdateMetricConfiguration"
	Orchestrator_GetMetricConfiguration_FullMethodName           = "/clouditor.orchestrator.v1.Orchestrator/GetMetricConfiguration"
	Orchestrator_ListMetricConfigurations_FullMethodName         = "/clouditor.orchestrator.v1.Orchestrator/ListMetricConfigurations"
	Orchestrator_UpdateMetricImplementation_FullMethodName       = "/clouditor.orchestrator.v1.Orchestrator/UpdateMetricImplementation"
	Orchestrator_GetMetricImplementation_FullMethodName          = "/clouditor.orchestrator.v1.Orchestrator/GetMetricImplementation"
	Orchestrator_SubscribeMetricChangeEvents_FullMethodName      = "/clouditor.orchestrator.v1.Orchestrator/SubscribeMetricChangeEvents"
	Orchestrator_CreateCertificate_FullMethodName                = "/clouditor.orchestrator.v1.Orchestrator/CreateCertificate"
	Orchestrator_GetCertificate_FullMethodName                   = "/clouditor.orchestrator.v1.Orchestrator/GetCertificate"
	Orchestrator_ListCertificates_FullMethodName                 = "/clouditor.orchestrator.v1.Orchestrator/ListCertificates"
	Orchestrator_ListPublicCertificates_FullMethodName           = "/clouditor.orchestrator.v1.Orchestrator/ListPublicCertificates"
	Orchestrator_UpdateCertificate_FullMethodName                = "/clouditor.orchestrator.v1.Orchestrator/UpdateCertificate"
	Orchestrator_RemoveCertificate_FullMethodName                = "/clouditor.orchestrator.v1.Orchestrator/RemoveCertificate"
	Orchestrator_CreateCatalog_FullMethodName                    = "/clouditor.orchestrator.v1.Orchestrator/CreateCatalog"
	Orchestrator_ListCatalogs_FullMethodName                     = "/clouditor.orchestrator.v1.Orchestrator/ListCatalogs"
	Orchestrator_GetCatalog_FullMethodName                       = "/clouditor.orchestrator.v1.Orchestrator/GetCatalog"
	Orchestrator_RemoveCatalog_FullMethodName                    = "/clouditor.orchestrator.v1.Orchestrator/RemoveCatalog"
	Orchestrator_UpdateCatalog_FullMethodName                    = "/clouditor.orchestrator.v1.Orchestrator/UpdateCatalog"
	Orchestrator_GetCategory_FullMethodName                      = "/clouditor.orchestrator.v1.Orchestrator/GetCategory"
	Orchestrator_ListControls_FullMethodName                     = "/clouditor.orchestrator.v1.Orchestrator/ListControls"
	Orchestrator_GetControl_FullMethodName                       = "/clouditor.orchestrator.v1.Orchestrator/GetControl"
	Orchestrator_CreateAuditScope_FullMethodName                 = "/clouditor.orchestrator.v1.Orchestrator/CreateAuditScope"
	Orchestrator_GetAuditScope_FullMethodName                    = "/clouditor.orchestrator.v1.Orchestrator/GetAuditScope"
	Orchestrator_ListAuditScopes_FullMethodName                  = "/clouditor.orchestrator.v1.Orchestrator/ListAuditScopes"
	Orchestrator_UpdateAuditScope_FullMethodName                 = "/clouditor.orchestrator.v1.Orchestrator/UpdateAuditScope"
	Orchestrator_RemoveAuditScope_FullMethodName                 = "/clouditor.orchestrator.v1.Orchestrator/RemoveAuditScope"
	Orchestrator_GetRuntimeInfo_FullMethodName                   = "/clouditor.orchestrator.v1.Orchestrator/GetRuntimeInfo"
)

Variables

View Source
var (
	MetricChangeEvent_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "TYPE_CONFIG_CHANGED",
		2: "TYPE_IMPLEMENTATION_CHANGED",
		3: "TYPE_METADATA_CHANGED",
	}
	MetricChangeEvent_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED":            0,
		"TYPE_CONFIG_CHANGED":         1,
		"TYPE_IMPLEMENTATION_CHANGED": 2,
		"TYPE_METADATA_CHANGED":       3,
	}
)

Enum value maps for MetricChangeEvent_Type.

View Source
var (
	CertificationTarget_TargetType_name = map[int32]string{
		0: "TARGET_TYPE_UNSPECIFIED",
		1: "TARGET_TYPE_CLOUD",
		2: "TARGET_TYPE_PRODUCT",
		3: "TARGET_TYPE_ORGANIZATION",
	}
	CertificationTarget_TargetType_value = map[string]int32{
		"TARGET_TYPE_UNSPECIFIED":  0,
		"TARGET_TYPE_CLOUD":        1,
		"TARGET_TYPE_PRODUCT":      2,
		"TARGET_TYPE_ORGANIZATION": 3,
	}
)

Enum value maps for CertificationTarget_TargetType.

View Source
var (
	AuditScopeChangeEvent_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "TYPE_AUDIT_SCOPE_CREATED",
		2: "TYPE_AUDIT_SCOPE_UPDATED",
		3: "TYPE_AUDIT_SCOPE_REMOVED",
	}
	AuditScopeChangeEvent_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED":         0,
		"TYPE_AUDIT_SCOPE_CREATED": 1,
		"TYPE_AUDIT_SCOPE_UPDATED": 2,
		"TYPE_AUDIT_SCOPE_REMOVED": 3,
	}
)

Enum value maps for AuditScopeChangeEvent_Type.

View Source
var File_api_orchestrator_orchestrator_proto protoreflect.FileDescriptor
View Source
var Orchestrator_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "clouditor.orchestrator.v1.Orchestrator",
	HandlerType: (*OrchestratorServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "RegisterAssessmentTool",
			Handler:    _Orchestrator_RegisterAssessmentTool_Handler,
		},
		{
			MethodName: "ListAssessmentTools",
			Handler:    _Orchestrator_ListAssessmentTools_Handler,
		},
		{
			MethodName: "GetAssessmentTool",
			Handler:    _Orchestrator_GetAssessmentTool_Handler,
		},
		{
			MethodName: "UpdateAssessmentTool",
			Handler:    _Orchestrator_UpdateAssessmentTool_Handler,
		},
		{
			MethodName: "DeregisterAssessmentTool",
			Handler:    _Orchestrator_DeregisterAssessmentTool_Handler,
		},
		{
			MethodName: "StoreAssessmentResult",
			Handler:    _Orchestrator_StoreAssessmentResult_Handler,
		},
		{
			MethodName: "GetAssessmentResult",
			Handler:    _Orchestrator_GetAssessmentResult_Handler,
		},
		{
			MethodName: "ListAssessmentResults",
			Handler:    _Orchestrator_ListAssessmentResults_Handler,
		},
		{
			MethodName: "CreateMetric",
			Handler:    _Orchestrator_CreateMetric_Handler,
		},
		{
			MethodName: "UpdateMetric",
			Handler:    _Orchestrator_UpdateMetric_Handler,
		},
		{
			MethodName: "GetMetric",
			Handler:    _Orchestrator_GetMetric_Handler,
		},
		{
			MethodName: "ListMetrics",
			Handler:    _Orchestrator_ListMetrics_Handler,
		},
		{
			MethodName: "RemoveMetric",
			Handler:    _Orchestrator_RemoveMetric_Handler,
		},
		{
			MethodName: "RegisterCertificationTarget",
			Handler:    _Orchestrator_RegisterCertificationTarget_Handler,
		},
		{
			MethodName: "UpdateCertificationTarget",
			Handler:    _Orchestrator_UpdateCertificationTarget_Handler,
		},
		{
			MethodName: "GetCertificationTarget",
			Handler:    _Orchestrator_GetCertificationTarget_Handler,
		},
		{
			MethodName: "ListCertificationTargets",
			Handler:    _Orchestrator_ListCertificationTargets_Handler,
		},
		{
			MethodName: "RemoveCertificationTarget",
			Handler:    _Orchestrator_RemoveCertificationTarget_Handler,
		},
		{
			MethodName: "GetCertificationTargetStatistics",
			Handler:    _Orchestrator_GetCertificationTargetStatistics_Handler,
		},
		{
			MethodName: "UpdateMetricConfiguration",
			Handler:    _Orchestrator_UpdateMetricConfiguration_Handler,
		},
		{
			MethodName: "GetMetricConfiguration",
			Handler:    _Orchestrator_GetMetricConfiguration_Handler,
		},
		{
			MethodName: "ListMetricConfigurations",
			Handler:    _Orchestrator_ListMetricConfigurations_Handler,
		},
		{
			MethodName: "UpdateMetricImplementation",
			Handler:    _Orchestrator_UpdateMetricImplementation_Handler,
		},
		{
			MethodName: "GetMetricImplementation",
			Handler:    _Orchestrator_GetMetricImplementation_Handler,
		},
		{
			MethodName: "CreateCertificate",
			Handler:    _Orchestrator_CreateCertificate_Handler,
		},
		{
			MethodName: "GetCertificate",
			Handler:    _Orchestrator_GetCertificate_Handler,
		},
		{
			MethodName: "ListCertificates",
			Handler:    _Orchestrator_ListCertificates_Handler,
		},
		{
			MethodName: "ListPublicCertificates",
			Handler:    _Orchestrator_ListPublicCertificates_Handler,
		},
		{
			MethodName: "UpdateCertificate",
			Handler:    _Orchestrator_UpdateCertificate_Handler,
		},
		{
			MethodName: "RemoveCertificate",
			Handler:    _Orchestrator_RemoveCertificate_Handler,
		},
		{
			MethodName: "CreateCatalog",
			Handler:    _Orchestrator_CreateCatalog_Handler,
		},
		{
			MethodName: "ListCatalogs",
			Handler:    _Orchestrator_ListCatalogs_Handler,
		},
		{
			MethodName: "GetCatalog",
			Handler:    _Orchestrator_GetCatalog_Handler,
		},
		{
			MethodName: "RemoveCatalog",
			Handler:    _Orchestrator_RemoveCatalog_Handler,
		},
		{
			MethodName: "UpdateCatalog",
			Handler:    _Orchestrator_UpdateCatalog_Handler,
		},
		{
			MethodName: "GetCategory",
			Handler:    _Orchestrator_GetCategory_Handler,
		},
		{
			MethodName: "ListControls",
			Handler:    _Orchestrator_ListControls_Handler,
		},
		{
			MethodName: "GetControl",
			Handler:    _Orchestrator_GetControl_Handler,
		},
		{
			MethodName: "CreateAuditScope",
			Handler:    _Orchestrator_CreateAuditScope_Handler,
		},
		{
			MethodName: "GetAuditScope",
			Handler:    _Orchestrator_GetAuditScope_Handler,
		},
		{
			MethodName: "ListAuditScopes",
			Handler:    _Orchestrator_ListAuditScopes_Handler,
		},
		{
			MethodName: "UpdateAuditScope",
			Handler:    _Orchestrator_UpdateAuditScope_Handler,
		},
		{
			MethodName: "RemoveAuditScope",
			Handler:    _Orchestrator_RemoveAuditScope_Handler,
		},
		{
			MethodName: "GetRuntimeInfo",
			Handler:    _Orchestrator_GetRuntimeInfo_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "StoreAssessmentResults",
			Handler:       _Orchestrator_StoreAssessmentResults_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
		{
			StreamName:    "SubscribeMetricChangeEvents",
			Handler:       _Orchestrator_SubscribeMetricChangeEvents_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "api/orchestrator/orchestrator.proto",
}

Orchestrator_ServiceDesc is the grpc.ServiceDesc for Orchestrator service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterOrchestratorHandler

func RegisterOrchestratorHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterOrchestratorHandler registers the http handlers for service Orchestrator to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterOrchestratorHandlerClient

func RegisterOrchestratorHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OrchestratorClient) error

RegisterOrchestratorHandlerClient registers the http handlers for service Orchestrator to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "OrchestratorClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "OrchestratorClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "OrchestratorClient" to call the correct interceptors. This client ignores the HTTP middlewares.

func RegisterOrchestratorHandlerFromEndpoint

func RegisterOrchestratorHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterOrchestratorHandlerFromEndpoint is same as RegisterOrchestratorHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterOrchestratorHandlerServer

func RegisterOrchestratorHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OrchestratorServer) error

RegisterOrchestratorHandlerServer registers the http handlers for service Orchestrator to "mux". UnaryRPC :call OrchestratorServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterOrchestratorHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterOrchestratorServer

func RegisterOrchestratorServer(s grpc.ServiceRegistrar, srv OrchestratorServer)

Types

type AssessmentTool

type AssessmentTool struct {
	Id          string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// a list of metrics that this tool can assess, referred by their ids
	AvailableMetrics []string `protobuf:"bytes,4,rep,name=available_metrics,json=availableMetrics,proto3" json:"available_metrics,omitempty"`
	// contains filtered or unexported fields
}

Represents an external tool or service that offers assessments according to certain metrics.

func (*AssessmentTool) Descriptor deprecated

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

Deprecated: Use AssessmentTool.ProtoReflect.Descriptor instead.

func (*AssessmentTool) GetAvailableMetrics

func (x *AssessmentTool) GetAvailableMetrics() []string

func (*AssessmentTool) GetDescription

func (x *AssessmentTool) GetDescription() string

func (*AssessmentTool) GetId

func (x *AssessmentTool) GetId() string

func (*AssessmentTool) GetName

func (x *AssessmentTool) GetName() string

func (*AssessmentTool) ProtoMessage

func (*AssessmentTool) ProtoMessage()

func (*AssessmentTool) ProtoReflect

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

func (*AssessmentTool) Reset

func (x *AssessmentTool) Reset()

func (*AssessmentTool) String

func (x *AssessmentTool) String() string

type AuditScope

type AuditScope struct {
	CertificationTargetId string `` /* 144-byte string literal not displayed */
	CatalogId             string `protobuf:"bytes,2,opt,name=catalog_id,json=catalogId,proto3" json:"catalog_id,omitempty" gorm:"primaryKey"`
	// an assurance level is not offered by every catalog, therefore it is
	// optional
	AssuranceLevel *string `protobuf:"bytes,3,opt,name=assurance_level,json=assuranceLevel,proto3,oneof" json:"assurance_level,omitempty"`
	// contains filtered or unexported fields
}

A Audit Scope binds a certification target to a catalog, so the certification target is evaluated regarding this catalog's controls

func (*AuditScope) Descriptor deprecated

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

Deprecated: Use AuditScope.ProtoReflect.Descriptor instead.

func (*AuditScope) GetAssuranceLevel

func (x *AuditScope) GetAssuranceLevel() string

func (*AuditScope) GetCatalogId

func (x *AuditScope) GetCatalogId() string

func (*AuditScope) GetCertificationTargetId

func (x *AuditScope) GetCertificationTargetId() string

func (*AuditScope) ProtoMessage

func (*AuditScope) ProtoMessage()

func (*AuditScope) ProtoReflect

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

func (*AuditScope) Reset

func (x *AuditScope) Reset()

func (*AuditScope) String

func (x *AuditScope) String() string

type AuditScopeChangeEvent

type AuditScopeChangeEvent struct {
	Type AuditScopeChangeEvent_Type `protobuf:"varint,1,opt,name=type,proto3,enum=clouditor.orchestrator.v1.AuditScopeChangeEvent_Type" json:"type,omitempty"`
	// Optional. If the type is a AUDIT_SCOPE_* the audit_scope
	// field must be set
	AuditScope *AuditScope `protobuf:"bytes,2,opt,name=audit_scope,json=auditScope,proto3,oneof" json:"audit_scope,omitempty"`
	// contains filtered or unexported fields
}

AuditScopeChangeEvent represents a change of either a Audit Scope or Control Monitoring Status and the AuditScope hook function can be informed about the reason of its call.

func (*AuditScopeChangeEvent) Descriptor deprecated

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

Deprecated: Use AuditScopeChangeEvent.ProtoReflect.Descriptor instead.

func (*AuditScopeChangeEvent) GetAuditScope

func (x *AuditScopeChangeEvent) GetAuditScope() *AuditScope

func (*AuditScopeChangeEvent) GetType

func (*AuditScopeChangeEvent) ProtoMessage

func (*AuditScopeChangeEvent) ProtoMessage()

func (*AuditScopeChangeEvent) ProtoReflect

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

func (*AuditScopeChangeEvent) Reset

func (x *AuditScopeChangeEvent) Reset()

func (*AuditScopeChangeEvent) String

func (x *AuditScopeChangeEvent) String() string

type AuditScopeChangeEvent_Type

type AuditScopeChangeEvent_Type int32

Type represents the type of the change event. Type can be a change event regarding the Audit Scope or the Control Monitoring Status.

const (
	AuditScopeChangeEvent_TYPE_UNSPECIFIED         AuditScopeChangeEvent_Type = 0
	AuditScopeChangeEvent_TYPE_AUDIT_SCOPE_CREATED AuditScopeChangeEvent_Type = 1
	AuditScopeChangeEvent_TYPE_AUDIT_SCOPE_UPDATED AuditScopeChangeEvent_Type = 2
	AuditScopeChangeEvent_TYPE_AUDIT_SCOPE_REMOVED AuditScopeChangeEvent_Type = 3
)

func (AuditScopeChangeEvent_Type) Descriptor

func (AuditScopeChangeEvent_Type) Enum

func (AuditScopeChangeEvent_Type) EnumDescriptor deprecated

func (AuditScopeChangeEvent_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use AuditScopeChangeEvent_Type.Descriptor instead.

func (AuditScopeChangeEvent_Type) Number

func (AuditScopeChangeEvent_Type) String

func (AuditScopeChangeEvent_Type) Type

type AuditScopeHookFunc

type AuditScopeHookFunc func(ctx context.Context, event *AuditScopeChangeEvent, err error)

type Catalog

type Catalog struct {
	Id          string      `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string      `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description string      `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Categories  []*Category `protobuf:"bytes,4,rep,name=categories,proto3" json:"categories,omitempty" gorm:"constraint:OnDelete:CASCADE"`
	// Certain security catalogs do not allow to select the scope of the controls,
	// but all controls are automatically "in scope", however they can be set to a
	// DELEGATED status.
	AllInScope bool `protobuf:"varint,5,opt,name=all_in_scope,json=allInScope,proto3" json:"all_in_scope,omitempty"`
	// A list of the assurance levels, e.g., basic, substantial and high for the
	// EUCS catalog.
	AssuranceLevels []string `` /* 129-byte string literal not displayed */
	// Catalogs short name, e.g. EUCS
	ShortName string `protobuf:"bytes,9,opt,name=short_name,json=shortName,proto3" json:"short_name,omitempty"`
	// metadata of the catalog
	Metadata *Catalog_Metadata `protobuf:"bytes,6,opt,name=metadata,proto3,oneof" json:"metadata,omitempty" gorm:"serializer:json"`
	// contains filtered or unexported fields
}

func (*Catalog) Descriptor deprecated

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

Deprecated: Use Catalog.ProtoReflect.Descriptor instead.

func (*Catalog) GetAllInScope

func (x *Catalog) GetAllInScope() bool

func (*Catalog) GetAssuranceLevels

func (x *Catalog) GetAssuranceLevels() []string

func (*Catalog) GetCategories

func (x *Catalog) GetCategories() []*Category

func (*Catalog) GetDescription

func (x *Catalog) GetDescription() string

func (*Catalog) GetId

func (x *Catalog) GetId() string

func (*Catalog) GetMetadata

func (x *Catalog) GetMetadata() *Catalog_Metadata

func (*Catalog) GetName

func (x *Catalog) GetName() string

func (*Catalog) GetShortName

func (x *Catalog) GetShortName() string

func (*Catalog) ProtoMessage

func (*Catalog) ProtoMessage()

func (*Catalog) ProtoReflect

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

func (*Catalog) Reset

func (x *Catalog) Reset()

func (*Catalog) String

func (x *Catalog) String() string

type Catalog_Metadata

type Catalog_Metadata struct {

	// a color for the certification target used by the UI
	Color *string `protobuf:"bytes,3,opt,name=color,proto3,oneof" json:"color,omitempty"`
	// contains filtered or unexported fields
}

func (*Catalog_Metadata) Descriptor deprecated

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

Deprecated: Use Catalog_Metadata.ProtoReflect.Descriptor instead.

func (*Catalog_Metadata) GetColor

func (x *Catalog_Metadata) GetColor() string

func (*Catalog_Metadata) ProtoMessage

func (*Catalog_Metadata) ProtoMessage()

func (*Catalog_Metadata) ProtoReflect

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

func (*Catalog_Metadata) Reset

func (x *Catalog_Metadata) Reset()

func (*Catalog_Metadata) String

func (x *Catalog_Metadata) String() string

type Category

type Category struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" gorm:"primaryKey"`
	// Reference to the catalog this category belongs to.
	CatalogId   string     `protobuf:"bytes,2,opt,name=catalog_id,json=catalogId,proto3" json:"catalog_id,omitempty" gorm:"primaryKey"`
	Description string     `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Controls    []*Control `` /* 176-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Category) Descriptor deprecated

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

Deprecated: Use Category.ProtoReflect.Descriptor instead.

func (*Category) GetCatalogId

func (x *Category) GetCatalogId() string

func (*Category) GetControls

func (x *Category) GetControls() []*Control

func (*Category) GetDescription

func (x *Category) GetDescription() string

func (*Category) GetName

func (x *Category) GetName() string

func (*Category) ProtoMessage

func (*Category) ProtoMessage()

func (*Category) ProtoReflect

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

func (*Category) Reset

func (x *Category) Reset()

func (*Category) String

func (x *Category) String() string

type Certificate

type Certificate struct {
	Id                    string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name                  string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	CertificationTargetId string `` /* 126-byte string literal not displayed */
	IssueDate             string `protobuf:"bytes,4,opt,name=issue_date,json=issueDate,proto3" json:"issue_date,omitempty"`
	ExpirationDate        string `protobuf:"bytes,5,opt,name=expiration_date,json=expirationDate,proto3" json:"expiration_date,omitempty"`
	Standard              string `protobuf:"bytes,6,opt,name=standard,proto3" json:"standard,omitempty"`
	AssuranceLevel        string `protobuf:"bytes,7,opt,name=assurance_level,json=assuranceLevel,proto3" json:"assurance_level,omitempty"`
	Cab                   string `protobuf:"bytes,8,opt,name=cab,proto3" json:"cab,omitempty"`
	Description           string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"`
	// A list of states at specific times
	States []*State `protobuf:"bytes,10,rep,name=states,proto3" json:"states,omitempty" gorm:"constraint:OnDelete:CASCADE"`
	// contains filtered or unexported fields
}

An ISO17021-based certificate

func (*Certificate) Descriptor deprecated

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

Deprecated: Use Certificate.ProtoReflect.Descriptor instead.

func (*Certificate) GetAssuranceLevel

func (x *Certificate) GetAssuranceLevel() string

func (*Certificate) GetCab

func (x *Certificate) GetCab() string

func (*Certificate) GetCertificationTargetId

func (x *Certificate) GetCertificationTargetId() string

func (*Certificate) GetDescription

func (x *Certificate) GetDescription() string

func (*Certificate) GetExpirationDate

func (x *Certificate) GetExpirationDate() string

func (*Certificate) GetId

func (x *Certificate) GetId() string

func (*Certificate) GetIssueDate

func (x *Certificate) GetIssueDate() string

func (*Certificate) GetName

func (x *Certificate) GetName() string

func (*Certificate) GetStandard

func (x *Certificate) GetStandard() string

func (*Certificate) GetStates

func (x *Certificate) GetStates() []*State

func (*Certificate) ProtoMessage

func (*Certificate) ProtoMessage()

func (*Certificate) ProtoReflect

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

func (*Certificate) Reset

func (x *Certificate) Reset()

func (*Certificate) String

func (x *Certificate) String() string

type CertificationTarget

type CertificationTarget struct {
	Id                string               `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name              string               `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description       string               `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	CatalogsInScope   []*Catalog           `` /* 138-byte string literal not displayed */
	ConfiguredMetrics []*assessment.Metric `` /* 151-byte string literal not displayed */
	// creation time of the certification_target
	CreatedAt *timestamppb.Timestamp `` /* 138-byte string literal not displayed */
	// last update time of the certification_target
	UpdatedAt *timestamppb.Timestamp `` /* 138-byte string literal not displayed */
	// additional metadata of the certification target, mostly used for the UI
	Metadata *CertificationTarget_Metadata `protobuf:"bytes,10,opt,name=metadata,proto3,oneof" json:"metadata,omitempty" gorm:"serializer:json"`
	// type of the target to be evaluated: cloud, product or organization
	TargetType CertificationTarget_TargetType `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CertificationTarget) Descriptor deprecated

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

Deprecated: Use CertificationTarget.ProtoReflect.Descriptor instead.

func (*CertificationTarget) GetCatalogsInScope

func (x *CertificationTarget) GetCatalogsInScope() []*Catalog

func (*CertificationTarget) GetConfiguredMetrics

func (x *CertificationTarget) GetConfiguredMetrics() []*assessment.Metric

func (*CertificationTarget) GetCreatedAt

func (x *CertificationTarget) GetCreatedAt() *timestamppb.Timestamp

func (*CertificationTarget) GetDescription

func (x *CertificationTarget) GetDescription() string

func (*CertificationTarget) GetId

func (x *CertificationTarget) GetId() string

func (*CertificationTarget) GetMetadata

func (*CertificationTarget) GetName

func (x *CertificationTarget) GetName() string

func (*CertificationTarget) GetTargetType

func (*CertificationTarget) GetUpdatedAt

func (x *CertificationTarget) GetUpdatedAt() *timestamppb.Timestamp

func (*CertificationTarget) ProtoMessage

func (*CertificationTarget) ProtoMessage()

func (*CertificationTarget) ProtoReflect

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

func (*CertificationTarget) Reset

func (x *CertificationTarget) Reset()

func (*CertificationTarget) String

func (x *CertificationTarget) String() string

type CertificationTargetHookFunc

type CertificationTargetHookFunc func(ctx context.Context, cld *CertificationTarget, err error)

type CertificationTarget_Metadata

type CertificationTarget_Metadata struct {

	// a map of key/value pairs, e.g., env:prod
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// an icon for the certification target used by the UI
	Icon *string `protobuf:"bytes,2,opt,name=icon,proto3,oneof" json:"icon,omitempty"`
	// contains filtered or unexported fields
}

func (*CertificationTarget_Metadata) Descriptor deprecated

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

Deprecated: Use CertificationTarget_Metadata.ProtoReflect.Descriptor instead.

func (*CertificationTarget_Metadata) GetIcon

func (x *CertificationTarget_Metadata) GetIcon() string

func (*CertificationTarget_Metadata) GetLabels

func (x *CertificationTarget_Metadata) GetLabels() map[string]string

func (*CertificationTarget_Metadata) ProtoMessage

func (*CertificationTarget_Metadata) ProtoMessage()

func (*CertificationTarget_Metadata) ProtoReflect

func (*CertificationTarget_Metadata) Reset

func (x *CertificationTarget_Metadata) Reset()

func (*CertificationTarget_Metadata) String

type CertificationTarget_TargetType

type CertificationTarget_TargetType int32

TargetType represents the type of the certification target.

const (
	CertificationTarget_TARGET_TYPE_UNSPECIFIED  CertificationTarget_TargetType = 0
	CertificationTarget_TARGET_TYPE_CLOUD        CertificationTarget_TargetType = 1
	CertificationTarget_TARGET_TYPE_PRODUCT      CertificationTarget_TargetType = 2
	CertificationTarget_TARGET_TYPE_ORGANIZATION CertificationTarget_TargetType = 3
)

func (CertificationTarget_TargetType) Descriptor

func (CertificationTarget_TargetType) Enum

func (CertificationTarget_TargetType) EnumDescriptor deprecated

func (CertificationTarget_TargetType) EnumDescriptor() ([]byte, []int)

Deprecated: Use CertificationTarget_TargetType.Descriptor instead.

func (CertificationTarget_TargetType) Number

func (CertificationTarget_TargetType) String

func (CertificationTarget_TargetType) Type

type Control

type Control struct {

	// A short name of the control, e.g. OPS-01, as used in OSCAL; it is not a
	// unique ID!
	Id                string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" gorm:"primaryKey"`
	CategoryName      string `protobuf:"bytes,2,opt,name=category_name,json=categoryName,proto3" json:"category_name,omitempty" gorm:"primaryKey"`
	CategoryCatalogId string `` /* 132-byte string literal not displayed */
	// Human-readable name of the control
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the control
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// List of sub - controls -
	//
	//	this is in accordance with the OSCAL model.
	Controls []*Control `` /* 217-byte string literal not displayed */
	// metrics contains either a list of reference to metrics - in this case only
	// the id field of the metric is populated - or a list of populated metric
	// meta-data, most likely returned by the database.
	Metrics []*assessment.Metric `` /* 128-byte string literal not displayed */
	// Reference to the parent category this control belongs to.
	ParentControlId                *string `protobuf:"bytes,8,opt,name=parent_control_id,json=parentControlId,proto3,oneof" json:"parent_control_id,omitempty"`
	ParentControlCategoryName      *string `` /* 146-byte string literal not displayed */
	ParentControlCategoryCatalogId *string `` /* 164-byte string literal not displayed */
	// An assurance level is not offered by every catalog, therefore it is
	// optional.
	AssuranceLevel *string `protobuf:"bytes,11,opt,name=assurance_level,json=assuranceLevel,proto3,oneof" json:"assurance_level,omitempty"`
	// contains filtered or unexported fields
}

Control represents a certain Control that needs to be fulfilled. It could be a Control in a certification catalog. It follows the OSCAL model. A requirement in the EUCS terminology, e.g., is represented as the lowest sub-control.

func (*Control) Descriptor deprecated

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

Deprecated: Use Control.ProtoReflect.Descriptor instead.

func (*Control) GetAssuranceLevel

func (x *Control) GetAssuranceLevel() string

func (*Control) GetCategoryCatalogId

func (x *Control) GetCategoryCatalogId() string

func (*Control) GetCategoryName

func (x *Control) GetCategoryName() string

func (*Control) GetControls

func (x *Control) GetControls() []*Control

func (*Control) GetDescription

func (x *Control) GetDescription() string

func (*Control) GetId

func (x *Control) GetId() string

func (*Control) GetMetrics

func (x *Control) GetMetrics() []*assessment.Metric

func (*Control) GetName

func (x *Control) GetName() string

func (*Control) GetParentControlCategoryCatalogId

func (x *Control) GetParentControlCategoryCatalogId() string

func (*Control) GetParentControlCategoryName

func (x *Control) GetParentControlCategoryName() string

func (*Control) GetParentControlId

func (x *Control) GetParentControlId() string

func (*Control) IsRelevantFor

func (c *Control) IsRelevantFor(auditScope *AuditScope, catalog *Catalog) bool

IsRelevantFor checks, whether this control is relevant for the given audit scope. For now this mainly checks, whether the assurance level matches, if the Audit Scope has one. In the future, this could also include checks, if the control is somehow out of scope.

func (*Control) ProtoMessage

func (*Control) ProtoMessage()

func (*Control) ProtoReflect

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

func (*Control) Reset

func (x *Control) Reset()

func (*Control) String

func (x *Control) String() string

type CreateAuditScopeRequest

type CreateAuditScopeRequest struct {
	AuditScope *AuditScope `protobuf:"bytes,1,opt,name=audit_scope,json=auditScope,proto3" json:"audit_scope,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAuditScopeRequest) Descriptor deprecated

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

Deprecated: Use CreateAuditScopeRequest.ProtoReflect.Descriptor instead.

func (*CreateAuditScopeRequest) GetAuditScope

func (x *CreateAuditScopeRequest) GetAuditScope() *AuditScope

func (*CreateAuditScopeRequest) GetCertificationTargetId

func (req *CreateAuditScopeRequest) GetCertificationTargetId() string

GetCertificationTargetId is a shortcut to implement CertificationTargetRequest. It returns the certification target ID of the inner object.

func (*CreateAuditScopeRequest) GetPayload

func (req *CreateAuditScopeRequest) GetPayload() proto.Message

func (*CreateAuditScopeRequest) ProtoMessage

func (*CreateAuditScopeRequest) ProtoMessage()

func (*CreateAuditScopeRequest) ProtoReflect

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

func (*CreateAuditScopeRequest) Reset

func (x *CreateAuditScopeRequest) Reset()

func (*CreateAuditScopeRequest) String

func (x *CreateAuditScopeRequest) String() string

type CreateCatalogRequest

type CreateCatalogRequest struct {
	Catalog *Catalog `protobuf:"bytes,1,opt,name=catalog,proto3" json:"catalog,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateCatalogRequest) Descriptor deprecated

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

Deprecated: Use CreateCatalogRequest.ProtoReflect.Descriptor instead.

func (*CreateCatalogRequest) GetCatalog

func (x *CreateCatalogRequest) GetCatalog() *Catalog

func (*CreateCatalogRequest) GetPayload

func (req *CreateCatalogRequest) GetPayload() proto.Message

func (*CreateCatalogRequest) ProtoMessage

func (*CreateCatalogRequest) ProtoMessage()

func (*CreateCatalogRequest) ProtoReflect

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

func (*CreateCatalogRequest) Reset

func (x *CreateCatalogRequest) Reset()

func (*CreateCatalogRequest) String

func (x *CreateCatalogRequest) String() string

type CreateCertificateRequest

type CreateCertificateRequest struct {
	Certificate *Certificate `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateCertificateRequest) Descriptor deprecated

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

Deprecated: Use CreateCertificateRequest.ProtoReflect.Descriptor instead.

func (*CreateCertificateRequest) GetCertificate

func (x *CreateCertificateRequest) GetCertificate() *Certificate

func (*CreateCertificateRequest) GetCertificationTargetId

func (req *CreateCertificateRequest) GetCertificationTargetId() string

GetCertificationTargetId is a shortcut to implement CertificationTargetRequest. It returns the certification target ID of the inner object.

func (*CreateCertificateRequest) GetPayload

func (req *CreateCertificateRequest) GetPayload() proto.Message

func (*CreateCertificateRequest) ProtoMessage

func (*CreateCertificateRequest) ProtoMessage()

func (*CreateCertificateRequest) ProtoReflect

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

func (*CreateCertificateRequest) Reset

func (x *CreateCertificateRequest) Reset()

func (*CreateCertificateRequest) String

func (x *CreateCertificateRequest) String() string

type CreateMetricRequest

type CreateMetricRequest struct {
	Metric *assessment.Metric `protobuf:"bytes,1,opt,name=metric,proto3" json:"metric,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateMetricRequest) Descriptor deprecated

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

Deprecated: Use CreateMetricRequest.ProtoReflect.Descriptor instead.

func (*CreateMetricRequest) GetMetric

func (x *CreateMetricRequest) GetMetric() *assessment.Metric

func (*CreateMetricRequest) GetPayload

func (req *CreateMetricRequest) GetPayload() proto.Message

func (*CreateMetricRequest) ProtoMessage

func (*CreateMetricRequest) ProtoMessage()

func (*CreateMetricRequest) ProtoReflect

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

func (*CreateMetricRequest) Reset

func (x *CreateMetricRequest) Reset()

func (*CreateMetricRequest) String

func (x *CreateMetricRequest) String() string

type DeregisterAssessmentToolRequest

type DeregisterAssessmentToolRequest struct {
	ToolId string `protobuf:"bytes,1,opt,name=tool_id,json=toolId,proto3" json:"tool_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeregisterAssessmentToolRequest) Descriptor deprecated

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

Deprecated: Use DeregisterAssessmentToolRequest.ProtoReflect.Descriptor instead.

func (*DeregisterAssessmentToolRequest) GetPayload

func (req *DeregisterAssessmentToolRequest) GetPayload() proto.Message

func (*DeregisterAssessmentToolRequest) GetToolId

func (x *DeregisterAssessmentToolRequest) GetToolId() string

func (*DeregisterAssessmentToolRequest) ProtoMessage

func (*DeregisterAssessmentToolRequest) ProtoMessage()

func (*DeregisterAssessmentToolRequest) ProtoReflect

func (*DeregisterAssessmentToolRequest) Reset

func (*DeregisterAssessmentToolRequest) String

type GetAssessmentResultRequest

type GetAssessmentResultRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAssessmentResultRequest) Descriptor deprecated

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

Deprecated: Use GetAssessmentResultRequest.ProtoReflect.Descriptor instead.

func (*GetAssessmentResultRequest) GetId

func (*GetAssessmentResultRequest) ProtoMessage

func (*GetAssessmentResultRequest) ProtoMessage()

func (*GetAssessmentResultRequest) ProtoReflect

func (*GetAssessmentResultRequest) Reset

func (x *GetAssessmentResultRequest) Reset()

func (*GetAssessmentResultRequest) String

func (x *GetAssessmentResultRequest) String() string

type GetAssessmentToolRequest

type GetAssessmentToolRequest struct {
	ToolId string `protobuf:"bytes,1,opt,name=tool_id,json=toolId,proto3" json:"tool_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAssessmentToolRequest) Descriptor deprecated

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

Deprecated: Use GetAssessmentToolRequest.ProtoReflect.Descriptor instead.

func (*GetAssessmentToolRequest) GetToolId

func (x *GetAssessmentToolRequest) GetToolId() string

func (*GetAssessmentToolRequest) ProtoMessage

func (*GetAssessmentToolRequest) ProtoMessage()

func (*GetAssessmentToolRequest) ProtoReflect

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

func (*GetAssessmentToolRequest) Reset

func (x *GetAssessmentToolRequest) Reset()

func (*GetAssessmentToolRequest) String

func (x *GetAssessmentToolRequest) String() string

type GetAuditScopeRequest

type GetAuditScopeRequest struct {
	CertificationTargetId string `` /* 126-byte string literal not displayed */
	CatalogId             string `protobuf:"bytes,2,opt,name=catalog_id,json=catalogId,proto3" json:"catalog_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAuditScopeRequest) Descriptor deprecated

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

Deprecated: Use GetAuditScopeRequest.ProtoReflect.Descriptor instead.

func (*GetAuditScopeRequest) GetCatalogId

func (x *GetAuditScopeRequest) GetCatalogId() string

func (*GetAuditScopeRequest) GetCertificationTargetId

func (x *GetAuditScopeRequest) GetCertificationTargetId() string

func (*GetAuditScopeRequest) ProtoMessage

func (*GetAuditScopeRequest) ProtoMessage()

func (*GetAuditScopeRequest) ProtoReflect

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

func (*GetAuditScopeRequest) Reset

func (x *GetAuditScopeRequest) Reset()

func (*GetAuditScopeRequest) String

func (x *GetAuditScopeRequest) String() string

type GetCatalogRequest

type GetCatalogRequest struct {
	CatalogId string `protobuf:"bytes,1,opt,name=catalog_id,json=catalogId,proto3" json:"catalog_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCatalogRequest) Descriptor deprecated

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

Deprecated: Use GetCatalogRequest.ProtoReflect.Descriptor instead.

func (*GetCatalogRequest) GetCatalogId

func (x *GetCatalogRequest) GetCatalogId() string

func (*GetCatalogRequest) ProtoMessage

func (*GetCatalogRequest) ProtoMessage()

func (*GetCatalogRequest) ProtoReflect

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

func (*GetCatalogRequest) Reset

func (x *GetCatalogRequest) Reset()

func (*GetCatalogRequest) String

func (x *GetCatalogRequest) String() string

type GetCategoryRequest

type GetCategoryRequest struct {
	CatalogId    string `protobuf:"bytes,1,opt,name=catalog_id,json=catalogId,proto3" json:"catalog_id,omitempty"`
	CategoryName string `protobuf:"bytes,2,opt,name=category_name,json=categoryName,proto3" json:"category_name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCategoryRequest) Descriptor deprecated

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

Deprecated: Use GetCategoryRequest.ProtoReflect.Descriptor instead.

func (*GetCategoryRequest) GetCatalogId

func (x *GetCategoryRequest) GetCatalogId() string

func (*GetCategoryRequest) GetCategoryName

func (x *GetCategoryRequest) GetCategoryName() string

func (*GetCategoryRequest) ProtoMessage

func (*GetCategoryRequest) ProtoMessage()

func (*GetCategoryRequest) ProtoReflect

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

func (*GetCategoryRequest) Reset

func (x *GetCategoryRequest) Reset()

func (*GetCategoryRequest) String

func (x *GetCategoryRequest) String() string

type GetCertificateRequest

type GetCertificateRequest struct {
	CertificateId string `protobuf:"bytes,1,opt,name=certificate_id,json=certificateId,proto3" json:"certificate_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCertificateRequest) Descriptor deprecated

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

Deprecated: Use GetCertificateRequest.ProtoReflect.Descriptor instead.

func (*GetCertificateRequest) GetCertificateId

func (x *GetCertificateRequest) GetCertificateId() string

func (*GetCertificateRequest) ProtoMessage

func (*GetCertificateRequest) ProtoMessage()

func (*GetCertificateRequest) ProtoReflect

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

func (*GetCertificateRequest) Reset

func (x *GetCertificateRequest) Reset()

func (*GetCertificateRequest) String

func (x *GetCertificateRequest) String() string

type GetCertificationTargetRequest

type GetCertificationTargetRequest struct {
	CertificationTargetId string `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetCertificationTargetRequest) Descriptor deprecated

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

Deprecated: Use GetCertificationTargetRequest.ProtoReflect.Descriptor instead.

func (*GetCertificationTargetRequest) GetCertificationTargetId

func (x *GetCertificationTargetRequest) GetCertificationTargetId() string

func (*GetCertificationTargetRequest) ProtoMessage

func (*GetCertificationTargetRequest) ProtoMessage()

func (*GetCertificationTargetRequest) ProtoReflect

func (*GetCertificationTargetRequest) Reset

func (x *GetCertificationTargetRequest) Reset()

func (*GetCertificationTargetRequest) String

type GetCertificationTargetStatisticsRequest

type GetCertificationTargetStatisticsRequest struct {
	CertificationTargetId string `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetCertificationTargetStatisticsRequest) Descriptor deprecated

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

Deprecated: Use GetCertificationTargetStatisticsRequest.ProtoReflect.Descriptor instead.

func (*GetCertificationTargetStatisticsRequest) GetCertificationTargetId

func (x *GetCertificationTargetStatisticsRequest) GetCertificationTargetId() string

func (*GetCertificationTargetStatisticsRequest) ProtoMessage

func (*GetCertificationTargetStatisticsRequest) ProtoReflect

func (*GetCertificationTargetStatisticsRequest) Reset

func (*GetCertificationTargetStatisticsRequest) String

type GetCertificationTargetStatisticsResponse

type GetCertificationTargetStatisticsResponse struct {

	// number of discovered resources per certification target
	NumberOfDiscoveredResources int64 `` /* 147-byte string literal not displayed */
	// number of assessment results per certification target
	NumberOfAssessmentResults int64 `` /* 141-byte string literal not displayed */
	// number of evidences per certification target
	NumberOfEvidences int64 `protobuf:"varint,3,opt,name=number_of_evidences,json=numberOfEvidences,proto3" json:"number_of_evidences,omitempty"`
	// number of selected catalogs per certification target
	NumberOfSelectedCatalogs int64 `` /* 138-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetCertificationTargetStatisticsResponse) Descriptor deprecated

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

Deprecated: Use GetCertificationTargetStatisticsResponse.ProtoReflect.Descriptor instead.

func (*GetCertificationTargetStatisticsResponse) GetNumberOfAssessmentResults

func (x *GetCertificationTargetStatisticsResponse) GetNumberOfAssessmentResults() int64

func (*GetCertificationTargetStatisticsResponse) GetNumberOfDiscoveredResources

func (x *GetCertificationTargetStatisticsResponse) GetNumberOfDiscoveredResources() int64

func (*GetCertificationTargetStatisticsResponse) GetNumberOfEvidences

func (x *GetCertificationTargetStatisticsResponse) GetNumberOfEvidences() int64

func (*GetCertificationTargetStatisticsResponse) GetNumberOfSelectedCatalogs

func (x *GetCertificationTargetStatisticsResponse) GetNumberOfSelectedCatalogs() int64

func (*GetCertificationTargetStatisticsResponse) ProtoMessage

func (*GetCertificationTargetStatisticsResponse) ProtoReflect

func (*GetCertificationTargetStatisticsResponse) Reset

func (*GetCertificationTargetStatisticsResponse) String

type GetControlRequest

type GetControlRequest struct {
	CatalogId    string `protobuf:"bytes,1,opt,name=catalog_id,json=catalogId,proto3" json:"catalog_id,omitempty"`
	CategoryName string `protobuf:"bytes,2,opt,name=category_name,json=categoryName,proto3" json:"category_name,omitempty"`
	ControlId    string `protobuf:"bytes,3,opt,name=control_id,json=controlId,proto3" json:"control_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetControlRequest) Descriptor deprecated

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

Deprecated: Use GetControlRequest.ProtoReflect.Descriptor instead.

func (*GetControlRequest) GetCatalogId

func (x *GetControlRequest) GetCatalogId() string

func (*GetControlRequest) GetCategoryName

func (x *GetControlRequest) GetCategoryName() string

func (*GetControlRequest) GetControlId

func (x *GetControlRequest) GetControlId() string

func (*GetControlRequest) ProtoMessage

func (*GetControlRequest) ProtoMessage()

func (*GetControlRequest) ProtoReflect

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

func (*GetControlRequest) Reset

func (x *GetControlRequest) Reset()

func (*GetControlRequest) String

func (x *GetControlRequest) String() string

type GetMetricConfigurationRequest

type GetMetricConfigurationRequest struct {
	CertificationTargetId string `` /* 126-byte string literal not displayed */
	MetricId              string `protobuf:"bytes,2,opt,name=metric_id,json=metricId,proto3" json:"metric_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMetricConfigurationRequest) Descriptor deprecated

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

Deprecated: Use GetMetricConfigurationRequest.ProtoReflect.Descriptor instead.

func (*GetMetricConfigurationRequest) GetCertificationTargetId

func (x *GetMetricConfigurationRequest) GetCertificationTargetId() string

func (*GetMetricConfigurationRequest) GetMetricId

func (x *GetMetricConfigurationRequest) GetMetricId() string

func (*GetMetricConfigurationRequest) ProtoMessage

func (*GetMetricConfigurationRequest) ProtoMessage()

func (*GetMetricConfigurationRequest) ProtoReflect

func (*GetMetricConfigurationRequest) Reset

func (x *GetMetricConfigurationRequest) Reset()

func (*GetMetricConfigurationRequest) String

type GetMetricImplementationRequest

type GetMetricImplementationRequest struct {
	MetricId string `protobuf:"bytes,1,opt,name=metric_id,json=metricId,proto3" json:"metric_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMetricImplementationRequest) Descriptor deprecated

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

Deprecated: Use GetMetricImplementationRequest.ProtoReflect.Descriptor instead.

func (*GetMetricImplementationRequest) GetMetricId

func (x *GetMetricImplementationRequest) GetMetricId() string

func (*GetMetricImplementationRequest) ProtoMessage

func (*GetMetricImplementationRequest) ProtoMessage()

func (*GetMetricImplementationRequest) ProtoReflect

func (*GetMetricImplementationRequest) Reset

func (x *GetMetricImplementationRequest) Reset()

func (*GetMetricImplementationRequest) String

type GetMetricRequest

type GetMetricRequest struct {
	MetricId string `protobuf:"bytes,1,opt,name=metric_id,json=metricId,proto3" json:"metric_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMetricRequest) Descriptor deprecated

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

Deprecated: Use GetMetricRequest.ProtoReflect.Descriptor instead.

func (*GetMetricRequest) GetMetricId

func (x *GetMetricRequest) GetMetricId() string

func (*GetMetricRequest) ProtoMessage

func (*GetMetricRequest) ProtoMessage()

func (*GetMetricRequest) ProtoReflect

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

func (*GetMetricRequest) Reset

func (x *GetMetricRequest) Reset()

func (*GetMetricRequest) String

func (x *GetMetricRequest) String() string

type ListAssessmentResultsRequest

type ListAssessmentResultsRequest struct {
	Filter *ListAssessmentResultsRequest_Filter `protobuf:"bytes,1,opt,name=filter,proto3,oneof" json:"filter,omitempty"`
	// Optional. Latest results grouped by resource_id and metric_id.
	LatestByResourceId *bool  `` /* 126-byte string literal not displayed */
	PageSize           int32  `protobuf:"varint,10,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken          string `protobuf:"bytes,11,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	OrderBy            string `protobuf:"bytes,12,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	Asc                bool   `protobuf:"varint,13,opt,name=asc,proto3" json:"asc,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAssessmentResultsRequest) Descriptor deprecated

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

Deprecated: Use ListAssessmentResultsRequest.ProtoReflect.Descriptor instead.

func (*ListAssessmentResultsRequest) GetAsc

func (x *ListAssessmentResultsRequest) GetAsc() bool

func (*ListAssessmentResultsRequest) GetFilter

func (*ListAssessmentResultsRequest) GetLatestByResourceId

func (x *ListAssessmentResultsRequest) GetLatestByResourceId() bool

func (*ListAssessmentResultsRequest) GetOrderBy

func (x *ListAssessmentResultsRequest) GetOrderBy() string

func (*ListAssessmentResultsRequest) GetPageSize

func (x *ListAssessmentResultsRequest) GetPageSize() int32

func (*ListAssessmentResultsRequest) GetPageToken

func (x *ListAssessmentResultsRequest) GetPageToken() string

func (*ListAssessmentResultsRequest) ProtoMessage

func (*ListAssessmentResultsRequest) ProtoMessage()

func (*ListAssessmentResultsRequest) ProtoReflect

func (*ListAssessmentResultsRequest) Reset

func (x *ListAssessmentResultsRequest) Reset()

func (*ListAssessmentResultsRequest) String

type ListAssessmentResultsRequest_Filter

type ListAssessmentResultsRequest_Filter struct {

	// Optional. List only assessment results of a specific certification target.
	CertificationTargetId *string `` /* 132-byte string literal not displayed */
	// Optional. List only compliant assessment results.
	Compliant *bool `protobuf:"varint,2,opt,name=compliant,proto3,oneof" json:"compliant,omitempty"`
	// Optional. List only assessment results of a specific metric id.
	MetricIds []string `protobuf:"bytes,3,rep,name=metric_ids,json=metricIds,proto3" json:"metric_ids,omitempty"`
	MetricId  *string  `protobuf:"bytes,4,opt,name=metric_id,json=metricId,proto3,oneof" json:"metric_id,omitempty"`
	// Optional. List only assessment result from a specific assessment tool.
	ToolId *string `protobuf:"bytes,5,opt,name=tool_id,json=toolId,proto3,oneof" json:"tool_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAssessmentResultsRequest_Filter) Descriptor deprecated

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

Deprecated: Use ListAssessmentResultsRequest_Filter.ProtoReflect.Descriptor instead.

func (*ListAssessmentResultsRequest_Filter) GetCertificationTargetId

func (x *ListAssessmentResultsRequest_Filter) GetCertificationTargetId() string

func (*ListAssessmentResultsRequest_Filter) GetCompliant

func (x *ListAssessmentResultsRequest_Filter) GetCompliant() bool

func (*ListAssessmentResultsRequest_Filter) GetMetricId

func (*ListAssessmentResultsRequest_Filter) GetMetricIds

func (x *ListAssessmentResultsRequest_Filter) GetMetricIds() []string

func (*ListAssessmentResultsRequest_Filter) GetToolId

func (*ListAssessmentResultsRequest_Filter) ProtoMessage

func (*ListAssessmentResultsRequest_Filter) ProtoMessage()

func (*ListAssessmentResultsRequest_Filter) ProtoReflect

func (*ListAssessmentResultsRequest_Filter) Reset

func (*ListAssessmentResultsRequest_Filter) String

type ListAssessmentResultsResponse

type ListAssessmentResultsResponse struct {
	Results       []*assessment.AssessmentResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	NextPageToken string                         `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAssessmentResultsResponse) Descriptor deprecated

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

Deprecated: Use ListAssessmentResultsResponse.ProtoReflect.Descriptor instead.

func (*ListAssessmentResultsResponse) GetNextPageToken

func (x *ListAssessmentResultsResponse) GetNextPageToken() string

func (*ListAssessmentResultsResponse) GetResults

func (*ListAssessmentResultsResponse) ProtoMessage

func (*ListAssessmentResultsResponse) ProtoMessage()

func (*ListAssessmentResultsResponse) ProtoReflect

func (*ListAssessmentResultsResponse) Reset

func (x *ListAssessmentResultsResponse) Reset()

func (*ListAssessmentResultsResponse) String

type ListAssessmentToolsRequest

type ListAssessmentToolsRequest struct {
	Filter    *ListAssessmentToolsRequest_Filter `protobuf:"bytes,1,opt,name=filter,proto3,oneof" json:"filter,omitempty"`
	PageSize  int32                              `protobuf:"varint,10,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken string                             `protobuf:"bytes,11,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	OrderBy   string                             `protobuf:"bytes,12,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	Asc       bool                               `protobuf:"varint,13,opt,name=asc,proto3" json:"asc,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAssessmentToolsRequest) Descriptor deprecated

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

Deprecated: Use ListAssessmentToolsRequest.ProtoReflect.Descriptor instead.

func (*ListAssessmentToolsRequest) GetAsc

func (x *ListAssessmentToolsRequest) GetAsc() bool

func (*ListAssessmentToolsRequest) GetFilter

func (*ListAssessmentToolsRequest) GetOrderBy

func (x *ListAssessmentToolsRequest) GetOrderBy() string

func (*ListAssessmentToolsRequest) GetPageSize

func (x *ListAssessmentToolsRequest) GetPageSize() int32

func (*ListAssessmentToolsRequest) GetPageToken

func (x *ListAssessmentToolsRequest) GetPageToken() string

func (*ListAssessmentToolsRequest) ProtoMessage

func (*ListAssessmentToolsRequest) ProtoMessage()

func (*ListAssessmentToolsRequest) ProtoReflect

func (*ListAssessmentToolsRequest) Reset

func (x *ListAssessmentToolsRequest) Reset()

func (*ListAssessmentToolsRequest) String

func (x *ListAssessmentToolsRequest) String() string

type ListAssessmentToolsRequest_Filter

type ListAssessmentToolsRequest_Filter struct {
	// contains filtered or unexported fields
}

func (*ListAssessmentToolsRequest_Filter) Descriptor deprecated

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

Deprecated: Use ListAssessmentToolsRequest_Filter.ProtoReflect.Descriptor instead.

func (*ListAssessmentToolsRequest_Filter) ProtoMessage

func (*ListAssessmentToolsRequest_Filter) ProtoMessage()

func (*ListAssessmentToolsRequest_Filter) ProtoReflect

func (*ListAssessmentToolsRequest_Filter) Reset

func (*ListAssessmentToolsRequest_Filter) String

type ListAssessmentToolsResponse

type ListAssessmentToolsResponse struct {
	Tools         []*AssessmentTool `protobuf:"bytes,1,rep,name=tools,proto3" json:"tools,omitempty"`
	NextPageToken string            `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAssessmentToolsResponse) Descriptor deprecated

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

Deprecated: Use ListAssessmentToolsResponse.ProtoReflect.Descriptor instead.

func (*ListAssessmentToolsResponse) GetNextPageToken

func (x *ListAssessmentToolsResponse) GetNextPageToken() string

func (*ListAssessmentToolsResponse) GetTools

func (*ListAssessmentToolsResponse) ProtoMessage

func (*ListAssessmentToolsResponse) ProtoMessage()

func (*ListAssessmentToolsResponse) ProtoReflect

func (*ListAssessmentToolsResponse) Reset

func (x *ListAssessmentToolsResponse) Reset()

func (*ListAssessmentToolsResponse) String

func (x *ListAssessmentToolsResponse) String() string

type ListAuditScopesRequest

type ListAuditScopesRequest struct {

	// We cannot create additional bindings when the parameter is optional so we
	// check for != "" in the method to see if it is set when the certification target is
	// specified, return all Audit Scopes that evaluate the given certification target
	// for any catalog
	CertificationTargetId string `` /* 126-byte string literal not displayed */
	// when the catalog is specified, return all Audit Scopes that
	// evaluate the given catalog for any certificationtarget
	CatalogId string `protobuf:"bytes,2,opt,name=catalog_id,json=catalogId,proto3" json:"catalog_id,omitempty"`
	PageSize  int32  `protobuf:"varint,10,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken string `protobuf:"bytes,11,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	OrderBy   string `protobuf:"bytes,12,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	Asc       bool   `protobuf:"varint,13,opt,name=asc,proto3" json:"asc,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAuditScopesRequest) Descriptor deprecated

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

Deprecated: Use ListAuditScopesRequest.ProtoReflect.Descriptor instead.

func (*ListAuditScopesRequest) GetAsc

func (x *ListAuditScopesRequest) GetAsc() bool

func (*ListAuditScopesRequest) GetCatalogId

func (x *ListAuditScopesRequest) GetCatalogId() string

func (*ListAuditScopesRequest) GetCertificationTargetId

func (x *ListAuditScopesRequest) GetCertificationTargetId() string

func (*ListAuditScopesRequest) GetOrderBy

func (x *ListAuditScopesRequest) GetOrderBy() string

func (*ListAuditScopesRequest) GetPageSize

func (x *ListAuditScopesRequest) GetPageSize() int32

func (*ListAuditScopesRequest) GetPageToken

func (x *ListAuditScopesRequest) GetPageToken() string

func (*ListAuditScopesRequest) ProtoMessage

func (*ListAuditScopesRequest) ProtoMessage()

func (*ListAuditScopesRequest) ProtoReflect

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

func (*ListAuditScopesRequest) Reset

func (x *ListAuditScopesRequest) Reset()

func (*ListAuditScopesRequest) String

func (x *ListAuditScopesRequest) String() string

type ListAuditScopesResponse

type ListAuditScopesResponse struct {
	AuditScope    []*AuditScope `protobuf:"bytes,1,rep,name=audit_scope,json=auditScope,proto3" json:"audit_scope,omitempty"`
	NextPageToken string        `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAuditScopesResponse) Descriptor deprecated

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

Deprecated: Use ListAuditScopesResponse.ProtoReflect.Descriptor instead.

func (*ListAuditScopesResponse) GetAuditScope

func (x *ListAuditScopesResponse) GetAuditScope() []*AuditScope

func (*ListAuditScopesResponse) GetNextPageToken

func (x *ListAuditScopesResponse) GetNextPageToken() string

func (*ListAuditScopesResponse) ProtoMessage

func (*ListAuditScopesResponse) ProtoMessage()

func (*ListAuditScopesResponse) ProtoReflect

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

func (*ListAuditScopesResponse) Reset

func (x *ListAuditScopesResponse) Reset()

func (*ListAuditScopesResponse) String

func (x *ListAuditScopesResponse) String() string

type ListCatalogsRequest

type ListCatalogsRequest struct {
	PageSize  int32  `protobuf:"varint,10,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken string `protobuf:"bytes,11,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	OrderBy   string `protobuf:"bytes,12,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	Asc       bool   `protobuf:"varint,13,opt,name=asc,proto3" json:"asc,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCatalogsRequest) Descriptor deprecated

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

Deprecated: Use ListCatalogsRequest.ProtoReflect.Descriptor instead.

func (*ListCatalogsRequest) GetAsc

func (x *ListCatalogsRequest) GetAsc() bool

func (*ListCatalogsRequest) GetOrderBy

func (x *ListCatalogsRequest) GetOrderBy() string

func (*ListCatalogsRequest) GetPageSize

func (x *ListCatalogsRequest) GetPageSize() int32

func (*ListCatalogsRequest) GetPageToken

func (x *ListCatalogsRequest) GetPageToken() string

func (*ListCatalogsRequest) ProtoMessage

func (*ListCatalogsRequest) ProtoMessage()

func (*ListCatalogsRequest) ProtoReflect

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

func (*ListCatalogsRequest) Reset

func (x *ListCatalogsRequest) Reset()

func (*ListCatalogsRequest) String

func (x *ListCatalogsRequest) String() string

type ListCatalogsResponse

type ListCatalogsResponse struct {
	Catalogs      []*Catalog `protobuf:"bytes,1,rep,name=catalogs,proto3" json:"catalogs,omitempty"`
	NextPageToken string     `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCatalogsResponse) Descriptor deprecated

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

Deprecated: Use ListCatalogsResponse.ProtoReflect.Descriptor instead.

func (*ListCatalogsResponse) GetCatalogs

func (x *ListCatalogsResponse) GetCatalogs() []*Catalog

func (*ListCatalogsResponse) GetNextPageToken

func (x *ListCatalogsResponse) GetNextPageToken() string

func (*ListCatalogsResponse) ProtoMessage

func (*ListCatalogsResponse) ProtoMessage()

func (*ListCatalogsResponse) ProtoReflect

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

func (*ListCatalogsResponse) Reset

func (x *ListCatalogsResponse) Reset()

func (*ListCatalogsResponse) String

func (x *ListCatalogsResponse) String() string

type ListCertificatesRequest

type ListCertificatesRequest struct {
	PageSize  int32  `protobuf:"varint,10,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken string `protobuf:"bytes,11,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	OrderBy   string `protobuf:"bytes,12,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	Asc       bool   `protobuf:"varint,13,opt,name=asc,proto3" json:"asc,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCertificatesRequest) Descriptor deprecated

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

Deprecated: Use ListCertificatesRequest.ProtoReflect.Descriptor instead.

func (*ListCertificatesRequest) GetAsc

func (x *ListCertificatesRequest) GetAsc() bool

func (*ListCertificatesRequest) GetOrderBy

func (x *ListCertificatesRequest) GetOrderBy() string

func (*ListCertificatesRequest) GetPageSize

func (x *ListCertificatesRequest) GetPageSize() int32

func (*ListCertificatesRequest) GetPageToken

func (x *ListCertificatesRequest) GetPageToken() string

func (*ListCertificatesRequest) ProtoMessage

func (*ListCertificatesRequest) ProtoMessage()

func (*ListCertificatesRequest) ProtoReflect

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

func (*ListCertificatesRequest) Reset

func (x *ListCertificatesRequest) Reset()

func (*ListCertificatesRequest) String

func (x *ListCertificatesRequest) String() string

type ListCertificatesResponse

type ListCertificatesResponse struct {
	Certificates  []*Certificate `protobuf:"bytes,1,rep,name=certificates,proto3" json:"certificates,omitempty"`
	NextPageToken string         `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCertificatesResponse) Descriptor deprecated

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

Deprecated: Use ListCertificatesResponse.ProtoReflect.Descriptor instead.

func (*ListCertificatesResponse) GetCertificates

func (x *ListCertificatesResponse) GetCertificates() []*Certificate

func (*ListCertificatesResponse) GetNextPageToken

func (x *ListCertificatesResponse) GetNextPageToken() string

func (*ListCertificatesResponse) ProtoMessage

func (*ListCertificatesResponse) ProtoMessage()

func (*ListCertificatesResponse) ProtoReflect

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

func (*ListCertificatesResponse) Reset

func (x *ListCertificatesResponse) Reset()

func (*ListCertificatesResponse) String

func (x *ListCertificatesResponse) String() string

type ListCertificationTargetsRequest

type ListCertificationTargetsRequest struct {
	PageSize  int32  `protobuf:"varint,10,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken string `protobuf:"bytes,11,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	OrderBy   string `protobuf:"bytes,12,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	Asc       bool   `protobuf:"varint,13,opt,name=asc,proto3" json:"asc,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCertificationTargetsRequest) Descriptor deprecated

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

Deprecated: Use ListCertificationTargetsRequest.ProtoReflect.Descriptor instead.

func (*ListCertificationTargetsRequest) GetAsc

func (*ListCertificationTargetsRequest) GetOrderBy

func (x *ListCertificationTargetsRequest) GetOrderBy() string

func (*ListCertificationTargetsRequest) GetPageSize

func (x *ListCertificationTargetsRequest) GetPageSize() int32

func (*ListCertificationTargetsRequest) GetPageToken

func (x *ListCertificationTargetsRequest) GetPageToken() string

func (*ListCertificationTargetsRequest) ProtoMessage

func (*ListCertificationTargetsRequest) ProtoMessage()

func (*ListCertificationTargetsRequest) ProtoReflect

func (*ListCertificationTargetsRequest) Reset

func (*ListCertificationTargetsRequest) String

type ListCertificationTargetsResponse

type ListCertificationTargetsResponse struct {
	Targets       []*CertificationTarget `protobuf:"bytes,1,rep,name=targets,proto3" json:"targets,omitempty"`
	NextPageToken string                 `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCertificationTargetsResponse) Descriptor deprecated

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

Deprecated: Use ListCertificationTargetsResponse.ProtoReflect.Descriptor instead.

func (*ListCertificationTargetsResponse) GetNextPageToken

func (x *ListCertificationTargetsResponse) GetNextPageToken() string

func (*ListCertificationTargetsResponse) GetTargets

func (*ListCertificationTargetsResponse) ProtoMessage

func (*ListCertificationTargetsResponse) ProtoMessage()

func (*ListCertificationTargetsResponse) ProtoReflect

func (*ListCertificationTargetsResponse) Reset

func (*ListCertificationTargetsResponse) String

type ListControlsRequest

type ListControlsRequest struct {

	// return either all controls or only the controls of the specified category
	CatalogId    string                      `protobuf:"bytes,1,opt,name=catalog_id,json=catalogId,proto3" json:"catalog_id,omitempty"`
	CategoryName string                      `protobuf:"bytes,2,opt,name=category_name,json=categoryName,proto3" json:"category_name,omitempty"`
	Filter       *ListControlsRequest_Filter `protobuf:"bytes,3,opt,name=filter,proto3,oneof" json:"filter,omitempty"`
	PageSize     int32                       `protobuf:"varint,10,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken    string                      `protobuf:"bytes,11,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	OrderBy      string                      `protobuf:"bytes,12,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	Asc          bool                        `protobuf:"varint,13,opt,name=asc,proto3" json:"asc,omitempty"`
	// contains filtered or unexported fields
}

func (*ListControlsRequest) Descriptor deprecated

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

Deprecated: Use ListControlsRequest.ProtoReflect.Descriptor instead.

func (*ListControlsRequest) GetAsc

func (x *ListControlsRequest) GetAsc() bool

func (*ListControlsRequest) GetCatalogId

func (x *ListControlsRequest) GetCatalogId() string

func (*ListControlsRequest) GetCategoryName

func (x *ListControlsRequest) GetCategoryName() string

func (*ListControlsRequest) GetFilter

func (*ListControlsRequest) GetOrderBy

func (x *ListControlsRequest) GetOrderBy() string

func (*ListControlsRequest) GetPageSize

func (x *ListControlsRequest) GetPageSize() int32

func (*ListControlsRequest) GetPageToken

func (x *ListControlsRequest) GetPageToken() string

func (*ListControlsRequest) ProtoMessage

func (*ListControlsRequest) ProtoMessage()

func (*ListControlsRequest) ProtoReflect

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

func (*ListControlsRequest) Reset

func (x *ListControlsRequest) Reset()

func (*ListControlsRequest) String

func (x *ListControlsRequest) String() string

type ListControlsRequest_Filter

type ListControlsRequest_Filter struct {

	// Optional. Lists only controls with the specified assurance levels.
	AssuranceLevels []string `protobuf:"bytes,1,rep,name=assurance_levels,json=assuranceLevels,proto3" json:"assurance_levels,omitempty"`
	// contains filtered or unexported fields
}

func (*ListControlsRequest_Filter) Descriptor deprecated

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

Deprecated: Use ListControlsRequest_Filter.ProtoReflect.Descriptor instead.

func (*ListControlsRequest_Filter) GetAssuranceLevels

func (x *ListControlsRequest_Filter) GetAssuranceLevels() []string

func (*ListControlsRequest_Filter) ProtoMessage

func (*ListControlsRequest_Filter) ProtoMessage()

func (*ListControlsRequest_Filter) ProtoReflect

func (*ListControlsRequest_Filter) Reset

func (x *ListControlsRequest_Filter) Reset()

func (*ListControlsRequest_Filter) String

func (x *ListControlsRequest_Filter) String() string

type ListControlsResponse

type ListControlsResponse struct {
	Controls      []*Control `protobuf:"bytes,1,rep,name=controls,proto3" json:"controls,omitempty"`
	NextPageToken string     `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListControlsResponse) Descriptor deprecated

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

Deprecated: Use ListControlsResponse.ProtoReflect.Descriptor instead.

func (*ListControlsResponse) GetControls

func (x *ListControlsResponse) GetControls() []*Control

func (*ListControlsResponse) GetNextPageToken

func (x *ListControlsResponse) GetNextPageToken() string

func (*ListControlsResponse) ProtoMessage

func (*ListControlsResponse) ProtoMessage()

func (*ListControlsResponse) ProtoReflect

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

func (*ListControlsResponse) Reset

func (x *ListControlsResponse) Reset()

func (*ListControlsResponse) String

func (x *ListControlsResponse) String() string

type ListMetricConfigurationRequest

type ListMetricConfigurationRequest struct {
	CertificationTargetId string `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ListMetricConfigurationRequest) Descriptor deprecated

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

Deprecated: Use ListMetricConfigurationRequest.ProtoReflect.Descriptor instead.

func (*ListMetricConfigurationRequest) GetCertificationTargetId

func (x *ListMetricConfigurationRequest) GetCertificationTargetId() string

func (*ListMetricConfigurationRequest) ProtoMessage

func (*ListMetricConfigurationRequest) ProtoMessage()

func (*ListMetricConfigurationRequest) ProtoReflect

func (*ListMetricConfigurationRequest) Reset

func (x *ListMetricConfigurationRequest) Reset()

func (*ListMetricConfigurationRequest) String

type ListMetricConfigurationResponse

type ListMetricConfigurationResponse struct {

	// A map of metric configurations associated by their metric ID
	Configurations map[string]*assessment.MetricConfiguration `` /* 169-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ListMetricConfigurationResponse) Descriptor deprecated

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

Deprecated: Use ListMetricConfigurationResponse.ProtoReflect.Descriptor instead.

func (*ListMetricConfigurationResponse) GetConfigurations

func (*ListMetricConfigurationResponse) ProtoMessage

func (*ListMetricConfigurationResponse) ProtoMessage()

func (*ListMetricConfigurationResponse) ProtoReflect

func (*ListMetricConfigurationResponse) Reset

func (*ListMetricConfigurationResponse) String

type ListMetricsRequest

type ListMetricsRequest struct {
	Filter    *ListMetricsRequest_Filter `protobuf:"bytes,1,opt,name=filter,proto3,oneof" json:"filter,omitempty"`
	PageSize  int32                      `protobuf:"varint,10,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken string                     `protobuf:"bytes,11,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	OrderBy   string                     `protobuf:"bytes,12,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	Asc       bool                       `protobuf:"varint,13,opt,name=asc,proto3" json:"asc,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMetricsRequest) Descriptor deprecated

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

Deprecated: Use ListMetricsRequest.ProtoReflect.Descriptor instead.

func (*ListMetricsRequest) GetAsc

func (x *ListMetricsRequest) GetAsc() bool

func (*ListMetricsRequest) GetFilter

func (*ListMetricsRequest) GetOrderBy

func (x *ListMetricsRequest) GetOrderBy() string

func (*ListMetricsRequest) GetPageSize

func (x *ListMetricsRequest) GetPageSize() int32

func (*ListMetricsRequest) GetPageToken

func (x *ListMetricsRequest) GetPageToken() string

func (*ListMetricsRequest) ProtoMessage

func (*ListMetricsRequest) ProtoMessage()

func (*ListMetricsRequest) ProtoReflect

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

func (*ListMetricsRequest) Reset

func (x *ListMetricsRequest) Reset()

func (*ListMetricsRequest) String

func (x *ListMetricsRequest) String() string

type ListMetricsRequest_Filter

type ListMetricsRequest_Filter struct {
	IncludeDeprecated *bool `protobuf:"varint,1,opt,name=include_deprecated,json=includeDeprecated,proto3,oneof" json:"include_deprecated,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMetricsRequest_Filter) Descriptor deprecated

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

Deprecated: Use ListMetricsRequest_Filter.ProtoReflect.Descriptor instead.

func (*ListMetricsRequest_Filter) GetIncludeDeprecated

func (x *ListMetricsRequest_Filter) GetIncludeDeprecated() bool

func (*ListMetricsRequest_Filter) ProtoMessage

func (*ListMetricsRequest_Filter) ProtoMessage()

func (*ListMetricsRequest_Filter) ProtoReflect

func (*ListMetricsRequest_Filter) Reset

func (x *ListMetricsRequest_Filter) Reset()

func (*ListMetricsRequest_Filter) String

func (x *ListMetricsRequest_Filter) String() string

type ListMetricsResponse

type ListMetricsResponse struct {
	Metrics       []*assessment.Metric `protobuf:"bytes,1,rep,name=metrics,proto3" json:"metrics,omitempty"`
	NextPageToken string               `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMetricsResponse) Descriptor deprecated

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

Deprecated: Use ListMetricsResponse.ProtoReflect.Descriptor instead.

func (*ListMetricsResponse) GetMetrics

func (x *ListMetricsResponse) GetMetrics() []*assessment.Metric

func (*ListMetricsResponse) GetNextPageToken

func (x *ListMetricsResponse) GetNextPageToken() string

func (*ListMetricsResponse) ProtoMessage

func (*ListMetricsResponse) ProtoMessage()

func (*ListMetricsResponse) ProtoReflect

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

func (*ListMetricsResponse) Reset

func (x *ListMetricsResponse) Reset()

func (*ListMetricsResponse) String

func (x *ListMetricsResponse) String() string

type ListPublicCertificatesRequest

type ListPublicCertificatesRequest struct {
	PageSize  int32  `protobuf:"varint,10,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken string `protobuf:"bytes,11,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	OrderBy   string `protobuf:"bytes,12,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	Asc       bool   `protobuf:"varint,13,opt,name=asc,proto3" json:"asc,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPublicCertificatesRequest) Descriptor deprecated

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

Deprecated: Use ListPublicCertificatesRequest.ProtoReflect.Descriptor instead.

func (*ListPublicCertificatesRequest) GetAsc

func (x *ListPublicCertificatesRequest) GetAsc() bool

func (*ListPublicCertificatesRequest) GetOrderBy

func (x *ListPublicCertificatesRequest) GetOrderBy() string

func (*ListPublicCertificatesRequest) GetPageSize

func (x *ListPublicCertificatesRequest) GetPageSize() int32

func (*ListPublicCertificatesRequest) GetPageToken

func (x *ListPublicCertificatesRequest) GetPageToken() string

func (*ListPublicCertificatesRequest) ProtoMessage

func (*ListPublicCertificatesRequest) ProtoMessage()

func (*ListPublicCertificatesRequest) ProtoReflect

func (*ListPublicCertificatesRequest) Reset

func (x *ListPublicCertificatesRequest) Reset()

func (*ListPublicCertificatesRequest) String

type ListPublicCertificatesResponse

type ListPublicCertificatesResponse struct {
	Certificates  []*Certificate `protobuf:"bytes,1,rep,name=certificates,proto3" json:"certificates,omitempty"`
	NextPageToken string         `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPublicCertificatesResponse) Descriptor deprecated

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

Deprecated: Use ListPublicCertificatesResponse.ProtoReflect.Descriptor instead.

func (*ListPublicCertificatesResponse) GetCertificates

func (x *ListPublicCertificatesResponse) GetCertificates() []*Certificate

func (*ListPublicCertificatesResponse) GetNextPageToken

func (x *ListPublicCertificatesResponse) GetNextPageToken() string

func (*ListPublicCertificatesResponse) ProtoMessage

func (*ListPublicCertificatesResponse) ProtoMessage()

func (*ListPublicCertificatesResponse) ProtoReflect

func (*ListPublicCertificatesResponse) Reset

func (x *ListPublicCertificatesResponse) Reset()

func (*ListPublicCertificatesResponse) String

type MetricChangeEvent

type MetricChangeEvent struct {
	Type MetricChangeEvent_Type `protobuf:"varint,1,opt,name=type,proto3,enum=clouditor.orchestrator.v1.MetricChangeEvent_Type" json:"type,omitempty"`
	// The metric that is changing.
	MetricId string `protobuf:"bytes,2,opt,name=metric_id,json=metricId,proto3" json:"metric_id,omitempty"`
	// The certification target id that is affected by this change. Primarily
	// concerns metric configuration changes.
	CertificationTargetId string `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

MetricChangeEvent represents a change of either a metric configuration or implementation.

func (*MetricChangeEvent) Descriptor deprecated

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

Deprecated: Use MetricChangeEvent.ProtoReflect.Descriptor instead.

func (*MetricChangeEvent) GetCertificationTargetId

func (x *MetricChangeEvent) GetCertificationTargetId() string

func (*MetricChangeEvent) GetMetricId

func (x *MetricChangeEvent) GetMetricId() string

func (*MetricChangeEvent) GetType

func (*MetricChangeEvent) ProtoMessage

func (*MetricChangeEvent) ProtoMessage()

func (*MetricChangeEvent) ProtoReflect

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

func (*MetricChangeEvent) Reset

func (x *MetricChangeEvent) Reset()

func (*MetricChangeEvent) String

func (x *MetricChangeEvent) String() string

type MetricChangeEvent_Type

type MetricChangeEvent_Type int32
const (
	MetricChangeEvent_TYPE_UNSPECIFIED            MetricChangeEvent_Type = 0
	MetricChangeEvent_TYPE_CONFIG_CHANGED         MetricChangeEvent_Type = 1
	MetricChangeEvent_TYPE_IMPLEMENTATION_CHANGED MetricChangeEvent_Type = 2
	MetricChangeEvent_TYPE_METADATA_CHANGED       MetricChangeEvent_Type = 3
)

func (MetricChangeEvent_Type) Descriptor

func (MetricChangeEvent_Type) Enum

func (MetricChangeEvent_Type) EnumDescriptor deprecated

func (MetricChangeEvent_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use MetricChangeEvent_Type.Descriptor instead.

func (MetricChangeEvent_Type) Number

func (MetricChangeEvent_Type) String

func (x MetricChangeEvent_Type) String() string

func (MetricChangeEvent_Type) Type

type OrchestratorClient

type OrchestratorClient interface {
	// Registers the passed assessment tool
	RegisterAssessmentTool(ctx context.Context, in *RegisterAssessmentToolRequest, opts ...grpc.CallOption) (*AssessmentTool, error)
	// Lists all assessment tools assessing evidences for the metric given by the
	// passed metric id
	ListAssessmentTools(ctx context.Context, in *ListAssessmentToolsRequest, opts ...grpc.CallOption) (*ListAssessmentToolsResponse, error)
	// Returns assessment tool given by the passed tool id
	GetAssessmentTool(ctx context.Context, in *GetAssessmentToolRequest, opts ...grpc.CallOption) (*AssessmentTool, error)
	// Updates the assessment tool given by the passed id
	UpdateAssessmentTool(ctx context.Context, in *UpdateAssessmentToolRequest, opts ...grpc.CallOption) (*AssessmentTool, error)
	// Remove assessment tool with passed id from the list of active assessment
	// tools
	DeregisterAssessmentTool(ctx context.Context, in *DeregisterAssessmentToolRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Stores the assessment result provided by an assessment tool
	StoreAssessmentResult(ctx context.Context, in *StoreAssessmentResultRequest, opts ...grpc.CallOption) (*StoreAssessmentResultResponse, error)
	// Stores stream of assessment results provided by an assessment tool and
	// returns a response stream. Part of the public API, not exposed as REST.
	StoreAssessmentResults(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[StoreAssessmentResultRequest, StoreAssessmentResultsResponse], error)
	// Get an assessment result by ID
	GetAssessmentResult(ctx context.Context, in *GetAssessmentResultRequest, opts ...grpc.CallOption) (*assessment.AssessmentResult, error)
	// List all assessment results. Part of the public API, also exposed as REST.
	ListAssessmentResults(ctx context.Context, in *ListAssessmentResultsRequest, opts ...grpc.CallOption) (*ListAssessmentResultsResponse, error)
	// Creates a new metric
	CreateMetric(ctx context.Context, in *CreateMetricRequest, opts ...grpc.CallOption) (*assessment.Metric, error)
	// Updates an existing metric
	UpdateMetric(ctx context.Context, in *UpdateMetricRequest, opts ...grpc.CallOption) (*assessment.Metric, error)
	// Returns the metric with the passed metric id
	GetMetric(ctx context.Context, in *GetMetricRequest, opts ...grpc.CallOption) (*assessment.Metric, error)
	// List all metrics provided by the metric catalog
	ListMetrics(ctx context.Context, in *ListMetricsRequest, opts ...grpc.CallOption) (*ListMetricsResponse, error)
	// Removes a new metric
	RemoveMetric(ctx context.Context, in *RemoveMetricRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Registers a new target certification target
	RegisterCertificationTarget(ctx context.Context, in *RegisterCertificationTargetRequest, opts ...grpc.CallOption) (*CertificationTarget, error)
	// Registers a new target certification target
	UpdateCertificationTarget(ctx context.Context, in *UpdateCertificationTargetRequest, opts ...grpc.CallOption) (*CertificationTarget, error)
	// Retrieves a target certification target
	GetCertificationTarget(ctx context.Context, in *GetCertificationTargetRequest, opts ...grpc.CallOption) (*CertificationTarget, error)
	// Lists all target certification targets
	ListCertificationTargets(ctx context.Context, in *ListCertificationTargetsRequest, opts ...grpc.CallOption) (*ListCertificationTargetsResponse, error)
	// Removes a target certification target
	RemoveCertificationTarget(ctx context.Context, in *RemoveCertificationTargetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Retrieves target certification target statistics
	GetCertificationTargetStatistics(ctx context.Context, in *GetCertificationTargetStatisticsRequest, opts ...grpc.CallOption) (*GetCertificationTargetStatisticsResponse, error)
	// Updates a metric configuration (target value and operator) for a specific
	// certification target and metric ID
	UpdateMetricConfiguration(ctx context.Context, in *UpdateMetricConfigurationRequest, opts ...grpc.CallOption) (*assessment.MetricConfiguration, error)
	// Retrieves a metric configuration (target value and operator) for a specific
	// certification target and metric ID.
	GetMetricConfiguration(ctx context.Context, in *GetMetricConfigurationRequest, opts ...grpc.CallOption) (*assessment.MetricConfiguration, error)
	// Lists all metric configurations (target value and operator) for a
	// specific certification target ID
	ListMetricConfigurations(ctx context.Context, in *ListMetricConfigurationRequest, opts ...grpc.CallOption) (*ListMetricConfigurationResponse, error)
	// Updates an existing metric implementation
	UpdateMetricImplementation(ctx context.Context, in *UpdateMetricImplementationRequest, opts ...grpc.CallOption) (*assessment.MetricImplementation, error)
	// Returns the metric implementation of the passed metric id
	GetMetricImplementation(ctx context.Context, in *GetMetricImplementationRequest, opts ...grpc.CallOption) (*assessment.MetricImplementation, error)
	SubscribeMetricChangeEvents(ctx context.Context, in *SubscribeMetricChangeEventRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[MetricChangeEvent], error)
	// Creates a new certificate
	CreateCertificate(ctx context.Context, in *CreateCertificateRequest, opts ...grpc.CallOption) (*Certificate, error)
	// Retrieves a certificate
	GetCertificate(ctx context.Context, in *GetCertificateRequest, opts ...grpc.CallOption) (*Certificate, error)
	// Lists all target certificates
	ListCertificates(ctx context.Context, in *ListCertificatesRequest, opts ...grpc.CallOption) (*ListCertificatesResponse, error)
	// Lists all target certificates without state history
	ListPublicCertificates(ctx context.Context, in *ListPublicCertificatesRequest, opts ...grpc.CallOption) (*ListPublicCertificatesResponse, error)
	// Updates an existing certificate
	UpdateCertificate(ctx context.Context, in *UpdateCertificateRequest, opts ...grpc.CallOption) (*Certificate, error)
	// Removes a certificate
	RemoveCertificate(ctx context.Context, in *RemoveCertificateRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Creates a new security controls catalog
	CreateCatalog(ctx context.Context, in *CreateCatalogRequest, opts ...grpc.CallOption) (*Catalog, error)
	// Lists all security controls catalogs. Each catalog includes a list of its
	// categories but no additional sub-resources.
	ListCatalogs(ctx context.Context, in *ListCatalogsRequest, opts ...grpc.CallOption) (*ListCatalogsResponse, error)
	// Retrieves a specific catalog by it's ID. The catalog includes a list of all
	// of it categories as well as the first level of controls in each category.
	GetCatalog(ctx context.Context, in *GetCatalogRequest, opts ...grpc.CallOption) (*Catalog, error)
	// Removes a catalog
	RemoveCatalog(ctx context.Context, in *RemoveCatalogRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Updates an existing certificate
	UpdateCatalog(ctx context.Context, in *UpdateCatalogRequest, opts ...grpc.CallOption) (*Catalog, error)
	// Retrieves a category of a catalog specified by the catalog ID and the
	// category name. It includes the first level of controls within each
	// category.
	GetCategory(ctx context.Context, in *GetCategoryRequest, opts ...grpc.CallOption) (*Category, error)
	// If no additional parameters are specified, this lists all controls. If a
	// catalog ID and a category name is specified, then only controls containing
	// in this category are returned.
	ListControls(ctx context.Context, in *ListControlsRequest, opts ...grpc.CallOption) (*ListControlsResponse, error)
	// Retrieves a control specified by the catalog ID, the control's category
	// name and the control ID. If present, it also includes a list of
	// sub-controls if present or a list of metrics if no sub-controls but metrics
	// are present.
	GetControl(ctx context.Context, in *GetControlRequest, opts ...grpc.CallOption) (*Control, error)
	// Creates a new Audit Scope
	CreateAuditScope(ctx context.Context, in *CreateAuditScopeRequest, opts ...grpc.CallOption) (*AuditScope, error)
	// Retrieves a Audit Scope
	GetAuditScope(ctx context.Context, in *GetAuditScopeRequest, opts ...grpc.CallOption) (*AuditScope, error)
	// Lists all Audit Scopes
	ListAuditScopes(ctx context.Context, in *ListAuditScopesRequest, opts ...grpc.CallOption) (*ListAuditScopesResponse, error)
	// Updates an existing Audit Scope
	UpdateAuditScope(ctx context.Context, in *UpdateAuditScopeRequest, opts ...grpc.CallOption) (*AuditScope, error)
	// Removes a Audit Scope
	RemoveAuditScope(ctx context.Context, in *RemoveAuditScopeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Get Runtime Information
	GetRuntimeInfo(ctx context.Context, in *runtime.GetRuntimeInfoRequest, opts ...grpc.CallOption) (*runtime.Runtime, error)
}

OrchestratorClient is the client API for Orchestrator service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

Manages the orchestration of components within the Clouditor architecture

type OrchestratorServer

type OrchestratorServer interface {
	// Registers the passed assessment tool
	RegisterAssessmentTool(context.Context, *RegisterAssessmentToolRequest) (*AssessmentTool, error)
	// Lists all assessment tools assessing evidences for the metric given by the
	// passed metric id
	ListAssessmentTools(context.Context, *ListAssessmentToolsRequest) (*ListAssessmentToolsResponse, error)
	// Returns assessment tool given by the passed tool id
	GetAssessmentTool(context.Context, *GetAssessmentToolRequest) (*AssessmentTool, error)
	// Updates the assessment tool given by the passed id
	UpdateAssessmentTool(context.Context, *UpdateAssessmentToolRequest) (*AssessmentTool, error)
	// Remove assessment tool with passed id from the list of active assessment
	// tools
	DeregisterAssessmentTool(context.Context, *DeregisterAssessmentToolRequest) (*emptypb.Empty, error)
	// Stores the assessment result provided by an assessment tool
	StoreAssessmentResult(context.Context, *StoreAssessmentResultRequest) (*StoreAssessmentResultResponse, error)
	// Stores stream of assessment results provided by an assessment tool and
	// returns a response stream. Part of the public API, not exposed as REST.
	StoreAssessmentResults(grpc.BidiStreamingServer[StoreAssessmentResultRequest, StoreAssessmentResultsResponse]) error
	// Get an assessment result by ID
	GetAssessmentResult(context.Context, *GetAssessmentResultRequest) (*assessment.AssessmentResult, error)
	// List all assessment results. Part of the public API, also exposed as REST.
	ListAssessmentResults(context.Context, *ListAssessmentResultsRequest) (*ListAssessmentResultsResponse, error)
	// Creates a new metric
	CreateMetric(context.Context, *CreateMetricRequest) (*assessment.Metric, error)
	// Updates an existing metric
	UpdateMetric(context.Context, *UpdateMetricRequest) (*assessment.Metric, error)
	// Returns the metric with the passed metric id
	GetMetric(context.Context, *GetMetricRequest) (*assessment.Metric, error)
	// List all metrics provided by the metric catalog
	ListMetrics(context.Context, *ListMetricsRequest) (*ListMetricsResponse, error)
	// Removes a new metric
	RemoveMetric(context.Context, *RemoveMetricRequest) (*emptypb.Empty, error)
	// Registers a new target certification target
	RegisterCertificationTarget(context.Context, *RegisterCertificationTargetRequest) (*CertificationTarget, error)
	// Registers a new target certification target
	UpdateCertificationTarget(context.Context, *UpdateCertificationTargetRequest) (*CertificationTarget, error)
	// Retrieves a target certification target
	GetCertificationTarget(context.Context, *GetCertificationTargetRequest) (*CertificationTarget, error)
	// Lists all target certification targets
	ListCertificationTargets(context.Context, *ListCertificationTargetsRequest) (*ListCertificationTargetsResponse, error)
	// Removes a target certification target
	RemoveCertificationTarget(context.Context, *RemoveCertificationTargetRequest) (*emptypb.Empty, error)
	// Retrieves target certification target statistics
	GetCertificationTargetStatistics(context.Context, *GetCertificationTargetStatisticsRequest) (*GetCertificationTargetStatisticsResponse, error)
	// Updates a metric configuration (target value and operator) for a specific
	// certification target and metric ID
	UpdateMetricConfiguration(context.Context, *UpdateMetricConfigurationRequest) (*assessment.MetricConfiguration, error)
	// Retrieves a metric configuration (target value and operator) for a specific
	// certification target and metric ID.
	GetMetricConfiguration(context.Context, *GetMetricConfigurationRequest) (*assessment.MetricConfiguration, error)
	// Lists all metric configurations (target value and operator) for a
	// specific certification target ID
	ListMetricConfigurations(context.Context, *ListMetricConfigurationRequest) (*ListMetricConfigurationResponse, error)
	// Updates an existing metric implementation
	UpdateMetricImplementation(context.Context, *UpdateMetricImplementationRequest) (*assessment.MetricImplementation, error)
	// Returns the metric implementation of the passed metric id
	GetMetricImplementation(context.Context, *GetMetricImplementationRequest) (*assessment.MetricImplementation, error)
	SubscribeMetricChangeEvents(*SubscribeMetricChangeEventRequest, grpc.ServerStreamingServer[MetricChangeEvent]) error
	// Creates a new certificate
	CreateCertificate(context.Context, *CreateCertificateRequest) (*Certificate, error)
	// Retrieves a certificate
	GetCertificate(context.Context, *GetCertificateRequest) (*Certificate, error)
	// Lists all target certificates
	ListCertificates(context.Context, *ListCertificatesRequest) (*ListCertificatesResponse, error)
	// Lists all target certificates without state history
	ListPublicCertificates(context.Context, *ListPublicCertificatesRequest) (*ListPublicCertificatesResponse, error)
	// Updates an existing certificate
	UpdateCertificate(context.Context, *UpdateCertificateRequest) (*Certificate, error)
	// Removes a certificate
	RemoveCertificate(context.Context, *RemoveCertificateRequest) (*emptypb.Empty, error)
	// Creates a new security controls catalog
	CreateCatalog(context.Context, *CreateCatalogRequest) (*Catalog, error)
	// Lists all security controls catalogs. Each catalog includes a list of its
	// categories but no additional sub-resources.
	ListCatalogs(context.Context, *ListCatalogsRequest) (*ListCatalogsResponse, error)
	// Retrieves a specific catalog by it's ID. The catalog includes a list of all
	// of it categories as well as the first level of controls in each category.
	GetCatalog(context.Context, *GetCatalogRequest) (*Catalog, error)
	// Removes a catalog
	RemoveCatalog(context.Context, *RemoveCatalogRequest) (*emptypb.Empty, error)
	// Updates an existing certificate
	UpdateCatalog(context.Context, *UpdateCatalogRequest) (*Catalog, error)
	// Retrieves a category of a catalog specified by the catalog ID and the
	// category name. It includes the first level of controls within each
	// category.
	GetCategory(context.Context, *GetCategoryRequest) (*Category, error)
	// If no additional parameters are specified, this lists all controls. If a
	// catalog ID and a category name is specified, then only controls containing
	// in this category are returned.
	ListControls(context.Context, *ListControlsRequest) (*ListControlsResponse, error)
	// Retrieves a control specified by the catalog ID, the control's category
	// name and the control ID. If present, it also includes a list of
	// sub-controls if present or a list of metrics if no sub-controls but metrics
	// are present.
	GetControl(context.Context, *GetControlRequest) (*Control, error)
	// Creates a new Audit Scope
	CreateAuditScope(context.Context, *CreateAuditScopeRequest) (*AuditScope, error)
	// Retrieves a Audit Scope
	GetAuditScope(context.Context, *GetAuditScopeRequest) (*AuditScope, error)
	// Lists all Audit Scopes
	ListAuditScopes(context.Context, *ListAuditScopesRequest) (*ListAuditScopesResponse, error)
	// Updates an existing Audit Scope
	UpdateAuditScope(context.Context, *UpdateAuditScopeRequest) (*AuditScope, error)
	// Removes a Audit Scope
	RemoveAuditScope(context.Context, *RemoveAuditScopeRequest) (*emptypb.Empty, error)
	// Get Runtime Information
	GetRuntimeInfo(context.Context, *runtime.GetRuntimeInfoRequest) (*runtime.Runtime, error)
	// contains filtered or unexported methods
}

OrchestratorServer is the server API for Orchestrator service. All implementations must embed UnimplementedOrchestratorServer for forward compatibility.

Manages the orchestration of components within the Clouditor architecture

type Orchestrator_StoreAssessmentResultsClient

type Orchestrator_StoreAssessmentResultsClient = grpc.BidiStreamingClient[StoreAssessmentResultRequest, StoreAssessmentResultsResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Orchestrator_StoreAssessmentResultsServer

type Orchestrator_StoreAssessmentResultsServer = grpc.BidiStreamingServer[StoreAssessmentResultRequest, StoreAssessmentResultsResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Orchestrator_SubscribeMetricChangeEventsClient

type Orchestrator_SubscribeMetricChangeEventsClient = grpc.ServerStreamingClient[MetricChangeEvent]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Orchestrator_SubscribeMetricChangeEventsServer

type Orchestrator_SubscribeMetricChangeEventsServer = grpc.ServerStreamingServer[MetricChangeEvent]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type RegisterAssessmentToolRequest

type RegisterAssessmentToolRequest struct {
	Tool *AssessmentTool `protobuf:"bytes,1,opt,name=tool,proto3" json:"tool,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterAssessmentToolRequest) Descriptor deprecated

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

Deprecated: Use RegisterAssessmentToolRequest.ProtoReflect.Descriptor instead.

func (*RegisterAssessmentToolRequest) GetPayload

func (req *RegisterAssessmentToolRequest) GetPayload() proto.Message

func (*RegisterAssessmentToolRequest) GetTool

func (*RegisterAssessmentToolRequest) ProtoMessage

func (*RegisterAssessmentToolRequest) ProtoMessage()

func (*RegisterAssessmentToolRequest) ProtoReflect

func (*RegisterAssessmentToolRequest) Reset

func (x *RegisterAssessmentToolRequest) Reset()

func (*RegisterAssessmentToolRequest) String

type RegisterCertificationTargetRequest

type RegisterCertificationTargetRequest struct {
	CertificationTarget *CertificationTarget `protobuf:"bytes,1,opt,name=certification_target,json=certificationTarget,proto3" json:"certification_target,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterCertificationTargetRequest) Descriptor deprecated

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

Deprecated: Use RegisterCertificationTargetRequest.ProtoReflect.Descriptor instead.

func (*RegisterCertificationTargetRequest) GetCertificationTarget

func (x *RegisterCertificationTargetRequest) GetCertificationTarget() *CertificationTarget

func (*RegisterCertificationTargetRequest) GetCertificationTargetId

func (req *RegisterCertificationTargetRequest) GetCertificationTargetId() string

GetCertificationTargetId is a shortcut to implement CertificationTargetRequest. It returns the certification target ID of the inner object.

func (*RegisterCertificationTargetRequest) GetPayload

func (*RegisterCertificationTargetRequest) ProtoMessage

func (*RegisterCertificationTargetRequest) ProtoMessage()

func (*RegisterCertificationTargetRequest) ProtoReflect

func (*RegisterCertificationTargetRequest) Reset

func (*RegisterCertificationTargetRequest) String

type RemoveAuditScopeRequest

type RemoveAuditScopeRequest struct {
	CertificationTargetId string `` /* 126-byte string literal not displayed */
	CatalogId             string `protobuf:"bytes,2,opt,name=catalog_id,json=catalogId,proto3" json:"catalog_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveAuditScopeRequest) Descriptor deprecated

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

Deprecated: Use RemoveAuditScopeRequest.ProtoReflect.Descriptor instead.

func (*RemoveAuditScopeRequest) GetCatalogId

func (x *RemoveAuditScopeRequest) GetCatalogId() string

func (*RemoveAuditScopeRequest) GetCertificationTargetId

func (x *RemoveAuditScopeRequest) GetCertificationTargetId() string

func (*RemoveAuditScopeRequest) GetPayload

func (req *RemoveAuditScopeRequest) GetPayload() proto.Message

func (*RemoveAuditScopeRequest) ProtoMessage

func (*RemoveAuditScopeRequest) ProtoMessage()

func (*RemoveAuditScopeRequest) ProtoReflect

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

func (*RemoveAuditScopeRequest) Reset

func (x *RemoveAuditScopeRequest) Reset()

func (*RemoveAuditScopeRequest) String

func (x *RemoveAuditScopeRequest) String() string

type RemoveCatalogRequest

type RemoveCatalogRequest struct {
	CatalogId string `protobuf:"bytes,1,opt,name=catalog_id,json=catalogId,proto3" json:"catalog_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveCatalogRequest) Descriptor deprecated

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

Deprecated: Use RemoveCatalogRequest.ProtoReflect.Descriptor instead.

func (*RemoveCatalogRequest) GetCatalogId

func (x *RemoveCatalogRequest) GetCatalogId() string

func (*RemoveCatalogRequest) GetPayload

func (req *RemoveCatalogRequest) GetPayload() proto.Message

func (*RemoveCatalogRequest) ProtoMessage

func (*RemoveCatalogRequest) ProtoMessage()

func (*RemoveCatalogRequest) ProtoReflect

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

func (*RemoveCatalogRequest) Reset

func (x *RemoveCatalogRequest) Reset()

func (*RemoveCatalogRequest) String

func (x *RemoveCatalogRequest) String() string

type RemoveCertificateRequest

type RemoveCertificateRequest struct {
	CertificateId string `protobuf:"bytes,1,opt,name=certificate_id,json=certificateId,proto3" json:"certificate_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveCertificateRequest) Descriptor deprecated

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

Deprecated: Use RemoveCertificateRequest.ProtoReflect.Descriptor instead.

func (*RemoveCertificateRequest) GetCertificateId

func (x *RemoveCertificateRequest) GetCertificateId() string

func (*RemoveCertificateRequest) GetPayload

func (req *RemoveCertificateRequest) GetPayload() proto.Message

func (*RemoveCertificateRequest) ProtoMessage

func (*RemoveCertificateRequest) ProtoMessage()

func (*RemoveCertificateRequest) ProtoReflect

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

func (*RemoveCertificateRequest) Reset

func (x *RemoveCertificateRequest) Reset()

func (*RemoveCertificateRequest) String

func (x *RemoveCertificateRequest) String() string

type RemoveCertificationTargetRequest

type RemoveCertificationTargetRequest struct {
	CertificationTargetId string `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RemoveCertificationTargetRequest) Descriptor deprecated

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

Deprecated: Use RemoveCertificationTargetRequest.ProtoReflect.Descriptor instead.

func (*RemoveCertificationTargetRequest) GetCertificationTargetId

func (x *RemoveCertificationTargetRequest) GetCertificationTargetId() string

func (*RemoveCertificationTargetRequest) GetPayload

func (*RemoveCertificationTargetRequest) ProtoMessage

func (*RemoveCertificationTargetRequest) ProtoMessage()

func (*RemoveCertificationTargetRequest) ProtoReflect

func (*RemoveCertificationTargetRequest) Reset

func (*RemoveCertificationTargetRequest) String

type RemoveMetricRequest

type RemoveMetricRequest struct {
	MetricId string `protobuf:"bytes,1,opt,name=metric_id,json=metricId,proto3" json:"metric_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveMetricRequest) Descriptor deprecated

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

Deprecated: Use RemoveMetricRequest.ProtoReflect.Descriptor instead.

func (*RemoveMetricRequest) GetMetricId

func (x *RemoveMetricRequest) GetMetricId() string

func (*RemoveMetricRequest) GetPayload

func (req *RemoveMetricRequest) GetPayload() proto.Message

func (*RemoveMetricRequest) ProtoMessage

func (*RemoveMetricRequest) ProtoMessage()

func (*RemoveMetricRequest) ProtoReflect

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

func (*RemoveMetricRequest) Reset

func (x *RemoveMetricRequest) Reset()

func (*RemoveMetricRequest) String

func (x *RemoveMetricRequest) String() string

type State

type State struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// An EUCS-defined state, e.g. `new`, `suspended` or `withdrawn`
	State     string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	TreeId    string `protobuf:"bytes,3,opt,name=tree_id,json=treeId,proto3" json:"tree_id,omitempty"`
	Timestamp string `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Reference to the certificate
	CertificateId string `protobuf:"bytes,5,opt,name=certificate_id,json=certificateId,proto3" json:"certificate_id,omitempty"`
	// contains filtered or unexported fields
}

A state of a certificate at a given time

func (*State) Descriptor deprecated

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

Deprecated: Use State.ProtoReflect.Descriptor instead.

func (*State) GetCertificateId

func (x *State) GetCertificateId() string

func (*State) GetId

func (x *State) GetId() string

func (*State) GetState

func (x *State) GetState() string

func (*State) GetTimestamp

func (x *State) GetTimestamp() string

func (*State) GetTreeId

func (x *State) GetTreeId() string

func (*State) ProtoMessage

func (*State) ProtoMessage()

func (*State) ProtoReflect

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

func (*State) Reset

func (x *State) Reset()

func (*State) String

func (x *State) String() string

type StoreAssessmentResultRequest

type StoreAssessmentResultRequest struct {
	Result *assessment.AssessmentResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*StoreAssessmentResultRequest) Descriptor deprecated

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

Deprecated: Use StoreAssessmentResultRequest.ProtoReflect.Descriptor instead.

func (*StoreAssessmentResultRequest) GetCertificationTargetId

func (req *StoreAssessmentResultRequest) GetCertificationTargetId() string

GetCertificationTargetId is a shortcut to implement CertificationTargetRequest. It returns the certification target ID of the inner object.

func (*StoreAssessmentResultRequest) GetPayload

func (req *StoreAssessmentResultRequest) GetPayload() proto.Message

func (*StoreAssessmentResultRequest) GetResult

func (*StoreAssessmentResultRequest) ProtoMessage

func (*StoreAssessmentResultRequest) ProtoMessage()

func (*StoreAssessmentResultRequest) ProtoReflect

func (*StoreAssessmentResultRequest) Reset

func (x *StoreAssessmentResultRequest) Reset()

func (*StoreAssessmentResultRequest) String

type StoreAssessmentResultResponse

type StoreAssessmentResultResponse struct {
	// contains filtered or unexported fields
}

StoreAssessmentResultReponse belongs to StoreAssessmentResult, which uses a custom unary RPC and therefore requires a response message according to the style convention. Since no return values are required, this is empty.

func (*StoreAssessmentResultResponse) Descriptor deprecated

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

Deprecated: Use StoreAssessmentResultResponse.ProtoReflect.Descriptor instead.

func (*StoreAssessmentResultResponse) ProtoMessage

func (*StoreAssessmentResultResponse) ProtoMessage()

func (*StoreAssessmentResultResponse) ProtoReflect

func (*StoreAssessmentResultResponse) Reset

func (x *StoreAssessmentResultResponse) Reset()

func (*StoreAssessmentResultResponse) String

type StoreAssessmentResultsResponse

type StoreAssessmentResultsResponse struct {
	Status        bool   `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	StatusMessage string `protobuf:"bytes,2,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
	// contains filtered or unexported fields
}

StoreAssessmentResultsReponse belongs to StoreAssessmentResults, which uses a custom bidirectional streaming RPC and therefore requires a response message according to the style convention. The bidirectional streaming needs the status and its message in the response for error handling.

func (*StoreAssessmentResultsResponse) Descriptor deprecated

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

Deprecated: Use StoreAssessmentResultsResponse.ProtoReflect.Descriptor instead.

func (*StoreAssessmentResultsResponse) GetStatus

func (x *StoreAssessmentResultsResponse) GetStatus() bool

func (*StoreAssessmentResultsResponse) GetStatusMessage

func (x *StoreAssessmentResultsResponse) GetStatusMessage() string

func (*StoreAssessmentResultsResponse) ProtoMessage

func (*StoreAssessmentResultsResponse) ProtoMessage()

func (*StoreAssessmentResultsResponse) ProtoReflect

func (*StoreAssessmentResultsResponse) Reset

func (x *StoreAssessmentResultsResponse) Reset()

func (*StoreAssessmentResultsResponse) String

type SubscribeMetricChangeEventRequest

type SubscribeMetricChangeEventRequest struct {
	// contains filtered or unexported fields
}

func (*SubscribeMetricChangeEventRequest) Descriptor deprecated

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

Deprecated: Use SubscribeMetricChangeEventRequest.ProtoReflect.Descriptor instead.

func (*SubscribeMetricChangeEventRequest) ProtoMessage

func (*SubscribeMetricChangeEventRequest) ProtoMessage()

func (*SubscribeMetricChangeEventRequest) ProtoReflect

func (*SubscribeMetricChangeEventRequest) Reset

func (*SubscribeMetricChangeEventRequest) String

type UnimplementedOrchestratorServer

type UnimplementedOrchestratorServer struct{}

UnimplementedOrchestratorServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedOrchestratorServer) CreateAuditScope

func (UnimplementedOrchestratorServer) CreateCatalog

func (UnimplementedOrchestratorServer) CreateCertificate

func (UnimplementedOrchestratorServer) CreateMetric

func (UnimplementedOrchestratorServer) DeregisterAssessmentTool

func (UnimplementedOrchestratorServer) GetAssessmentResult

func (UnimplementedOrchestratorServer) GetAssessmentTool

func (UnimplementedOrchestratorServer) GetAuditScope

func (UnimplementedOrchestratorServer) GetCatalog

func (UnimplementedOrchestratorServer) GetCategory

func (UnimplementedOrchestratorServer) GetCertificate

func (UnimplementedOrchestratorServer) GetCertificationTarget

func (UnimplementedOrchestratorServer) GetControl

func (UnimplementedOrchestratorServer) GetMetric

func (UnimplementedOrchestratorServer) GetRuntimeInfo

func (UnimplementedOrchestratorServer) ListAuditScopes

func (UnimplementedOrchestratorServer) ListCatalogs

func (UnimplementedOrchestratorServer) ListCertificates

func (UnimplementedOrchestratorServer) ListControls

func (UnimplementedOrchestratorServer) ListMetrics

func (UnimplementedOrchestratorServer) RegisterAssessmentTool

func (UnimplementedOrchestratorServer) RegisterCertificationTarget

func (UnimplementedOrchestratorServer) RemoveAuditScope

func (UnimplementedOrchestratorServer) RemoveCatalog

func (UnimplementedOrchestratorServer) RemoveCertificate

func (UnimplementedOrchestratorServer) RemoveCertificationTarget

func (UnimplementedOrchestratorServer) RemoveMetric

func (UnimplementedOrchestratorServer) UpdateAssessmentTool

func (UnimplementedOrchestratorServer) UpdateAuditScope

func (UnimplementedOrchestratorServer) UpdateCatalog

func (UnimplementedOrchestratorServer) UpdateCertificate

func (UnimplementedOrchestratorServer) UpdateCertificationTarget

func (UnimplementedOrchestratorServer) UpdateMetric

type UnsafeOrchestratorServer

type UnsafeOrchestratorServer interface {
	// contains filtered or unexported methods
}

UnsafeOrchestratorServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OrchestratorServer will result in compilation errors.

type UpdateAssessmentToolRequest

type UpdateAssessmentToolRequest struct {
	Tool *AssessmentTool `protobuf:"bytes,2,opt,name=tool,proto3" json:"tool,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAssessmentToolRequest) Descriptor deprecated

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

Deprecated: Use UpdateAssessmentToolRequest.ProtoReflect.Descriptor instead.

func (*UpdateAssessmentToolRequest) GetPayload

func (req *UpdateAssessmentToolRequest) GetPayload() proto.Message

func (*UpdateAssessmentToolRequest) GetTool

func (*UpdateAssessmentToolRequest) ProtoMessage

func (*UpdateAssessmentToolRequest) ProtoMessage()

func (*UpdateAssessmentToolRequest) ProtoReflect

func (*UpdateAssessmentToolRequest) Reset

func (x *UpdateAssessmentToolRequest) Reset()

func (*UpdateAssessmentToolRequest) String

func (x *UpdateAssessmentToolRequest) String() string

type UpdateAuditScopeRequest

type UpdateAuditScopeRequest struct {
	AuditScope *AuditScope `protobuf:"bytes,3,opt,name=audit_scope,json=auditScope,proto3" json:"audit_scope,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAuditScopeRequest) Descriptor deprecated

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

Deprecated: Use UpdateAuditScopeRequest.ProtoReflect.Descriptor instead.

func (*UpdateAuditScopeRequest) GetAuditScope

func (x *UpdateAuditScopeRequest) GetAuditScope() *AuditScope

func (*UpdateAuditScopeRequest) GetCertificationTargetId

func (req *UpdateAuditScopeRequest) GetCertificationTargetId() string

GetCertificationTargetId is a shortcut to implement CertificationTargetRequest. It returns the certification target ID of the inner object.

func (*UpdateAuditScopeRequest) GetPayload

func (req *UpdateAuditScopeRequest) GetPayload() proto.Message

func (*UpdateAuditScopeRequest) ProtoMessage

func (*UpdateAuditScopeRequest) ProtoMessage()

func (*UpdateAuditScopeRequest) ProtoReflect

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

func (*UpdateAuditScopeRequest) Reset

func (x *UpdateAuditScopeRequest) Reset()

func (*UpdateAuditScopeRequest) String

func (x *UpdateAuditScopeRequest) String() string

type UpdateCatalogRequest

type UpdateCatalogRequest struct {
	Catalog *Catalog `protobuf:"bytes,1,opt,name=catalog,proto3" json:"catalog,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateCatalogRequest) Descriptor deprecated

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

Deprecated: Use UpdateCatalogRequest.ProtoReflect.Descriptor instead.

func (*UpdateCatalogRequest) GetCatalog

func (x *UpdateCatalogRequest) GetCatalog() *Catalog

func (*UpdateCatalogRequest) GetPayload

func (req *UpdateCatalogRequest) GetPayload() proto.Message

func (*UpdateCatalogRequest) ProtoMessage

func (*UpdateCatalogRequest) ProtoMessage()

func (*UpdateCatalogRequest) ProtoReflect

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

func (*UpdateCatalogRequest) Reset

func (x *UpdateCatalogRequest) Reset()

func (*UpdateCatalogRequest) String

func (x *UpdateCatalogRequest) String() string

type UpdateCertificateRequest

type UpdateCertificateRequest struct {
	Certificate *Certificate `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateCertificateRequest) Descriptor deprecated

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

Deprecated: Use UpdateCertificateRequest.ProtoReflect.Descriptor instead.

func (*UpdateCertificateRequest) GetCertificate

func (x *UpdateCertificateRequest) GetCertificate() *Certificate

func (*UpdateCertificateRequest) GetCertificationTargetId

func (req *UpdateCertificateRequest) GetCertificationTargetId() string

GetCertificationTargetId is a shortcut to implement CertificationTargetRequest. It returns the certification target ID of the inner object.

func (*UpdateCertificateRequest) GetPayload

func (req *UpdateCertificateRequest) GetPayload() proto.Message

func (*UpdateCertificateRequest) ProtoMessage

func (*UpdateCertificateRequest) ProtoMessage()

func (*UpdateCertificateRequest) ProtoReflect

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

func (*UpdateCertificateRequest) Reset

func (x *UpdateCertificateRequest) Reset()

func (*UpdateCertificateRequest) String

func (x *UpdateCertificateRequest) String() string

type UpdateCertificationTargetRequest

type UpdateCertificationTargetRequest struct {
	CertificationTarget *CertificationTarget `protobuf:"bytes,1,opt,name=certification_target,json=certificationTarget,proto3" json:"certification_target,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateCertificationTargetRequest) Descriptor deprecated

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

Deprecated: Use UpdateCertificationTargetRequest.ProtoReflect.Descriptor instead.

func (*UpdateCertificationTargetRequest) GetCertificationTarget

func (x *UpdateCertificationTargetRequest) GetCertificationTarget() *CertificationTarget

func (*UpdateCertificationTargetRequest) GetCertificationTargetId

func (req *UpdateCertificationTargetRequest) GetCertificationTargetId() string

GetCertificationTargetId is a shortcut to implement CertificationTargetRequest. It returns the certification target ID of the inner object.

func (*UpdateCertificationTargetRequest) GetPayload

func (*UpdateCertificationTargetRequest) ProtoMessage

func (*UpdateCertificationTargetRequest) ProtoMessage()

func (*UpdateCertificationTargetRequest) ProtoReflect

func (*UpdateCertificationTargetRequest) Reset

func (*UpdateCertificationTargetRequest) String

type UpdateMetricConfigurationRequest

type UpdateMetricConfigurationRequest struct {
	CertificationTargetId string                          `` /* 126-byte string literal not displayed */
	MetricId              string                          `protobuf:"bytes,2,opt,name=metric_id,json=metricId,proto3" json:"metric_id,omitempty"`
	Configuration         *assessment.MetricConfiguration `protobuf:"bytes,3,opt,name=configuration,proto3" json:"configuration,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateMetricConfigurationRequest) Descriptor deprecated

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

Deprecated: Use UpdateMetricConfigurationRequest.ProtoReflect.Descriptor instead.

func (*UpdateMetricConfigurationRequest) GetCertificationTargetId

func (x *UpdateMetricConfigurationRequest) GetCertificationTargetId() string

func (*UpdateMetricConfigurationRequest) GetConfiguration

func (*UpdateMetricConfigurationRequest) GetMetricId

func (x *UpdateMetricConfigurationRequest) GetMetricId() string

func (*UpdateMetricConfigurationRequest) GetPayload

func (*UpdateMetricConfigurationRequest) ProtoMessage

func (*UpdateMetricConfigurationRequest) ProtoMessage()

func (*UpdateMetricConfigurationRequest) ProtoReflect

func (*UpdateMetricConfigurationRequest) Reset

func (*UpdateMetricConfigurationRequest) String

type UpdateMetricImplementationRequest

type UpdateMetricImplementationRequest struct {
	Implementation *assessment.MetricImplementation `protobuf:"bytes,1,opt,name=implementation,proto3" json:"implementation,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateMetricImplementationRequest) Descriptor deprecated

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

Deprecated: Use UpdateMetricImplementationRequest.ProtoReflect.Descriptor instead.

func (*UpdateMetricImplementationRequest) GetImplementation

func (*UpdateMetricImplementationRequest) GetPayload

func (*UpdateMetricImplementationRequest) ProtoMessage

func (*UpdateMetricImplementationRequest) ProtoMessage()

func (*UpdateMetricImplementationRequest) ProtoReflect

func (*UpdateMetricImplementationRequest) Reset

func (*UpdateMetricImplementationRequest) String

type UpdateMetricRequest

type UpdateMetricRequest struct {
	Metric *assessment.Metric `protobuf:"bytes,1,opt,name=metric,proto3" json:"metric,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateMetricRequest) Descriptor deprecated

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

Deprecated: Use UpdateMetricRequest.ProtoReflect.Descriptor instead.

func (*UpdateMetricRequest) GetMetric

func (x *UpdateMetricRequest) GetMetric() *assessment.Metric

func (*UpdateMetricRequest) GetPayload

func (req *UpdateMetricRequest) GetPayload() proto.Message

func (*UpdateMetricRequest) ProtoMessage

func (*UpdateMetricRequest) ProtoMessage()

func (*UpdateMetricRequest) ProtoReflect

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

func (*UpdateMetricRequest) Reset

func (x *UpdateMetricRequest) Reset()

func (*UpdateMetricRequest) String

func (x *UpdateMetricRequest) String() string

Jump to

Keyboard shortcuts

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