Documentation ¶
Overview ¶
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package v1 contains the v1 GRPC client and server definitions for implementing Tenant interactions for the Console.
Package tenant is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterAttestationsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAttestationsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AttestationsClient) error
- func RegisterAttestationsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAttestationsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AttestationsServer) error
- func RegisterAttestationsServer(s grpc.ServiceRegistrar, srv AttestationsServer)
- func RegisterClustersHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterClustersHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ClustersClient) error
- func RegisterClustersHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterClustersHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ClustersServer) error
- func RegisterClustersServer(s grpc.ServiceRegistrar, srv ClustersServer)
- func RegisterNamespacesServer(s grpc.ServiceRegistrar, srv NamespacesServer)
- func RegisterNodesServer(s grpc.ServiceRegistrar, srv NodesServer)
- func RegisterPolicyResultsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterPolicyResultsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PolicyResultsClient) error
- func RegisterPolicyResultsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterPolicyResultsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PolicyResultsServer) error
- func RegisterPolicyResultsServer(s grpc.ServiceRegistrar, srv PolicyResultsServer)
- func RegisterRecordContextsServer(s grpc.ServiceRegistrar, srv RecordContextsServer)
- func RegisterRecordsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterRecordsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RecordsClient) error
- func RegisterRecordsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterRecordsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RecordsServer) error
- func RegisterRecordsServer(s grpc.ServiceRegistrar, srv RecordsServer)
- func RegisterRisksHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterRisksHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RisksClient) error
- func RegisterRisksHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterRisksHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RisksServer) error
- func RegisterRisksServer(s grpc.ServiceRegistrar, srv RisksServer)
- func RegisterSbomsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterSbomsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SbomsClient) error
- func RegisterSbomsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterSbomsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SbomsServer) error
- func RegisterSbomsServer(s grpc.ServiceRegistrar, srv SbomsServer)
- func RegisterSignaturesServer(s grpc.ServiceRegistrar, srv SignaturesServer)
- func RegisterVulnReportsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterVulnReportsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client VulnReportsClient) error
- func RegisterVulnReportsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterVulnReportsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server VulnReportsServer) error
- func RegisterVulnReportsServer(s grpc.ServiceRegistrar, srv VulnReportsServer)
- func RegisterWorkloadsServer(s grpc.ServiceRegistrar, srv WorkloadsServer)
- type Attestation
- func (*Attestation) Descriptor() ([]byte, []int)deprecated
- func (x *Attestation) GetDescription() string
- func (x *Attestation) GetDigest() string
- func (x *Attestation) GetFormat() string
- func (x *Attestation) GetGeneratedAt() *timestamppb.Timestamp
- func (x *Attestation) GetId() string
- func (x *Attestation) GetName() string
- func (x *Attestation) GetRawAttestation() []byte
- func (*Attestation) ProtoMessage()
- func (x *Attestation) ProtoReflect() protoreflect.Message
- func (x *Attestation) Reset()
- func (x *Attestation) String() string
- type AttestationFilter
- func (*AttestationFilter) Descriptor() ([]byte, []int)deprecated
- func (x *AttestationFilter) GetId() string
- func (x *AttestationFilter) GetUidp() *v1.UIDPFilter
- func (*AttestationFilter) ProtoMessage()
- func (x *AttestationFilter) ProtoReflect() protoreflect.Message
- func (x *AttestationFilter) Reset()
- func (x *AttestationFilter) String() string
- type AttestationList
- type AttestationsClient
- type AttestationsServer
- type Clients
- type Cluster
- func (x *Cluster) CloudEventsExtension(key string) (string, bool)
- func (x *Cluster) CloudEventsSubject() string
- func (*Cluster) Descriptor() ([]byte, []int)deprecated
- func (x *Cluster) GetActivity() map[string]*ClusterActivity
- func (x *Cluster) GetAffinity() Cluster_Location
- func (x *Cluster) GetAgentVersion() string
- func (x *Cluster) GetAuthInfo() *Cluster_AuthInfo
- func (x *Cluster) GetDescription() string
- func (x *Cluster) GetEnforcerOptions() *Cluster_EnforcerOptions
- func (x *Cluster) GetGroup() *v1.Group
- func (x *Cluster) GetHostCluster() string
- func (x *Cluster) GetId() string
- func (x *Cluster) GetInfo() *Cluster_Info
- func (x *Cluster) GetIssuer() string
- func (x *Cluster) GetLastSeen() *timestamppb.Timestamp
- func (x *Cluster) GetManagedName() string
- func (x *Cluster) GetName() string
- func (x *Cluster) GetProfiles() []string
- func (x *Cluster) GetProvider() Cluster_Provider
- func (x *Cluster) GetRegistered() *timestamppb.Timestamp
- func (x *Cluster) GetRemoteId() string
- func (x *Cluster) GetStatus() *Cluster_Status
- func (x *Cluster) GetVersion() string
- func (*Cluster) ProtoMessage()
- func (x *Cluster) ProtoReflect() protoreflect.Message
- func (x *Cluster) Reset()
- func (x *Cluster) String() string
- type ClusterActivity
- func (*ClusterActivity) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterActivity) GetControllerName() string
- func (x *ClusterActivity) GetLastSeen() *timestamppb.Timestamp
- func (x *ClusterActivity) GetNamespace() string
- func (x *ClusterActivity) GetProfile() string
- func (x *ClusterActivity) GetSpecHash() string
- func (x *ClusterActivity) GetWebhookName() string
- func (*ClusterActivity) ProtoMessage()
- func (x *ClusterActivity) ProtoReflect() protoreflect.Message
- func (x *ClusterActivity) Reset()
- func (x *ClusterActivity) String() string
- type ClusterCIDRRequest
- type ClusterCIDRResponse
- func (*ClusterCIDRResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterCIDRResponse) GetCidrBlocks() []string
- func (*ClusterCIDRResponse) ProtoMessage()
- func (x *ClusterCIDRResponse) ProtoReflect() protoreflect.Message
- func (x *ClusterCIDRResponse) Reset()
- func (x *ClusterCIDRResponse) String() string
- type ClusterConfigRequest
- func (*ClusterConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterConfigRequest) GetEnforcerOptions() *ClusterConfigRequest_EnforcerOptions
- func (x *ClusterConfigRequest) GetProfiles() []string
- func (*ClusterConfigRequest) ProtoMessage()
- func (x *ClusterConfigRequest) ProtoReflect() protoreflect.Message
- func (x *ClusterConfigRequest) Reset()
- func (x *ClusterConfigRequest) String() string
- type ClusterConfigRequest_EnforcerOptions
- func (*ClusterConfigRequest_EnforcerOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterConfigRequest_EnforcerOptions) GetEnableCipCache() bool
- func (x *ClusterConfigRequest_EnforcerOptions) GetNamespaceEnforcementMode() ClusterConfigRequest_NamespaceEnforcementMode
- func (x *ClusterConfigRequest_EnforcerOptions) GetWebhookFailOpen() bool
- func (*ClusterConfigRequest_EnforcerOptions) ProtoMessage()
- func (x *ClusterConfigRequest_EnforcerOptions) ProtoReflect() protoreflect.Message
- func (x *ClusterConfigRequest_EnforcerOptions) Reset()
- func (x *ClusterConfigRequest_EnforcerOptions) String() string
- type ClusterConfigRequest_NamespaceEnforcementMode
- func (ClusterConfigRequest_NamespaceEnforcementMode) Descriptor() protoreflect.EnumDescriptor
- func (x ClusterConfigRequest_NamespaceEnforcementMode) Enum() *ClusterConfigRequest_NamespaceEnforcementMode
- func (ClusterConfigRequest_NamespaceEnforcementMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x ClusterConfigRequest_NamespaceEnforcementMode) Number() protoreflect.EnumNumber
- func (x ClusterConfigRequest_NamespaceEnforcementMode) String() string
- func (ClusterConfigRequest_NamespaceEnforcementMode) Type() protoreflect.EnumType
- type ClusterConfigResponse
- func (*ClusterConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterConfigResponse) GetMcpConfig() []byte
- func (x *ClusterConfigResponse) GetProfiles() []string
- func (x *ClusterConfigResponse) GetTenantConfig() []byte
- func (*ClusterConfigResponse) ProtoMessage()
- func (x *ClusterConfigResponse) ProtoReflect() protoreflect.Message
- func (x *ClusterConfigResponse) Reset()
- func (x *ClusterConfigResponse) String() string
- type ClusterDiscoveryRequest
- func (*ClusterDiscoveryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterDiscoveryRequest) GetId() string
- func (x *ClusterDiscoveryRequest) GetProfiles() []string
- func (x *ClusterDiscoveryRequest) GetProviders() []Cluster_Provider
- func (x *ClusterDiscoveryRequest) GetStates() []ClusterDiscoveryRequest_State
- func (*ClusterDiscoveryRequest) ProtoMessage()
- func (x *ClusterDiscoveryRequest) ProtoReflect() protoreflect.Message
- func (x *ClusterDiscoveryRequest) Reset()
- func (x *ClusterDiscoveryRequest) String() string
- type ClusterDiscoveryRequest_State
- func (ClusterDiscoveryRequest_State) Descriptor() protoreflect.EnumDescriptor
- func (x ClusterDiscoveryRequest_State) Enum() *ClusterDiscoveryRequest_State
- func (ClusterDiscoveryRequest_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x ClusterDiscoveryRequest_State) Number() protoreflect.EnumNumber
- func (x ClusterDiscoveryRequest_State) String() string
- func (ClusterDiscoveryRequest_State) Type() protoreflect.EnumType
- type ClusterDiscoveryResponse
- func (*ClusterDiscoveryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterDiscoveryResponse) GetResults() []*ClusterDiscoveryResponse_Result
- func (*ClusterDiscoveryResponse) ProtoMessage()
- func (x *ClusterDiscoveryResponse) ProtoReflect() protoreflect.Message
- func (x *ClusterDiscoveryResponse) Reset()
- func (x *ClusterDiscoveryResponse) String() string
- type ClusterDiscoveryResponse_Result
- func (*ClusterDiscoveryResponse_Result) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterDiscoveryResponse_Result) GetAccount() string
- func (x *ClusterDiscoveryResponse_Result) GetEligible() *ClusterDiscoveryResponse_Result_Eligible
- func (x *ClusterDiscoveryResponse_Result) GetEnrolled() *ClusterDiscoveryResponse_Result_Enrolled
- func (x *ClusterDiscoveryResponse_Result) GetLocation() Cluster_Location
- func (x *ClusterDiscoveryResponse_Result) GetName() string
- func (x *ClusterDiscoveryResponse_Result) GetNeedsWork() *ClusterDiscoveryResponse_Result_NeedsWork
- func (x *ClusterDiscoveryResponse_Result) GetProvider() Cluster_Provider
- func (m *ClusterDiscoveryResponse_Result) GetState() isClusterDiscoveryResponse_Result_State
- func (x *ClusterDiscoveryResponse_Result) GetUnsupported() *ClusterDiscoveryResponse_Result_Unsupported
- func (*ClusterDiscoveryResponse_Result) ProtoMessage()
- func (x *ClusterDiscoveryResponse_Result) ProtoReflect() protoreflect.Message
- func (x *ClusterDiscoveryResponse_Result) Reset()
- func (x *ClusterDiscoveryResponse_Result) String() string
- type ClusterDiscoveryResponse_Result_Eligible
- func (*ClusterDiscoveryResponse_Result_Eligible) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterDiscoveryResponse_Result_Eligible) GetInfo() *Cluster_Info
- func (*ClusterDiscoveryResponse_Result_Eligible) ProtoMessage()
- func (x *ClusterDiscoveryResponse_Result_Eligible) ProtoReflect() protoreflect.Message
- func (x *ClusterDiscoveryResponse_Result_Eligible) Reset()
- func (x *ClusterDiscoveryResponse_Result_Eligible) String() string
- type ClusterDiscoveryResponse_Result_Eligible_
- type ClusterDiscoveryResponse_Result_Enrolled
- func (*ClusterDiscoveryResponse_Result_Enrolled) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterDiscoveryResponse_Result_Enrolled) GetId() string
- func (x *ClusterDiscoveryResponse_Result_Enrolled) GetInfo() *Cluster_Info
- func (x *ClusterDiscoveryResponse_Result_Enrolled) GetProfiles() []string
- func (*ClusterDiscoveryResponse_Result_Enrolled) ProtoMessage()
- func (x *ClusterDiscoveryResponse_Result_Enrolled) ProtoReflect() protoreflect.Message
- func (x *ClusterDiscoveryResponse_Result_Enrolled) Reset()
- func (x *ClusterDiscoveryResponse_Result_Enrolled) String() string
- type ClusterDiscoveryResponse_Result_Enrolled_
- type ClusterDiscoveryResponse_Result_NeedsWork
- func (*ClusterDiscoveryResponse_Result_NeedsWork) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterDiscoveryResponse_Result_NeedsWork) GetSteps() []string
- func (*ClusterDiscoveryResponse_Result_NeedsWork) ProtoMessage()
- func (x *ClusterDiscoveryResponse_Result_NeedsWork) ProtoReflect() protoreflect.Message
- func (x *ClusterDiscoveryResponse_Result_NeedsWork) Reset()
- func (x *ClusterDiscoveryResponse_Result_NeedsWork) String() string
- type ClusterDiscoveryResponse_Result_NeedsWork_
- type ClusterDiscoveryResponse_Result_Unsupported
- func (*ClusterDiscoveryResponse_Result_Unsupported) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterDiscoveryResponse_Result_Unsupported) GetReason() string
- func (*ClusterDiscoveryResponse_Result_Unsupported) ProtoMessage()
- func (x *ClusterDiscoveryResponse_Result_Unsupported) ProtoReflect() protoreflect.Message
- func (x *ClusterDiscoveryResponse_Result_Unsupported) Reset()
- func (x *ClusterDiscoveryResponse_Result_Unsupported) String() string
- type ClusterDiscoveryResponse_Result_Unsupported_
- type ClusterFilter
- func (*ClusterFilter) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterFilter) GetActiveSince() *timestamppb.Timestamp
- func (x *ClusterFilter) GetId() string
- func (x *ClusterFilter) GetName() string
- func (x *ClusterFilter) GetRemoteId() string
- func (x *ClusterFilter) GetUidp() *v11.UIDPFilter
- func (*ClusterFilter) ProtoMessage()
- func (x *ClusterFilter) ProtoReflect() protoreflect.Message
- func (x *ClusterFilter) Reset()
- func (x *ClusterFilter) String() string
- type ClusterList
- type ClusterProfilesRequest
- type ClusterProfilesResponse
- func (*ClusterProfilesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterProfilesResponse) GetProfile() []*ClusterProfilesResponse_Profile
- func (*ClusterProfilesResponse) ProtoMessage()
- func (x *ClusterProfilesResponse) ProtoReflect() protoreflect.Message
- func (x *ClusterProfilesResponse) Reset()
- func (x *ClusterProfilesResponse) String() string
- type ClusterProfilesResponse_Profile
- func (*ClusterProfilesResponse_Profile) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterProfilesResponse_Profile) GetDependencies() []string
- func (x *ClusterProfilesResponse_Profile) GetDescription() string
- func (x *ClusterProfilesResponse_Profile) GetName() string
- func (*ClusterProfilesResponse_Profile) ProtoMessage()
- func (x *ClusterProfilesResponse_Profile) ProtoReflect() protoreflect.Message
- func (x *ClusterProfilesResponse_Profile) Reset()
- func (x *ClusterProfilesResponse_Profile) String() string
- type Cluster_AuthInfo
- func (*Cluster_AuthInfo) Descriptor() ([]byte, []int)deprecated
- func (x *Cluster_AuthInfo) GetClientCertificateData() []byte
- func (x *Cluster_AuthInfo) GetClientKeyData() []byte
- func (*Cluster_AuthInfo) ProtoMessage()
- func (x *Cluster_AuthInfo) ProtoReflect() protoreflect.Message
- func (x *Cluster_AuthInfo) Reset()
- func (x *Cluster_AuthInfo) String() string
- type Cluster_EnforcerOptions
- func (*Cluster_EnforcerOptions) Descriptor() ([]byte, []int)deprecated
- func (x *Cluster_EnforcerOptions) GetEnableCipCache() bool
- func (x *Cluster_EnforcerOptions) GetNamespaceEnforcementMode() Cluster_NamespaceEnforcementMode
- func (x *Cluster_EnforcerOptions) GetWebhookFailOpen() bool
- func (*Cluster_EnforcerOptions) ProtoMessage()
- func (x *Cluster_EnforcerOptions) ProtoReflect() protoreflect.Message
- func (x *Cluster_EnforcerOptions) Reset()
- func (x *Cluster_EnforcerOptions) String() string
- type Cluster_Info
- func (*Cluster_Info) Descriptor() ([]byte, []int)deprecated
- func (x *Cluster_Info) GetCertificateAuthorityData() []byte
- func (x *Cluster_Info) GetServer() string
- func (*Cluster_Info) ProtoMessage()
- func (x *Cluster_Info) ProtoReflect() protoreflect.Message
- func (x *Cluster_Info) Reset()
- func (x *Cluster_Info) String() string
- type Cluster_Location
- func (Cluster_Location) Descriptor() protoreflect.EnumDescriptor
- func (x Cluster_Location) Enum() *Cluster_Location
- func (Cluster_Location) EnumDescriptor() ([]byte, []int)deprecated
- func (x Cluster_Location) Number() protoreflect.EnumNumber
- func (x Cluster_Location) String() string
- func (Cluster_Location) Type() protoreflect.EnumType
- type Cluster_NamespaceEnforcementMode
- func (Cluster_NamespaceEnforcementMode) Descriptor() protoreflect.EnumDescriptor
- func (x Cluster_NamespaceEnforcementMode) Enum() *Cluster_NamespaceEnforcementMode
- func (Cluster_NamespaceEnforcementMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x Cluster_NamespaceEnforcementMode) Number() protoreflect.EnumNumber
- func (x Cluster_NamespaceEnforcementMode) String() string
- func (Cluster_NamespaceEnforcementMode) Type() protoreflect.EnumType
- type Cluster_Provider
- func (Cluster_Provider) Descriptor() protoreflect.EnumDescriptor
- func (x Cluster_Provider) Enum() *Cluster_Provider
- func (Cluster_Provider) EnumDescriptor() ([]byte, []int)deprecated
- func (x Cluster_Provider) Number() protoreflect.EnumNumber
- func (x Cluster_Provider) String() string
- func (Cluster_Provider) Type() protoreflect.EnumType
- type Cluster_Status
- func (*Cluster_Status) Descriptor() ([]byte, []int)deprecated
- func (x *Cluster_Status) GetMessage() string
- func (x *Cluster_Status) GetReady() Cluster_Status_State
- func (x *Cluster_Status) GetReason() string
- func (*Cluster_Status) ProtoMessage()
- func (x *Cluster_Status) ProtoReflect() protoreflect.Message
- func (x *Cluster_Status) Reset()
- func (x *Cluster_Status) String() string
- type Cluster_Status_State
- func (Cluster_Status_State) Descriptor() protoreflect.EnumDescriptor
- func (x Cluster_Status_State) Enum() *Cluster_Status_State
- func (Cluster_Status_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Cluster_Status_State) Number() protoreflect.EnumNumber
- func (x Cluster_Status_State) String() string
- func (Cluster_Status_State) Type() protoreflect.EnumType
- type ClustersClient
- type ClustersServer
- type ComponentGraph
- func (*ComponentGraph) Descriptor() ([]byte, []int)deprecated
- func (x *ComponentGraph) GetEdges() []*ComponentGraph_Edge
- func (x *ComponentGraph) GetNodes() []*ComponentGraph_Node
- func (*ComponentGraph) ProtoMessage()
- func (x *ComponentGraph) ProtoReflect() protoreflect.Message
- func (x *ComponentGraph) Reset()
- func (x *ComponentGraph) String() string
- type ComponentGraph_Edge
- func (*ComponentGraph_Edge) Descriptor() ([]byte, []int)deprecated
- func (x *ComponentGraph_Edge) GetPredicateId() string
- func (x *ComponentGraph_Edge) GetSubjectId() string
- func (x *ComponentGraph_Edge) GetType() ComponentGraph_Edge_Type
- func (*ComponentGraph_Edge) ProtoMessage()
- func (x *ComponentGraph_Edge) ProtoReflect() protoreflect.Message
- func (x *ComponentGraph_Edge) Reset()
- func (x *ComponentGraph_Edge) String() string
- type ComponentGraph_Edge_Type
- func (ComponentGraph_Edge_Type) Descriptor() protoreflect.EnumDescriptor
- func (x ComponentGraph_Edge_Type) Enum() *ComponentGraph_Edge_Type
- func (ComponentGraph_Edge_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x ComponentGraph_Edge_Type) Number() protoreflect.EnumNumber
- func (x ComponentGraph_Edge_Type) String() string
- func (ComponentGraph_Edge_Type) Type() protoreflect.EnumType
- type ComponentGraph_Node
- func (*ComponentGraph_Node) Descriptor() ([]byte, []int)deprecated
- func (x *ComponentGraph_Node) GetFile() *File2
- func (x *ComponentGraph_Node) GetPackage() *Package2
- func (m *ComponentGraph_Node) GetTypedNode() isComponentGraph_Node_TypedNode
- func (*ComponentGraph_Node) ProtoMessage()
- func (x *ComponentGraph_Node) ProtoReflect() protoreflect.Message
- func (x *ComponentGraph_Node) Reset()
- func (x *ComponentGraph_Node) String() string
- type ComponentGraph_Node_File
- type ComponentGraph_Node_Package
- type Context
- func (*Context) Descriptor() ([]byte, []int)deprecated
- func (x *Context) GetAncestry() *Context_Ancestry
- func (m *Context) GetContext() isContext_Context
- func (x *Context) GetContextId() string
- func (x *Context) GetLastSeen() *timestamppb.Timestamp
- func (x *Context) GetVariant() *Context_Variant
- func (x *Context) GetWorkload() *Context_Workload
- func (*Context) ProtoMessage()
- func (x *Context) ProtoReflect() protoreflect.Message
- func (x *Context) Reset()
- func (x *Context) String() string
- type Context_Ancestry
- func (*Context_Ancestry) Descriptor() ([]byte, []int)deprecated
- func (x *Context_Ancestry) GetId() string
- func (x *Context_Ancestry) GetRole() Context_Ancestry_Role
- func (*Context_Ancestry) ProtoMessage()
- func (x *Context_Ancestry) ProtoReflect() protoreflect.Message
- func (x *Context_Ancestry) Reset()
- func (x *Context_Ancestry) String() string
- type Context_Ancestry_
- type Context_Ancestry_Role
- func (Context_Ancestry_Role) Descriptor() protoreflect.EnumDescriptor
- func (x Context_Ancestry_Role) Enum() *Context_Ancestry_Role
- func (Context_Ancestry_Role) EnumDescriptor() ([]byte, []int)deprecated
- func (x Context_Ancestry_Role) Number() protoreflect.EnumNumber
- func (x Context_Ancestry_Role) String() string
- func (Context_Ancestry_Role) Type() protoreflect.EnumType
- type Context_Variant
- func (*Context_Variant) Descriptor() ([]byte, []int)deprecated
- func (x *Context_Variant) GetId() string
- func (x *Context_Variant) GetRole() Context_Variant_Role
- func (x *Context_Variant) GetVersion() string
- func (*Context_Variant) ProtoMessage()
- func (x *Context_Variant) ProtoReflect() protoreflect.Message
- func (x *Context_Variant) Reset()
- func (x *Context_Variant) String() string
- type Context_Variant_
- type Context_Variant_Role
- func (Context_Variant_Role) Descriptor() protoreflect.EnumDescriptor
- func (x Context_Variant_Role) Enum() *Context_Variant_Role
- func (Context_Variant_Role) EnumDescriptor() ([]byte, []int)deprecated
- func (x Context_Variant_Role) Number() protoreflect.EnumNumber
- func (x Context_Variant_Role) String() string
- func (Context_Variant_Role) Type() protoreflect.EnumType
- type Context_Workload
- func (*Context_Workload) Descriptor() ([]byte, []int)deprecated
- func (x *Context_Workload) GetKind() *GroupVersionKind
- func (x *Context_Workload) GetName() string
- func (x *Context_Workload) GetNamespace() string
- func (x *Context_Workload) GetUid() string
- func (*Context_Workload) ProtoMessage()
- func (x *Context_Workload) ProtoReflect() protoreflect.Message
- func (x *Context_Workload) Reset()
- func (x *Context_Workload) String() string
- type Context_Workload_
- type CreateClusterRequest
- func (*CreateClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateClusterRequest) GetCluster() *Cluster
- func (x *CreateClusterRequest) GetParentId() string
- func (*CreateClusterRequest) ProtoMessage()
- func (x *CreateClusterRequest) ProtoReflect() protoreflect.Message
- func (x *CreateClusterRequest) Reset()
- func (x *CreateClusterRequest) String() string
- type DeleteClusterRequest
- func (x *DeleteClusterRequest) CloudEventsExtension(key string) (string, bool)
- func (x *DeleteClusterRequest) CloudEventsRedact() interface{}
- func (x *DeleteClusterRequest) CloudEventsSubject() string
- func (*DeleteClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteClusterRequest) GetId() string
- func (*DeleteClusterRequest) ProtoMessage()
- func (x *DeleteClusterRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteClusterRequest) Reset()
- func (x *DeleteClusterRequest) String() string
- type File2
- type Fix
- type Fix_State
- type GroupVersionKind
- func (*GroupVersionKind) Descriptor() ([]byte, []int)deprecated
- func (x *GroupVersionKind) GetGroup() string
- func (x *GroupVersionKind) GetKind() string
- func (x *GroupVersionKind) GetVersion() string
- func (*GroupVersionKind) ProtoMessage()
- func (x *GroupVersionKind) ProtoReflect() protoreflect.Message
- func (x *GroupVersionKind) Reset()
- func (x *GroupVersionKind) String() string
- type Namespace
- func (*Namespace) Descriptor() ([]byte, []int)deprecated
- func (x *Namespace) GetDescription() string
- func (x *Namespace) GetId() string
- func (x *Namespace) GetLabels() string
- func (x *Namespace) GetLastSeen() *timestamppb.Timestamp
- func (x *Namespace) GetName() string
- func (x *Namespace) GetRemoteId() string
- func (*Namespace) ProtoMessage()
- func (x *Namespace) ProtoReflect() protoreflect.Message
- func (x *Namespace) Reset()
- func (x *Namespace) String() string
- type NamespaceFilter
- func (*NamespaceFilter) Descriptor() ([]byte, []int)deprecated
- func (x *NamespaceFilter) GetActiveSince() *timestamppb.Timestamp
- func (x *NamespaceFilter) GetName() string
- func (x *NamespaceFilter) GetRemoteId() string
- func (x *NamespaceFilter) GetUidp() *v1.UIDPFilter
- func (*NamespaceFilter) ProtoMessage()
- func (x *NamespaceFilter) ProtoReflect() protoreflect.Message
- func (x *NamespaceFilter) Reset()
- func (x *NamespaceFilter) String() string
- type NamespaceList
- type NamespacesClient
- type NamespacesServer
- type Node
- func (*Node) Descriptor() ([]byte, []int)deprecated
- func (x *Node) GetArchitecture() string
- func (x *Node) GetContainerRuntimeVersion() string
- func (x *Node) GetCpuCapacity() string
- func (x *Node) GetDescription() string
- func (x *Node) GetId() string
- func (x *Node) GetKernelVersion() string
- func (x *Node) GetKubeletVersion() string
- func (x *Node) GetLabels() string
- func (x *Node) GetLastSeen() *timestamppb.Timestamp
- func (x *Node) GetMemoryCapacity() string
- func (x *Node) GetName() string
- func (x *Node) GetOperatingSystem() string
- func (x *Node) GetPodCapacity() string
- func (x *Node) GetRegion() string
- func (x *Node) GetRemoteId() string
- func (x *Node) GetZone() string
- func (*Node) ProtoMessage()
- func (x *Node) ProtoReflect() protoreflect.Message
- func (x *Node) Reset()
- func (x *Node) String() string
- type NodeFilter
- func (*NodeFilter) Descriptor() ([]byte, []int)deprecated
- func (x *NodeFilter) GetActiveSince() *timestamppb.Timestamp
- func (x *NodeFilter) GetName() string
- func (x *NodeFilter) GetRemoteId() string
- func (x *NodeFilter) GetUidp() *v1.UIDPFilter
- func (*NodeFilter) ProtoMessage()
- func (x *NodeFilter) ProtoReflect() protoreflect.Message
- func (x *NodeFilter) Reset()
- func (x *NodeFilter) String() string
- type NodeList
- type NodesClient
- type NodesServer
- type Package
- func (*Package) Descriptor() ([]byte, []int)deprecated
- func (x *Package) GetName() string
- func (x *Package) GetPurl() string
- func (x *Package) GetVersion() string
- func (*Package) ProtoMessage()
- func (x *Package) ProtoReflect() protoreflect.Message
- func (x *Package) Reset()
- func (x *Package) String() string
- type Package2
- func (*Package2) Descriptor() ([]byte, []int)deprecated
- func (x *Package2) GetDescription() string
- func (x *Package2) GetId() string
- func (x *Package2) GetLicense() string
- func (x *Package2) GetName() string
- func (x *Package2) GetPurl() string
- func (x *Package2) GetVersion() string
- func (*Package2) ProtoMessage()
- func (x *Package2) ProtoReflect() protoreflect.Message
- func (x *Package2) Reset()
- func (x *Package2) String() string
- type Policy
- func (*Policy) Descriptor() ([]byte, []int)deprecated
- func (x *Policy) GetDiagnostic() string
- func (x *Policy) GetLastChecked() *timestamppb.Timestamp
- func (x *Policy) GetValid() bool
- func (*Policy) ProtoMessage()
- func (x *Policy) ProtoReflect() protoreflect.Message
- func (x *Policy) Reset()
- func (x *Policy) String() string
- type PolicyResult
- func (*PolicyResult) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyResult) GetAuthorityMatches() map[string]*PolicyResult_AuthorityMatch
- func (x *PolicyResult) GetDescription() string
- func (x *PolicyResult) GetDiagnostic() string
- func (x *PolicyResult) GetId() string
- func (x *PolicyResult) GetLastChecked() *timestamppb.Timestamp
- func (x *PolicyResult) GetName() string
- func (x *PolicyResult) GetParentType() PolicyResult_ParentType
- func (x *PolicyResult) GetPolicyId() string
- func (x *PolicyResult) GetResult() PolicyResult_Result
- func (x *PolicyResult) GetVersion() string
- func (*PolicyResult) ProtoMessage()
- func (x *PolicyResult) ProtoReflect() protoreflect.Message
- func (x *PolicyResult) Reset()
- func (x *PolicyResult) String() string
- type PolicyResultFilter
- func (*PolicyResultFilter) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyResultFilter) GetCheckedSince() *timestamppb.Timestamp
- func (x *PolicyResultFilter) GetParentType() PolicyResult_ParentType
- func (x *PolicyResultFilter) GetPolicyId() string
- func (x *PolicyResultFilter) GetResults() []PolicyResult_Result
- func (x *PolicyResultFilter) GetUidp() *v1.UIDPFilter
- func (*PolicyResultFilter) ProtoMessage()
- func (x *PolicyResultFilter) ProtoReflect() protoreflect.Message
- func (x *PolicyResultFilter) Reset()
- func (x *PolicyResultFilter) String() string
- type PolicyResultList
- type PolicyResult_AuthorityMatch
- func (*PolicyResult_AuthorityMatch) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyResult_AuthorityMatch) GetAttestations() map[string]*PolicyResult_AuthorityMatch_SignatureMatches
- func (x *PolicyResult_AuthorityMatch) GetSignatures() *PolicyResult_AuthorityMatch_SignatureMatches
- func (*PolicyResult_AuthorityMatch) ProtoMessage()
- func (x *PolicyResult_AuthorityMatch) ProtoReflect() protoreflect.Message
- func (x *PolicyResult_AuthorityMatch) Reset()
- func (x *PolicyResult_AuthorityMatch) String() string
- type PolicyResult_AuthorityMatch_SignatureMatches
- func (*PolicyResult_AuthorityMatch_SignatureMatches) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyResult_AuthorityMatch_SignatureMatches) GetIds() []string
- func (*PolicyResult_AuthorityMatch_SignatureMatches) ProtoMessage()
- func (x *PolicyResult_AuthorityMatch_SignatureMatches) ProtoReflect() protoreflect.Message
- func (x *PolicyResult_AuthorityMatch_SignatureMatches) Reset()
- func (x *PolicyResult_AuthorityMatch_SignatureMatches) String() string
- type PolicyResult_ParentType
- func (PolicyResult_ParentType) Descriptor() protoreflect.EnumDescriptor
- func (x PolicyResult_ParentType) Enum() *PolicyResult_ParentType
- func (PolicyResult_ParentType) EnumDescriptor() ([]byte, []int)deprecated
- func (x PolicyResult_ParentType) Number() protoreflect.EnumNumber
- func (x PolicyResult_ParentType) String() string
- func (PolicyResult_ParentType) Type() protoreflect.EnumType
- type PolicyResult_Result
- func (PolicyResult_Result) Descriptor() protoreflect.EnumDescriptor
- func (x PolicyResult_Result) Enum() *PolicyResult_Result
- func (PolicyResult_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x PolicyResult_Result) Number() protoreflect.EnumNumber
- func (x PolicyResult_Result) String() string
- func (PolicyResult_Result) Type() protoreflect.EnumType
- type PolicyResultsClient
- type PolicyResultsServer
- type Recommendation
- func (*Recommendation) Descriptor() ([]byte, []int)deprecated
- func (m *Recommendation) GetAction() isRecommendation_Action
- func (x *Recommendation) GetDescription() string
- func (x *Recommendation) GetDocumentationUrl() string
- func (x *Recommendation) GetReplace() *Recommendation_ReplaceArtifact
- func (*Recommendation) ProtoMessage()
- func (x *Recommendation) ProtoReflect() protoreflect.Message
- func (x *Recommendation) Reset()
- func (x *Recommendation) String() string
- type Recommendation_Replace
- type Recommendation_ReplaceArtifact
- func (*Recommendation_ReplaceArtifact) Descriptor() ([]byte, []int)deprecated
- func (x *Recommendation_ReplaceArtifact) GetFrom() string
- func (x *Recommendation_ReplaceArtifact) GetTo() string
- func (*Recommendation_ReplaceArtifact) ProtoMessage()
- func (x *Recommendation_ReplaceArtifact) ProtoReflect() protoreflect.Message
- func (x *Recommendation_ReplaceArtifact) Reset()
- func (x *Recommendation_ReplaceArtifact) String() string
- type Record
- func (*Record) Descriptor() ([]byte, []int)deprecated
- func (x *Record) GetCluster() string
- func (x *Record) GetId() string
- func (x *Record) GetImage() string
- func (x *Record) GetLastRefreshed() map[string]*timestamppb.Timestamp
- func (x *Record) GetLastSeen() *timestamppb.Timestamp
- func (x *Record) GetSboms() []*Sbom
- func (x *Record) GetStatus() map[string]*RecordStatus
- func (*Record) ProtoMessage()
- func (x *Record) ProtoReflect() protoreflect.Message
- func (x *Record) Reset()
- func (x *Record) String() string
- type RecordContext
- func (*RecordContext) Descriptor() ([]byte, []int)deprecated
- func (x *RecordContext) GetAncestry() *RecordContext_Ancestry
- func (x *RecordContext) GetDescription() string
- func (x *RecordContext) GetId() string
- func (m *RecordContext) GetKind() isRecordContext_Kind
- func (x *RecordContext) GetLastSeen() *timestamppb.Timestamp
- func (x *RecordContext) GetName() string
- func (x *RecordContext) GetVariant() *RecordContext_Variant
- func (x *RecordContext) GetWorkload() *RecordContext_Workload
- func (*RecordContext) ProtoMessage()
- func (x *RecordContext) ProtoReflect() protoreflect.Message
- func (x *RecordContext) Reset()
- func (x *RecordContext) String() string
- type RecordContextFilter
- func (*RecordContextFilter) Descriptor() ([]byte, []int)deprecated
- func (x *RecordContextFilter) GetActiveSince() *timestamppb.Timestamp
- func (x *RecordContextFilter) GetAncestry() *RecordContext_Ancestry
- func (m *RecordContextFilter) GetKind() isRecordContextFilter_Kind
- func (x *RecordContextFilter) GetUidp() *v1.UIDPFilter
- func (x *RecordContextFilter) GetVariant() *RecordContext_Variant
- func (x *RecordContextFilter) GetWorkload() *RecordContext_Workload
- func (*RecordContextFilter) ProtoMessage()
- func (x *RecordContextFilter) ProtoReflect() protoreflect.Message
- func (x *RecordContextFilter) Reset()
- func (x *RecordContextFilter) String() string
- type RecordContextFilter_Ancestry
- type RecordContextFilter_Variant
- type RecordContextFilter_Workload
- type RecordContextList
- func (*RecordContextList) Descriptor() ([]byte, []int)deprecated
- func (x *RecordContextList) GetItems() []*RecordContext
- func (*RecordContextList) ProtoMessage()
- func (x *RecordContextList) ProtoReflect() protoreflect.Message
- func (x *RecordContextList) Reset()
- func (x *RecordContextList) String() string
- type RecordContext_Ancestry
- func (*RecordContext_Ancestry) Descriptor() ([]byte, []int)deprecated
- func (x *RecordContext_Ancestry) GetImageId() string
- func (x *RecordContext_Ancestry) GetRole() RecordContext_Ancestry_Role
- func (*RecordContext_Ancestry) ProtoMessage()
- func (x *RecordContext_Ancestry) ProtoReflect() protoreflect.Message
- func (x *RecordContext_Ancestry) Reset()
- func (x *RecordContext_Ancestry) String() string
- type RecordContext_Ancestry_
- type RecordContext_Ancestry_Role
- func (RecordContext_Ancestry_Role) Descriptor() protoreflect.EnumDescriptor
- func (x RecordContext_Ancestry_Role) Enum() *RecordContext_Ancestry_Role
- func (RecordContext_Ancestry_Role) EnumDescriptor() ([]byte, []int)deprecated
- func (x RecordContext_Ancestry_Role) Number() protoreflect.EnumNumber
- func (x RecordContext_Ancestry_Role) String() string
- func (RecordContext_Ancestry_Role) Type() protoreflect.EnumType
- type RecordContext_Variant
- func (*RecordContext_Variant) Descriptor() ([]byte, []int)deprecated
- func (x *RecordContext_Variant) GetImageId() string
- func (x *RecordContext_Variant) GetRole() RecordContext_Variant_Role
- func (x *RecordContext_Variant) GetVersion() string
- func (*RecordContext_Variant) ProtoMessage()
- func (x *RecordContext_Variant) ProtoReflect() protoreflect.Message
- func (x *RecordContext_Variant) Reset()
- func (x *RecordContext_Variant) String() string
- type RecordContext_Variant_
- type RecordContext_Variant_Role
- func (RecordContext_Variant_Role) Descriptor() protoreflect.EnumDescriptor
- func (x RecordContext_Variant_Role) Enum() *RecordContext_Variant_Role
- func (RecordContext_Variant_Role) EnumDescriptor() ([]byte, []int)deprecated
- func (x RecordContext_Variant_Role) Number() protoreflect.EnumNumber
- func (x RecordContext_Variant_Role) String() string
- func (RecordContext_Variant_Role) Type() protoreflect.EnumType
- type RecordContext_Workload
- func (*RecordContext_Workload) Descriptor() ([]byte, []int)deprecated
- func (x *RecordContext_Workload) GetRemoteId() string
- func (*RecordContext_Workload) ProtoMessage()
- func (x *RecordContext_Workload) ProtoReflect() protoreflect.Message
- func (x *RecordContext_Workload) Reset()
- func (x *RecordContext_Workload) String() string
- type RecordContext_Workload_
- type RecordContextsClient
- type RecordContextsServer
- type RecordFilter
- func (*RecordFilter) Descriptor() ([]byte, []int)deprecated
- func (x *RecordFilter) GetActiveSince() *timestamppb.Timestamp
- func (x *RecordFilter) GetCluster() string
- func (x *RecordFilter) GetId() string
- func (x *RecordFilter) GetImage() string
- func (x *RecordFilter) GetPredicate() string
- func (x *RecordFilter) GetUidp() *v1.UIDPFilter
- func (*RecordFilter) ProtoMessage()
- func (x *RecordFilter) ProtoReflect() protoreflect.Message
- func (x *RecordFilter) Reset()
- func (x *RecordFilter) String() string
- type RecordList
- type RecordStatus
- func (*RecordStatus) Descriptor() ([]byte, []int)deprecated
- func (x *RecordStatus) GetDiagnostic() string
- func (x *RecordStatus) GetLastChecked() *timestamppb.Timestamp
- func (x *RecordStatus) GetResult() RecordStatus_Result
- func (*RecordStatus) ProtoMessage()
- func (x *RecordStatus) ProtoReflect() protoreflect.Message
- func (x *RecordStatus) Reset()
- func (x *RecordStatus) String() string
- type RecordStatus_Result
- func (RecordStatus_Result) Descriptor() protoreflect.EnumDescriptor
- func (x RecordStatus_Result) Enum() *RecordStatus_Result
- func (RecordStatus_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x RecordStatus_Result) Number() protoreflect.EnumNumber
- func (x RecordStatus_Result) String() string
- func (RecordStatus_Result) Type() protoreflect.EnumType
- type RecordsClient
- type RecordsServer
- type Risk
- func (*Risk) Descriptor() ([]byte, []int)deprecated
- func (x *Risk) GetDescription() string
- func (x *Risk) GetDetails() *Risk_Details
- func (x *Risk) GetDocumentationUrl() string
- func (x *Risk) GetGroupId() string
- func (x *Risk) GetId() string
- func (x *Risk) GetInputs() []string
- func (x *Risk) GetLastSeen() *timestamppb.Timestamp
- func (x *Risk) GetRecommendations() []*Recommendation
- func (*Risk) ProtoMessage()
- func (x *Risk) ProtoReflect() protoreflect.Message
- func (x *Risk) Reset()
- func (x *Risk) String() string
- type RiskFilter
- type RiskList
- type Risk_Details
- func (*Risk_Details) Descriptor() ([]byte, []int)deprecated
- func (m *Risk_Details) GetData() isRisk_Details_Data
- func (x *Risk_Details) GetMissingData() *Risk_MissingData
- func (*Risk_Details) ProtoMessage()
- func (x *Risk_Details) ProtoReflect() protoreflect.Message
- func (x *Risk_Details) Reset()
- func (x *Risk_Details) String() string
- type Risk_Details_MissingData
- type Risk_MissingData
- func (*Risk_MissingData) Descriptor() ([]byte, []int)deprecated
- func (x *Risk_MissingData) GetType() Risk_MissingData_Type
- func (*Risk_MissingData) ProtoMessage()
- func (x *Risk_MissingData) ProtoReflect() protoreflect.Message
- func (x *Risk_MissingData) Reset()
- func (x *Risk_MissingData) String() string
- type Risk_MissingData_Type
- func (Risk_MissingData_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Risk_MissingData_Type) Enum() *Risk_MissingData_Type
- func (Risk_MissingData_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Risk_MissingData_Type) Number() protoreflect.EnumNumber
- func (x Risk_MissingData_Type) String() string
- func (Risk_MissingData_Type) Type() protoreflect.EnumType
- type Risk_Vulnerability
- func (*Risk_Vulnerability) Descriptor() ([]byte, []int)deprecated
- func (x *Risk_Vulnerability) GetSeverity() Risk_Vulnerability_Severity
- func (x *Risk_Vulnerability) GetSource() string
- func (*Risk_Vulnerability) ProtoMessage()
- func (x *Risk_Vulnerability) ProtoReflect() protoreflect.Message
- func (x *Risk_Vulnerability) Reset()
- func (x *Risk_Vulnerability) String() string
- type Risk_Vulnerability_Severity
- func (Risk_Vulnerability_Severity) Descriptor() protoreflect.EnumDescriptor
- func (x Risk_Vulnerability_Severity) Enum() *Risk_Vulnerability_Severity
- func (Risk_Vulnerability_Severity) EnumDescriptor() ([]byte, []int)deprecated
- func (x Risk_Vulnerability_Severity) Number() protoreflect.EnumNumber
- func (x Risk_Vulnerability_Severity) String() string
- func (Risk_Vulnerability_Severity) Type() protoreflect.EnumType
- type RisksClient
- type RisksServer
- type Sbom
- type Sbom2
- func (*Sbom2) Descriptor() ([]byte, []int)deprecated
- func (x *Sbom2) GetAuthors() string
- func (x *Sbom2) GetDescription() string
- func (x *Sbom2) GetDigest() string
- func (x *Sbom2) GetFormat() string
- func (x *Sbom2) GetGeneratedAt() *timestamppb.Timestamp
- func (x *Sbom2) GetGraph() *ComponentGraph
- func (x *Sbom2) GetId() string
- func (x *Sbom2) GetLastSeen() *timestamppb.Timestamp
- func (x *Sbom2) GetName() string
- func (x *Sbom2) GetRawSbom() []byte
- func (x *Sbom2) GetSource() Sbom2_Source
- func (x *Sbom2) GetTool() string
- func (*Sbom2) ProtoMessage()
- func (x *Sbom2) ProtoReflect() protoreflect.Message
- func (x *Sbom2) Reset()
- func (x *Sbom2) String() string
- type Sbom2Filter
- func (*Sbom2Filter) Descriptor() ([]byte, []int)deprecated
- func (x *Sbom2Filter) GetActiveSince() *timestamppb.Timestamp
- func (x *Sbom2Filter) GetId() string
- func (x *Sbom2Filter) GetIncludeRawSbom() bool
- func (x *Sbom2Filter) GetUidp() *v1.UIDPFilter
- func (*Sbom2Filter) ProtoMessage()
- func (x *Sbom2Filter) ProtoReflect() protoreflect.Message
- func (x *Sbom2Filter) Reset()
- func (x *Sbom2Filter) String() string
- type Sbom2List
- type Sbom2_Source
- func (Sbom2_Source) Descriptor() protoreflect.EnumDescriptor
- func (x Sbom2_Source) Enum() *Sbom2_Source
- func (Sbom2_Source) EnumDescriptor() ([]byte, []int)deprecated
- func (x Sbom2_Source) Number() protoreflect.EnumNumber
- func (x Sbom2_Source) String() string
- func (Sbom2_Source) Type() protoreflect.EnumType
- type SbomsClient
- type SbomsServer
- type Signature
- func (*Signature) Descriptor() ([]byte, []int)deprecated
- func (x *Signature) GetDescription() string
- func (x *Signature) GetId() string
- func (x *Signature) GetKey() *Signature_Key
- func (x *Signature) GetKeyless() *Signature_Keyless
- func (m *Signature) GetKind() isSignature_Kind
- func (x *Signature) GetLastSeen() *timestamppb.Timestamp
- func (x *Signature) GetName() string
- func (x *Signature) GetNone() *emptypb.Empty
- func (x *Signature) GetPredicateType() string
- func (*Signature) ProtoMessage()
- func (x *Signature) ProtoReflect() protoreflect.Message
- func (x *Signature) Reset()
- func (x *Signature) String() string
- type SignatureFilter
- func (*SignatureFilter) Descriptor() ([]byte, []int)deprecated
- func (x *SignatureFilter) GetActiveSince() *timestamppb.Timestamp
- func (x *SignatureFilter) GetName() string
- func (x *SignatureFilter) GetPredicateType() string
- func (x *SignatureFilter) GetUidp() *v1.UIDPFilter
- func (*SignatureFilter) ProtoMessage()
- func (x *SignatureFilter) ProtoReflect() protoreflect.Message
- func (x *SignatureFilter) Reset()
- func (x *SignatureFilter) String() string
- type SignatureList
- type Signature_Key
- type Signature_Key_
- type Signature_Keyless
- func (*Signature_Keyless) Descriptor() ([]byte, []int)deprecated
- func (x *Signature_Keyless) GetGithub() *Signature_Keyless_Github
- func (x *Signature_Keyless) GetIssuer() string
- func (x *Signature_Keyless) GetSubject() string
- func (*Signature_Keyless) ProtoMessage()
- func (x *Signature_Keyless) ProtoReflect() protoreflect.Message
- func (x *Signature_Keyless) Reset()
- func (x *Signature_Keyless) String() string
- type Signature_Keyless_
- type Signature_Keyless_Github
- func (*Signature_Keyless_Github) Descriptor() ([]byte, []int)deprecated
- func (x *Signature_Keyless_Github) GetWorkflowName() string
- func (x *Signature_Keyless_Github) GetWorkflowRef() string
- func (x *Signature_Keyless_Github) GetWorkflowRepo() string
- func (x *Signature_Keyless_Github) GetWorkflowSha() string
- func (x *Signature_Keyless_Github) GetWorkflowTrigger() string
- func (*Signature_Keyless_Github) ProtoMessage()
- func (x *Signature_Keyless_Github) ProtoReflect() protoreflect.Message
- func (x *Signature_Keyless_Github) Reset()
- func (x *Signature_Keyless_Github) String() string
- type Signature_None
- type SignaturesClient
- type SignaturesServer
- type UnimplementedAttestationsServer
- type UnimplementedClustersServer
- func (UnimplementedClustersServer) CIDR(context.Context, *ClusterCIDRRequest) (*ClusterCIDRResponse, error)
- func (UnimplementedClustersServer) Config(context.Context, *ClusterConfigRequest) (*ClusterConfigResponse, error)
- func (UnimplementedClustersServer) Create(context.Context, *CreateClusterRequest) (*Cluster, error)
- func (UnimplementedClustersServer) Delete(context.Context, *DeleteClusterRequest) (*emptypb.Empty, error)
- func (UnimplementedClustersServer) Discover(context.Context, *ClusterDiscoveryRequest) (*ClusterDiscoveryResponse, error)
- func (UnimplementedClustersServer) List(context.Context, *ClusterFilter) (*ClusterList, error)
- func (UnimplementedClustersServer) Profiles(context.Context, *ClusterProfilesRequest) (*ClusterProfilesResponse, error)
- func (UnimplementedClustersServer) Update(context.Context, *Cluster) (*Cluster, error)
- type UnimplementedNamespacesServer
- type UnimplementedNodesServer
- type UnimplementedPolicyResultsServer
- type UnimplementedRecordContextsServer
- type UnimplementedRecordsServer
- type UnimplementedRisksServer
- type UnimplementedSbomsServer
- type UnimplementedSignaturesServer
- type UnimplementedVulnReportsServer
- type UnimplementedWorkloadsServer
- type UnsafeAttestationsServer
- type UnsafeClustersServer
- type UnsafeNamespacesServer
- type UnsafeNodesServer
- type UnsafePolicyResultsServer
- type UnsafeRecordContextsServer
- type UnsafeRecordsServer
- type UnsafeRisksServer
- type UnsafeSbomsServer
- type UnsafeSignaturesServer
- type UnsafeVulnReportsServer
- type UnsafeWorkloadsServer
- type VulnReport
- func (*VulnReport) Descriptor() ([]byte, []int)deprecated
- func (x *VulnReport) GetId() string
- func (x *VulnReport) GetLastSeen() *timestamppb.Timestamp
- func (x *VulnReport) GetRawVulnReport() []byte
- func (x *VulnReport) GetReportGeneration() *timestamppb.Timestamp
- func (x *VulnReport) GetScanner() *VulnReport_Scanner
- func (x *VulnReport) GetVulnerabilityDbLastBuildTime() *timestamppb.Timestamp
- func (x *VulnReport) GetVulnerabilityMatches() []*VulnerabilityMatch
- func (*VulnReport) ProtoMessage()
- func (x *VulnReport) ProtoReflect() protoreflect.Message
- func (x *VulnReport) Reset()
- func (x *VulnReport) String() string
- type VulnReportFilter
- func (*VulnReportFilter) Descriptor() ([]byte, []int)deprecated
- func (x *VulnReportFilter) GetActiveSince() *timestamppb.Timestamp
- func (x *VulnReportFilter) GetId() string
- func (x *VulnReportFilter) GetIncludeRawVulnReport() bool
- func (x *VulnReportFilter) GetUidp() *v1.UIDPFilter
- func (*VulnReportFilter) ProtoMessage()
- func (x *VulnReportFilter) ProtoReflect() protoreflect.Message
- func (x *VulnReportFilter) Reset()
- func (x *VulnReportFilter) String() string
- type VulnReportList
- type VulnReport_Scanner
- func (*VulnReport_Scanner) Descriptor() ([]byte, []int)deprecated
- func (x *VulnReport_Scanner) GetName() string
- func (x *VulnReport_Scanner) GetVersion() string
- func (*VulnReport_Scanner) ProtoMessage()
- func (x *VulnReport_Scanner) ProtoReflect() protoreflect.Message
- func (x *VulnReport_Scanner) Reset()
- func (x *VulnReport_Scanner) String() string
- type VulnReportsClient
- type VulnReportsServer
- type VulnerabilityMatch
- func (*VulnerabilityMatch) Descriptor() ([]byte, []int)deprecated
- func (x *VulnerabilityMatch) GetFix() *Fix
- func (x *VulnerabilityMatch) GetPkg() *Package2
- func (x *VulnerabilityMatch) GetVulnerability() *VulnerabilityRecord
- func (*VulnerabilityMatch) ProtoMessage()
- func (x *VulnerabilityMatch) ProtoReflect() protoreflect.Message
- func (x *VulnerabilityMatch) Reset()
- func (x *VulnerabilityMatch) String() string
- type VulnerabilityRecord
- func (*VulnerabilityRecord) Descriptor() ([]byte, []int)deprecated
- func (x *VulnerabilityRecord) GetAdvisories() map[string]string
- func (x *VulnerabilityRecord) GetCpeUri() []string
- func (x *VulnerabilityRecord) GetCvss() []*VulnerabilityRecord_Cvss
- func (x *VulnerabilityRecord) GetDescription() string
- func (x *VulnerabilityRecord) GetDisplayId() string
- func (x *VulnerabilityRecord) GetId() string
- func (x *VulnerabilityRecord) GetRelatedUrls() []string
- func (x *VulnerabilityRecord) GetRelatedVulnerabilities() []*VulnerabilityRecord_RelatedVulnerability
- func (x *VulnerabilityRecord) GetSeverity() VulnerabilityRecord_Severity
- func (x *VulnerabilityRecord) GetSource() string
- func (*VulnerabilityRecord) ProtoMessage()
- func (x *VulnerabilityRecord) ProtoReflect() protoreflect.Message
- func (x *VulnerabilityRecord) Reset()
- func (x *VulnerabilityRecord) String() string
- type VulnerabilityRecord_Cvss
- func (*VulnerabilityRecord_Cvss) Descriptor() ([]byte, []int)deprecated
- func (x *VulnerabilityRecord_Cvss) GetScore() string
- func (x *VulnerabilityRecord_Cvss) GetVersion() string
- func (*VulnerabilityRecord_Cvss) ProtoMessage()
- func (x *VulnerabilityRecord_Cvss) ProtoReflect() protoreflect.Message
- func (x *VulnerabilityRecord_Cvss) Reset()
- func (x *VulnerabilityRecord_Cvss) String() string
- type VulnerabilityRecord_RelatedVulnerability
- func (*VulnerabilityRecord_RelatedVulnerability) Descriptor() ([]byte, []int)deprecated
- func (x *VulnerabilityRecord_RelatedVulnerability) GetId() string
- func (x *VulnerabilityRecord_RelatedVulnerability) GetSource() string
- func (*VulnerabilityRecord_RelatedVulnerability) ProtoMessage()
- func (x *VulnerabilityRecord_RelatedVulnerability) ProtoReflect() protoreflect.Message
- func (x *VulnerabilityRecord_RelatedVulnerability) Reset()
- func (x *VulnerabilityRecord_RelatedVulnerability) String() string
- type VulnerabilityRecord_Severity
- func (VulnerabilityRecord_Severity) Descriptor() protoreflect.EnumDescriptor
- func (x VulnerabilityRecord_Severity) Enum() *VulnerabilityRecord_Severity
- func (VulnerabilityRecord_Severity) EnumDescriptor() ([]byte, []int)deprecated
- func (x VulnerabilityRecord_Severity) Number() protoreflect.EnumNumber
- func (x VulnerabilityRecord_Severity) String() string
- func (VulnerabilityRecord_Severity) Type() protoreflect.EnumType
- type Workload
- func (*Workload) Descriptor() ([]byte, []int)deprecated
- func (x *Workload) GetApiVersion() string
- func (x *Workload) GetDescription() string
- func (x *Workload) GetId() string
- func (x *Workload) GetKind() string
- func (x *Workload) GetLabels() string
- func (x *Workload) GetLastSeen() *timestamppb.Timestamp
- func (x *Workload) GetName() string
- func (x *Workload) GetOwnerId() string
- func (x *Workload) GetRemoteId() string
- func (*Workload) ProtoMessage()
- func (x *Workload) ProtoReflect() protoreflect.Message
- func (x *Workload) Reset()
- func (x *Workload) String() string
- type WorkloadFilter
- func (*WorkloadFilter) Descriptor() ([]byte, []int)deprecated
- func (x *WorkloadFilter) GetActiveSince() *timestamppb.Timestamp
- func (x *WorkloadFilter) GetName() string
- func (x *WorkloadFilter) GetOwnerId() string
- func (x *WorkloadFilter) GetRemoteId() string
- func (x *WorkloadFilter) GetUidp() *v1.UIDPFilter
- func (*WorkloadFilter) ProtoMessage()
- func (x *WorkloadFilter) ProtoReflect() protoreflect.Message
- func (x *WorkloadFilter) Reset()
- func (x *WorkloadFilter) String() string
- type WorkloadList
- type WorkloadsClient
- type WorkloadsServer
Constants ¶
const ( Clusters_Create_FullMethodName = "/chainguard.platform.tenant.Clusters/Create" Clusters_Delete_FullMethodName = "/chainguard.platform.tenant.Clusters/Delete" Clusters_Discover_FullMethodName = "/chainguard.platform.tenant.Clusters/Discover" Clusters_List_FullMethodName = "/chainguard.platform.tenant.Clusters/List" Clusters_Update_FullMethodName = "/chainguard.platform.tenant.Clusters/Update" Clusters_Profiles_FullMethodName = "/chainguard.platform.tenant.Clusters/Profiles" Clusters_Config_FullMethodName = "/chainguard.platform.tenant.Clusters/Config" Clusters_CIDR_FullMethodName = "/chainguard.platform.tenant.Clusters/CIDR" )
const (
Attestations_List_FullMethodName = "/chainguard.platform.tenant.Attestations/List"
)
const (
Namespaces_List_FullMethodName = "/chainguard.platform.tenant.Namespaces/List"
)
const (
Nodes_List_FullMethodName = "/chainguard.platform.tenant.Nodes/List"
)
const (
PolicyResults_List_FullMethodName = "/chainguard.platform.tenant.PolicyResults/List"
)
const (
RecordContexts_List_FullMethodName = "/chainguard.platform.tenant.RecordContexts/List"
)
const (
Records_List_FullMethodName = "/chainguard.platform.tenant.Records/List"
)
const (
Risks_List_FullMethodName = "/chainguard.platform.tenant.Risks/List"
)
const (
Sboms_List_FullMethodName = "/chainguard.platform.tenant.Sboms/List"
)
const (
Signatures_List_FullMethodName = "/chainguard.platform.tenant.Signatures/List"
)
const (
VulnReports_List_FullMethodName = "/chainguard.platform.tenant.VulnReports/List"
)
const (
Workloads_List_FullMethodName = "/chainguard.platform.tenant.Workloads/List"
)
Variables ¶
var ( ClusterDiscoveryRequest_State_name = map[int32]string{ 0: "UNKNOWN", 1: "UNSUPPORTED", 2: "NEEDS_WORK", 3: "ELIGIBLE", 4: "ENROLLED", } ClusterDiscoveryRequest_State_value = map[string]int32{ "UNKNOWN": 0, "UNSUPPORTED": 1, "NEEDS_WORK": 2, "ELIGIBLE": 3, "ENROLLED": 4, } )
Enum value maps for ClusterDiscoveryRequest_State.
var ( Cluster_NamespaceEnforcementMode_name = map[int32]string{ 0: "OptOut", 1: "OptIn", } Cluster_NamespaceEnforcementMode_value = map[string]int32{ "OptOut": 0, "OptIn": 1, } )
Enum value maps for Cluster_NamespaceEnforcementMode.
var ( Cluster_Provider_name = map[int32]string{ 0: "UNKNOWN", 1: "GKE", 2: "EKS", 10: "CLOUD_RUN", 20: "ECS", 21: "APP_RUNNER", 100: "KIND", } Cluster_Provider_value = map[string]int32{ "UNKNOWN": 0, "GKE": 1, "EKS": 2, "CLOUD_RUN": 10, "ECS": 20, "APP_RUNNER": 21, "KIND": 100, } )
Enum value maps for Cluster_Provider.
var ( Cluster_Location_name = map[int32]string{ 0: "AUTO", 101: "US_EAST", 102: "US_CENTRAL", 103: "US_WEST", } Cluster_Location_value = map[string]int32{ "AUTO": 0, "US_EAST": 101, "US_CENTRAL": 102, "US_WEST": 103, } )
Enum value maps for Cluster_Location.
var ( Cluster_Status_State_name = map[int32]string{ 0: "UNKNOWN", 1: "Ready", 2: "NotReady", } Cluster_Status_State_value = map[string]int32{ "UNKNOWN": 0, "Ready": 1, "NotReady": 2, } )
Enum value maps for Cluster_Status_State.
var ( ClusterConfigRequest_NamespaceEnforcementMode_name = map[int32]string{ 0: "OptOut", 1: "OptIn", } ClusterConfigRequest_NamespaceEnforcementMode_value = map[string]int32{ "OptOut": 0, "OptIn": 1, } )
Enum value maps for ClusterConfigRequest_NamespaceEnforcementMode.
var ( RecordContext_Ancestry_Role_name = map[int32]string{ 0: "UNKNOWN", 1: "BASE", 2: "DERIVED", } RecordContext_Ancestry_Role_value = map[string]int32{ "UNKNOWN": 0, "BASE": 1, "DERIVED": 2, } )
Enum value maps for RecordContext_Ancestry_Role.
var ( RecordContext_Variant_Role_name = map[int32]string{ 0: "UNKNOWN", 1: "INDEX", 2: "VARIANT", } RecordContext_Variant_Role_value = map[string]int32{ "UNKNOWN": 0, "INDEX": 1, "VARIANT": 2, } )
Enum value maps for RecordContext_Variant_Role.
var ( PolicyResult_Result_name = map[int32]string{ 0: "UNKNOWN", 1: "PASS", 2: "WARN", 3: "FAIL", } PolicyResult_Result_value = map[string]int32{ "UNKNOWN": 0, "PASS": 1, "WARN": 2, "FAIL": 3, } )
Enum value maps for PolicyResult_Result.
var ( PolicyResult_ParentType_name = map[int32]string{ 0: "PARENT_TYPE_UNKNOWN", 1: "RECORD", 2: "RECORD_CONTEXT", 3: "WORKLOAD", } PolicyResult_ParentType_value = map[string]int32{ "PARENT_TYPE_UNKNOWN": 0, "RECORD": 1, "RECORD_CONTEXT": 2, "WORKLOAD": 3, } )
Enum value maps for PolicyResult_ParentType.
var ( RecordStatus_Result_name = map[int32]string{ 0: "UNKNOWN", 1: "PASS", 2: "FAIL", } RecordStatus_Result_value = map[string]int32{ "UNKNOWN": 0, "PASS": 1, "FAIL": 2, } )
Enum value maps for RecordStatus_Result.
var ( Context_Ancestry_Role_name = map[int32]string{ 0: "UNKNOWN", 1: "BASE", 2: "DERIVED", } Context_Ancestry_Role_value = map[string]int32{ "UNKNOWN": 0, "BASE": 1, "DERIVED": 2, } )
Enum value maps for Context_Ancestry_Role.
var ( Context_Variant_Role_name = map[int32]string{ 0: "UNKNOWN", 1: "INDEX", 2: "VARIANT", } Context_Variant_Role_value = map[string]int32{ "UNKNOWN": 0, "INDEX": 1, "VARIANT": 2, } )
Enum value maps for Context_Variant_Role.
var ( Risk_MissingData_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "SIGNATURE", 2: "SBOM", 3: "POLICY", } Risk_MissingData_Type_value = map[string]int32{ "UNKNOWN": 0, "SIGNATURE": 1, "SBOM": 2, "POLICY": 3, } )
Enum value maps for Risk_MissingData_Type.
var ( Risk_Vulnerability_Severity_name = map[int32]string{ 0: "UNKNOWN", 1: "LOW", 2: "MEDIUM", 3: "HIGH", 4: "CRITICAL", } Risk_Vulnerability_Severity_value = map[string]int32{ "UNKNOWN": 0, "LOW": 1, "MEDIUM": 2, "HIGH": 3, "CRITICAL": 4, } )
Enum value maps for Risk_Vulnerability_Severity.
var ( Sbom2_Source_name = map[int32]string{ 0: "UNKNOWN", 1: "INGESTED", 2: "GENERATED", } Sbom2_Source_value = map[string]int32{ "UNKNOWN": 0, "INGESTED": 1, "GENERATED": 2, } )
Enum value maps for Sbom2_Source.
var ( ComponentGraph_Edge_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "DESCRIBES", 2: "CONTAINS", 3: "DEPENDS_ON", 4: "GENERATED_FROM", } ComponentGraph_Edge_Type_value = map[string]int32{ "UNKNOWN": 0, "DESCRIBES": 1, "CONTAINS": 2, "DEPENDS_ON": 3, "GENERATED_FROM": 4, } )
Enum value maps for ComponentGraph_Edge_Type.
var ( VulnerabilityRecord_Severity_name = map[int32]string{ 0: "UNKNOWN", 1: "LOW", 2: "MEDIUM", 3: "HIGH", 4: "CRITICAL", } VulnerabilityRecord_Severity_value = map[string]int32{ "UNKNOWN": 0, "LOW": 1, "MEDIUM": 2, "HIGH": 3, "CRITICAL": 4, } )
Enum value maps for VulnerabilityRecord_Severity.
var ( Fix_State_name = map[int32]string{ 0: "UNKNOWN", 1: "FIXED", 2: "NOT_FIXED", 3: "WONT_FIX", } Fix_State_value = map[string]int32{ "UNKNOWN": 0, "FIXED": 1, "NOT_FIXED": 2, "WONT_FIX": 3, } )
Enum value maps for Fix_State.
var Attestations_ServiceDesc = grpc.ServiceDesc{ ServiceName: "chainguard.platform.tenant.Attestations", HandlerType: (*AttestationsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "List", Handler: _Attestations_List_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "attestation.platform.proto", }
Attestations_ServiceDesc is the grpc.ServiceDesc for Attestations service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Clusters_ServiceDesc = grpc.ServiceDesc{ ServiceName: "chainguard.platform.tenant.Clusters", HandlerType: (*ClustersServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _Clusters_Create_Handler, }, { MethodName: "Delete", Handler: _Clusters_Delete_Handler, }, { MethodName: "Discover", Handler: _Clusters_Discover_Handler, }, { MethodName: "List", Handler: _Clusters_List_Handler, }, { MethodName: "Update", Handler: _Clusters_Update_Handler, }, { MethodName: "Profiles", Handler: _Clusters_Profiles_Handler, }, { MethodName: "Config", Handler: _Clusters_Config_Handler, }, { MethodName: "CIDR", Handler: _Clusters_CIDR_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "cluster.platform.proto", }
Clusters_ServiceDesc is the grpc.ServiceDesc for Clusters service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_attestation_platform_proto protoreflect.FileDescriptor
var File_cluster_platform_proto protoreflect.FileDescriptor
var File_context_platform_proto protoreflect.FileDescriptor
var File_namespace_platform_proto protoreflect.FileDescriptor
var File_node_platform_proto protoreflect.FileDescriptor
var File_policy_results_platform_proto protoreflect.FileDescriptor
var File_record_platform_proto protoreflect.FileDescriptor
var File_risk_platform_proto protoreflect.FileDescriptor
var File_sbom_platform_proto protoreflect.FileDescriptor
var File_signature_platform_proto protoreflect.FileDescriptor
var File_vuln_platform_proto protoreflect.FileDescriptor
var File_workload_platform_proto protoreflect.FileDescriptor
var Namespaces_ServiceDesc = grpc.ServiceDesc{ ServiceName: "chainguard.platform.tenant.Namespaces", HandlerType: (*NamespacesServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "List", Handler: _Namespaces_List_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "namespace.platform.proto", }
Namespaces_ServiceDesc is the grpc.ServiceDesc for Namespaces service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Nodes_ServiceDesc = grpc.ServiceDesc{ ServiceName: "chainguard.platform.tenant.Nodes", HandlerType: (*NodesServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "List", Handler: _Nodes_List_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "node.platform.proto", }
Nodes_ServiceDesc is the grpc.ServiceDesc for Nodes service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var PolicyResults_ServiceDesc = grpc.ServiceDesc{ ServiceName: "chainguard.platform.tenant.PolicyResults", HandlerType: (*PolicyResultsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "List", Handler: _PolicyResults_List_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "policy_results.platform.proto", }
PolicyResults_ServiceDesc is the grpc.ServiceDesc for PolicyResults service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var RecordContexts_ServiceDesc = grpc.ServiceDesc{ ServiceName: "chainguard.platform.tenant.RecordContexts", HandlerType: (*RecordContextsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "List", Handler: _RecordContexts_List_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "context.platform.proto", }
RecordContexts_ServiceDesc is the grpc.ServiceDesc for RecordContexts service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Records_ServiceDesc = grpc.ServiceDesc{ ServiceName: "chainguard.platform.tenant.Records", HandlerType: (*RecordsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "List", Handler: _Records_List_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "record.platform.proto", }
Records_ServiceDesc is the grpc.ServiceDesc for Records service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Risks_ServiceDesc = grpc.ServiceDesc{ ServiceName: "chainguard.platform.tenant.Risks", HandlerType: (*RisksServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "List", Handler: _Risks_List_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "risk.platform.proto", }
Risks_ServiceDesc is the grpc.ServiceDesc for Risks service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Sboms_ServiceDesc = grpc.ServiceDesc{ ServiceName: "chainguard.platform.tenant.Sboms", HandlerType: (*SbomsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "List", Handler: _Sboms_List_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "sbom.platform.proto", }
Sboms_ServiceDesc is the grpc.ServiceDesc for Sboms service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Signatures_ServiceDesc = grpc.ServiceDesc{ ServiceName: "chainguard.platform.tenant.Signatures", HandlerType: (*SignaturesServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "List", Handler: _Signatures_List_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "signature.platform.proto", }
Signatures_ServiceDesc is the grpc.ServiceDesc for Signatures service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var VulnReports_ServiceDesc = grpc.ServiceDesc{ ServiceName: "chainguard.platform.tenant.VulnReports", HandlerType: (*VulnReportsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "List", Handler: _VulnReports_List_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "vuln.platform.proto", }
VulnReports_ServiceDesc is the grpc.ServiceDesc for VulnReports service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Workloads_ServiceDesc = grpc.ServiceDesc{ ServiceName: "chainguard.platform.tenant.Workloads", HandlerType: (*WorkloadsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "List", Handler: _Workloads_List_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "workload.platform.proto", }
Workloads_ServiceDesc is the grpc.ServiceDesc for Workloads service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterAttestationsHandler ¶
func RegisterAttestationsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterAttestationsHandler registers the http handlers for service Attestations to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAttestationsHandlerClient ¶
func RegisterAttestationsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AttestationsClient) error
RegisterAttestationsHandlerClient registers the http handlers for service Attestations to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AttestationsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AttestationsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AttestationsClient" to call the correct interceptors.
func RegisterAttestationsHandlerFromEndpoint ¶
func RegisterAttestationsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAttestationsHandlerFromEndpoint is same as RegisterAttestationsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAttestationsHandlerServer ¶
func RegisterAttestationsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AttestationsServer) error
RegisterAttestationsHandlerServer registers the http handlers for service Attestations to "mux". UnaryRPC :call AttestationsServer 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 RegisterAttestationsHandlerFromEndpoint instead.
func RegisterAttestationsServer ¶
func RegisterAttestationsServer(s grpc.ServiceRegistrar, srv AttestationsServer)
func RegisterClustersHandler ¶
func RegisterClustersHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterClustersHandler registers the http handlers for service Clusters to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterClustersHandlerClient ¶
func RegisterClustersHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ClustersClient) error
RegisterClustersHandlerClient registers the http handlers for service Clusters to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ClustersClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ClustersClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ClustersClient" to call the correct interceptors.
func RegisterClustersHandlerFromEndpoint ¶
func RegisterClustersHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterClustersHandlerFromEndpoint is same as RegisterClustersHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterClustersHandlerServer ¶
func RegisterClustersHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ClustersServer) error
RegisterClustersHandlerServer registers the http handlers for service Clusters to "mux". UnaryRPC :call ClustersServer 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 RegisterClustersHandlerFromEndpoint instead.
func RegisterClustersServer ¶
func RegisterClustersServer(s grpc.ServiceRegistrar, srv ClustersServer)
func RegisterNamespacesServer ¶
func RegisterNamespacesServer(s grpc.ServiceRegistrar, srv NamespacesServer)
func RegisterNodesServer ¶
func RegisterNodesServer(s grpc.ServiceRegistrar, srv NodesServer)
func RegisterPolicyResultsHandler ¶
func RegisterPolicyResultsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterPolicyResultsHandler registers the http handlers for service PolicyResults to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterPolicyResultsHandlerClient ¶
func RegisterPolicyResultsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PolicyResultsClient) error
RegisterPolicyResultsHandlerClient registers the http handlers for service PolicyResults to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "PolicyResultsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "PolicyResultsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "PolicyResultsClient" to call the correct interceptors.
func RegisterPolicyResultsHandlerFromEndpoint ¶
func RegisterPolicyResultsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterPolicyResultsHandlerFromEndpoint is same as RegisterPolicyResultsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterPolicyResultsHandlerServer ¶
func RegisterPolicyResultsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PolicyResultsServer) error
RegisterPolicyResultsHandlerServer registers the http handlers for service PolicyResults to "mux". UnaryRPC :call PolicyResultsServer 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 RegisterPolicyResultsHandlerFromEndpoint instead.
func RegisterPolicyResultsServer ¶
func RegisterPolicyResultsServer(s grpc.ServiceRegistrar, srv PolicyResultsServer)
func RegisterRecordContextsServer ¶
func RegisterRecordContextsServer(s grpc.ServiceRegistrar, srv RecordContextsServer)
func RegisterRecordsHandler ¶
func RegisterRecordsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterRecordsHandler registers the http handlers for service Records to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterRecordsHandlerClient ¶
func RegisterRecordsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RecordsClient) error
RegisterRecordsHandlerClient registers the http handlers for service Records to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "RecordsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "RecordsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "RecordsClient" to call the correct interceptors.
func RegisterRecordsHandlerFromEndpoint ¶
func RegisterRecordsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterRecordsHandlerFromEndpoint is same as RegisterRecordsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterRecordsHandlerServer ¶
func RegisterRecordsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RecordsServer) error
RegisterRecordsHandlerServer registers the http handlers for service Records to "mux". UnaryRPC :call RecordsServer 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 RegisterRecordsHandlerFromEndpoint instead.
func RegisterRecordsServer ¶
func RegisterRecordsServer(s grpc.ServiceRegistrar, srv RecordsServer)
func RegisterRisksHandler ¶
RegisterRisksHandler registers the http handlers for service Risks to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterRisksHandlerClient ¶
func RegisterRisksHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RisksClient) error
RegisterRisksHandlerClient registers the http handlers for service Risks to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "RisksClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "RisksClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "RisksClient" to call the correct interceptors.
func RegisterRisksHandlerFromEndpoint ¶
func RegisterRisksHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterRisksHandlerFromEndpoint is same as RegisterRisksHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterRisksHandlerServer ¶
func RegisterRisksHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RisksServer) error
RegisterRisksHandlerServer registers the http handlers for service Risks to "mux". UnaryRPC :call RisksServer 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 RegisterRisksHandlerFromEndpoint instead.
func RegisterRisksServer ¶
func RegisterRisksServer(s grpc.ServiceRegistrar, srv RisksServer)
func RegisterSbomsHandler ¶
RegisterSbomsHandler registers the http handlers for service Sboms to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterSbomsHandlerClient ¶
func RegisterSbomsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SbomsClient) error
RegisterSbomsHandlerClient registers the http handlers for service Sboms to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SbomsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SbomsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "SbomsClient" to call the correct interceptors.
func RegisterSbomsHandlerFromEndpoint ¶
func RegisterSbomsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterSbomsHandlerFromEndpoint is same as RegisterSbomsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterSbomsHandlerServer ¶
func RegisterSbomsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SbomsServer) error
RegisterSbomsHandlerServer registers the http handlers for service Sboms to "mux". UnaryRPC :call SbomsServer 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 RegisterSbomsHandlerFromEndpoint instead.
func RegisterSbomsServer ¶
func RegisterSbomsServer(s grpc.ServiceRegistrar, srv SbomsServer)
func RegisterSignaturesServer ¶
func RegisterSignaturesServer(s grpc.ServiceRegistrar, srv SignaturesServer)
func RegisterVulnReportsHandler ¶
func RegisterVulnReportsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterVulnReportsHandler registers the http handlers for service VulnReports to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterVulnReportsHandlerClient ¶
func RegisterVulnReportsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client VulnReportsClient) error
RegisterVulnReportsHandlerClient registers the http handlers for service VulnReports to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "VulnReportsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "VulnReportsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "VulnReportsClient" to call the correct interceptors.
func RegisterVulnReportsHandlerFromEndpoint ¶
func RegisterVulnReportsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterVulnReportsHandlerFromEndpoint is same as RegisterVulnReportsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterVulnReportsHandlerServer ¶
func RegisterVulnReportsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server VulnReportsServer) error
RegisterVulnReportsHandlerServer registers the http handlers for service VulnReports to "mux". UnaryRPC :call VulnReportsServer 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 RegisterVulnReportsHandlerFromEndpoint instead.
func RegisterVulnReportsServer ¶
func RegisterVulnReportsServer(s grpc.ServiceRegistrar, srv VulnReportsServer)
func RegisterWorkloadsServer ¶
func RegisterWorkloadsServer(s grpc.ServiceRegistrar, srv WorkloadsServer)
Types ¶
type Attestation ¶
type Attestation struct { // id, The Attestation UIDP at which this Attestation resides in the hierarchy. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // raw_attestation is a free form type to stub in any attestations so we don't end up a // adding new tables for all the new type of attestations, initial goal is to add image configs // and anything which comes up after that RawAttestation []byte `protobuf:"bytes,2,opt,name=raw_attestation,json=rawAttestation,proto3" json:"raw_attestation,omitempty"` // format holds the Document format type Format string `protobuf:"bytes,3,opt,name=format,proto3" json:"format,omitempty"` // generated_at holds when the Attestation was generated. GeneratedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=generated_at,json=generatedAt,proto3" json:"generated_at,omitempty"` // Name of the Attestation. Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // Short description of the Attestation Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` // digest of the Attestation when ingested Digest *string `protobuf:"bytes,7,opt,name=digest,proto3,oneof" json:"digest,omitempty"` // contains filtered or unexported fields }
Attestation represents a normalized Attestation that we have ingested into our datastore. They are linked to Signatures via ID, as in they are 'children' of Signatures There can be multiple of these that we keep.
func (*Attestation) Descriptor
deprecated
func (*Attestation) Descriptor() ([]byte, []int)
Deprecated: Use Attestation.ProtoReflect.Descriptor instead.
func (*Attestation) GetDescription ¶
func (x *Attestation) GetDescription() string
func (*Attestation) GetDigest ¶
func (x *Attestation) GetDigest() string
func (*Attestation) GetFormat ¶
func (x *Attestation) GetFormat() string
func (*Attestation) GetGeneratedAt ¶
func (x *Attestation) GetGeneratedAt() *timestamppb.Timestamp
func (*Attestation) GetId ¶
func (x *Attestation) GetId() string
func (*Attestation) GetName ¶
func (x *Attestation) GetName() string
func (*Attestation) GetRawAttestation ¶
func (x *Attestation) GetRawAttestation() []byte
func (*Attestation) ProtoMessage ¶
func (*Attestation) ProtoMessage()
func (*Attestation) ProtoReflect ¶
func (x *Attestation) ProtoReflect() protoreflect.Message
func (*Attestation) Reset ¶
func (x *Attestation) Reset()
func (*Attestation) String ¶
func (x *Attestation) String() string
type AttestationFilter ¶
type AttestationFilter struct { // id is the exact UID of the record. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Uidp *v1.UIDPFilter `protobuf:"bytes,2,opt,name=uidp,proto3" json:"uidp,omitempty"` // contains filtered or unexported fields }
func (*AttestationFilter) Descriptor
deprecated
func (*AttestationFilter) Descriptor() ([]byte, []int)
Deprecated: Use AttestationFilter.ProtoReflect.Descriptor instead.
func (*AttestationFilter) GetId ¶
func (x *AttestationFilter) GetId() string
func (*AttestationFilter) GetUidp ¶
func (x *AttestationFilter) GetUidp() *v1.UIDPFilter
func (*AttestationFilter) ProtoMessage ¶
func (*AttestationFilter) ProtoMessage()
func (*AttestationFilter) ProtoReflect ¶
func (x *AttestationFilter) ProtoReflect() protoreflect.Message
func (*AttestationFilter) Reset ¶
func (x *AttestationFilter) Reset()
func (*AttestationFilter) String ¶
func (x *AttestationFilter) String() string
type AttestationList ¶
type AttestationList struct { Items []*Attestation `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*AttestationList) Descriptor
deprecated
func (*AttestationList) Descriptor() ([]byte, []int)
Deprecated: Use AttestationList.ProtoReflect.Descriptor instead.
func (*AttestationList) GetItems ¶
func (x *AttestationList) GetItems() []*Attestation
func (*AttestationList) ProtoMessage ¶
func (*AttestationList) ProtoMessage()
func (*AttestationList) ProtoReflect ¶
func (x *AttestationList) ProtoReflect() protoreflect.Message
func (*AttestationList) Reset ¶
func (x *AttestationList) Reset()
func (*AttestationList) String ¶
func (x *AttestationList) String() string
type AttestationsClient ¶
type AttestationsClient interface {
List(ctx context.Context, in *AttestationFilter, opts ...grpc.CallOption) (*AttestationList, error)
}
AttestationsClient is the client API for Attestations 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.
func NewAttestationsClient ¶
func NewAttestationsClient(cc grpc.ClientConnInterface) AttestationsClient
type AttestationsServer ¶
type AttestationsServer interface { List(context.Context, *AttestationFilter) (*AttestationList, error) // contains filtered or unexported methods }
AttestationsServer is the server API for Attestations service. All implementations must embed UnimplementedAttestationsServer for forward compatibility
type Clients ¶
type Clients interface { Clusters() ClustersClient Records() RecordsClient RecordContexts() RecordContextsClient Sboms() SbomsClient Risks() RisksClient Signatures() SignaturesClient PolicyResults() PolicyResultsClient VulnReports() VulnReportsClient Nodes() NodesClient Namespaces() NamespacesClient Workloads() WorkloadsClient Close() error }
func NewClientsFromConnection ¶
func NewClientsFromConnection(conn *grpc.ClientConn) Clients
type Cluster ¶
type Cluster struct { // id, The Cluster UIDP under which this Cluster resides. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // remote_id is the remote ID of this cluster. RemoteId string `protobuf:"bytes,2,opt,name=remote_id,json=remoteId,proto3" json:"remote_id,omitempty"` // issuer is the identity issuer tied to this cluster. Issuer string `protobuf:"bytes,3,opt,name=issuer,proto3" json:"issuer,omitempty"` // registered tracks the timestamp at which this cluster was registered. Registered *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=registered,proto3" json:"registered,omitempty"` // last_seen tracks the timestamp at which this cluster was last seen. LastSeen *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_seen,json=lastSeen,proto3" json:"last_seen,omitempty"` // version holds the Kubernetes version last reported by the cluster. Version string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"` // agent_version holds the version of the Chainguard agent last reported by the cluster. AgentVersion string `protobuf:"bytes,7,opt,name=agent_version,json=agentVersion,proto3" json:"agent_version,omitempty"` // activity is a mapping from "Source" URLs to an activity record summarizing // recent activity from this source. Activity map[string]*ClusterActivity `` /* 157-byte string literal not displayed */ // name of the cluster. Name string `protobuf:"bytes,9,opt,name=name,proto3" json:"name,omitempty"` // a short description of this cluster. Description string `protobuf:"bytes,10,opt,name=description,proto3" json:"description,omitempty"` // group the cluster resides in Group *v1.Group `protobuf:"bytes,99,opt,name=group,proto3" json:"group,omitempty"` // managed_name is the unique name we have given to this cluster's managed agent. // This field is output-only, and is populated only when this cluster is "managed". ManagedName string `protobuf:"bytes,100,opt,name=managed_name,json=managedName,proto3" json:"managed_name,omitempty"` // provider holds the flavor of cluster provider, which is used to determine how we // authenticate with the cluster. Provider Cluster_Provider `protobuf:"varint,101,opt,name=provider,proto3,enum=chainguard.platform.tenant.Cluster_Provider" json:"provider,omitempty"` // affinity specifies a scheduling preference for where to run the managed agent. // Other factors, such as the provider may be taken into account when choosing a // host cluster. Affinity Cluster_Location `protobuf:"varint,105,opt,name=affinity,proto3,enum=chainguard.platform.tenant.Cluster_Location" json:"affinity,omitempty"` // info contains the cluster information from the kubeconfig context. Info *Cluster_Info `protobuf:"bytes,102,opt,name=info,proto3" json:"info,omitempty"` // auth_info holds authentication details for connecting to KinD in test scenarios. AuthInfo *Cluster_AuthInfo `protobuf:"bytes,104,opt,name=auth_info,json=authInfo,proto3" json:"auth_info,omitempty"` // status contains the managed cluster's status. Status *Cluster_Status `protobuf:"bytes,103,opt,name=status,proto3" json:"status,omitempty"` // host_cluster surfaces the opaque identifier for the Chainguard cluster hosting // this agent. HostCluster string `protobuf:"bytes,106,opt,name=host_cluster,json=hostCluster,proto3" json:"host_cluster,omitempty"` // profiles specifies the root set of tenant configurations that we want to run // on this cluster. Profiles []string `protobuf:"bytes,107,rep,name=profiles,proto3" json:"profiles,omitempty"` // EnforcerOptions contains additional Enforcer configuration settings. // +optional EnforcerOptions *Cluster_EnforcerOptions `protobuf:"bytes,108,opt,name=enforcer_options,json=enforcerOptions,proto3,oneof" json:"enforcer_options,omitempty"` // contains filtered or unexported fields }
func (*Cluster) CloudEventsExtension ¶
CloudEventsExtension implements chainguard.dev/sdk/events/Extendable.CloudEventsExtension
func (*Cluster) CloudEventsSubject ¶
CloudEventsSubject implements chainguard.dev/sdk/events/Eventable.CloudEventsSubject.
func (*Cluster) Descriptor
deprecated
func (*Cluster) GetActivity ¶
func (x *Cluster) GetActivity() map[string]*ClusterActivity
func (*Cluster) GetAffinity ¶
func (x *Cluster) GetAffinity() Cluster_Location
func (*Cluster) GetAgentVersion ¶
func (*Cluster) GetAuthInfo ¶
func (x *Cluster) GetAuthInfo() *Cluster_AuthInfo
func (*Cluster) GetDescription ¶
func (*Cluster) GetEnforcerOptions ¶
func (x *Cluster) GetEnforcerOptions() *Cluster_EnforcerOptions
func (*Cluster) GetHostCluster ¶
func (*Cluster) GetInfo ¶
func (x *Cluster) GetInfo() *Cluster_Info
func (*Cluster) GetLastSeen ¶
func (x *Cluster) GetLastSeen() *timestamppb.Timestamp
func (*Cluster) GetManagedName ¶
func (*Cluster) GetProfiles ¶
func (*Cluster) GetProvider ¶
func (x *Cluster) GetProvider() Cluster_Provider
func (*Cluster) GetRegistered ¶
func (x *Cluster) GetRegistered() *timestamppb.Timestamp
func (*Cluster) GetRemoteId ¶
func (*Cluster) GetStatus ¶
func (x *Cluster) GetStatus() *Cluster_Status
func (*Cluster) GetVersion ¶
func (*Cluster) ProtoMessage ¶
func (*Cluster) ProtoMessage()
func (*Cluster) ProtoReflect ¶
func (x *Cluster) ProtoReflect() protoreflect.Message
type ClusterActivity ¶
type ClusterActivity struct { // profile is the Chainguard profile to which the source of this activity belongs. Profile string `protobuf:"bytes,6,opt,name=profile,proto3" json:"profile,omitempty"` // namespace is the namespace in which the source of this cluster activity lives. Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` // controller_name is the name of the Controller CRD which was the source of this // activity on the tenant cluster. ControllerName string `protobuf:"bytes,2,opt,name=controller_name,json=controllerName,proto3" json:"controller_name,omitempty"` // webhook_name is the name of the Webhook CRD which was the source of this // activity on the tenant cluster. WebhookName string `protobuf:"bytes,3,opt,name=webhook_name,json=webhookName,proto3" json:"webhook_name,omitempty"` // spec_hash is the hash of the Controller or Webhook CRD's spec, which forms a // loose form of versioning. SpecHash string `protobuf:"bytes,4,opt,name=spec_hash,json=specHash,proto3" json:"spec_hash,omitempty"` // last_seen tracks the timestamp at which this source was last active. LastSeen *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_seen,json=lastSeen,proto3" json:"last_seen,omitempty"` // contains filtered or unexported fields }
func (*ClusterActivity) Descriptor
deprecated
func (*ClusterActivity) Descriptor() ([]byte, []int)
Deprecated: Use ClusterActivity.ProtoReflect.Descriptor instead.
func (*ClusterActivity) GetControllerName ¶
func (x *ClusterActivity) GetControllerName() string
func (*ClusterActivity) GetLastSeen ¶
func (x *ClusterActivity) GetLastSeen() *timestamppb.Timestamp
func (*ClusterActivity) GetNamespace ¶
func (x *ClusterActivity) GetNamespace() string
func (*ClusterActivity) GetProfile ¶
func (x *ClusterActivity) GetProfile() string
func (*ClusterActivity) GetSpecHash ¶
func (x *ClusterActivity) GetSpecHash() string
func (*ClusterActivity) GetWebhookName ¶
func (x *ClusterActivity) GetWebhookName() string
func (*ClusterActivity) ProtoMessage ¶
func (*ClusterActivity) ProtoMessage()
func (*ClusterActivity) ProtoReflect ¶
func (x *ClusterActivity) ProtoReflect() protoreflect.Message
func (*ClusterActivity) Reset ¶
func (x *ClusterActivity) Reset()
func (*ClusterActivity) String ¶
func (x *ClusterActivity) String() string
type ClusterCIDRRequest ¶
type ClusterCIDRRequest struct {
// contains filtered or unexported fields
}
func (*ClusterCIDRRequest) Descriptor
deprecated
func (*ClusterCIDRRequest) Descriptor() ([]byte, []int)
Deprecated: Use ClusterCIDRRequest.ProtoReflect.Descriptor instead.
func (*ClusterCIDRRequest) ProtoMessage ¶
func (*ClusterCIDRRequest) ProtoMessage()
func (*ClusterCIDRRequest) ProtoReflect ¶
func (x *ClusterCIDRRequest) ProtoReflect() protoreflect.Message
func (*ClusterCIDRRequest) Reset ¶
func (x *ClusterCIDRRequest) Reset()
func (*ClusterCIDRRequest) String ¶
func (x *ClusterCIDRRequest) String() string
type ClusterCIDRResponse ¶
type ClusterCIDRResponse struct { // cidr_blocks specifies the cidr blocks enforce uses to communicate with clusters. CidrBlocks []string `protobuf:"bytes,1,rep,name=cidr_blocks,json=cidrBlocks,proto3" json:"cidr_blocks,omitempty"` // contains filtered or unexported fields }
func (*ClusterCIDRResponse) Descriptor
deprecated
func (*ClusterCIDRResponse) Descriptor() ([]byte, []int)
Deprecated: Use ClusterCIDRResponse.ProtoReflect.Descriptor instead.
func (*ClusterCIDRResponse) GetCidrBlocks ¶
func (x *ClusterCIDRResponse) GetCidrBlocks() []string
func (*ClusterCIDRResponse) ProtoMessage ¶
func (*ClusterCIDRResponse) ProtoMessage()
func (*ClusterCIDRResponse) ProtoReflect ¶
func (x *ClusterCIDRResponse) ProtoReflect() protoreflect.Message
func (*ClusterCIDRResponse) Reset ¶
func (x *ClusterCIDRResponse) Reset()
func (*ClusterCIDRResponse) String ¶
func (x *ClusterCIDRResponse) String() string
type ClusterConfigRequest ¶
type ClusterConfigRequest struct { // profiles specifies the root profiles we want as part of this configuration. Profiles []string `protobuf:"bytes,1,rep,name=profiles,proto3" json:"profiles,omitempty"` // EnforcerOptions contains additional Enforcer configuration settings. EnforcerOptions *ClusterConfigRequest_EnforcerOptions `protobuf:"bytes,2,opt,name=enforcer_options,json=enforcerOptions,proto3,oneof" json:"enforcer_options,omitempty"` // contains filtered or unexported fields }
func (*ClusterConfigRequest) Descriptor
deprecated
func (*ClusterConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use ClusterConfigRequest.ProtoReflect.Descriptor instead.
func (*ClusterConfigRequest) GetEnforcerOptions ¶
func (x *ClusterConfigRequest) GetEnforcerOptions() *ClusterConfigRequest_EnforcerOptions
func (*ClusterConfigRequest) GetProfiles ¶
func (x *ClusterConfigRequest) GetProfiles() []string
func (*ClusterConfigRequest) ProtoMessage ¶
func (*ClusterConfigRequest) ProtoMessage()
func (*ClusterConfigRequest) ProtoReflect ¶
func (x *ClusterConfigRequest) ProtoReflect() protoreflect.Message
func (*ClusterConfigRequest) Reset ¶
func (x *ClusterConfigRequest) Reset()
func (*ClusterConfigRequest) String ¶
func (x *ClusterConfigRequest) String() string
type ClusterConfigRequest_EnforcerOptions ¶
type ClusterConfigRequest_EnforcerOptions struct { // +optional WebhookFailOpen *bool `protobuf:"varint,1,opt,name=webhook_fail_open,json=webhookFailOpen,proto3,oneof" json:"webhook_fail_open,omitempty"` // +optional EnableCipCache *bool `protobuf:"varint,2,opt,name=enable_cip_cache,json=enableCipCache,proto3,oneof" json:"enable_cip_cache,omitempty"` // +optional NamespaceEnforcementMode *ClusterConfigRequest_NamespaceEnforcementMode `` /* 220-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ClusterConfigRequest_EnforcerOptions) Descriptor
deprecated
func (*ClusterConfigRequest_EnforcerOptions) Descriptor() ([]byte, []int)
Deprecated: Use ClusterConfigRequest_EnforcerOptions.ProtoReflect.Descriptor instead.
func (*ClusterConfigRequest_EnforcerOptions) GetEnableCipCache ¶
func (x *ClusterConfigRequest_EnforcerOptions) GetEnableCipCache() bool
func (*ClusterConfigRequest_EnforcerOptions) GetNamespaceEnforcementMode ¶
func (x *ClusterConfigRequest_EnforcerOptions) GetNamespaceEnforcementMode() ClusterConfigRequest_NamespaceEnforcementMode
func (*ClusterConfigRequest_EnforcerOptions) GetWebhookFailOpen ¶
func (x *ClusterConfigRequest_EnforcerOptions) GetWebhookFailOpen() bool
func (*ClusterConfigRequest_EnforcerOptions) ProtoMessage ¶
func (*ClusterConfigRequest_EnforcerOptions) ProtoMessage()
func (*ClusterConfigRequest_EnforcerOptions) ProtoReflect ¶
func (x *ClusterConfigRequest_EnforcerOptions) ProtoReflect() protoreflect.Message
func (*ClusterConfigRequest_EnforcerOptions) Reset ¶
func (x *ClusterConfigRequest_EnforcerOptions) Reset()
func (*ClusterConfigRequest_EnforcerOptions) String ¶
func (x *ClusterConfigRequest_EnforcerOptions) String() string
type ClusterConfigRequest_NamespaceEnforcementMode ¶
type ClusterConfigRequest_NamespaceEnforcementMode int32
const ( ClusterConfigRequest_OptOut ClusterConfigRequest_NamespaceEnforcementMode = 0 ClusterConfigRequest_OptIn ClusterConfigRequest_NamespaceEnforcementMode = 1 )
func (ClusterConfigRequest_NamespaceEnforcementMode) Descriptor ¶
func (ClusterConfigRequest_NamespaceEnforcementMode) Descriptor() protoreflect.EnumDescriptor
func (ClusterConfigRequest_NamespaceEnforcementMode) EnumDescriptor
deprecated
func (ClusterConfigRequest_NamespaceEnforcementMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use ClusterConfigRequest_NamespaceEnforcementMode.Descriptor instead.
func (ClusterConfigRequest_NamespaceEnforcementMode) Number ¶
func (x ClusterConfigRequest_NamespaceEnforcementMode) Number() protoreflect.EnumNumber
func (ClusterConfigRequest_NamespaceEnforcementMode) String ¶
func (x ClusterConfigRequest_NamespaceEnforcementMode) String() string
type ClusterConfigResponse ¶
type ClusterConfigResponse struct { McpConfig []byte `protobuf:"bytes,1,opt,name=mcp_config,json=mcpConfig,proto3" json:"mcp_config,omitempty"` TenantConfig []byte `protobuf:"bytes,2,opt,name=tenant_config,json=tenantConfig,proto3" json:"tenant_config,omitempty"` // profiles includes the full set of profiles returned (including transitive // dependencies of the input profiles) Profiles []string `protobuf:"bytes,3,rep,name=profiles,proto3" json:"profiles,omitempty"` // contains filtered or unexported fields }
func (*ClusterConfigResponse) Descriptor
deprecated
func (*ClusterConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use ClusterConfigResponse.ProtoReflect.Descriptor instead.
func (*ClusterConfigResponse) GetMcpConfig ¶
func (x *ClusterConfigResponse) GetMcpConfig() []byte
func (*ClusterConfigResponse) GetProfiles ¶
func (x *ClusterConfigResponse) GetProfiles() []string
func (*ClusterConfigResponse) GetTenantConfig ¶
func (x *ClusterConfigResponse) GetTenantConfig() []byte
func (*ClusterConfigResponse) ProtoMessage ¶
func (*ClusterConfigResponse) ProtoMessage()
func (*ClusterConfigResponse) ProtoReflect ¶
func (x *ClusterConfigResponse) ProtoReflect() protoreflect.Message
func (*ClusterConfigResponse) Reset ¶
func (x *ClusterConfigResponse) Reset()
func (*ClusterConfigResponse) String ¶
func (x *ClusterConfigResponse) String() string
type ClusterDiscoveryRequest ¶
type ClusterDiscoveryRequest struct { // id is the exact UIDP of the group to impersonate to search for clusters. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // providers is the list of providers to perform discovery on. Providers []Cluster_Provider `` /* 128-byte string literal not displayed */ // profiles includes the set of profiles to perform discovery for, // which may impact eligibility (some profiles may not be supported // on some providers). Profiles []string `protobuf:"bytes,3,rep,name=profiles,proto3" json:"profiles,omitempty"` // states is a collection of the states to return, or all if // none are specified. States []ClusterDiscoveryRequest_State `` /* 135-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ClusterDiscoveryRequest) Descriptor
deprecated
func (*ClusterDiscoveryRequest) Descriptor() ([]byte, []int)
Deprecated: Use ClusterDiscoveryRequest.ProtoReflect.Descriptor instead.
func (*ClusterDiscoveryRequest) GetId ¶
func (x *ClusterDiscoveryRequest) GetId() string
func (*ClusterDiscoveryRequest) GetProfiles ¶
func (x *ClusterDiscoveryRequest) GetProfiles() []string
func (*ClusterDiscoveryRequest) GetProviders ¶
func (x *ClusterDiscoveryRequest) GetProviders() []Cluster_Provider
func (*ClusterDiscoveryRequest) GetStates ¶
func (x *ClusterDiscoveryRequest) GetStates() []ClusterDiscoveryRequest_State
func (*ClusterDiscoveryRequest) ProtoMessage ¶
func (*ClusterDiscoveryRequest) ProtoMessage()
func (*ClusterDiscoveryRequest) ProtoReflect ¶
func (x *ClusterDiscoveryRequest) ProtoReflect() protoreflect.Message
func (*ClusterDiscoveryRequest) Reset ¶
func (x *ClusterDiscoveryRequest) Reset()
func (*ClusterDiscoveryRequest) String ¶
func (x *ClusterDiscoveryRequest) String() string
type ClusterDiscoveryRequest_State ¶
type ClusterDiscoveryRequest_State int32
const ( ClusterDiscoveryRequest_UNKNOWN ClusterDiscoveryRequest_State = 0 ClusterDiscoveryRequest_UNSUPPORTED ClusterDiscoveryRequest_State = 1 ClusterDiscoveryRequest_NEEDS_WORK ClusterDiscoveryRequest_State = 2 ClusterDiscoveryRequest_ELIGIBLE ClusterDiscoveryRequest_State = 3 ClusterDiscoveryRequest_ENROLLED ClusterDiscoveryRequest_State = 4 )
func (ClusterDiscoveryRequest_State) Descriptor ¶
func (ClusterDiscoveryRequest_State) Descriptor() protoreflect.EnumDescriptor
func (ClusterDiscoveryRequest_State) Enum ¶
func (x ClusterDiscoveryRequest_State) Enum() *ClusterDiscoveryRequest_State
func (ClusterDiscoveryRequest_State) EnumDescriptor
deprecated
func (ClusterDiscoveryRequest_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use ClusterDiscoveryRequest_State.Descriptor instead.
func (ClusterDiscoveryRequest_State) Number ¶
func (x ClusterDiscoveryRequest_State) Number() protoreflect.EnumNumber
func (ClusterDiscoveryRequest_State) String ¶
func (x ClusterDiscoveryRequest_State) String() string
func (ClusterDiscoveryRequest_State) Type ¶
func (ClusterDiscoveryRequest_State) Type() protoreflect.EnumType
type ClusterDiscoveryResponse ¶
type ClusterDiscoveryResponse struct { Results []*ClusterDiscoveryResponse_Result `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
func (*ClusterDiscoveryResponse) Descriptor
deprecated
func (*ClusterDiscoveryResponse) Descriptor() ([]byte, []int)
Deprecated: Use ClusterDiscoveryResponse.ProtoReflect.Descriptor instead.
func (*ClusterDiscoveryResponse) GetResults ¶
func (x *ClusterDiscoveryResponse) GetResults() []*ClusterDiscoveryResponse_Result
func (*ClusterDiscoveryResponse) ProtoMessage ¶
func (*ClusterDiscoveryResponse) ProtoMessage()
func (*ClusterDiscoveryResponse) ProtoReflect ¶
func (x *ClusterDiscoveryResponse) ProtoReflect() protoreflect.Message
func (*ClusterDiscoveryResponse) Reset ¶
func (x *ClusterDiscoveryResponse) Reset()
func (*ClusterDiscoveryResponse) String ¶
func (x *ClusterDiscoveryResponse) String() string
type ClusterDiscoveryResponse_Result ¶
type ClusterDiscoveryResponse_Result struct { Provider Cluster_Provider `protobuf:"varint,1,opt,name=provider,proto3,enum=chainguard.platform.tenant.Cluster_Provider" json:"provider,omitempty"` Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` Location Cluster_Location `protobuf:"varint,3,opt,name=location,proto3,enum=chainguard.platform.tenant.Cluster_Location" json:"location,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // Types that are assignable to State: // // *ClusterDiscoveryResponse_Result_Unsupported_ // *ClusterDiscoveryResponse_Result_NeedsWork_ // *ClusterDiscoveryResponse_Result_Eligible_ // *ClusterDiscoveryResponse_Result_Enrolled_ State isClusterDiscoveryResponse_Result_State `protobuf_oneof:"state"` // contains filtered or unexported fields }
func (*ClusterDiscoveryResponse_Result) Descriptor
deprecated
func (*ClusterDiscoveryResponse_Result) Descriptor() ([]byte, []int)
Deprecated: Use ClusterDiscoveryResponse_Result.ProtoReflect.Descriptor instead.
func (*ClusterDiscoveryResponse_Result) GetAccount ¶
func (x *ClusterDiscoveryResponse_Result) GetAccount() string
func (*ClusterDiscoveryResponse_Result) GetEligible ¶
func (x *ClusterDiscoveryResponse_Result) GetEligible() *ClusterDiscoveryResponse_Result_Eligible
func (*ClusterDiscoveryResponse_Result) GetEnrolled ¶
func (x *ClusterDiscoveryResponse_Result) GetEnrolled() *ClusterDiscoveryResponse_Result_Enrolled
func (*ClusterDiscoveryResponse_Result) GetLocation ¶
func (x *ClusterDiscoveryResponse_Result) GetLocation() Cluster_Location
func (*ClusterDiscoveryResponse_Result) GetName ¶
func (x *ClusterDiscoveryResponse_Result) GetName() string
func (*ClusterDiscoveryResponse_Result) GetNeedsWork ¶
func (x *ClusterDiscoveryResponse_Result) GetNeedsWork() *ClusterDiscoveryResponse_Result_NeedsWork
func (*ClusterDiscoveryResponse_Result) GetProvider ¶
func (x *ClusterDiscoveryResponse_Result) GetProvider() Cluster_Provider
func (*ClusterDiscoveryResponse_Result) GetState ¶
func (m *ClusterDiscoveryResponse_Result) GetState() isClusterDiscoveryResponse_Result_State
func (*ClusterDiscoveryResponse_Result) GetUnsupported ¶
func (x *ClusterDiscoveryResponse_Result) GetUnsupported() *ClusterDiscoveryResponse_Result_Unsupported
func (*ClusterDiscoveryResponse_Result) ProtoMessage ¶
func (*ClusterDiscoveryResponse_Result) ProtoMessage()
func (*ClusterDiscoveryResponse_Result) ProtoReflect ¶
func (x *ClusterDiscoveryResponse_Result) ProtoReflect() protoreflect.Message
func (*ClusterDiscoveryResponse_Result) Reset ¶
func (x *ClusterDiscoveryResponse_Result) Reset()
func (*ClusterDiscoveryResponse_Result) String ¶
func (x *ClusterDiscoveryResponse_Result) String() string
type ClusterDiscoveryResponse_Result_Eligible ¶
type ClusterDiscoveryResponse_Result_Eligible struct { Info *Cluster_Info `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` // contains filtered or unexported fields }
func (*ClusterDiscoveryResponse_Result_Eligible) Descriptor
deprecated
func (*ClusterDiscoveryResponse_Result_Eligible) Descriptor() ([]byte, []int)
Deprecated: Use ClusterDiscoveryResponse_Result_Eligible.ProtoReflect.Descriptor instead.
func (*ClusterDiscoveryResponse_Result_Eligible) GetInfo ¶
func (x *ClusterDiscoveryResponse_Result_Eligible) GetInfo() *Cluster_Info
func (*ClusterDiscoveryResponse_Result_Eligible) ProtoMessage ¶
func (*ClusterDiscoveryResponse_Result_Eligible) ProtoMessage()
func (*ClusterDiscoveryResponse_Result_Eligible) ProtoReflect ¶
func (x *ClusterDiscoveryResponse_Result_Eligible) ProtoReflect() protoreflect.Message
func (*ClusterDiscoveryResponse_Result_Eligible) Reset ¶
func (x *ClusterDiscoveryResponse_Result_Eligible) Reset()
func (*ClusterDiscoveryResponse_Result_Eligible) String ¶
func (x *ClusterDiscoveryResponse_Result_Eligible) String() string
type ClusterDiscoveryResponse_Result_Eligible_ ¶
type ClusterDiscoveryResponse_Result_Eligible_ struct { // eligible clusters are able to be directly enrolled as // agentless tenants immediately. This message contains // all of the information needed to enroll this cluster. Eligible *ClusterDiscoveryResponse_Result_Eligible `protobuf:"bytes,12,opt,name=eligible,proto3,oneof"` }
type ClusterDiscoveryResponse_Result_Enrolled ¶
type ClusterDiscoveryResponse_Result_Enrolled struct { // id is the UIDP of the tenant Cluster. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // profiles contains the set of profiles that this // cluster was enrolled with. Profiles []string `protobuf:"bytes,2,rep,name=profiles,proto3" json:"profiles,omitempty"` Info *Cluster_Info `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"` // contains filtered or unexported fields }
func (*ClusterDiscoveryResponse_Result_Enrolled) Descriptor
deprecated
func (*ClusterDiscoveryResponse_Result_Enrolled) Descriptor() ([]byte, []int)
Deprecated: Use ClusterDiscoveryResponse_Result_Enrolled.ProtoReflect.Descriptor instead.
func (*ClusterDiscoveryResponse_Result_Enrolled) GetId ¶
func (x *ClusterDiscoveryResponse_Result_Enrolled) GetId() string
func (*ClusterDiscoveryResponse_Result_Enrolled) GetInfo ¶
func (x *ClusterDiscoveryResponse_Result_Enrolled) GetInfo() *Cluster_Info
func (*ClusterDiscoveryResponse_Result_Enrolled) GetProfiles ¶
func (x *ClusterDiscoveryResponse_Result_Enrolled) GetProfiles() []string
func (*ClusterDiscoveryResponse_Result_Enrolled) ProtoMessage ¶
func (*ClusterDiscoveryResponse_Result_Enrolled) ProtoMessage()
func (*ClusterDiscoveryResponse_Result_Enrolled) ProtoReflect ¶
func (x *ClusterDiscoveryResponse_Result_Enrolled) ProtoReflect() protoreflect.Message
func (*ClusterDiscoveryResponse_Result_Enrolled) Reset ¶
func (x *ClusterDiscoveryResponse_Result_Enrolled) Reset()
func (*ClusterDiscoveryResponse_Result_Enrolled) String ¶
func (x *ClusterDiscoveryResponse_Result_Enrolled) String() string
type ClusterDiscoveryResponse_Result_Enrolled_ ¶
type ClusterDiscoveryResponse_Result_Enrolled_ struct { // enrolled clusters are clusters that have already been // enrolled as agentless tenants. Enrolled *ClusterDiscoveryResponse_Result_Enrolled `protobuf:"bytes,13,opt,name=enrolled,proto3,oneof"` }
type ClusterDiscoveryResponse_Result_NeedsWork ¶
type ClusterDiscoveryResponse_Result_NeedsWork struct { // steps holds the set of changes the user needs to make in order // for the cluster to become eligible. Steps []string `protobuf:"bytes,1,rep,name=steps,proto3" json:"steps,omitempty"` // contains filtered or unexported fields }
func (*ClusterDiscoveryResponse_Result_NeedsWork) Descriptor
deprecated
func (*ClusterDiscoveryResponse_Result_NeedsWork) Descriptor() ([]byte, []int)
Deprecated: Use ClusterDiscoveryResponse_Result_NeedsWork.ProtoReflect.Descriptor instead.
func (*ClusterDiscoveryResponse_Result_NeedsWork) GetSteps ¶
func (x *ClusterDiscoveryResponse_Result_NeedsWork) GetSteps() []string
func (*ClusterDiscoveryResponse_Result_NeedsWork) ProtoMessage ¶
func (*ClusterDiscoveryResponse_Result_NeedsWork) ProtoMessage()
func (*ClusterDiscoveryResponse_Result_NeedsWork) ProtoReflect ¶
func (x *ClusterDiscoveryResponse_Result_NeedsWork) ProtoReflect() protoreflect.Message
func (*ClusterDiscoveryResponse_Result_NeedsWork) Reset ¶
func (x *ClusterDiscoveryResponse_Result_NeedsWork) Reset()
func (*ClusterDiscoveryResponse_Result_NeedsWork) String ¶
func (x *ClusterDiscoveryResponse_Result_NeedsWork) String() string
type ClusterDiscoveryResponse_Result_NeedsWork_ ¶
type ClusterDiscoveryResponse_Result_NeedsWork_ struct { // needs_work clusters can be modified in some way so // that they are supported by our Agentless infrastructure. NeedsWork *ClusterDiscoveryResponse_Result_NeedsWork `protobuf:"bytes,11,opt,name=needs_work,json=needsWork,proto3,oneof"` }
type ClusterDiscoveryResponse_Result_Unsupported ¶
type ClusterDiscoveryResponse_Result_Unsupported struct { // reason holds the reason the cluster is not currently supported. Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*ClusterDiscoveryResponse_Result_Unsupported) Descriptor
deprecated
func (*ClusterDiscoveryResponse_Result_Unsupported) Descriptor() ([]byte, []int)
Deprecated: Use ClusterDiscoveryResponse_Result_Unsupported.ProtoReflect.Descriptor instead.
func (*ClusterDiscoveryResponse_Result_Unsupported) GetReason ¶
func (x *ClusterDiscoveryResponse_Result_Unsupported) GetReason() string
func (*ClusterDiscoveryResponse_Result_Unsupported) ProtoMessage ¶
func (*ClusterDiscoveryResponse_Result_Unsupported) ProtoMessage()
func (*ClusterDiscoveryResponse_Result_Unsupported) ProtoReflect ¶
func (x *ClusterDiscoveryResponse_Result_Unsupported) ProtoReflect() protoreflect.Message
func (*ClusterDiscoveryResponse_Result_Unsupported) Reset ¶
func (x *ClusterDiscoveryResponse_Result_Unsupported) Reset()
func (*ClusterDiscoveryResponse_Result_Unsupported) String ¶
func (x *ClusterDiscoveryResponse_Result_Unsupported) String() string
type ClusterDiscoveryResponse_Result_Unsupported_ ¶
type ClusterDiscoveryResponse_Result_Unsupported_ struct { // unsupported clusters cannot be enrolled with our // Agentless cluster support. Unsupported *ClusterDiscoveryResponse_Result_Unsupported `protobuf:"bytes,10,opt,name=unsupported,proto3,oneof"` }
type ClusterFilter ¶
type ClusterFilter struct { // id is the exact UID of the record. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // active_since is the timestamp after which returned clusters should have been active. // This applies to both cluster registration and when it was "last seen". ActiveSince *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=active_since,json=activeSince,proto3" json:"active_since,omitempty"` // uidp filers records based on their position in the group hierarchy. Uidp *v11.UIDPFilter `protobuf:"bytes,3,opt,name=uidp,proto3" json:"uidp,omitempty"` // remote_id is the remote ID of this cluster. RemoteId string `protobuf:"bytes,4,opt,name=remote_id,json=remoteId,proto3" json:"remote_id,omitempty"` // name is the exact name of the cluster. Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*ClusterFilter) Descriptor
deprecated
func (*ClusterFilter) Descriptor() ([]byte, []int)
Deprecated: Use ClusterFilter.ProtoReflect.Descriptor instead.
func (*ClusterFilter) GetActiveSince ¶
func (x *ClusterFilter) GetActiveSince() *timestamppb.Timestamp
func (*ClusterFilter) GetId ¶
func (x *ClusterFilter) GetId() string
func (*ClusterFilter) GetName ¶
func (x *ClusterFilter) GetName() string
func (*ClusterFilter) GetRemoteId ¶
func (x *ClusterFilter) GetRemoteId() string
func (*ClusterFilter) GetUidp ¶
func (x *ClusterFilter) GetUidp() *v11.UIDPFilter
func (*ClusterFilter) ProtoMessage ¶
func (*ClusterFilter) ProtoMessage()
func (*ClusterFilter) ProtoReflect ¶
func (x *ClusterFilter) ProtoReflect() protoreflect.Message
func (*ClusterFilter) Reset ¶
func (x *ClusterFilter) Reset()
func (*ClusterFilter) String ¶
func (x *ClusterFilter) String() string
type ClusterList ¶
type ClusterList struct { Items []*Cluster `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ClusterList) Descriptor
deprecated
func (*ClusterList) Descriptor() ([]byte, []int)
Deprecated: Use ClusterList.ProtoReflect.Descriptor instead.
func (*ClusterList) GetItems ¶
func (x *ClusterList) GetItems() []*Cluster
func (*ClusterList) ProtoMessage ¶
func (*ClusterList) ProtoMessage()
func (*ClusterList) ProtoReflect ¶
func (x *ClusterList) ProtoReflect() protoreflect.Message
func (*ClusterList) Reset ¶
func (x *ClusterList) Reset()
func (*ClusterList) String ¶
func (x *ClusterList) String() string
type ClusterProfilesRequest ¶
type ClusterProfilesRequest struct {
// contains filtered or unexported fields
}
func (*ClusterProfilesRequest) Descriptor
deprecated
func (*ClusterProfilesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ClusterProfilesRequest.ProtoReflect.Descriptor instead.
func (*ClusterProfilesRequest) ProtoMessage ¶
func (*ClusterProfilesRequest) ProtoMessage()
func (*ClusterProfilesRequest) ProtoReflect ¶
func (x *ClusterProfilesRequest) ProtoReflect() protoreflect.Message
func (*ClusterProfilesRequest) Reset ¶
func (x *ClusterProfilesRequest) Reset()
func (*ClusterProfilesRequest) String ¶
func (x *ClusterProfilesRequest) String() string
type ClusterProfilesResponse ¶
type ClusterProfilesResponse struct { Profile []*ClusterProfilesResponse_Profile `protobuf:"bytes,1,rep,name=profile,proto3" json:"profile,omitempty"` // contains filtered or unexported fields }
func (*ClusterProfilesResponse) Descriptor
deprecated
func (*ClusterProfilesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ClusterProfilesResponse.ProtoReflect.Descriptor instead.
func (*ClusterProfilesResponse) GetProfile ¶
func (x *ClusterProfilesResponse) GetProfile() []*ClusterProfilesResponse_Profile
func (*ClusterProfilesResponse) ProtoMessage ¶
func (*ClusterProfilesResponse) ProtoMessage()
func (*ClusterProfilesResponse) ProtoReflect ¶
func (x *ClusterProfilesResponse) ProtoReflect() protoreflect.Message
func (*ClusterProfilesResponse) Reset ¶
func (x *ClusterProfilesResponse) Reset()
func (*ClusterProfilesResponse) String ¶
func (x *ClusterProfilesResponse) String() string
type ClusterProfilesResponse_Profile ¶
type ClusterProfilesResponse_Profile struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Dependencies []string `protobuf:"bytes,3,rep,name=dependencies,proto3" json:"dependencies,omitempty"` // contains filtered or unexported fields }
func (*ClusterProfilesResponse_Profile) Descriptor
deprecated
func (*ClusterProfilesResponse_Profile) Descriptor() ([]byte, []int)
Deprecated: Use ClusterProfilesResponse_Profile.ProtoReflect.Descriptor instead.
func (*ClusterProfilesResponse_Profile) GetDependencies ¶
func (x *ClusterProfilesResponse_Profile) GetDependencies() []string
func (*ClusterProfilesResponse_Profile) GetDescription ¶
func (x *ClusterProfilesResponse_Profile) GetDescription() string
func (*ClusterProfilesResponse_Profile) GetName ¶
func (x *ClusterProfilesResponse_Profile) GetName() string
func (*ClusterProfilesResponse_Profile) ProtoMessage ¶
func (*ClusterProfilesResponse_Profile) ProtoMessage()
func (*ClusterProfilesResponse_Profile) ProtoReflect ¶
func (x *ClusterProfilesResponse_Profile) ProtoReflect() protoreflect.Message
func (*ClusterProfilesResponse_Profile) Reset ¶
func (x *ClusterProfilesResponse_Profile) Reset()
func (*ClusterProfilesResponse_Profile) String ¶
func (x *ClusterProfilesResponse_Profile) String() string
type Cluster_AuthInfo ¶
type Cluster_AuthInfo struct { // client_certificate_data contains PEM-encoded data from a client cert file for TLS. ClientCertificateData []byte `` /* 126-byte string literal not displayed */ // client_key_data contains PEM-encoded data from a client key file for TLS. ClientKeyData []byte `protobuf:"bytes,4,opt,name=client_key_data,json=clientKeyData,proto3" json:"client_key_data,omitempty"` // contains filtered or unexported fields }
This is based off of k8s.io/client-go/tools/clientcmd/api/v1.AuthInfo This should only ever be used with KinD clusters during testing, it WILL NOT be stored securely.
func (*Cluster_AuthInfo) Descriptor
deprecated
func (*Cluster_AuthInfo) Descriptor() ([]byte, []int)
Deprecated: Use Cluster_AuthInfo.ProtoReflect.Descriptor instead.
func (*Cluster_AuthInfo) GetClientCertificateData ¶
func (x *Cluster_AuthInfo) GetClientCertificateData() []byte
func (*Cluster_AuthInfo) GetClientKeyData ¶
func (x *Cluster_AuthInfo) GetClientKeyData() []byte
func (*Cluster_AuthInfo) ProtoMessage ¶
func (*Cluster_AuthInfo) ProtoMessage()
func (*Cluster_AuthInfo) ProtoReflect ¶
func (x *Cluster_AuthInfo) ProtoReflect() protoreflect.Message
func (*Cluster_AuthInfo) Reset ¶
func (x *Cluster_AuthInfo) Reset()
func (*Cluster_AuthInfo) String ¶
func (x *Cluster_AuthInfo) String() string
type Cluster_EnforcerOptions ¶
type Cluster_EnforcerOptions struct { // +optional WebhookFailOpen *bool `protobuf:"varint,1,opt,name=webhook_fail_open,json=webhookFailOpen,proto3,oneof" json:"webhook_fail_open,omitempty"` // +optional EnableCipCache *bool `protobuf:"varint,2,opt,name=enable_cip_cache,json=enableCipCache,proto3,oneof" json:"enable_cip_cache,omitempty"` // +optional NamespaceEnforcementMode *Cluster_NamespaceEnforcementMode `` /* 207-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Cluster_EnforcerOptions) Descriptor
deprecated
func (*Cluster_EnforcerOptions) Descriptor() ([]byte, []int)
Deprecated: Use Cluster_EnforcerOptions.ProtoReflect.Descriptor instead.
func (*Cluster_EnforcerOptions) GetEnableCipCache ¶
func (x *Cluster_EnforcerOptions) GetEnableCipCache() bool
func (*Cluster_EnforcerOptions) GetNamespaceEnforcementMode ¶
func (x *Cluster_EnforcerOptions) GetNamespaceEnforcementMode() Cluster_NamespaceEnforcementMode
func (*Cluster_EnforcerOptions) GetWebhookFailOpen ¶
func (x *Cluster_EnforcerOptions) GetWebhookFailOpen() bool
func (*Cluster_EnforcerOptions) ProtoMessage ¶
func (*Cluster_EnforcerOptions) ProtoMessage()
func (*Cluster_EnforcerOptions) ProtoReflect ¶
func (x *Cluster_EnforcerOptions) ProtoReflect() protoreflect.Message
func (*Cluster_EnforcerOptions) Reset ¶
func (x *Cluster_EnforcerOptions) Reset()
func (*Cluster_EnforcerOptions) String ¶
func (x *Cluster_EnforcerOptions) String() string
type Cluster_Info ¶
type Cluster_Info struct { // Server is the address of the kubernetes cluster (https://hostname:port). Server string `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"` // CertificateAuthorityData contains PEM-encoded certificate authority certificates. // Overrides CertificateAuthority CertificateAuthorityData []byte `protobuf:"bytes,5,opt,name=CertificateAuthorityData,proto3" json:"CertificateAuthorityData,omitempty"` // contains filtered or unexported fields }
This is based off of k8s.io/client-go/tools/clientcmd/api/v1.Cluster This can be extracted from kubectl for a named cluster (replace CLUSTER_NAME) with:
kubectl config view \ --flatten -o jsonpath='{.clusters[?(@.name == "CLUSTER_NAME")].cluster}'
func (*Cluster_Info) Descriptor
deprecated
func (*Cluster_Info) Descriptor() ([]byte, []int)
Deprecated: Use Cluster_Info.ProtoReflect.Descriptor instead.
func (*Cluster_Info) GetCertificateAuthorityData ¶
func (x *Cluster_Info) GetCertificateAuthorityData() []byte
func (*Cluster_Info) GetServer ¶
func (x *Cluster_Info) GetServer() string
func (*Cluster_Info) ProtoMessage ¶
func (*Cluster_Info) ProtoMessage()
func (*Cluster_Info) ProtoReflect ¶
func (x *Cluster_Info) ProtoReflect() protoreflect.Message
func (*Cluster_Info) Reset ¶
func (x *Cluster_Info) Reset()
func (*Cluster_Info) String ¶
func (x *Cluster_Info) String() string
type Cluster_Location ¶
type Cluster_Location int32
const ( Cluster_AUTO Cluster_Location = 0 // Use 1xx for US Cluster_US_EAST Cluster_Location = 101 Cluster_US_CENTRAL Cluster_Location = 102 Cluster_US_WEST Cluster_Location = 103 )
func (Cluster_Location) Descriptor ¶
func (Cluster_Location) Descriptor() protoreflect.EnumDescriptor
func (Cluster_Location) Enum ¶
func (x Cluster_Location) Enum() *Cluster_Location
func (Cluster_Location) EnumDescriptor
deprecated
func (Cluster_Location) EnumDescriptor() ([]byte, []int)
Deprecated: Use Cluster_Location.Descriptor instead.
func (Cluster_Location) Number ¶
func (x Cluster_Location) Number() protoreflect.EnumNumber
func (Cluster_Location) String ¶
func (x Cluster_Location) String() string
func (Cluster_Location) Type ¶
func (Cluster_Location) Type() protoreflect.EnumType
type Cluster_NamespaceEnforcementMode ¶
type Cluster_NamespaceEnforcementMode int32
const ( Cluster_OptOut Cluster_NamespaceEnforcementMode = 0 Cluster_OptIn Cluster_NamespaceEnforcementMode = 1 )
func (Cluster_NamespaceEnforcementMode) Descriptor ¶
func (Cluster_NamespaceEnforcementMode) Descriptor() protoreflect.EnumDescriptor
func (Cluster_NamespaceEnforcementMode) Enum ¶
func (x Cluster_NamespaceEnforcementMode) Enum() *Cluster_NamespaceEnforcementMode
func (Cluster_NamespaceEnforcementMode) EnumDescriptor
deprecated
func (Cluster_NamespaceEnforcementMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use Cluster_NamespaceEnforcementMode.Descriptor instead.
func (Cluster_NamespaceEnforcementMode) Number ¶
func (x Cluster_NamespaceEnforcementMode) Number() protoreflect.EnumNumber
func (Cluster_NamespaceEnforcementMode) String ¶
func (x Cluster_NamespaceEnforcementMode) String() string
func (Cluster_NamespaceEnforcementMode) Type ¶
func (Cluster_NamespaceEnforcementMode) Type() protoreflect.EnumType
type Cluster_Provider ¶
type Cluster_Provider int32
const ( Cluster_UNKNOWN Cluster_Provider = 0 Cluster_GKE Cluster_Provider = 1 Cluster_EKS Cluster_Provider = 2 // GCP Services (10+) Cluster_CLOUD_RUN Cluster_Provider = 10 // AWS Services (20+) Cluster_ECS Cluster_Provider = 20 Cluster_APP_RUNNER Cluster_Provider = 21 // For testing. Cluster_KIND Cluster_Provider = 100 )
func (Cluster_Provider) Descriptor ¶
func (Cluster_Provider) Descriptor() protoreflect.EnumDescriptor
func (Cluster_Provider) Enum ¶
func (x Cluster_Provider) Enum() *Cluster_Provider
func (Cluster_Provider) EnumDescriptor
deprecated
func (Cluster_Provider) EnumDescriptor() ([]byte, []int)
Deprecated: Use Cluster_Provider.Descriptor instead.
func (Cluster_Provider) Number ¶
func (x Cluster_Provider) Number() protoreflect.EnumNumber
func (Cluster_Provider) String ¶
func (x Cluster_Provider) String() string
func (Cluster_Provider) Type ¶
func (Cluster_Provider) Type() protoreflect.EnumType
type Cluster_Status ¶
type Cluster_Status struct { Ready Cluster_Status_State `protobuf:"varint,1,opt,name=ready,proto3,enum=chainguard.platform.tenant.Cluster_Status_State" json:"ready,omitempty"` Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*Cluster_Status) Descriptor
deprecated
func (*Cluster_Status) Descriptor() ([]byte, []int)
Deprecated: Use Cluster_Status.ProtoReflect.Descriptor instead.
func (*Cluster_Status) GetMessage ¶
func (x *Cluster_Status) GetMessage() string
func (*Cluster_Status) GetReady ¶
func (x *Cluster_Status) GetReady() Cluster_Status_State
func (*Cluster_Status) GetReason ¶
func (x *Cluster_Status) GetReason() string
func (*Cluster_Status) ProtoMessage ¶
func (*Cluster_Status) ProtoMessage()
func (*Cluster_Status) ProtoReflect ¶
func (x *Cluster_Status) ProtoReflect() protoreflect.Message
func (*Cluster_Status) Reset ¶
func (x *Cluster_Status) Reset()
func (*Cluster_Status) String ¶
func (x *Cluster_Status) String() string
type Cluster_Status_State ¶
type Cluster_Status_State int32
const ( Cluster_Status_UNKNOWN Cluster_Status_State = 0 Cluster_Status_Ready Cluster_Status_State = 1 Cluster_Status_NotReady Cluster_Status_State = 2 )
func (Cluster_Status_State) Descriptor ¶
func (Cluster_Status_State) Descriptor() protoreflect.EnumDescriptor
func (Cluster_Status_State) Enum ¶
func (x Cluster_Status_State) Enum() *Cluster_Status_State
func (Cluster_Status_State) EnumDescriptor
deprecated
func (Cluster_Status_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Cluster_Status_State.Descriptor instead.
func (Cluster_Status_State) Number ¶
func (x Cluster_Status_State) Number() protoreflect.EnumNumber
func (Cluster_Status_State) String ¶
func (x Cluster_Status_State) String() string
func (Cluster_Status_State) Type ¶
func (Cluster_Status_State) Type() protoreflect.EnumType
type ClustersClient ¶
type ClustersClient interface { Create(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*Cluster, error) Delete(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) Discover(ctx context.Context, in *ClusterDiscoveryRequest, opts ...grpc.CallOption) (*ClusterDiscoveryResponse, error) List(ctx context.Context, in *ClusterFilter, opts ...grpc.CallOption) (*ClusterList, error) Update(ctx context.Context, in *Cluster, opts ...grpc.CallOption) (*Cluster, error) Profiles(ctx context.Context, in *ClusterProfilesRequest, opts ...grpc.CallOption) (*ClusterProfilesResponse, error) Config(ctx context.Context, in *ClusterConfigRequest, opts ...grpc.CallOption) (*ClusterConfigResponse, error) CIDR(ctx context.Context, in *ClusterCIDRRequest, opts ...grpc.CallOption) (*ClusterCIDRResponse, error) }
ClustersClient is the client API for Clusters 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.
func NewClustersClient ¶
func NewClustersClient(cc grpc.ClientConnInterface) ClustersClient
type ClustersServer ¶
type ClustersServer interface { Create(context.Context, *CreateClusterRequest) (*Cluster, error) Delete(context.Context, *DeleteClusterRequest) (*emptypb.Empty, error) Discover(context.Context, *ClusterDiscoveryRequest) (*ClusterDiscoveryResponse, error) List(context.Context, *ClusterFilter) (*ClusterList, error) Update(context.Context, *Cluster) (*Cluster, error) Profiles(context.Context, *ClusterProfilesRequest) (*ClusterProfilesResponse, error) Config(context.Context, *ClusterConfigRequest) (*ClusterConfigResponse, error) CIDR(context.Context, *ClusterCIDRRequest) (*ClusterCIDRResponse, error) // contains filtered or unexported methods }
ClustersServer is the server API for Clusters service. All implementations must embed UnimplementedClustersServer for forward compatibility
type ComponentGraph ¶
type ComponentGraph struct { Nodes []*ComponentGraph_Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` Edges []*ComponentGraph_Edge `protobuf:"bytes,2,rep,name=edges,proto3" json:"edges,omitempty"` // contains filtered or unexported fields }
func (*ComponentGraph) Descriptor
deprecated
func (*ComponentGraph) Descriptor() ([]byte, []int)
Deprecated: Use ComponentGraph.ProtoReflect.Descriptor instead.
func (*ComponentGraph) GetEdges ¶
func (x *ComponentGraph) GetEdges() []*ComponentGraph_Edge
func (*ComponentGraph) GetNodes ¶
func (x *ComponentGraph) GetNodes() []*ComponentGraph_Node
func (*ComponentGraph) ProtoMessage ¶
func (*ComponentGraph) ProtoMessage()
func (*ComponentGraph) ProtoReflect ¶
func (x *ComponentGraph) ProtoReflect() protoreflect.Message
func (*ComponentGraph) Reset ¶
func (x *ComponentGraph) Reset()
func (*ComponentGraph) String ¶
func (x *ComponentGraph) String() string
type ComponentGraph_Edge ¶
type ComponentGraph_Edge struct { SubjectId string `protobuf:"bytes,1,opt,name=subject_id,json=subjectId,proto3" json:"subject_id,omitempty"` PredicateId string `protobuf:"bytes,2,opt,name=predicate_id,json=predicateId,proto3" json:"predicate_id,omitempty"` Type ComponentGraph_Edge_Type `protobuf:"varint,3,opt,name=type,proto3,enum=chainguard.platform.tenant.ComponentGraph_Edge_Type" json:"type,omitempty"` // contains filtered or unexported fields }
func (*ComponentGraph_Edge) Descriptor
deprecated
func (*ComponentGraph_Edge) Descriptor() ([]byte, []int)
Deprecated: Use ComponentGraph_Edge.ProtoReflect.Descriptor instead.
func (*ComponentGraph_Edge) GetPredicateId ¶
func (x *ComponentGraph_Edge) GetPredicateId() string
func (*ComponentGraph_Edge) GetSubjectId ¶
func (x *ComponentGraph_Edge) GetSubjectId() string
func (*ComponentGraph_Edge) GetType ¶
func (x *ComponentGraph_Edge) GetType() ComponentGraph_Edge_Type
func (*ComponentGraph_Edge) ProtoMessage ¶
func (*ComponentGraph_Edge) ProtoMessage()
func (*ComponentGraph_Edge) ProtoReflect ¶
func (x *ComponentGraph_Edge) ProtoReflect() protoreflect.Message
func (*ComponentGraph_Edge) Reset ¶
func (x *ComponentGraph_Edge) Reset()
func (*ComponentGraph_Edge) String ¶
func (x *ComponentGraph_Edge) String() string
type ComponentGraph_Edge_Type ¶
type ComponentGraph_Edge_Type int32
const ( ComponentGraph_Edge_UNKNOWN ComponentGraph_Edge_Type = 0 ComponentGraph_Edge_DESCRIBES ComponentGraph_Edge_Type = 1 ComponentGraph_Edge_CONTAINS ComponentGraph_Edge_Type = 2 ComponentGraph_Edge_DEPENDS_ON ComponentGraph_Edge_Type = 3 ComponentGraph_Edge_GENERATED_FROM ComponentGraph_Edge_Type = 4 // and so on...; for inspiration, see https://spdx.github.io/spdx-spec/v2.3/relationships-between-SPDX-elements/ )
func (ComponentGraph_Edge_Type) Descriptor ¶
func (ComponentGraph_Edge_Type) Descriptor() protoreflect.EnumDescriptor
func (ComponentGraph_Edge_Type) Enum ¶
func (x ComponentGraph_Edge_Type) Enum() *ComponentGraph_Edge_Type
func (ComponentGraph_Edge_Type) EnumDescriptor
deprecated
func (ComponentGraph_Edge_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use ComponentGraph_Edge_Type.Descriptor instead.
func (ComponentGraph_Edge_Type) Number ¶
func (x ComponentGraph_Edge_Type) Number() protoreflect.EnumNumber
func (ComponentGraph_Edge_Type) String ¶
func (x ComponentGraph_Edge_Type) String() string
func (ComponentGraph_Edge_Type) Type ¶
func (ComponentGraph_Edge_Type) Type() protoreflect.EnumType
type ComponentGraph_Node ¶
type ComponentGraph_Node struct { // Types that are assignable to TypedNode: // // *ComponentGraph_Node_Package // *ComponentGraph_Node_File TypedNode isComponentGraph_Node_TypedNode `protobuf_oneof:"typed_node"` // contains filtered or unexported fields }
func (*ComponentGraph_Node) Descriptor
deprecated
func (*ComponentGraph_Node) Descriptor() ([]byte, []int)
Deprecated: Use ComponentGraph_Node.ProtoReflect.Descriptor instead.
func (*ComponentGraph_Node) GetFile ¶
func (x *ComponentGraph_Node) GetFile() *File2
func (*ComponentGraph_Node) GetPackage ¶
func (x *ComponentGraph_Node) GetPackage() *Package2
func (*ComponentGraph_Node) GetTypedNode ¶
func (m *ComponentGraph_Node) GetTypedNode() isComponentGraph_Node_TypedNode
func (*ComponentGraph_Node) ProtoMessage ¶
func (*ComponentGraph_Node) ProtoMessage()
func (*ComponentGraph_Node) ProtoReflect ¶
func (x *ComponentGraph_Node) ProtoReflect() protoreflect.Message
func (*ComponentGraph_Node) Reset ¶
func (x *ComponentGraph_Node) Reset()
func (*ComponentGraph_Node) String ¶
func (x *ComponentGraph_Node) String() string
type ComponentGraph_Node_File ¶
type ComponentGraph_Node_File struct {
File *File2 `protobuf:"bytes,2,opt,name=file,proto3,oneof"`
}
type ComponentGraph_Node_Package ¶
type ComponentGraph_Node_Package struct {
Package *Package2 `protobuf:"bytes,1,opt,name=package,proto3,oneof"`
}
type Context ¶
type Context struct { // context_id is a unique ID, output only. ContextId string `protobuf:"bytes,1,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"` // last_seen is the last time we've seen the image_id in this context. LastSeen *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_seen,json=lastSeen,proto3" json:"last_seen,omitempty"` // Types that are assignable to Context: // // *Context_Workload_ // *Context_Ancestry_ // *Context_Variant_ Context isContext_Context `protobuf_oneof:"context"` // contains filtered or unexported fields }
func (*Context) Descriptor
deprecated
func (*Context) GetAncestry ¶
func (x *Context) GetAncestry() *Context_Ancestry
func (*Context) GetContext ¶
func (m *Context) GetContext() isContext_Context
func (*Context) GetContextId ¶
func (*Context) GetLastSeen ¶
func (x *Context) GetLastSeen() *timestamppb.Timestamp
func (*Context) GetVariant ¶
func (x *Context) GetVariant() *Context_Variant
func (*Context) GetWorkload ¶
func (x *Context) GetWorkload() *Context_Workload
func (*Context) ProtoMessage ¶
func (*Context) ProtoMessage()
func (*Context) ProtoReflect ¶
func (x *Context) ProtoReflect() protoreflect.Message
type Context_Ancestry ¶
type Context_Ancestry struct { Role Context_Ancestry_Role `protobuf:"varint,1,opt,name=role,proto3,enum=chainguard.platform.tenant.Context_Ancestry_Role" json:"role,omitempty"` // The id of the other image's record in this ancestry relationship. // If our Role is BASE, then this will hold the ID of the DERIVED // image's record, and vice versa. Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
Ancestry relationships are added to records when a "base image" relationship has been uncovered. This context is added to BOTH records with their respective roles. The base image will get the Role BASE, and the derivative image will get the Rile DERIVED.
func (*Context_Ancestry) Descriptor
deprecated
func (*Context_Ancestry) Descriptor() ([]byte, []int)
Deprecated: Use Context_Ancestry.ProtoReflect.Descriptor instead.
func (*Context_Ancestry) GetId ¶
func (x *Context_Ancestry) GetId() string
func (*Context_Ancestry) GetRole ¶
func (x *Context_Ancestry) GetRole() Context_Ancestry_Role
func (*Context_Ancestry) ProtoMessage ¶
func (*Context_Ancestry) ProtoMessage()
func (*Context_Ancestry) ProtoReflect ¶
func (x *Context_Ancestry) ProtoReflect() protoreflect.Message
func (*Context_Ancestry) Reset ¶
func (x *Context_Ancestry) Reset()
func (*Context_Ancestry) String ¶
func (x *Context_Ancestry) String() string
type Context_Ancestry_ ¶
type Context_Ancestry_ struct {
Ancestry *Context_Ancestry `protobuf:"bytes,11,opt,name=ancestry,proto3,oneof"`
}
type Context_Ancestry_Role ¶
type Context_Ancestry_Role int32
const ( Context_Ancestry_UNKNOWN Context_Ancestry_Role = 0 Context_Ancestry_BASE Context_Ancestry_Role = 1 Context_Ancestry_DERIVED Context_Ancestry_Role = 2 )
func (Context_Ancestry_Role) Descriptor ¶
func (Context_Ancestry_Role) Descriptor() protoreflect.EnumDescriptor
func (Context_Ancestry_Role) Enum ¶
func (x Context_Ancestry_Role) Enum() *Context_Ancestry_Role
func (Context_Ancestry_Role) EnumDescriptor
deprecated
func (Context_Ancestry_Role) EnumDescriptor() ([]byte, []int)
Deprecated: Use Context_Ancestry_Role.Descriptor instead.
func (Context_Ancestry_Role) Number ¶
func (x Context_Ancestry_Role) Number() protoreflect.EnumNumber
func (Context_Ancestry_Role) String ¶
func (x Context_Ancestry_Role) String() string
func (Context_Ancestry_Role) Type ¶
func (Context_Ancestry_Role) Type() protoreflect.EnumType
type Context_Variant ¶
type Context_Variant struct { Role Context_Variant_Role `protobuf:"varint,1,opt,name=role,proto3,enum=chainguard.platform.tenant.Context_Variant_Role" json:"role,omitempty"` // The id of the image index's record linking this // image (transitively) to the cluster. Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // The version information distinguishing this variant // from other possible variants of the index. Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
Variant relationships are added to records when we find an "index" containing multiple different variations (typically os/arch) of the same logical image. These are referred to as "OCI Image Index", "Docker Manifest List", and occasionally "fat images". This context is added to ALL records including the INDEX and all VARIANTs of that index. The INDEX will typically contain N contexts carrying the Role INDEX, the id of the VARIANT's record, and the version information that discriminates that VARIANT from other VARIANTs. The VARIANT will typically (but not always!) contain 1 context varrying the Role VARIANT, the id of the INDEX's record, and the version information that discriminates it among the other VARIANTs in the INDEX.
func (*Context_Variant) Descriptor
deprecated
func (*Context_Variant) Descriptor() ([]byte, []int)
Deprecated: Use Context_Variant.ProtoReflect.Descriptor instead.
func (*Context_Variant) GetId ¶
func (x *Context_Variant) GetId() string
func (*Context_Variant) GetRole ¶
func (x *Context_Variant) GetRole() Context_Variant_Role
func (*Context_Variant) GetVersion ¶
func (x *Context_Variant) GetVersion() string
func (*Context_Variant) ProtoMessage ¶
func (*Context_Variant) ProtoMessage()
func (*Context_Variant) ProtoReflect ¶
func (x *Context_Variant) ProtoReflect() protoreflect.Message
func (*Context_Variant) Reset ¶
func (x *Context_Variant) Reset()
func (*Context_Variant) String ¶
func (x *Context_Variant) String() string
type Context_Variant_ ¶
type Context_Variant_ struct {
Variant *Context_Variant `protobuf:"bytes,12,opt,name=variant,proto3,oneof"`
}
type Context_Variant_Role ¶
type Context_Variant_Role int32
const ( Context_Variant_UNKNOWN Context_Variant_Role = 0 Context_Variant_INDEX Context_Variant_Role = 1 Context_Variant_VARIANT Context_Variant_Role = 2 )
func (Context_Variant_Role) Descriptor ¶
func (Context_Variant_Role) Descriptor() protoreflect.EnumDescriptor
func (Context_Variant_Role) Enum ¶
func (x Context_Variant_Role) Enum() *Context_Variant_Role
func (Context_Variant_Role) EnumDescriptor
deprecated
func (Context_Variant_Role) EnumDescriptor() ([]byte, []int)
Deprecated: Use Context_Variant_Role.Descriptor instead.
func (Context_Variant_Role) Number ¶
func (x Context_Variant_Role) Number() protoreflect.EnumNumber
func (Context_Variant_Role) String ¶
func (x Context_Variant_Role) String() string
func (Context_Variant_Role) Type ¶
func (Context_Variant_Role) Type() protoreflect.EnumType
type Context_Workload ¶
type Context_Workload struct { Kind *GroupVersionKind `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Uid string `protobuf:"bytes,4,opt,name=uid,proto3" json:"uid,omitempty"` // contains filtered or unexported fields }
Workload contexts are added to existence records that have been observed running on a cluster.
func (*Context_Workload) Descriptor
deprecated
func (*Context_Workload) Descriptor() ([]byte, []int)
Deprecated: Use Context_Workload.ProtoReflect.Descriptor instead.
func (*Context_Workload) GetKind ¶
func (x *Context_Workload) GetKind() *GroupVersionKind
func (*Context_Workload) GetName ¶
func (x *Context_Workload) GetName() string
func (*Context_Workload) GetNamespace ¶
func (x *Context_Workload) GetNamespace() string
func (*Context_Workload) GetUid ¶
func (x *Context_Workload) GetUid() string
func (*Context_Workload) ProtoMessage ¶
func (*Context_Workload) ProtoMessage()
func (*Context_Workload) ProtoReflect ¶
func (x *Context_Workload) ProtoReflect() protoreflect.Message
func (*Context_Workload) Reset ¶
func (x *Context_Workload) Reset()
func (*Context_Workload) String ¶
func (x *Context_Workload) String() string
type Context_Workload_ ¶
type Context_Workload_ struct {
Workload *Context_Workload `protobuf:"bytes,10,opt,name=workload,proto3,oneof"`
}
type CreateClusterRequest ¶
type CreateClusterRequest struct { // parent_id, The Group under which this Cluster resides. ParentId string `protobuf:"bytes,1,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // Cluster is the definition of the managed cluster to create. Cluster *Cluster `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"` // contains filtered or unexported fields }
func (*CreateClusterRequest) Descriptor
deprecated
func (*CreateClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateClusterRequest.ProtoReflect.Descriptor instead.
func (*CreateClusterRequest) GetCluster ¶
func (x *CreateClusterRequest) GetCluster() *Cluster
func (*CreateClusterRequest) GetParentId ¶
func (x *CreateClusterRequest) GetParentId() string
func (*CreateClusterRequest) ProtoMessage ¶
func (*CreateClusterRequest) ProtoMessage()
func (*CreateClusterRequest) ProtoReflect ¶
func (x *CreateClusterRequest) ProtoReflect() protoreflect.Message
func (*CreateClusterRequest) Reset ¶
func (x *CreateClusterRequest) Reset()
func (*CreateClusterRequest) String ¶
func (x *CreateClusterRequest) String() string
type DeleteClusterRequest ¶
type DeleteClusterRequest struct { // id is the exact UIDP of the record. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteClusterRequest) CloudEventsExtension ¶
func (x *DeleteClusterRequest) CloudEventsExtension(key string) (string, bool)
CloudEventsExtension implements chainguard.dev/sdk/events/Extendable.CloudEventsExtension
func (*DeleteClusterRequest) CloudEventsRedact ¶
func (x *DeleteClusterRequest) CloudEventsRedact() interface{}
CloudEventsRedact implements chainguard.dev/sdk/events/Redactable.Redact.
func (*DeleteClusterRequest) CloudEventsSubject ¶
func (x *DeleteClusterRequest) CloudEventsSubject() string
CloudEventsSubject implements chainguard.dev/sdk/events/Eventable.CloudEventsSubject.
func (*DeleteClusterRequest) Descriptor
deprecated
func (*DeleteClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteClusterRequest.ProtoReflect.Descriptor instead.
func (*DeleteClusterRequest) GetId ¶
func (x *DeleteClusterRequest) GetId() string
func (*DeleteClusterRequest) ProtoMessage ¶
func (*DeleteClusterRequest) ProtoMessage()
func (*DeleteClusterRequest) ProtoReflect ¶
func (x *DeleteClusterRequest) ProtoReflect() protoreflect.Message
func (*DeleteClusterRequest) Reset ¶
func (x *DeleteClusterRequest) Reset()
func (*DeleteClusterRequest) String ¶
func (x *DeleteClusterRequest) String() string
type File2 ¶
type File2 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"` Types []string `protobuf:"bytes,4,rep,name=types,proto3" json:"types,omitempty"` // contains filtered or unexported fields }
func (*File2) Descriptor
deprecated
func (*File2) ProtoMessage ¶
func (*File2) ProtoMessage()
func (*File2) ProtoReflect ¶
func (x *File2) ProtoReflect() protoreflect.Message
type Fix ¶
type Fix struct { // List of in versions of the package on which the vulnerability has been solved. Versions []string `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"` // state reflects the state of the fix, e.g. fixed, unknown, not-fixed, won't-fix. State Fix_State `protobuf:"varint,2,opt,name=state,proto3,enum=chainguard.platform.tenant.Fix_State" json:"state,omitempty"` // contains filtered or unexported fields }
func (*Fix) Descriptor
deprecated
func (*Fix) GetVersions ¶
func (*Fix) ProtoMessage ¶
func (*Fix) ProtoMessage()
func (*Fix) ProtoReflect ¶
func (x *Fix) ProtoReflect() protoreflect.Message
type Fix_State ¶
type Fix_State int32
func (Fix_State) Descriptor ¶
func (Fix_State) Descriptor() protoreflect.EnumDescriptor
func (Fix_State) EnumDescriptor
deprecated
func (Fix_State) Number ¶
func (x Fix_State) Number() protoreflect.EnumNumber
func (Fix_State) Type ¶
func (Fix_State) Type() protoreflect.EnumType
type GroupVersionKind ¶
type GroupVersionKind struct { Group string `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"` // contains filtered or unexported fields }
TODO: Replace with upstream proto messages wherever possible.
func (*GroupVersionKind) Descriptor
deprecated
func (*GroupVersionKind) Descriptor() ([]byte, []int)
Deprecated: Use GroupVersionKind.ProtoReflect.Descriptor instead.
func (*GroupVersionKind) GetGroup ¶
func (x *GroupVersionKind) GetGroup() string
func (*GroupVersionKind) GetKind ¶
func (x *GroupVersionKind) GetKind() string
func (*GroupVersionKind) GetVersion ¶
func (x *GroupVersionKind) GetVersion() string
func (*GroupVersionKind) ProtoMessage ¶
func (*GroupVersionKind) ProtoMessage()
func (*GroupVersionKind) ProtoReflect ¶
func (x *GroupVersionKind) ProtoReflect() protoreflect.Message
func (*GroupVersionKind) Reset ¶
func (x *GroupVersionKind) Reset()
func (*GroupVersionKind) String ¶
func (x *GroupVersionKind) String() string
type Namespace ¶
type Namespace struct { // id, The Namespace UIDP at which this Namespace resides. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // name of the Namespace. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // a short description of this Namespace. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // remote_id is the remote ID of this Namespace. RemoteId string `protobuf:"bytes,4,opt,name=remote_id,json=remoteId,proto3" json:"remote_id,omitempty"` Labels string `protobuf:"bytes,5,opt,name=labels,proto3" json:"labels,omitempty"` // last_seen tracks the timestamp at which this namespace was last seen. LastSeen *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=last_seen,json=lastSeen,proto3" json:"last_seen,omitempty"` // contains filtered or unexported fields }
func (*Namespace) Descriptor
deprecated
func (*Namespace) GetDescription ¶
func (*Namespace) GetLastSeen ¶
func (x *Namespace) GetLastSeen() *timestamppb.Timestamp
func (*Namespace) GetRemoteId ¶
func (*Namespace) ProtoMessage ¶
func (*Namespace) ProtoMessage()
func (*Namespace) ProtoReflect ¶
func (x *Namespace) ProtoReflect() protoreflect.Message
type NamespaceFilter ¶
type NamespaceFilter struct { // remote_id is the remote ID of this Namespace. RemoteId string `protobuf:"bytes,2,opt,name=remote_id,json=remoteId,proto3" json:"remote_id,omitempty"` // active_since is the timestamp after which returned namespaces // should have been active (last seen). ActiveSince *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=active_since,json=activeSince,proto3" json:"active_since,omitempty"` // name filters on the resource name. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Uidp *v1.UIDPFilter `protobuf:"bytes,100,opt,name=uidp,proto3" json:"uidp,omitempty"` // contains filtered or unexported fields }
func (*NamespaceFilter) Descriptor
deprecated
func (*NamespaceFilter) Descriptor() ([]byte, []int)
Deprecated: Use NamespaceFilter.ProtoReflect.Descriptor instead.
func (*NamespaceFilter) GetActiveSince ¶
func (x *NamespaceFilter) GetActiveSince() *timestamppb.Timestamp
func (*NamespaceFilter) GetName ¶
func (x *NamespaceFilter) GetName() string
func (*NamespaceFilter) GetRemoteId ¶
func (x *NamespaceFilter) GetRemoteId() string
func (*NamespaceFilter) GetUidp ¶
func (x *NamespaceFilter) GetUidp() *v1.UIDPFilter
func (*NamespaceFilter) ProtoMessage ¶
func (*NamespaceFilter) ProtoMessage()
func (*NamespaceFilter) ProtoReflect ¶
func (x *NamespaceFilter) ProtoReflect() protoreflect.Message
func (*NamespaceFilter) Reset ¶
func (x *NamespaceFilter) Reset()
func (*NamespaceFilter) String ¶
func (x *NamespaceFilter) String() string
type NamespaceList ¶
type NamespaceList struct { Items []*Namespace `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*NamespaceList) Descriptor
deprecated
func (*NamespaceList) Descriptor() ([]byte, []int)
Deprecated: Use NamespaceList.ProtoReflect.Descriptor instead.
func (*NamespaceList) GetItems ¶
func (x *NamespaceList) GetItems() []*Namespace
func (*NamespaceList) ProtoMessage ¶
func (*NamespaceList) ProtoMessage()
func (*NamespaceList) ProtoReflect ¶
func (x *NamespaceList) ProtoReflect() protoreflect.Message
func (*NamespaceList) Reset ¶
func (x *NamespaceList) Reset()
func (*NamespaceList) String ¶
func (x *NamespaceList) String() string
type NamespacesClient ¶
type NamespacesClient interface {
List(ctx context.Context, in *NamespaceFilter, opts ...grpc.CallOption) (*NamespaceList, error)
}
NamespacesClient is the client API for Namespaces 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.
func NewNamespacesClient ¶
func NewNamespacesClient(cc grpc.ClientConnInterface) NamespacesClient
type NamespacesServer ¶
type NamespacesServer interface { List(context.Context, *NamespaceFilter) (*NamespaceList, error) // contains filtered or unexported methods }
NamespacesServer is the server API for Namespaces service. All implementations must embed UnimplementedNamespacesServer for forward compatibility
type Node ¶
type Node struct { // id, The Node UIDP at which this Node resides. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // name of the Node. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // a short description of this Node. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // remote_id is the remote ID of this Node. RemoteId string `protobuf:"bytes,4,opt,name=remote_id,json=remoteId,proto3" json:"remote_id,omitempty"` Labels string `protobuf:"bytes,5,opt,name=labels,proto3" json:"labels,omitempty"` // last_seen tracks the timestamp at which this node was last seen. LastSeen *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=last_seen,json=lastSeen,proto3" json:"last_seen,omitempty"` // Platform/Architecture-level information (10+) OperatingSystem string `protobuf:"bytes,10,opt,name=operating_system,json=operatingSystem,proto3" json:"operating_system,omitempty"` Architecture string `protobuf:"bytes,11,opt,name=architecture,proto3" json:"architecture,omitempty"` // Assorted versions (20+) KubeletVersion string `protobuf:"bytes,20,opt,name=kubelet_version,json=kubeletVersion,proto3" json:"kubelet_version,omitempty"` ContainerRuntimeVersion string `` /* 133-byte string literal not displayed */ KernelVersion string `protobuf:"bytes,22,opt,name=kernel_version,json=kernelVersion,proto3" json:"kernel_version,omitempty"` // Node capacity information (30+) CpuCapacity string `protobuf:"bytes,30,opt,name=cpu_capacity,json=cpuCapacity,proto3" json:"cpu_capacity,omitempty"` MemoryCapacity string `protobuf:"bytes,31,opt,name=memory_capacity,json=memoryCapacity,proto3" json:"memory_capacity,omitempty"` PodCapacity string `protobuf:"bytes,32,opt,name=pod_capacity,json=podCapacity,proto3" json:"pod_capacity,omitempty"` // Location information (40+) Zone string `protobuf:"bytes,40,opt,name=zone,proto3" json:"zone,omitempty"` Region string `protobuf:"bytes,41,opt,name=region,proto3" json:"region,omitempty"` // contains filtered or unexported fields }
func (*Node) Descriptor
deprecated
func (*Node) GetArchitecture ¶
func (*Node) GetContainerRuntimeVersion ¶
func (*Node) GetCpuCapacity ¶
func (*Node) GetDescription ¶
func (*Node) GetKernelVersion ¶
func (*Node) GetKubeletVersion ¶
func (*Node) GetLastSeen ¶
func (x *Node) GetLastSeen() *timestamppb.Timestamp
func (*Node) GetMemoryCapacity ¶
func (*Node) GetOperatingSystem ¶
func (*Node) GetPodCapacity ¶
func (*Node) GetRemoteId ¶
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) ProtoReflect ¶
func (x *Node) ProtoReflect() protoreflect.Message
type NodeFilter ¶
type NodeFilter struct { // remote_id is the remote ID of this Node. RemoteId string `protobuf:"bytes,2,opt,name=remote_id,json=remoteId,proto3" json:"remote_id,omitempty"` // active_since is the timestamp after which returned nodes // should have been active (last seen). ActiveSince *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=active_since,json=activeSince,proto3" json:"active_since,omitempty"` // name filters on the resource name. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Uidp *v1.UIDPFilter `protobuf:"bytes,100,opt,name=uidp,proto3" json:"uidp,omitempty"` // contains filtered or unexported fields }
func (*NodeFilter) Descriptor
deprecated
func (*NodeFilter) Descriptor() ([]byte, []int)
Deprecated: Use NodeFilter.ProtoReflect.Descriptor instead.
func (*NodeFilter) GetActiveSince ¶
func (x *NodeFilter) GetActiveSince() *timestamppb.Timestamp
func (*NodeFilter) GetName ¶
func (x *NodeFilter) GetName() string
func (*NodeFilter) GetRemoteId ¶
func (x *NodeFilter) GetRemoteId() string
func (*NodeFilter) GetUidp ¶
func (x *NodeFilter) GetUidp() *v1.UIDPFilter
func (*NodeFilter) ProtoMessage ¶
func (*NodeFilter) ProtoMessage()
func (*NodeFilter) ProtoReflect ¶
func (x *NodeFilter) ProtoReflect() protoreflect.Message
func (*NodeFilter) Reset ¶
func (x *NodeFilter) Reset()
func (*NodeFilter) String ¶
func (x *NodeFilter) String() string
type NodeList ¶
type NodeList struct { Items []*Node `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*NodeList) Descriptor
deprecated
func (*NodeList) ProtoMessage ¶
func (*NodeList) ProtoMessage()
func (*NodeList) ProtoReflect ¶
func (x *NodeList) ProtoReflect() protoreflect.Message
type NodesClient ¶
type NodesClient interface {
List(ctx context.Context, in *NodeFilter, opts ...grpc.CallOption) (*NodeList, error)
}
NodesClient is the client API for Nodes 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.
func NewNodesClient ¶
func NewNodesClient(cc grpc.ClientConnInterface) NodesClient
type NodesServer ¶
type NodesServer interface { List(context.Context, *NodeFilter) (*NodeList, error) // contains filtered or unexported methods }
NodesServer is the server API for Nodes service. All implementations must embed UnimplementedNodesServer for forward compatibility
type Package ¶
type Package struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` Purl string `protobuf:"bytes,3,opt,name=purl,proto3" json:"purl,omitempty"` // contains filtered or unexported fields }
func (*Package) Descriptor
deprecated
func (*Package) GetVersion ¶
func (*Package) ProtoMessage ¶
func (*Package) ProtoMessage()
func (*Package) ProtoReflect ¶
func (x *Package) ProtoReflect() protoreflect.Message
type Package2 ¶
type Package2 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"` Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` License string `protobuf:"bytes,4,opt,name=license,proto3" json:"license,omitempty"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` Purl string `protobuf:"bytes,6,opt,name=purl,proto3" json:"purl,omitempty"` // contains filtered or unexported fields }
func (*Package2) Descriptor
deprecated
func (*Package2) GetDescription ¶
func (*Package2) GetLicense ¶
func (*Package2) GetVersion ¶
func (*Package2) ProtoMessage ¶
func (*Package2) ProtoMessage()
func (*Package2) ProtoReflect ¶
func (x *Package2) ProtoReflect() protoreflect.Message
type Policy ¶
type Policy struct { // last_checked holds when this policy was last evaluated. LastChecked *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=last_checked,json=lastChecked,proto3" json:"last_checked,omitempty"` // valid holds whether the policy evaluation was successful. Valid bool `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty"` // diagnostic holds any messages surfaced by the policy evaluation. Diagnostic string `protobuf:"bytes,3,opt,name=diagnostic,proto3" json:"diagnostic,omitempty"` // contains filtered or unexported fields }
func (*Policy) Descriptor
deprecated
func (*Policy) GetDiagnostic ¶
func (*Policy) GetLastChecked ¶
func (x *Policy) GetLastChecked() *timestamppb.Timestamp
func (*Policy) ProtoMessage ¶
func (*Policy) ProtoMessage()
func (*Policy) ProtoReflect ¶
func (x *Policy) ProtoReflect() protoreflect.Message
type PolicyResult ¶
type PolicyResult struct { // id, The PolicyResult UIDP at which this PolicyResult resides. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // name of the PolicyResult. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // a short description of this PolicyResult. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // policy_id is the metadata.uid of the Policy this result captures an evaluation of. PolicyId string `protobuf:"bytes,4,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"` // version is the metadata.resourceVersion of the Policy this result captures an evaluation of. Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"` // last_checked tracks the timestamp at which this policy result was last checked. LastChecked *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=last_checked,json=lastChecked,proto3" json:"last_checked,omitempty"` // result holds the result of this policy evaluation. Result PolicyResult_Result `protobuf:"varint,7,opt,name=result,proto3,enum=chainguard.platform.tenant.PolicyResult_Result" json:"result,omitempty"` // diagnostic holds the diagnostic message associated with the result of this policy evaluation. Diagnostic string `protobuf:"bytes,8,opt,name=diagnostic,proto3" json:"diagnostic,omitempty"` // This loosely tracks the policy-controller's PolicyResult type found here: // https://github.com/sigstore/policy-controller/blob/f777dcc2e/pkg/webhook/validator_result.go AuthorityMatches map[string]*PolicyResult_AuthorityMatch `` /* 197-byte string literal not displayed */ // parent_type, It is the parent type associated with the PolicyResult, can be Record, RecordContext or Workload. ParentType PolicyResult_ParentType `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PolicyResult) Descriptor
deprecated
func (*PolicyResult) Descriptor() ([]byte, []int)
Deprecated: Use PolicyResult.ProtoReflect.Descriptor instead.
func (*PolicyResult) GetAuthorityMatches ¶
func (x *PolicyResult) GetAuthorityMatches() map[string]*PolicyResult_AuthorityMatch
func (*PolicyResult) GetDescription ¶
func (x *PolicyResult) GetDescription() string
func (*PolicyResult) GetDiagnostic ¶
func (x *PolicyResult) GetDiagnostic() string
func (*PolicyResult) GetId ¶
func (x *PolicyResult) GetId() string
func (*PolicyResult) GetLastChecked ¶
func (x *PolicyResult) GetLastChecked() *timestamppb.Timestamp
func (*PolicyResult) GetName ¶
func (x *PolicyResult) GetName() string
func (*PolicyResult) GetParentType ¶
func (x *PolicyResult) GetParentType() PolicyResult_ParentType
func (*PolicyResult) GetPolicyId ¶
func (x *PolicyResult) GetPolicyId() string
func (*PolicyResult) GetResult ¶
func (x *PolicyResult) GetResult() PolicyResult_Result
func (*PolicyResult) GetVersion ¶
func (x *PolicyResult) GetVersion() string
func (*PolicyResult) ProtoMessage ¶
func (*PolicyResult) ProtoMessage()
func (*PolicyResult) ProtoReflect ¶
func (x *PolicyResult) ProtoReflect() protoreflect.Message
func (*PolicyResult) Reset ¶
func (x *PolicyResult) Reset()
func (*PolicyResult) String ¶
func (x *PolicyResult) String() string
type PolicyResultFilter ¶
type PolicyResultFilter struct { Uidp *v1.UIDPFilter `protobuf:"bytes,1,opt,name=uidp,proto3" json:"uidp,omitempty"` // checked_since is the timestamp after which the policy should // have last been checked. CheckedSince *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=checked_since,json=checkedSince,proto3" json:"checked_since,omitempty"` // policy_id looks up evaluations of the policy identified by this metadata.uid PolicyId string `protobuf:"bytes,3,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"` // results filters policy results with one of the provided result. Results []PolicyResult_Result `` /* 127-byte string literal not displayed */ // parent_type filters policy results with the provided parent_type. ParentType PolicyResult_ParentType `` /* 148-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PolicyResultFilter) Descriptor
deprecated
func (*PolicyResultFilter) Descriptor() ([]byte, []int)
Deprecated: Use PolicyResultFilter.ProtoReflect.Descriptor instead.
func (*PolicyResultFilter) GetCheckedSince ¶
func (x *PolicyResultFilter) GetCheckedSince() *timestamppb.Timestamp
func (*PolicyResultFilter) GetParentType ¶
func (x *PolicyResultFilter) GetParentType() PolicyResult_ParentType
func (*PolicyResultFilter) GetPolicyId ¶
func (x *PolicyResultFilter) GetPolicyId() string
func (*PolicyResultFilter) GetResults ¶
func (x *PolicyResultFilter) GetResults() []PolicyResult_Result
func (*PolicyResultFilter) GetUidp ¶
func (x *PolicyResultFilter) GetUidp() *v1.UIDPFilter
func (*PolicyResultFilter) ProtoMessage ¶
func (*PolicyResultFilter) ProtoMessage()
func (*PolicyResultFilter) ProtoReflect ¶
func (x *PolicyResultFilter) ProtoReflect() protoreflect.Message
func (*PolicyResultFilter) Reset ¶
func (x *PolicyResultFilter) Reset()
func (*PolicyResultFilter) String ¶
func (x *PolicyResultFilter) String() string
type PolicyResultList ¶
type PolicyResultList struct { Items []*PolicyResult `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*PolicyResultList) Descriptor
deprecated
func (*PolicyResultList) Descriptor() ([]byte, []int)
Deprecated: Use PolicyResultList.ProtoReflect.Descriptor instead.
func (*PolicyResultList) GetItems ¶
func (x *PolicyResultList) GetItems() []*PolicyResult
func (*PolicyResultList) ProtoMessage ¶
func (*PolicyResultList) ProtoMessage()
func (*PolicyResultList) ProtoReflect ¶
func (x *PolicyResultList) ProtoReflect() protoreflect.Message
func (*PolicyResultList) Reset ¶
func (x *PolicyResultList) Reset()
func (*PolicyResultList) String ¶
func (x *PolicyResultList) String() string
type PolicyResult_AuthorityMatch ¶
type PolicyResult_AuthorityMatch struct { // The matched signatures. Signatures *PolicyResult_AuthorityMatch_SignatureMatches `protobuf:"bytes,1,opt,name=signatures,proto3" json:"signatures,omitempty"` // A map from attestation name to matched attestations. Attestations map[string]*PolicyResult_AuthorityMatch_SignatureMatches `` /* 165-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PolicyResult_AuthorityMatch) Descriptor
deprecated
func (*PolicyResult_AuthorityMatch) Descriptor() ([]byte, []int)
Deprecated: Use PolicyResult_AuthorityMatch.ProtoReflect.Descriptor instead.
func (*PolicyResult_AuthorityMatch) GetAttestations ¶
func (x *PolicyResult_AuthorityMatch) GetAttestations() map[string]*PolicyResult_AuthorityMatch_SignatureMatches
func (*PolicyResult_AuthorityMatch) GetSignatures ¶
func (x *PolicyResult_AuthorityMatch) GetSignatures() *PolicyResult_AuthorityMatch_SignatureMatches
func (*PolicyResult_AuthorityMatch) ProtoMessage ¶
func (*PolicyResult_AuthorityMatch) ProtoMessage()
func (*PolicyResult_AuthorityMatch) ProtoReflect ¶
func (x *PolicyResult_AuthorityMatch) ProtoReflect() protoreflect.Message
func (*PolicyResult_AuthorityMatch) Reset ¶
func (x *PolicyResult_AuthorityMatch) Reset()
func (*PolicyResult_AuthorityMatch) String ¶
func (x *PolicyResult_AuthorityMatch) String() string
type PolicyResult_AuthorityMatch_SignatureMatches ¶
type PolicyResult_AuthorityMatch_SignatureMatches struct { // The list of signature record UIDPs Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*PolicyResult_AuthorityMatch_SignatureMatches) Descriptor
deprecated
func (*PolicyResult_AuthorityMatch_SignatureMatches) Descriptor() ([]byte, []int)
Deprecated: Use PolicyResult_AuthorityMatch_SignatureMatches.ProtoReflect.Descriptor instead.
func (*PolicyResult_AuthorityMatch_SignatureMatches) GetIds ¶
func (x *PolicyResult_AuthorityMatch_SignatureMatches) GetIds() []string
func (*PolicyResult_AuthorityMatch_SignatureMatches) ProtoMessage ¶
func (*PolicyResult_AuthorityMatch_SignatureMatches) ProtoMessage()
func (*PolicyResult_AuthorityMatch_SignatureMatches) ProtoReflect ¶
func (x *PolicyResult_AuthorityMatch_SignatureMatches) ProtoReflect() protoreflect.Message
func (*PolicyResult_AuthorityMatch_SignatureMatches) Reset ¶
func (x *PolicyResult_AuthorityMatch_SignatureMatches) Reset()
func (*PolicyResult_AuthorityMatch_SignatureMatches) String ¶
func (x *PolicyResult_AuthorityMatch_SignatureMatches) String() string
type PolicyResult_ParentType ¶
type PolicyResult_ParentType int32
const ( PolicyResult_PARENT_TYPE_UNKNOWN PolicyResult_ParentType = 0 PolicyResult_RECORD PolicyResult_ParentType = 1 PolicyResult_RECORD_CONTEXT PolicyResult_ParentType = 2 PolicyResult_WORKLOAD PolicyResult_ParentType = 3 )
func (PolicyResult_ParentType) Descriptor ¶
func (PolicyResult_ParentType) Descriptor() protoreflect.EnumDescriptor
func (PolicyResult_ParentType) Enum ¶
func (x PolicyResult_ParentType) Enum() *PolicyResult_ParentType
func (PolicyResult_ParentType) EnumDescriptor
deprecated
func (PolicyResult_ParentType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PolicyResult_ParentType.Descriptor instead.
func (PolicyResult_ParentType) Number ¶
func (x PolicyResult_ParentType) Number() protoreflect.EnumNumber
func (PolicyResult_ParentType) String ¶
func (x PolicyResult_ParentType) String() string
func (PolicyResult_ParentType) Type ¶
func (PolicyResult_ParentType) Type() protoreflect.EnumType
type PolicyResult_Result ¶
type PolicyResult_Result int32
const ( PolicyResult_UNKNOWN PolicyResult_Result = 0 // PASS represents when a policy evaluation completed without any // diagnostics returned. PolicyResult_PASS PolicyResult_Result = 1 // WARN represents when a policy evaluation completed with warnings // (e.g. the policy used mode: warn). PolicyResult_WARN PolicyResult_Result = 2 // FAIL represents when a policy evaluation completed with errors // (e.g. the policy used mode: enforce). PolicyResult_FAIL PolicyResult_Result = 3 )
func (PolicyResult_Result) Descriptor ¶
func (PolicyResult_Result) Descriptor() protoreflect.EnumDescriptor
func (PolicyResult_Result) Enum ¶
func (x PolicyResult_Result) Enum() *PolicyResult_Result
func (PolicyResult_Result) EnumDescriptor
deprecated
func (PolicyResult_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use PolicyResult_Result.Descriptor instead.
func (PolicyResult_Result) Number ¶
func (x PolicyResult_Result) Number() protoreflect.EnumNumber
func (PolicyResult_Result) String ¶
func (x PolicyResult_Result) String() string
func (PolicyResult_Result) Type ¶
func (PolicyResult_Result) Type() protoreflect.EnumType
type PolicyResultsClient ¶
type PolicyResultsClient interface {
List(ctx context.Context, in *PolicyResultFilter, opts ...grpc.CallOption) (*PolicyResultList, error)
}
PolicyResultsClient is the client API for PolicyResults 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.
func NewPolicyResultsClient ¶
func NewPolicyResultsClient(cc grpc.ClientConnInterface) PolicyResultsClient
type PolicyResultsServer ¶
type PolicyResultsServer interface { List(context.Context, *PolicyResultFilter) (*PolicyResultList, error) // contains filtered or unexported methods }
PolicyResultsServer is the server API for PolicyResults service. All implementations must embed UnimplementedPolicyResultsServer for forward compatibility
type Recommendation ¶
type Recommendation struct { // Classification of what kind of remediation this is, e.g.: // upgrade, replace, etc. // // Types that are assignable to Action: // // *Recommendation_Replace Action isRecommendation_Action `protobuf_oneof:"action"` // Output only. Free form text describing how this can be resolved. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Output only. Chainguard EDU link for more details on this Recommendation. DocumentationUrl string `protobuf:"bytes,4,opt,name=documentation_url,json=documentationUrl,proto3" json:"documentation_url,omitempty"` // contains filtered or unexported fields }
func (*Recommendation) Descriptor
deprecated
func (*Recommendation) Descriptor() ([]byte, []int)
Deprecated: Use Recommendation.ProtoReflect.Descriptor instead.
func (*Recommendation) GetAction ¶
func (m *Recommendation) GetAction() isRecommendation_Action
func (*Recommendation) GetDescription ¶
func (x *Recommendation) GetDescription() string
func (*Recommendation) GetDocumentationUrl ¶
func (x *Recommendation) GetDocumentationUrl() string
func (*Recommendation) GetReplace ¶
func (x *Recommendation) GetReplace() *Recommendation_ReplaceArtifact
func (*Recommendation) ProtoMessage ¶
func (*Recommendation) ProtoMessage()
func (*Recommendation) ProtoReflect ¶
func (x *Recommendation) ProtoReflect() protoreflect.Message
func (*Recommendation) Reset ¶
func (x *Recommendation) Reset()
func (*Recommendation) String ¶
func (x *Recommendation) String() string
type Recommendation_Replace ¶
type Recommendation_Replace struct {
Replace *Recommendation_ReplaceArtifact `protobuf:"bytes,1,opt,name=replace,proto3,oneof"`
}
type Recommendation_ReplaceArtifact ¶
type Recommendation_ReplaceArtifact struct { From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` // Target artifact that may be able to resolve this Risk. To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` // contains filtered or unexported fields }
func (*Recommendation_ReplaceArtifact) Descriptor
deprecated
func (*Recommendation_ReplaceArtifact) Descriptor() ([]byte, []int)
Deprecated: Use Recommendation_ReplaceArtifact.ProtoReflect.Descriptor instead.
func (*Recommendation_ReplaceArtifact) GetFrom ¶
func (x *Recommendation_ReplaceArtifact) GetFrom() string
func (*Recommendation_ReplaceArtifact) GetTo ¶
func (x *Recommendation_ReplaceArtifact) GetTo() string
func (*Recommendation_ReplaceArtifact) ProtoMessage ¶
func (*Recommendation_ReplaceArtifact) ProtoMessage()
func (*Recommendation_ReplaceArtifact) ProtoReflect ¶
func (x *Recommendation_ReplaceArtifact) ProtoReflect() protoreflect.Message
func (*Recommendation_ReplaceArtifact) Reset ¶
func (x *Recommendation_ReplaceArtifact) Reset()
func (*Recommendation_ReplaceArtifact) String ¶
func (x *Recommendation_ReplaceArtifact) String() string
type Record ¶
type Record struct { // id holds the UIDP for this image's record Id string `protobuf:"bytes,7,opt,name=id,proto3" json:"id,omitempty"` // cluster identifies the specific cluster for the record. Cluster string `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` // image is the container image for the record. Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` // last_seen is the last time we've seen this image anywhere on this cluster. LastSeen *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=last_seen,json=lastSeen,proto3" json:"last_seen,omitempty"` // last_refreshed will hold a PredicateType => Last time it was successfully // refreshed. LastRefreshed map[string]*timestamppb.Timestamp `` /* 188-byte string literal not displayed */ Sboms []*Sbom `protobuf:"bytes,6,rep,name=sboms,proto3" json:"sboms,omitempty"` // status is a map from analysis type (e.g. "sbom", "vuln") => RecordStatus to indidate success/failure, // the analysis timestamp, as well as any diagnostic message in case of failures. Status map[string]*RecordStatus `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Record) Descriptor
deprecated
func (*Record) GetCluster ¶
func (*Record) GetLastRefreshed ¶
func (x *Record) GetLastRefreshed() map[string]*timestamppb.Timestamp
func (*Record) GetLastSeen ¶
func (x *Record) GetLastSeen() *timestamppb.Timestamp
func (*Record) GetStatus ¶
func (x *Record) GetStatus() map[string]*RecordStatus
func (*Record) ProtoMessage ¶
func (*Record) ProtoMessage()
func (*Record) ProtoReflect ¶
func (x *Record) ProtoReflect() protoreflect.Message
type RecordContext ¶
type RecordContext struct { // id, The RecordContext UIDP at which this RecordContext resides. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // name of the RecordContext. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // a short description of this RecordContext. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // last_seen tracks the timestamp at which this RecordContext was last seen. LastSeen *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=last_seen,json=lastSeen,proto3" json:"last_seen,omitempty"` // Types that are assignable to Kind: // // *RecordContext_Workload_ // *RecordContext_Ancestry_ // *RecordContext_Variant_ Kind isRecordContext_Kind `protobuf_oneof:"kind"` // contains filtered or unexported fields }
func (*RecordContext) Descriptor
deprecated
func (*RecordContext) Descriptor() ([]byte, []int)
Deprecated: Use RecordContext.ProtoReflect.Descriptor instead.
func (*RecordContext) GetAncestry ¶
func (x *RecordContext) GetAncestry() *RecordContext_Ancestry
func (*RecordContext) GetDescription ¶
func (x *RecordContext) GetDescription() string
func (*RecordContext) GetId ¶
func (x *RecordContext) GetId() string
func (*RecordContext) GetKind ¶
func (m *RecordContext) GetKind() isRecordContext_Kind
func (*RecordContext) GetLastSeen ¶
func (x *RecordContext) GetLastSeen() *timestamppb.Timestamp
func (*RecordContext) GetName ¶
func (x *RecordContext) GetName() string
func (*RecordContext) GetVariant ¶
func (x *RecordContext) GetVariant() *RecordContext_Variant
func (*RecordContext) GetWorkload ¶
func (x *RecordContext) GetWorkload() *RecordContext_Workload
func (*RecordContext) ProtoMessage ¶
func (*RecordContext) ProtoMessage()
func (*RecordContext) ProtoReflect ¶
func (x *RecordContext) ProtoReflect() protoreflect.Message
func (*RecordContext) Reset ¶
func (x *RecordContext) Reset()
func (*RecordContext) String ¶
func (x *RecordContext) String() string
type RecordContextFilter ¶
type RecordContextFilter struct { Uidp *v1.UIDPFilter `protobuf:"bytes,1,opt,name=uidp,proto3" json:"uidp,omitempty"` // active_since is the timestamp after which the records should // have last been observed in the returned context. ActiveSince *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=active_since,json=activeSince,proto3" json:"active_since,omitempty"` // Allow filtering results based on matching fields in the context // ranging from just a particular "kind" to the exact workload shape. // Only specified fields will be used as part of the match. // // Types that are assignable to Kind: // // *RecordContextFilter_Workload // *RecordContextFilter_Ancestry // *RecordContextFilter_Variant Kind isRecordContextFilter_Kind `protobuf_oneof:"kind"` // contains filtered or unexported fields }
func (*RecordContextFilter) Descriptor
deprecated
func (*RecordContextFilter) Descriptor() ([]byte, []int)
Deprecated: Use RecordContextFilter.ProtoReflect.Descriptor instead.
func (*RecordContextFilter) GetActiveSince ¶
func (x *RecordContextFilter) GetActiveSince() *timestamppb.Timestamp
func (*RecordContextFilter) GetAncestry ¶
func (x *RecordContextFilter) GetAncestry() *RecordContext_Ancestry
func (*RecordContextFilter) GetKind ¶
func (m *RecordContextFilter) GetKind() isRecordContextFilter_Kind
func (*RecordContextFilter) GetUidp ¶
func (x *RecordContextFilter) GetUidp() *v1.UIDPFilter
func (*RecordContextFilter) GetVariant ¶
func (x *RecordContextFilter) GetVariant() *RecordContext_Variant
func (*RecordContextFilter) GetWorkload ¶
func (x *RecordContextFilter) GetWorkload() *RecordContext_Workload
func (*RecordContextFilter) ProtoMessage ¶
func (*RecordContextFilter) ProtoMessage()
func (*RecordContextFilter) ProtoReflect ¶
func (x *RecordContextFilter) ProtoReflect() protoreflect.Message
func (*RecordContextFilter) Reset ¶
func (x *RecordContextFilter) Reset()
func (*RecordContextFilter) String ¶
func (x *RecordContextFilter) String() string
type RecordContextFilter_Ancestry ¶
type RecordContextFilter_Ancestry struct {
Ancestry *RecordContext_Ancestry `protobuf:"bytes,101,opt,name=ancestry,proto3,oneof"`
}
type RecordContextFilter_Variant ¶
type RecordContextFilter_Variant struct {
Variant *RecordContext_Variant `protobuf:"bytes,102,opt,name=variant,proto3,oneof"`
}
type RecordContextFilter_Workload ¶
type RecordContextFilter_Workload struct {
Workload *RecordContext_Workload `protobuf:"bytes,100,opt,name=workload,proto3,oneof"`
}
type RecordContextList ¶
type RecordContextList struct { Items []*RecordContext `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*RecordContextList) Descriptor
deprecated
func (*RecordContextList) Descriptor() ([]byte, []int)
Deprecated: Use RecordContextList.ProtoReflect.Descriptor instead.
func (*RecordContextList) GetItems ¶
func (x *RecordContextList) GetItems() []*RecordContext
func (*RecordContextList) ProtoMessage ¶
func (*RecordContextList) ProtoMessage()
func (*RecordContextList) ProtoReflect ¶
func (x *RecordContextList) ProtoReflect() protoreflect.Message
func (*RecordContextList) Reset ¶
func (x *RecordContextList) Reset()
func (*RecordContextList) String ¶
func (x *RecordContextList) String() string
type RecordContext_Ancestry ¶
type RecordContext_Ancestry struct { Role RecordContext_Ancestry_Role `protobuf:"varint,1,opt,name=role,proto3,enum=chainguard.platform.tenant.RecordContext_Ancestry_Role" json:"role,omitempty"` // image_id holds the digest of the related image, which can be used // to efficiently retrieve it's record. ImageId string `protobuf:"bytes,2,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"` // contains filtered or unexported fields }
Ancestry relationships are added to records when a "base image" relationship has been uncovered. This context is added to BOTH records with their respective roles. The base image will get the Role BASE, and the derivative image will get the Role DERIVED.
func (*RecordContext_Ancestry) Descriptor
deprecated
func (*RecordContext_Ancestry) Descriptor() ([]byte, []int)
Deprecated: Use RecordContext_Ancestry.ProtoReflect.Descriptor instead.
func (*RecordContext_Ancestry) GetImageId ¶
func (x *RecordContext_Ancestry) GetImageId() string
func (*RecordContext_Ancestry) GetRole ¶
func (x *RecordContext_Ancestry) GetRole() RecordContext_Ancestry_Role
func (*RecordContext_Ancestry) ProtoMessage ¶
func (*RecordContext_Ancestry) ProtoMessage()
func (*RecordContext_Ancestry) ProtoReflect ¶
func (x *RecordContext_Ancestry) ProtoReflect() protoreflect.Message
func (*RecordContext_Ancestry) Reset ¶
func (x *RecordContext_Ancestry) Reset()
func (*RecordContext_Ancestry) String ¶
func (x *RecordContext_Ancestry) String() string
type RecordContext_Ancestry_ ¶
type RecordContext_Ancestry_ struct {
Ancestry *RecordContext_Ancestry `protobuf:"bytes,101,opt,name=ancestry,proto3,oneof"`
}
type RecordContext_Ancestry_Role ¶
type RecordContext_Ancestry_Role int32
const ( RecordContext_Ancestry_UNKNOWN RecordContext_Ancestry_Role = 0 RecordContext_Ancestry_BASE RecordContext_Ancestry_Role = 1 RecordContext_Ancestry_DERIVED RecordContext_Ancestry_Role = 2 )
func (RecordContext_Ancestry_Role) Descriptor ¶
func (RecordContext_Ancestry_Role) Descriptor() protoreflect.EnumDescriptor
func (RecordContext_Ancestry_Role) Enum ¶
func (x RecordContext_Ancestry_Role) Enum() *RecordContext_Ancestry_Role
func (RecordContext_Ancestry_Role) EnumDescriptor
deprecated
func (RecordContext_Ancestry_Role) EnumDescriptor() ([]byte, []int)
Deprecated: Use RecordContext_Ancestry_Role.Descriptor instead.
func (RecordContext_Ancestry_Role) Number ¶
func (x RecordContext_Ancestry_Role) Number() protoreflect.EnumNumber
func (RecordContext_Ancestry_Role) String ¶
func (x RecordContext_Ancestry_Role) String() string
func (RecordContext_Ancestry_Role) Type ¶
func (RecordContext_Ancestry_Role) Type() protoreflect.EnumType
type RecordContext_Variant ¶
type RecordContext_Variant struct { Role RecordContext_Variant_Role `protobuf:"varint,1,opt,name=role,proto3,enum=chainguard.platform.tenant.RecordContext_Variant_Role" json:"role,omitempty"` // image_id holds the digest of the related image, which can be used // to efficiently retrieve it's record. ImageId string `protobuf:"bytes,2,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"` // The version information distinguishing this variant // from other possible variants of the index. Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
Variant relationships are added to records when we find an "index" containing multiple different variations (typically os/arch) of the same logical image. These are referred to as "OCI Image Index", "Docker Manifest List", and occasionally "fat images". This context is added to ALL records including the INDEX and all VARIANTs of that index. The INDEX will typically contain N contexts carrying the Role INDEX, the id of the VARIANT's record, and the version information that discriminates that VARIANT from other VARIANTs. The VARIANT will typically (but not always!) contain 1 context carrying the Role VARIANT, the id of the INDEX's record, and the version information that discriminates it among the other VARIANTs in the INDEX.
func (*RecordContext_Variant) Descriptor
deprecated
func (*RecordContext_Variant) Descriptor() ([]byte, []int)
Deprecated: Use RecordContext_Variant.ProtoReflect.Descriptor instead.
func (*RecordContext_Variant) GetImageId ¶
func (x *RecordContext_Variant) GetImageId() string
func (*RecordContext_Variant) GetRole ¶
func (x *RecordContext_Variant) GetRole() RecordContext_Variant_Role
func (*RecordContext_Variant) GetVersion ¶
func (x *RecordContext_Variant) GetVersion() string
func (*RecordContext_Variant) ProtoMessage ¶
func (*RecordContext_Variant) ProtoMessage()
func (*RecordContext_Variant) ProtoReflect ¶
func (x *RecordContext_Variant) ProtoReflect() protoreflect.Message
func (*RecordContext_Variant) Reset ¶
func (x *RecordContext_Variant) Reset()
func (*RecordContext_Variant) String ¶
func (x *RecordContext_Variant) String() string
type RecordContext_Variant_ ¶
type RecordContext_Variant_ struct {
Variant *RecordContext_Variant `protobuf:"bytes,102,opt,name=variant,proto3,oneof"`
}
type RecordContext_Variant_Role ¶
type RecordContext_Variant_Role int32
const ( RecordContext_Variant_UNKNOWN RecordContext_Variant_Role = 0 RecordContext_Variant_INDEX RecordContext_Variant_Role = 1 RecordContext_Variant_VARIANT RecordContext_Variant_Role = 2 )
func (RecordContext_Variant_Role) Descriptor ¶
func (RecordContext_Variant_Role) Descriptor() protoreflect.EnumDescriptor
func (RecordContext_Variant_Role) Enum ¶
func (x RecordContext_Variant_Role) Enum() *RecordContext_Variant_Role
func (RecordContext_Variant_Role) EnumDescriptor
deprecated
func (RecordContext_Variant_Role) EnumDescriptor() ([]byte, []int)
Deprecated: Use RecordContext_Variant_Role.Descriptor instead.
func (RecordContext_Variant_Role) Number ¶
func (x RecordContext_Variant_Role) Number() protoreflect.EnumNumber
func (RecordContext_Variant_Role) String ¶
func (x RecordContext_Variant_Role) String() string
func (RecordContext_Variant_Role) Type ¶
func (RecordContext_Variant_Role) Type() protoreflect.EnumType
type RecordContext_Workload ¶
type RecordContext_Workload struct { // remote_id is the metadata.uid of the workload in which this // container was observed. RemoteId string `protobuf:"bytes,1,opt,name=remote_id,json=remoteId,proto3" json:"remote_id,omitempty"` // contains filtered or unexported fields }
Workload contexts are added to existence records that have been observed running on a cluster.
func (*RecordContext_Workload) Descriptor
deprecated
func (*RecordContext_Workload) Descriptor() ([]byte, []int)
Deprecated: Use RecordContext_Workload.ProtoReflect.Descriptor instead.
func (*RecordContext_Workload) GetRemoteId ¶
func (x *RecordContext_Workload) GetRemoteId() string
func (*RecordContext_Workload) ProtoMessage ¶
func (*RecordContext_Workload) ProtoMessage()
func (*RecordContext_Workload) ProtoReflect ¶
func (x *RecordContext_Workload) ProtoReflect() protoreflect.Message
func (*RecordContext_Workload) Reset ¶
func (x *RecordContext_Workload) Reset()
func (*RecordContext_Workload) String ¶
func (x *RecordContext_Workload) String() string
type RecordContext_Workload_ ¶
type RecordContext_Workload_ struct {
Workload *RecordContext_Workload `protobuf:"bytes,100,opt,name=workload,proto3,oneof"`
}
type RecordContextsClient ¶
type RecordContextsClient interface {
List(ctx context.Context, in *RecordContextFilter, opts ...grpc.CallOption) (*RecordContextList, error)
}
RecordContextsClient is the client API for RecordContexts 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.
func NewRecordContextsClient ¶
func NewRecordContextsClient(cc grpc.ClientConnInterface) RecordContextsClient
type RecordContextsServer ¶
type RecordContextsServer interface { List(context.Context, *RecordContextFilter) (*RecordContextList, error) // contains filtered or unexported methods }
RecordContextsServer is the server API for RecordContexts service. All implementations must embed UnimplementedRecordContextsServer for forward compatibility
type RecordFilter ¶
type RecordFilter struct { // id is the exact UID of the record. Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"` // uidp filters records based on their position in the group hierarchy. Uidp *v1.UIDPFilter `protobuf:"bytes,6,opt,name=uidp,proto3" json:"uidp,omitempty"` // image is specified if a specific Record is desired. Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` // predicate specifies to fetch Records where either there's no // LastRefreshed for this predicate type, or if it needs to be refreshed. Predicate string `protobuf:"bytes,2,opt,name=predicate,proto3" json:"predicate,omitempty"` // cluster is specified if restricting to a given cluster id. // This field is required. Cluster string `protobuf:"bytes,3,opt,name=cluster,proto3" json:"cluster,omitempty"` // active_since is the timestamp after which returned records should have been active. // This applies to when an image was "last seen". ActiveSince *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=active_since,json=activeSince,proto3" json:"active_since,omitempty"` // contains filtered or unexported fields }
func (*RecordFilter) Descriptor
deprecated
func (*RecordFilter) Descriptor() ([]byte, []int)
Deprecated: Use RecordFilter.ProtoReflect.Descriptor instead.
func (*RecordFilter) GetActiveSince ¶
func (x *RecordFilter) GetActiveSince() *timestamppb.Timestamp
func (*RecordFilter) GetCluster ¶
func (x *RecordFilter) GetCluster() string
func (*RecordFilter) GetId ¶
func (x *RecordFilter) GetId() string
func (*RecordFilter) GetImage ¶
func (x *RecordFilter) GetImage() string
func (*RecordFilter) GetPredicate ¶
func (x *RecordFilter) GetPredicate() string
func (*RecordFilter) GetUidp ¶
func (x *RecordFilter) GetUidp() *v1.UIDPFilter
func (*RecordFilter) ProtoMessage ¶
func (*RecordFilter) ProtoMessage()
func (*RecordFilter) ProtoReflect ¶
func (x *RecordFilter) ProtoReflect() protoreflect.Message
func (*RecordFilter) Reset ¶
func (x *RecordFilter) Reset()
func (*RecordFilter) String ¶
func (x *RecordFilter) String() string
type RecordList ¶
type RecordList struct { Items []*Record `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*RecordList) Descriptor
deprecated
func (*RecordList) Descriptor() ([]byte, []int)
Deprecated: Use RecordList.ProtoReflect.Descriptor instead.
func (*RecordList) GetItems ¶
func (x *RecordList) GetItems() []*Record
func (*RecordList) ProtoMessage ¶
func (*RecordList) ProtoMessage()
func (*RecordList) ProtoReflect ¶
func (x *RecordList) ProtoReflect() protoreflect.Message
func (*RecordList) Reset ¶
func (x *RecordList) Reset()
func (*RecordList) String ¶
func (x *RecordList) String() string
type RecordStatus ¶
type RecordStatus struct { LastChecked *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=last_checked,json=lastChecked,proto3" json:"last_checked,omitempty"` Result RecordStatus_Result `protobuf:"varint,2,opt,name=result,proto3,enum=chainguard.platform.tenant.RecordStatus_Result" json:"result,omitempty"` Diagnostic string `protobuf:"bytes,3,opt,name=diagnostic,proto3" json:"diagnostic,omitempty"` // contains filtered or unexported fields }
func (*RecordStatus) Descriptor
deprecated
func (*RecordStatus) Descriptor() ([]byte, []int)
Deprecated: Use RecordStatus.ProtoReflect.Descriptor instead.
func (*RecordStatus) GetDiagnostic ¶
func (x *RecordStatus) GetDiagnostic() string
func (*RecordStatus) GetLastChecked ¶
func (x *RecordStatus) GetLastChecked() *timestamppb.Timestamp
func (*RecordStatus) GetResult ¶
func (x *RecordStatus) GetResult() RecordStatus_Result
func (*RecordStatus) ProtoMessage ¶
func (*RecordStatus) ProtoMessage()
func (*RecordStatus) ProtoReflect ¶
func (x *RecordStatus) ProtoReflect() protoreflect.Message
func (*RecordStatus) Reset ¶
func (x *RecordStatus) Reset()
func (*RecordStatus) String ¶
func (x *RecordStatus) String() string
type RecordStatus_Result ¶
type RecordStatus_Result int32
const ( RecordStatus_UNKNOWN RecordStatus_Result = 0 RecordStatus_PASS RecordStatus_Result = 1 RecordStatus_FAIL RecordStatus_Result = 2 )
func (RecordStatus_Result) Descriptor ¶
func (RecordStatus_Result) Descriptor() protoreflect.EnumDescriptor
func (RecordStatus_Result) Enum ¶
func (x RecordStatus_Result) Enum() *RecordStatus_Result
func (RecordStatus_Result) EnumDescriptor
deprecated
func (RecordStatus_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use RecordStatus_Result.Descriptor instead.
func (RecordStatus_Result) Number ¶
func (x RecordStatus_Result) Number() protoreflect.EnumNumber
func (RecordStatus_Result) String ¶
func (x RecordStatus_Result) String() string
func (RecordStatus_Result) Type ¶
func (RecordStatus_Result) Type() protoreflect.EnumType
type RecordsClient ¶
type RecordsClient interface {
List(ctx context.Context, in *RecordFilter, opts ...grpc.CallOption) (*RecordList, error)
}
RecordsClient is the client API for Records 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.
func NewRecordsClient ¶
func NewRecordsClient(cc grpc.ClientConnInterface) RecordsClient
type RecordsServer ¶
type RecordsServer interface { List(context.Context, *RecordFilter) (*RecordList, error) // contains filtered or unexported methods }
RecordsServer is the server API for Records service. All implementations must embed UnimplementedRecordsServer for forward compatibility
type Risk ¶
type Risk struct { // Risk ID (UIDP resource + unique ID) Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Grouping identifier to associate Risks in the same UIDP // to each other. GroupId string `protobuf:"bytes,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // List of UIDPs that were used to determine this Risk. Inputs []string `protobuf:"bytes,3,rep,name=inputs,proto3" json:"inputs,omitempty"` // What kind of risk is this? Lack of signatures, vulnerability, SBOM quality, etc. Details *Risk_Details `protobuf:"bytes,4,opt,name=details,proto3" json:"details,omitempty"` // Output only. Free form text describing this Risk. Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // Output only. Chainguard EDU link for more details on this Risk. DocumentationUrl string `protobuf:"bytes,6,opt,name=documentation_url,json=documentationUrl,proto3" json:"documentation_url,omitempty"` // Optional. Chainguard's recommendation(s) for how to resolve this Risk. Recommendations []*Recommendation `protobuf:"bytes,7,rep,name=recommendations,proto3" json:"recommendations,omitempty"` // Output only. When Enforce last saw this Risk. LastSeen *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=last_seen,json=lastSeen,proto3" json:"last_seen,omitempty"` // contains filtered or unexported fields }
func (*Risk) Descriptor
deprecated
func (*Risk) GetDescription ¶
func (*Risk) GetDetails ¶
func (x *Risk) GetDetails() *Risk_Details
func (*Risk) GetDocumentationUrl ¶
func (*Risk) GetGroupId ¶
func (*Risk) GetLastSeen ¶
func (x *Risk) GetLastSeen() *timestamppb.Timestamp
func (*Risk) GetRecommendations ¶
func (x *Risk) GetRecommendations() []*Recommendation
func (*Risk) ProtoMessage ¶
func (*Risk) ProtoMessage()
func (*Risk) ProtoReflect ¶
func (x *Risk) ProtoReflect() protoreflect.Message
type RiskFilter ¶
type RiskFilter struct { // id is the exact UID of the record. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Uidp *v1.UIDPFilter `protobuf:"bytes,2,opt,name=uidp,proto3" json:"uidp,omitempty"` // contains filtered or unexported fields }
func (*RiskFilter) Descriptor
deprecated
func (*RiskFilter) Descriptor() ([]byte, []int)
Deprecated: Use RiskFilter.ProtoReflect.Descriptor instead.
func (*RiskFilter) GetId ¶
func (x *RiskFilter) GetId() string
func (*RiskFilter) GetUidp ¶
func (x *RiskFilter) GetUidp() *v1.UIDPFilter
func (*RiskFilter) ProtoMessage ¶
func (*RiskFilter) ProtoMessage()
func (*RiskFilter) ProtoReflect ¶
func (x *RiskFilter) ProtoReflect() protoreflect.Message
func (*RiskFilter) Reset ¶
func (x *RiskFilter) Reset()
func (*RiskFilter) String ¶
func (x *RiskFilter) String() string
type RiskList ¶
type RiskList struct { Items []*Risk `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*RiskList) Descriptor
deprecated
func (*RiskList) ProtoMessage ¶
func (*RiskList) ProtoMessage()
func (*RiskList) ProtoReflect ¶
func (x *RiskList) ProtoReflect() protoreflect.Message
type Risk_Details ¶
type Risk_Details struct { // Types that are assignable to Data: // // *Risk_Details_MissingData Data isRisk_Details_Data `protobuf_oneof:"data"` // contains filtered or unexported fields }
func (*Risk_Details) Descriptor
deprecated
func (*Risk_Details) Descriptor() ([]byte, []int)
Deprecated: Use Risk_Details.ProtoReflect.Descriptor instead.
func (*Risk_Details) GetData ¶
func (m *Risk_Details) GetData() isRisk_Details_Data
func (*Risk_Details) GetMissingData ¶
func (x *Risk_Details) GetMissingData() *Risk_MissingData
func (*Risk_Details) ProtoMessage ¶
func (*Risk_Details) ProtoMessage()
func (*Risk_Details) ProtoReflect ¶
func (x *Risk_Details) ProtoReflect() protoreflect.Message
func (*Risk_Details) Reset ¶
func (x *Risk_Details) Reset()
func (*Risk_Details) String ¶
func (x *Risk_Details) String() string
type Risk_Details_MissingData ¶
type Risk_Details_MissingData struct {
MissingData *Risk_MissingData `protobuf:"bytes,1,opt,name=missing_data,json=missingData,proto3,oneof"`
}
type Risk_MissingData ¶
type Risk_MissingData struct { // What kind of data is missing (e.g. signature, sbom, policy, etc.) Type Risk_MissingData_Type `protobuf:"varint,1,opt,name=type,proto3,enum=chainguard.platform.tenant.Risk_MissingData_Type" json:"type,omitempty"` // contains filtered or unexported fields }
func (*Risk_MissingData) Descriptor
deprecated
func (*Risk_MissingData) Descriptor() ([]byte, []int)
Deprecated: Use Risk_MissingData.ProtoReflect.Descriptor instead.
func (*Risk_MissingData) GetType ¶
func (x *Risk_MissingData) GetType() Risk_MissingData_Type
func (*Risk_MissingData) ProtoMessage ¶
func (*Risk_MissingData) ProtoMessage()
func (*Risk_MissingData) ProtoReflect ¶
func (x *Risk_MissingData) ProtoReflect() protoreflect.Message
func (*Risk_MissingData) Reset ¶
func (x *Risk_MissingData) Reset()
func (*Risk_MissingData) String ¶
func (x *Risk_MissingData) String() string
type Risk_MissingData_Type ¶
type Risk_MissingData_Type int32
const ( Risk_MissingData_UNKNOWN Risk_MissingData_Type = 0 Risk_MissingData_SIGNATURE Risk_MissingData_Type = 1 Risk_MissingData_SBOM Risk_MissingData_Type = 2 Risk_MissingData_POLICY Risk_MissingData_Type = 3 )
func (Risk_MissingData_Type) Descriptor ¶
func (Risk_MissingData_Type) Descriptor() protoreflect.EnumDescriptor
func (Risk_MissingData_Type) Enum ¶
func (x Risk_MissingData_Type) Enum() *Risk_MissingData_Type
func (Risk_MissingData_Type) EnumDescriptor
deprecated
func (Risk_MissingData_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Risk_MissingData_Type.Descriptor instead.
func (Risk_MissingData_Type) Number ¶
func (x Risk_MissingData_Type) Number() protoreflect.EnumNumber
func (Risk_MissingData_Type) String ¶
func (x Risk_MissingData_Type) String() string
func (Risk_MissingData_Type) Type ¶
func (Risk_MissingData_Type) Type() protoreflect.EnumType
type Risk_Vulnerability ¶
type Risk_Vulnerability struct { Severity Risk_Vulnerability_Severity `` /* 130-byte string literal not displayed */ // External identifier of the source of the vuln - e.g. CVE ID. Source string `protobuf:"bytes,7,opt,name=source,proto3" json:"source,omitempty"` // contains filtered or unexported fields }
func (*Risk_Vulnerability) Descriptor
deprecated
func (*Risk_Vulnerability) Descriptor() ([]byte, []int)
Deprecated: Use Risk_Vulnerability.ProtoReflect.Descriptor instead.
func (*Risk_Vulnerability) GetSeverity ¶
func (x *Risk_Vulnerability) GetSeverity() Risk_Vulnerability_Severity
func (*Risk_Vulnerability) GetSource ¶
func (x *Risk_Vulnerability) GetSource() string
func (*Risk_Vulnerability) ProtoMessage ¶
func (*Risk_Vulnerability) ProtoMessage()
func (*Risk_Vulnerability) ProtoReflect ¶
func (x *Risk_Vulnerability) ProtoReflect() protoreflect.Message
func (*Risk_Vulnerability) Reset ¶
func (x *Risk_Vulnerability) Reset()
func (*Risk_Vulnerability) String ¶
func (x *Risk_Vulnerability) String() string
type Risk_Vulnerability_Severity ¶
type Risk_Vulnerability_Severity int32
const ( Risk_Vulnerability_UNKNOWN Risk_Vulnerability_Severity = 0 Risk_Vulnerability_LOW Risk_Vulnerability_Severity = 1 Risk_Vulnerability_MEDIUM Risk_Vulnerability_Severity = 2 Risk_Vulnerability_HIGH Risk_Vulnerability_Severity = 3 Risk_Vulnerability_CRITICAL Risk_Vulnerability_Severity = 4 )
func (Risk_Vulnerability_Severity) Descriptor ¶
func (Risk_Vulnerability_Severity) Descriptor() protoreflect.EnumDescriptor
func (Risk_Vulnerability_Severity) Enum ¶
func (x Risk_Vulnerability_Severity) Enum() *Risk_Vulnerability_Severity
func (Risk_Vulnerability_Severity) EnumDescriptor
deprecated
func (Risk_Vulnerability_Severity) EnumDescriptor() ([]byte, []int)
Deprecated: Use Risk_Vulnerability_Severity.Descriptor instead.
func (Risk_Vulnerability_Severity) Number ¶
func (x Risk_Vulnerability_Severity) Number() protoreflect.EnumNumber
func (Risk_Vulnerability_Severity) String ¶
func (x Risk_Vulnerability_Severity) String() string
func (Risk_Vulnerability_Severity) Type ¶
func (Risk_Vulnerability_Severity) Type() protoreflect.EnumType
type RisksClient ¶
type RisksClient interface {
List(ctx context.Context, in *RiskFilter, opts ...grpc.CallOption) (*RiskList, error)
}
RisksClient is the client API for Risks 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.
func NewRisksClient ¶
func NewRisksClient(cc grpc.ClientConnInterface) RisksClient
type RisksServer ¶
type RisksServer interface { List(context.Context, *RiskFilter) (*RiskList, error) // contains filtered or unexported methods }
RisksServer is the server API for Risks service. All implementations must embed UnimplementedRisksServer for forward compatibility
type Sbom ¶
type Sbom struct { Packages []*Package `protobuf:"bytes,1,rep,name=packages,proto3" json:"packages,omitempty"` // contains filtered or unexported fields }
func (*Sbom) Descriptor
deprecated
func (*Sbom) GetPackages ¶
func (*Sbom) ProtoMessage ¶
func (*Sbom) ProtoMessage()
func (*Sbom) ProtoReflect ¶
func (x *Sbom) ProtoReflect() protoreflect.Message
type Sbom2 ¶
type Sbom2 struct { // id, The Sbom UIDP at which this Sbom resides in the hierarchy. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // raw_sbom may or may not be useful in the long term, but for now to make // progress on this, we'll just yolo and serialize it here. RawSbom []byte `protobuf:"bytes,2,opt,name=raw_sbom,json=rawSbom,proto3" json:"raw_sbom,omitempty"` Graph *ComponentGraph `protobuf:"bytes,3,opt,name=graph,proto3" json:"graph,omitempty"` // last_seen tracks the timestamp at which this sbom was last seen. // TODO(vaikas): Does this really make any sense? LastSeen *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=last_seen,json=lastSeen,proto3" json:"last_seen,omitempty"` // tool holds the name of the tool that produced the SBOM. Tool string `protobuf:"bytes,5,opt,name=tool,proto3" json:"tool,omitempty"` // format holds whether the SBOM is SPDX, CycloneDX, or other. Format string `protobuf:"bytes,6,opt,name=format,proto3" json:"format,omitempty"` // generated_at holds when the SBOM was generated. GeneratedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=generated_at,json=generatedAt,proto3" json:"generated_at,omitempty"` // authors is zero or more authors concatenated. Authors string `protobuf:"bytes,8,opt,name=authors,proto3" json:"authors,omitempty"` // source is where the SBOM came from. For example, we want to know if sbom // was generated by us, or ingested. Source Sbom2_Source `protobuf:"varint,9,opt,name=source,proto3,enum=chainguard.platform.tenant.Sbom2_Source" json:"source,omitempty"` // Name of the Sbom. Name string `protobuf:"bytes,10,opt,name=name,proto3" json:"name,omitempty"` // Short description of the Sbom Description string `protobuf:"bytes,11,opt,name=description,proto3" json:"description,omitempty"` // digest of the SBOM when ingested Digest *string `protobuf:"bytes,12,opt,name=digest,proto3,oneof" json:"digest,omitempty"` // contains filtered or unexported fields }
Sbom represents a normalized SBOM that we have ingested into our datastore. They are linked to Signatures via ID, as in they are 'children' of Signatures There can be multiple of these that we keep.
func (*Sbom2) Descriptor
deprecated
func (*Sbom2) GetAuthors ¶
func (*Sbom2) GetDescription ¶
func (*Sbom2) GetGeneratedAt ¶
func (x *Sbom2) GetGeneratedAt() *timestamppb.Timestamp
func (*Sbom2) GetGraph ¶
func (x *Sbom2) GetGraph() *ComponentGraph
func (*Sbom2) GetLastSeen ¶
func (x *Sbom2) GetLastSeen() *timestamppb.Timestamp
func (*Sbom2) GetRawSbom ¶
func (*Sbom2) GetSource ¶
func (x *Sbom2) GetSource() Sbom2_Source
func (*Sbom2) ProtoMessage ¶
func (*Sbom2) ProtoMessage()
func (*Sbom2) ProtoReflect ¶
func (x *Sbom2) ProtoReflect() protoreflect.Message
type Sbom2Filter ¶
type Sbom2Filter struct { // id is the exact UID of the record. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Uidp *v1.UIDPFilter `protobuf:"bytes,2,opt,name=uidp,proto3" json:"uidp,omitempty"` // active_since is the timestamp after which the records should // have last been observed in the returned context. ActiveSince *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=active_since,json=activeSince,proto3" json:"active_since,omitempty"` // include_raw_sbom is a flag to return the raw sbom field in the record. IncludeRawSbom bool `protobuf:"varint,4,opt,name=include_raw_sbom,json=includeRawSbom,proto3" json:"include_raw_sbom,omitempty"` // contains filtered or unexported fields }
func (*Sbom2Filter) Descriptor
deprecated
func (*Sbom2Filter) Descriptor() ([]byte, []int)
Deprecated: Use Sbom2Filter.ProtoReflect.Descriptor instead.
func (*Sbom2Filter) GetActiveSince ¶
func (x *Sbom2Filter) GetActiveSince() *timestamppb.Timestamp
func (*Sbom2Filter) GetId ¶
func (x *Sbom2Filter) GetId() string
func (*Sbom2Filter) GetIncludeRawSbom ¶
func (x *Sbom2Filter) GetIncludeRawSbom() bool
func (*Sbom2Filter) GetUidp ¶
func (x *Sbom2Filter) GetUidp() *v1.UIDPFilter
func (*Sbom2Filter) ProtoMessage ¶
func (*Sbom2Filter) ProtoMessage()
func (*Sbom2Filter) ProtoReflect ¶
func (x *Sbom2Filter) ProtoReflect() protoreflect.Message
func (*Sbom2Filter) Reset ¶
func (x *Sbom2Filter) Reset()
func (*Sbom2Filter) String ¶
func (x *Sbom2Filter) String() string
type Sbom2List ¶
type Sbom2List struct { Items []*Sbom2 `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*Sbom2List) Descriptor
deprecated
func (*Sbom2List) ProtoMessage ¶
func (*Sbom2List) ProtoMessage()
func (*Sbom2List) ProtoReflect ¶
func (x *Sbom2List) ProtoReflect() protoreflect.Message
type Sbom2_Source ¶
type Sbom2_Source int32
Type
const ( Sbom2_UNKNOWN Sbom2_Source = 0 Sbom2_INGESTED Sbom2_Source = 1 Sbom2_GENERATED Sbom2_Source = 2 )
func (Sbom2_Source) Descriptor ¶
func (Sbom2_Source) Descriptor() protoreflect.EnumDescriptor
func (Sbom2_Source) Enum ¶
func (x Sbom2_Source) Enum() *Sbom2_Source
func (Sbom2_Source) EnumDescriptor
deprecated
func (Sbom2_Source) EnumDescriptor() ([]byte, []int)
Deprecated: Use Sbom2_Source.Descriptor instead.
func (Sbom2_Source) Number ¶
func (x Sbom2_Source) Number() protoreflect.EnumNumber
func (Sbom2_Source) String ¶
func (x Sbom2_Source) String() string
func (Sbom2_Source) Type ¶
func (Sbom2_Source) Type() protoreflect.EnumType
type SbomsClient ¶
type SbomsClient interface {
List(ctx context.Context, in *Sbom2Filter, opts ...grpc.CallOption) (*Sbom2List, error)
}
SbomsClient is the client API for Sboms 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.
func NewSbomsClient ¶
func NewSbomsClient(cc grpc.ClientConnInterface) SbomsClient
type SbomsServer ¶
type SbomsServer interface { List(context.Context, *Sbom2Filter) (*Sbom2List, error) // contains filtered or unexported methods }
SbomsServer is the server API for Sboms service. All implementations must embed UnimplementedSbomsServer for forward compatibility
type Signature ¶
type Signature struct { // id, The Signature UIDP at which this Signature resides. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // name of the Signature. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // a short description of this Signature. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // last_seen tracks the timestamp at which this signature was last seen. LastSeen *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=last_seen,json=lastSeen,proto3" json:"last_seen,omitempty"` // predicate_type is an optional field that captures the type of signed // metadata this signature has signed. // - For simple signatures (e.g. directly signed artifact), this will // be empty to represent the "null claim". // - For signed claims (e.g. attestations), this will hold the in-toto // predicate type of the signed claim. PredicateType string `protobuf:"bytes,5,opt,name=predicate_type,json=predicateType,proto3" json:"predicate_type,omitempty"` // Types that are assignable to Kind: // // *Signature_None // *Signature_Keyless_ // *Signature_Key_ Kind isSignature_Kind `protobuf_oneof:"kind"` // contains filtered or unexported fields }
func (*Signature) Descriptor
deprecated
func (*Signature) GetDescription ¶
func (*Signature) GetKey ¶
func (x *Signature) GetKey() *Signature_Key
func (*Signature) GetKeyless ¶
func (x *Signature) GetKeyless() *Signature_Keyless
func (*Signature) GetLastSeen ¶
func (x *Signature) GetLastSeen() *timestamppb.Timestamp
func (*Signature) GetPredicateType ¶
func (*Signature) ProtoMessage ¶
func (*Signature) ProtoMessage()
func (*Signature) ProtoReflect ¶
func (x *Signature) ProtoReflect() protoreflect.Message
type SignatureFilter ¶
type SignatureFilter struct { Uidp *v1.UIDPFilter `protobuf:"bytes,1,opt,name=uidp,proto3" json:"uidp,omitempty"` // active_since is the timestamp after which the records should // have last been observed in the returned context. ActiveSince *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=active_since,json=activeSince,proto3" json:"active_since,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` PredicateType *string `protobuf:"bytes,4,opt,name=predicate_type,json=predicateType,proto3,oneof" json:"predicate_type,omitempty"` // contains filtered or unexported fields }
func (*SignatureFilter) Descriptor
deprecated
func (*SignatureFilter) Descriptor() ([]byte, []int)
Deprecated: Use SignatureFilter.ProtoReflect.Descriptor instead.
func (*SignatureFilter) GetActiveSince ¶
func (x *SignatureFilter) GetActiveSince() *timestamppb.Timestamp
func (*SignatureFilter) GetName ¶
func (x *SignatureFilter) GetName() string
func (*SignatureFilter) GetPredicateType ¶
func (x *SignatureFilter) GetPredicateType() string
func (*SignatureFilter) GetUidp ¶
func (x *SignatureFilter) GetUidp() *v1.UIDPFilter
func (*SignatureFilter) ProtoMessage ¶
func (*SignatureFilter) ProtoMessage()
func (*SignatureFilter) ProtoReflect ¶
func (x *SignatureFilter) ProtoReflect() protoreflect.Message
func (*SignatureFilter) Reset ¶
func (x *SignatureFilter) Reset()
func (*SignatureFilter) String ¶
func (x *SignatureFilter) String() string
type SignatureList ¶
type SignatureList struct { Items []*Signature `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*SignatureList) Descriptor
deprecated
func (*SignatureList) Descriptor() ([]byte, []int)
Deprecated: Use SignatureList.ProtoReflect.Descriptor instead.
func (*SignatureList) GetItems ¶
func (x *SignatureList) GetItems() []*Signature
func (*SignatureList) ProtoMessage ¶
func (*SignatureList) ProtoMessage()
func (*SignatureList) ProtoReflect ¶
func (x *SignatureList) ProtoReflect() protoreflect.Message
func (*SignatureList) Reset ¶
func (x *SignatureList) Reset()
func (*SignatureList) String ¶
func (x *SignatureList) String() string
type Signature_Key ¶
type Signature_Key struct {
// contains filtered or unexported fields
}
func (*Signature_Key) Descriptor
deprecated
func (*Signature_Key) Descriptor() ([]byte, []int)
Deprecated: Use Signature_Key.ProtoReflect.Descriptor instead.
func (*Signature_Key) ProtoMessage ¶
func (*Signature_Key) ProtoMessage()
func (*Signature_Key) ProtoReflect ¶
func (x *Signature_Key) ProtoReflect() protoreflect.Message
func (*Signature_Key) Reset ¶
func (x *Signature_Key) Reset()
func (*Signature_Key) String ¶
func (x *Signature_Key) String() string
type Signature_Key_ ¶
type Signature_Key_ struct { // key is the kind of signature that is attached when a signature // was produced via a static key pair. Key *Signature_Key `protobuf:"bytes,12,opt,name=key,proto3,oneof"` }
type Signature_Keyless ¶
type Signature_Keyless struct { Issuer string `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"` Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"` // TODO: Consider making this a oneof when other providers // start producing interesting claims. Github *Signature_Keyless_Github `protobuf:"bytes,3,opt,name=github,proto3" json:"github,omitempty"` // contains filtered or unexported fields }
func (*Signature_Keyless) Descriptor
deprecated
func (*Signature_Keyless) Descriptor() ([]byte, []int)
Deprecated: Use Signature_Keyless.ProtoReflect.Descriptor instead.
func (*Signature_Keyless) GetGithub ¶
func (x *Signature_Keyless) GetGithub() *Signature_Keyless_Github
func (*Signature_Keyless) GetIssuer ¶
func (x *Signature_Keyless) GetIssuer() string
func (*Signature_Keyless) GetSubject ¶
func (x *Signature_Keyless) GetSubject() string
func (*Signature_Keyless) ProtoMessage ¶
func (*Signature_Keyless) ProtoMessage()
func (*Signature_Keyless) ProtoReflect ¶
func (x *Signature_Keyless) ProtoReflect() protoreflect.Message
func (*Signature_Keyless) Reset ¶
func (x *Signature_Keyless) Reset()
func (*Signature_Keyless) String ¶
func (x *Signature_Keyless) String() string
type Signature_Keyless_ ¶
type Signature_Keyless_ struct { // keyless is the kind of signature that is attached when a signature // was produced via a "keyless" flow. Keyless *Signature_Keyless `protobuf:"bytes,11,opt,name=keyless,proto3,oneof"` }
type Signature_Keyless_Github ¶
type Signature_Keyless_Github struct { // OID: 1.3.6.1.4.1.57264.1.2 WorkflowTrigger string `protobuf:"bytes,1,opt,name=workflow_trigger,json=workflowTrigger,proto3" json:"workflow_trigger,omitempty"` // OID: 1.3.6.1.4.1.57264.1.3 WorkflowSha string `protobuf:"bytes,2,opt,name=workflow_sha,json=workflowSha,proto3" json:"workflow_sha,omitempty"` // OID: 1.3.6.1.4.1.57264.1.4 WorkflowName string `protobuf:"bytes,3,opt,name=workflow_name,json=workflowName,proto3" json:"workflow_name,omitempty"` // OID: 1.3.6.1.4.1.57264.1.5 WorkflowRepo string `protobuf:"bytes,4,opt,name=workflow_repo,json=workflowRepo,proto3" json:"workflow_repo,omitempty"` // OID: 1.3.6.1.4.1.57264.1.6 WorkflowRef string `protobuf:"bytes,5,opt,name=workflow_ref,json=workflowRef,proto3" json:"workflow_ref,omitempty"` // contains filtered or unexported fields }
func (*Signature_Keyless_Github) Descriptor
deprecated
func (*Signature_Keyless_Github) Descriptor() ([]byte, []int)
Deprecated: Use Signature_Keyless_Github.ProtoReflect.Descriptor instead.
func (*Signature_Keyless_Github) GetWorkflowName ¶
func (x *Signature_Keyless_Github) GetWorkflowName() string
func (*Signature_Keyless_Github) GetWorkflowRef ¶
func (x *Signature_Keyless_Github) GetWorkflowRef() string
func (*Signature_Keyless_Github) GetWorkflowRepo ¶
func (x *Signature_Keyless_Github) GetWorkflowRepo() string
func (*Signature_Keyless_Github) GetWorkflowSha ¶
func (x *Signature_Keyless_Github) GetWorkflowSha() string
func (*Signature_Keyless_Github) GetWorkflowTrigger ¶
func (x *Signature_Keyless_Github) GetWorkflowTrigger() string
func (*Signature_Keyless_Github) ProtoMessage ¶
func (*Signature_Keyless_Github) ProtoMessage()
func (*Signature_Keyless_Github) ProtoReflect ¶
func (x *Signature_Keyless_Github) ProtoReflect() protoreflect.Message
func (*Signature_Keyless_Github) Reset ¶
func (x *Signature_Keyless_Github) Reset()
func (*Signature_Keyless_Github) String ¶
func (x *Signature_Keyless_Github) String() string
type Signature_None ¶
type SignaturesClient ¶
type SignaturesClient interface {
List(ctx context.Context, in *SignatureFilter, opts ...grpc.CallOption) (*SignatureList, error)
}
SignaturesClient is the client API for Signatures 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.
func NewSignaturesClient ¶
func NewSignaturesClient(cc grpc.ClientConnInterface) SignaturesClient
type SignaturesServer ¶
type SignaturesServer interface { List(context.Context, *SignatureFilter) (*SignatureList, error) // contains filtered or unexported methods }
SignaturesServer is the server API for Signatures service. All implementations must embed UnimplementedSignaturesServer for forward compatibility
type UnimplementedAttestationsServer ¶
type UnimplementedAttestationsServer struct { }
UnimplementedAttestationsServer must be embedded to have forward compatible implementations.
func (UnimplementedAttestationsServer) List ¶
func (UnimplementedAttestationsServer) List(context.Context, *AttestationFilter) (*AttestationList, error)
type UnimplementedClustersServer ¶
type UnimplementedClustersServer struct { }
UnimplementedClustersServer must be embedded to have forward compatible implementations.
func (UnimplementedClustersServer) CIDR ¶
func (UnimplementedClustersServer) CIDR(context.Context, *ClusterCIDRRequest) (*ClusterCIDRResponse, error)
func (UnimplementedClustersServer) Config ¶
func (UnimplementedClustersServer) Config(context.Context, *ClusterConfigRequest) (*ClusterConfigResponse, error)
func (UnimplementedClustersServer) Create ¶
func (UnimplementedClustersServer) Create(context.Context, *CreateClusterRequest) (*Cluster, error)
func (UnimplementedClustersServer) Delete ¶
func (UnimplementedClustersServer) Delete(context.Context, *DeleteClusterRequest) (*emptypb.Empty, error)
func (UnimplementedClustersServer) Discover ¶
func (UnimplementedClustersServer) Discover(context.Context, *ClusterDiscoveryRequest) (*ClusterDiscoveryResponse, error)
func (UnimplementedClustersServer) List ¶
func (UnimplementedClustersServer) List(context.Context, *ClusterFilter) (*ClusterList, error)
func (UnimplementedClustersServer) Profiles ¶
func (UnimplementedClustersServer) Profiles(context.Context, *ClusterProfilesRequest) (*ClusterProfilesResponse, error)
type UnimplementedNamespacesServer ¶
type UnimplementedNamespacesServer struct { }
UnimplementedNamespacesServer must be embedded to have forward compatible implementations.
func (UnimplementedNamespacesServer) List ¶
func (UnimplementedNamespacesServer) List(context.Context, *NamespaceFilter) (*NamespaceList, error)
type UnimplementedNodesServer ¶
type UnimplementedNodesServer struct { }
UnimplementedNodesServer must be embedded to have forward compatible implementations.
func (UnimplementedNodesServer) List ¶
func (UnimplementedNodesServer) List(context.Context, *NodeFilter) (*NodeList, error)
type UnimplementedPolicyResultsServer ¶
type UnimplementedPolicyResultsServer struct { }
UnimplementedPolicyResultsServer must be embedded to have forward compatible implementations.
func (UnimplementedPolicyResultsServer) List ¶
func (UnimplementedPolicyResultsServer) List(context.Context, *PolicyResultFilter) (*PolicyResultList, error)
type UnimplementedRecordContextsServer ¶
type UnimplementedRecordContextsServer struct { }
UnimplementedRecordContextsServer must be embedded to have forward compatible implementations.
func (UnimplementedRecordContextsServer) List ¶
func (UnimplementedRecordContextsServer) List(context.Context, *RecordContextFilter) (*RecordContextList, error)
type UnimplementedRecordsServer ¶
type UnimplementedRecordsServer struct { }
UnimplementedRecordsServer must be embedded to have forward compatible implementations.
func (UnimplementedRecordsServer) List ¶
func (UnimplementedRecordsServer) List(context.Context, *RecordFilter) (*RecordList, error)
type UnimplementedRisksServer ¶
type UnimplementedRisksServer struct { }
UnimplementedRisksServer must be embedded to have forward compatible implementations.
func (UnimplementedRisksServer) List ¶
func (UnimplementedRisksServer) List(context.Context, *RiskFilter) (*RiskList, error)
type UnimplementedSbomsServer ¶
type UnimplementedSbomsServer struct { }
UnimplementedSbomsServer must be embedded to have forward compatible implementations.
func (UnimplementedSbomsServer) List ¶
func (UnimplementedSbomsServer) List(context.Context, *Sbom2Filter) (*Sbom2List, error)
type UnimplementedSignaturesServer ¶
type UnimplementedSignaturesServer struct { }
UnimplementedSignaturesServer must be embedded to have forward compatible implementations.
func (UnimplementedSignaturesServer) List ¶
func (UnimplementedSignaturesServer) List(context.Context, *SignatureFilter) (*SignatureList, error)
type UnimplementedVulnReportsServer ¶
type UnimplementedVulnReportsServer struct { }
UnimplementedVulnReportsServer must be embedded to have forward compatible implementations.
func (UnimplementedVulnReportsServer) List ¶
func (UnimplementedVulnReportsServer) List(context.Context, *VulnReportFilter) (*VulnReportList, error)
type UnimplementedWorkloadsServer ¶
type UnimplementedWorkloadsServer struct { }
UnimplementedWorkloadsServer must be embedded to have forward compatible implementations.
func (UnimplementedWorkloadsServer) List ¶
func (UnimplementedWorkloadsServer) List(context.Context, *WorkloadFilter) (*WorkloadList, error)
type UnsafeAttestationsServer ¶
type UnsafeAttestationsServer interface {
// contains filtered or unexported methods
}
UnsafeAttestationsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AttestationsServer will result in compilation errors.
type UnsafeClustersServer ¶
type UnsafeClustersServer interface {
// contains filtered or unexported methods
}
UnsafeClustersServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ClustersServer will result in compilation errors.
type UnsafeNamespacesServer ¶
type UnsafeNamespacesServer interface {
// contains filtered or unexported methods
}
UnsafeNamespacesServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NamespacesServer will result in compilation errors.
type UnsafeNodesServer ¶
type UnsafeNodesServer interface {
// contains filtered or unexported methods
}
UnsafeNodesServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NodesServer will result in compilation errors.
type UnsafePolicyResultsServer ¶
type UnsafePolicyResultsServer interface {
// contains filtered or unexported methods
}
UnsafePolicyResultsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PolicyResultsServer will result in compilation errors.
type UnsafeRecordContextsServer ¶
type UnsafeRecordContextsServer interface {
// contains filtered or unexported methods
}
UnsafeRecordContextsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RecordContextsServer will result in compilation errors.
type UnsafeRecordsServer ¶
type UnsafeRecordsServer interface {
// contains filtered or unexported methods
}
UnsafeRecordsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RecordsServer will result in compilation errors.
type UnsafeRisksServer ¶
type UnsafeRisksServer interface {
// contains filtered or unexported methods
}
UnsafeRisksServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RisksServer will result in compilation errors.
type UnsafeSbomsServer ¶
type UnsafeSbomsServer interface {
// contains filtered or unexported methods
}
UnsafeSbomsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SbomsServer will result in compilation errors.
type UnsafeSignaturesServer ¶
type UnsafeSignaturesServer interface {
// contains filtered or unexported methods
}
UnsafeSignaturesServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SignaturesServer will result in compilation errors.
type UnsafeVulnReportsServer ¶
type UnsafeVulnReportsServer interface {
// contains filtered or unexported methods
}
UnsafeVulnReportsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to VulnReportsServer will result in compilation errors.
type UnsafeWorkloadsServer ¶
type UnsafeWorkloadsServer interface {
// contains filtered or unexported methods
}
UnsafeWorkloadsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WorkloadsServer will result in compilation errors.
type VulnReport ¶
type VulnReport struct { // id, The VulnReport UIDP at which this VulnReport resides. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // vulnerability_db_last_build_time holds the time when the vulnerability database was built last time. VulnerabilityDbLastBuildTime *timestamppb.Timestamp `` /* 151-byte string literal not displayed */ // Report's list of vulnerability matches(s). VulnerabilityMatches []*VulnerabilityMatch `protobuf:"bytes,3,rep,name=vulnerability_matches,json=vulnerabilityMatches,proto3" json:"vulnerability_matches,omitempty"` // scanner contains some information about the scanner used to generate the report. Scanner *VulnReport_Scanner `protobuf:"bytes,4,opt,name=scanner,proto3" json:"scanner,omitempty"` // report_generation tracks the timestamp at which this report was generated. ReportGeneration *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=report_generation,json=reportGeneration,proto3" json:"report_generation,omitempty"` // raw_vuln_report may or may not be useful in the long term, but for now to make // progress on this, we'll just yolo and serialize it here. RawVulnReport []byte `protobuf:"bytes,6,opt,name=raw_vuln_report,json=rawVulnReport,proto3" json:"raw_vuln_report,omitempty"` // last_seen tracks the timestamp at which this vuln report was last seen. LastSeen *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=last_seen,json=lastSeen,proto3" json:"last_seen,omitempty"` // contains filtered or unexported fields }
func (*VulnReport) Descriptor
deprecated
func (*VulnReport) Descriptor() ([]byte, []int)
Deprecated: Use VulnReport.ProtoReflect.Descriptor instead.
func (*VulnReport) GetId ¶
func (x *VulnReport) GetId() string
func (*VulnReport) GetLastSeen ¶
func (x *VulnReport) GetLastSeen() *timestamppb.Timestamp
func (*VulnReport) GetRawVulnReport ¶
func (x *VulnReport) GetRawVulnReport() []byte
func (*VulnReport) GetReportGeneration ¶
func (x *VulnReport) GetReportGeneration() *timestamppb.Timestamp
func (*VulnReport) GetScanner ¶
func (x *VulnReport) GetScanner() *VulnReport_Scanner
func (*VulnReport) GetVulnerabilityDbLastBuildTime ¶
func (x *VulnReport) GetVulnerabilityDbLastBuildTime() *timestamppb.Timestamp
func (*VulnReport) GetVulnerabilityMatches ¶
func (x *VulnReport) GetVulnerabilityMatches() []*VulnerabilityMatch
func (*VulnReport) ProtoMessage ¶
func (*VulnReport) ProtoMessage()
func (*VulnReport) ProtoReflect ¶
func (x *VulnReport) ProtoReflect() protoreflect.Message
func (*VulnReport) Reset ¶
func (x *VulnReport) Reset()
func (*VulnReport) String ¶
func (x *VulnReport) String() string
type VulnReportFilter ¶
type VulnReportFilter struct { // id is the exact UID of the record. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Uidp *v1.UIDPFilter `protobuf:"bytes,2,opt,name=uidp,proto3" json:"uidp,omitempty"` // active_since is the timestamp after which the records should // have last been observed in the returned context. ActiveSince *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=active_since,json=activeSince,proto3" json:"active_since,omitempty"` // include_raw_vuln_report is a flag to return a list of reports containing the raw report. IncludeRawVulnReport bool `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*VulnReportFilter) Descriptor
deprecated
func (*VulnReportFilter) Descriptor() ([]byte, []int)
Deprecated: Use VulnReportFilter.ProtoReflect.Descriptor instead.
func (*VulnReportFilter) GetActiveSince ¶
func (x *VulnReportFilter) GetActiveSince() *timestamppb.Timestamp
func (*VulnReportFilter) GetId ¶
func (x *VulnReportFilter) GetId() string
func (*VulnReportFilter) GetIncludeRawVulnReport ¶
func (x *VulnReportFilter) GetIncludeRawVulnReport() bool
func (*VulnReportFilter) GetUidp ¶
func (x *VulnReportFilter) GetUidp() *v1.UIDPFilter
func (*VulnReportFilter) ProtoMessage ¶
func (*VulnReportFilter) ProtoMessage()
func (*VulnReportFilter) ProtoReflect ¶
func (x *VulnReportFilter) ProtoReflect() protoreflect.Message
func (*VulnReportFilter) Reset ¶
func (x *VulnReportFilter) Reset()
func (*VulnReportFilter) String ¶
func (x *VulnReportFilter) String() string
type VulnReportList ¶
type VulnReportList struct { Items []*VulnReport `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*VulnReportList) Descriptor
deprecated
func (*VulnReportList) Descriptor() ([]byte, []int)
Deprecated: Use VulnReportList.ProtoReflect.Descriptor instead.
func (*VulnReportList) GetItems ¶
func (x *VulnReportList) GetItems() []*VulnReport
func (*VulnReportList) ProtoMessage ¶
func (*VulnReportList) ProtoMessage()
func (*VulnReportList) ProtoReflect ¶
func (x *VulnReportList) ProtoReflect() protoreflect.Message
func (*VulnReportList) Reset ¶
func (x *VulnReportList) Reset()
func (*VulnReportList) String ¶
func (x *VulnReportList) String() string
type VulnReport_Scanner ¶
type VulnReport_Scanner struct { // name contains the vendor name of the scanner. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // version holds the version of the used scanner to generate the report. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*VulnReport_Scanner) Descriptor
deprecated
func (*VulnReport_Scanner) Descriptor() ([]byte, []int)
Deprecated: Use VulnReport_Scanner.ProtoReflect.Descriptor instead.
func (*VulnReport_Scanner) GetName ¶
func (x *VulnReport_Scanner) GetName() string
func (*VulnReport_Scanner) GetVersion ¶
func (x *VulnReport_Scanner) GetVersion() string
func (*VulnReport_Scanner) ProtoMessage ¶
func (*VulnReport_Scanner) ProtoMessage()
func (*VulnReport_Scanner) ProtoReflect ¶
func (x *VulnReport_Scanner) ProtoReflect() protoreflect.Message
func (*VulnReport_Scanner) Reset ¶
func (x *VulnReport_Scanner) Reset()
func (*VulnReport_Scanner) String ¶
func (x *VulnReport_Scanner) String() string
type VulnReportsClient ¶
type VulnReportsClient interface {
List(ctx context.Context, in *VulnReportFilter, opts ...grpc.CallOption) (*VulnReportList, error)
}
VulnReportsClient is the client API for VulnReports 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.
func NewVulnReportsClient ¶
func NewVulnReportsClient(cc grpc.ClientConnInterface) VulnReportsClient
type VulnReportsServer ¶
type VulnReportsServer interface { List(context.Context, *VulnReportFilter) (*VulnReportList, error) // contains filtered or unexported methods }
VulnReportsServer is the server API for VulnReports service. All implementations must embed UnimplementedVulnReportsServer for forward compatibility
type VulnerabilityMatch ¶
type VulnerabilityMatch struct { // Vulnerability holds information about the found vulnerability. Vulnerability *VulnerabilityRecord `protobuf:"bytes,1,opt,name=vulnerability,proto3" json:"vulnerability,omitempty"` // Package affected by this vulnerability. Pkg *Package2 `protobuf:"bytes,2,opt,name=pkg,proto3" json:"pkg,omitempty"` // Fix related data about this vulnerability. Fix *Fix `protobuf:"bytes,3,opt,name=fix,proto3,oneof" json:"fix,omitempty"` // contains filtered or unexported fields }
func (*VulnerabilityMatch) Descriptor
deprecated
func (*VulnerabilityMatch) Descriptor() ([]byte, []int)
Deprecated: Use VulnerabilityMatch.ProtoReflect.Descriptor instead.
func (*VulnerabilityMatch) GetFix ¶
func (x *VulnerabilityMatch) GetFix() *Fix
func (*VulnerabilityMatch) GetPkg ¶
func (x *VulnerabilityMatch) GetPkg() *Package2
func (*VulnerabilityMatch) GetVulnerability ¶
func (x *VulnerabilityMatch) GetVulnerability() *VulnerabilityRecord
func (*VulnerabilityMatch) ProtoMessage ¶
func (*VulnerabilityMatch) ProtoMessage()
func (*VulnerabilityMatch) ProtoReflect ¶
func (x *VulnerabilityMatch) ProtoReflect() protoreflect.Message
func (*VulnerabilityMatch) Reset ¶
func (x *VulnerabilityMatch) Reset()
func (*VulnerabilityMatch) String ¶
func (x *VulnerabilityMatch) String() string
type VulnerabilityRecord ¶
type VulnerabilityRecord struct { // id of the vulnerability e.g. CVE_1231-12. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // a short description of this vulnerability. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // severity is the value representing the severity of the vulnerability Severity VulnerabilityRecord_Severity `` /* 131-byte string literal not displayed */ // source from where the vulnerability information was obtained, e.g. nvd, github, osv. Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"` // List of cvss information about the exploitability of the vulnerability. Cvss []*VulnerabilityRecord_Cvss `protobuf:"bytes,5,rep,name=cvss,proto3" json:"cvss,omitempty"` // List of cpe_uri on which the vulnerability was found. CpeUri []string `protobuf:"bytes,6,rep,name=cpe_uri,json=cpeUri,proto3" json:"cpe_uri,omitempty"` // URLs related to this vulnerability. RelatedUrls []string `protobuf:"bytes,7,rep,name=related_urls,json=relatedUrls,proto3" json:"related_urls,omitempty"` // advisories related to this vulnerability. Advisories map[string]string `` /* 161-byte string literal not displayed */ // related vulnerabilities to the main vulnerability reported here. RelatedVulnerabilities []*VulnerabilityRecord_RelatedVulnerability `` /* 127-byte string literal not displayed */ // display_id is the normalized value of the vulnerability ID often defined by a CVE-ID. DisplayId string `protobuf:"bytes,10,opt,name=display_id,json=displayId,proto3" json:"display_id,omitempty"` // contains filtered or unexported fields }
func (*VulnerabilityRecord) Descriptor
deprecated
func (*VulnerabilityRecord) Descriptor() ([]byte, []int)
Deprecated: Use VulnerabilityRecord.ProtoReflect.Descriptor instead.
func (*VulnerabilityRecord) GetAdvisories ¶
func (x *VulnerabilityRecord) GetAdvisories() map[string]string
func (*VulnerabilityRecord) GetCpeUri ¶
func (x *VulnerabilityRecord) GetCpeUri() []string
func (*VulnerabilityRecord) GetCvss ¶
func (x *VulnerabilityRecord) GetCvss() []*VulnerabilityRecord_Cvss
func (*VulnerabilityRecord) GetDescription ¶
func (x *VulnerabilityRecord) GetDescription() string
func (*VulnerabilityRecord) GetDisplayId ¶
func (x *VulnerabilityRecord) GetDisplayId() string
func (*VulnerabilityRecord) GetId ¶
func (x *VulnerabilityRecord) GetId() string
func (*VulnerabilityRecord) GetRelatedUrls ¶
func (x *VulnerabilityRecord) GetRelatedUrls() []string
func (*VulnerabilityRecord) GetRelatedVulnerabilities ¶
func (x *VulnerabilityRecord) GetRelatedVulnerabilities() []*VulnerabilityRecord_RelatedVulnerability
func (*VulnerabilityRecord) GetSeverity ¶
func (x *VulnerabilityRecord) GetSeverity() VulnerabilityRecord_Severity
func (*VulnerabilityRecord) GetSource ¶
func (x *VulnerabilityRecord) GetSource() string
func (*VulnerabilityRecord) ProtoMessage ¶
func (*VulnerabilityRecord) ProtoMessage()
func (*VulnerabilityRecord) ProtoReflect ¶
func (x *VulnerabilityRecord) ProtoReflect() protoreflect.Message
func (*VulnerabilityRecord) Reset ¶
func (x *VulnerabilityRecord) Reset()
func (*VulnerabilityRecord) String ¶
func (x *VulnerabilityRecord) String() string
type VulnerabilityRecord_Cvss ¶
type VulnerabilityRecord_Cvss struct { // CVSS score is on a scale of 0 - 10 where 0 indicates low severity and 10 indicates high severity. Score string `protobuf:"bytes,1,opt,name=score,proto3" json:"score,omitempty"` // CVSS version used to populate score and severity. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*VulnerabilityRecord_Cvss) Descriptor
deprecated
func (*VulnerabilityRecord_Cvss) Descriptor() ([]byte, []int)
Deprecated: Use VulnerabilityRecord_Cvss.ProtoReflect.Descriptor instead.
func (*VulnerabilityRecord_Cvss) GetScore ¶
func (x *VulnerabilityRecord_Cvss) GetScore() string
func (*VulnerabilityRecord_Cvss) GetVersion ¶
func (x *VulnerabilityRecord_Cvss) GetVersion() string
func (*VulnerabilityRecord_Cvss) ProtoMessage ¶
func (*VulnerabilityRecord_Cvss) ProtoMessage()
func (*VulnerabilityRecord_Cvss) ProtoReflect ¶
func (x *VulnerabilityRecord_Cvss) ProtoReflect() protoreflect.Message
func (*VulnerabilityRecord_Cvss) Reset ¶
func (x *VulnerabilityRecord_Cvss) Reset()
func (*VulnerabilityRecord_Cvss) String ¶
func (x *VulnerabilityRecord_Cvss) String() string
type VulnerabilityRecord_RelatedVulnerability ¶
type VulnerabilityRecord_RelatedVulnerability struct { // ID of the vulnerability. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Source from where the vulnerability information was obtained, e.g. nvd, github, osv. Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` // contains filtered or unexported fields }
func (*VulnerabilityRecord_RelatedVulnerability) Descriptor
deprecated
func (*VulnerabilityRecord_RelatedVulnerability) Descriptor() ([]byte, []int)
Deprecated: Use VulnerabilityRecord_RelatedVulnerability.ProtoReflect.Descriptor instead.
func (*VulnerabilityRecord_RelatedVulnerability) GetId ¶
func (x *VulnerabilityRecord_RelatedVulnerability) GetId() string
func (*VulnerabilityRecord_RelatedVulnerability) GetSource ¶
func (x *VulnerabilityRecord_RelatedVulnerability) GetSource() string
func (*VulnerabilityRecord_RelatedVulnerability) ProtoMessage ¶
func (*VulnerabilityRecord_RelatedVulnerability) ProtoMessage()
func (*VulnerabilityRecord_RelatedVulnerability) ProtoReflect ¶
func (x *VulnerabilityRecord_RelatedVulnerability) ProtoReflect() protoreflect.Message
func (*VulnerabilityRecord_RelatedVulnerability) Reset ¶
func (x *VulnerabilityRecord_RelatedVulnerability) Reset()
func (*VulnerabilityRecord_RelatedVulnerability) String ¶
func (x *VulnerabilityRecord_RelatedVulnerability) String() string
type VulnerabilityRecord_Severity ¶
type VulnerabilityRecord_Severity int32
const ( VulnerabilityRecord_UNKNOWN VulnerabilityRecord_Severity = 0 VulnerabilityRecord_LOW VulnerabilityRecord_Severity = 1 VulnerabilityRecord_MEDIUM VulnerabilityRecord_Severity = 2 VulnerabilityRecord_HIGH VulnerabilityRecord_Severity = 3 VulnerabilityRecord_CRITICAL VulnerabilityRecord_Severity = 4 )
func (VulnerabilityRecord_Severity) Descriptor ¶
func (VulnerabilityRecord_Severity) Descriptor() protoreflect.EnumDescriptor
func (VulnerabilityRecord_Severity) Enum ¶
func (x VulnerabilityRecord_Severity) Enum() *VulnerabilityRecord_Severity
func (VulnerabilityRecord_Severity) EnumDescriptor
deprecated
func (VulnerabilityRecord_Severity) EnumDescriptor() ([]byte, []int)
Deprecated: Use VulnerabilityRecord_Severity.Descriptor instead.
func (VulnerabilityRecord_Severity) Number ¶
func (x VulnerabilityRecord_Severity) Number() protoreflect.EnumNumber
func (VulnerabilityRecord_Severity) String ¶
func (x VulnerabilityRecord_Severity) String() string
func (VulnerabilityRecord_Severity) Type ¶
func (VulnerabilityRecord_Severity) Type() protoreflect.EnumType
type Workload ¶
type Workload struct { // id, The Workload UIDP at which this Workload resides. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // name of the Workload. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // a short description of this Workload. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // remote_id is the remote ID of this Workload. RemoteId string `protobuf:"bytes,4,opt,name=remote_id,json=remoteId,proto3" json:"remote_id,omitempty"` Labels string `protobuf:"bytes,5,opt,name=labels,proto3" json:"labels,omitempty"` ApiVersion string `protobuf:"bytes,6,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` Kind string `protobuf:"bytes,7,opt,name=kind,proto3" json:"kind,omitempty"` // last_seen tracks the timestamp at which this workload was last seen. LastSeen *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=last_seen,json=lastSeen,proto3" json:"last_seen,omitempty"` // owner_id is the remote_id of the Workload that is referenced via a // "controller" owner reference by this workload. OwnerId string `protobuf:"bytes,9,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // contains filtered or unexported fields }
func (*Workload) Descriptor
deprecated
func (*Workload) GetApiVersion ¶
func (*Workload) GetDescription ¶
func (*Workload) GetLastSeen ¶
func (x *Workload) GetLastSeen() *timestamppb.Timestamp
func (*Workload) GetOwnerId ¶
func (*Workload) GetRemoteId ¶
func (*Workload) ProtoMessage ¶
func (*Workload) ProtoMessage()
func (*Workload) ProtoReflect ¶
func (x *Workload) ProtoReflect() protoreflect.Message
type WorkloadFilter ¶
type WorkloadFilter struct { // remote_id is the remote ID of this Workload. RemoteId string `protobuf:"bytes,2,opt,name=remote_id,json=remoteId,proto3" json:"remote_id,omitempty"` // active_since is the timestamp after which returned workloads // should have been active (last seen). ActiveSince *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=active_since,json=activeSince,proto3" json:"active_since,omitempty"` // name filters on the resource name. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // Return only the workloads owned by a particular remote_id. OwnerId string `protobuf:"bytes,5,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` Uidp *v1.UIDPFilter `protobuf:"bytes,100,opt,name=uidp,proto3" json:"uidp,omitempty"` // contains filtered or unexported fields }
func (*WorkloadFilter) Descriptor
deprecated
func (*WorkloadFilter) Descriptor() ([]byte, []int)
Deprecated: Use WorkloadFilter.ProtoReflect.Descriptor instead.
func (*WorkloadFilter) GetActiveSince ¶
func (x *WorkloadFilter) GetActiveSince() *timestamppb.Timestamp
func (*WorkloadFilter) GetName ¶
func (x *WorkloadFilter) GetName() string
func (*WorkloadFilter) GetOwnerId ¶
func (x *WorkloadFilter) GetOwnerId() string
func (*WorkloadFilter) GetRemoteId ¶
func (x *WorkloadFilter) GetRemoteId() string
func (*WorkloadFilter) GetUidp ¶
func (x *WorkloadFilter) GetUidp() *v1.UIDPFilter
func (*WorkloadFilter) ProtoMessage ¶
func (*WorkloadFilter) ProtoMessage()
func (*WorkloadFilter) ProtoReflect ¶
func (x *WorkloadFilter) ProtoReflect() protoreflect.Message
func (*WorkloadFilter) Reset ¶
func (x *WorkloadFilter) Reset()
func (*WorkloadFilter) String ¶
func (x *WorkloadFilter) String() string
type WorkloadList ¶
type WorkloadList struct { Items []*Workload `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*WorkloadList) Descriptor
deprecated
func (*WorkloadList) Descriptor() ([]byte, []int)
Deprecated: Use WorkloadList.ProtoReflect.Descriptor instead.
func (*WorkloadList) GetItems ¶
func (x *WorkloadList) GetItems() []*Workload
func (*WorkloadList) ProtoMessage ¶
func (*WorkloadList) ProtoMessage()
func (*WorkloadList) ProtoReflect ¶
func (x *WorkloadList) ProtoReflect() protoreflect.Message
func (*WorkloadList) Reset ¶
func (x *WorkloadList) Reset()
func (*WorkloadList) String ¶
func (x *WorkloadList) String() string
type WorkloadsClient ¶
type WorkloadsClient interface {
List(ctx context.Context, in *WorkloadFilter, opts ...grpc.CallOption) (*WorkloadList, error)
}
WorkloadsClient is the client API for Workloads 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.
func NewWorkloadsClient ¶
func NewWorkloadsClient(cc grpc.ClientConnInterface) WorkloadsClient
type WorkloadsServer ¶
type WorkloadsServer interface { List(context.Context, *WorkloadFilter) (*WorkloadList, error) // contains filtered or unexported methods }
WorkloadsServer is the server API for Workloads service. All implementations must embed UnimplementedWorkloadsServer for forward compatibility
Source Files ¶
- attestation.platform.pb.go
- attestation.platform.pb.gw.go
- attestation.platform_grpc.pb.go
- clients.go
- cluster.platform.event.go
- cluster.platform.pb.go
- cluster.platform.pb.gw.go
- cluster.platform_grpc.pb.go
- context.platform.pb.go
- context.platform_grpc.pb.go
- doc.go
- namespace.platform.pb.go
- namespace.platform_grpc.pb.go
- node.platform.pb.go
- node.platform_grpc.pb.go
- policy_results.platform.pb.go
- policy_results.platform.pb.gw.go
- policy_results.platform_grpc.pb.go
- record.platform.pb.go
- record.platform.pb.gw.go
- record.platform_grpc.pb.go
- risk.platform.pb.go
- risk.platform.pb.gw.go
- risk.platform_grpc.pb.go
- sbom.platform.pb.go
- sbom.platform.pb.gw.go
- sbom.platform_grpc.pb.go
- signature.platform.pb.go
- signature.platform_grpc.pb.go
- vuln.platform.pb.go
- vuln.platform.pb.gw.go
- vuln.platform_grpc.pb.go
- workload.platform.pb.go
- workload.platform_grpc.pb.go