Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterApiHelperServer(s grpc.ServiceRegistrar, srv ApiHelperServer)
- func RegisterRunnerServer(s grpc.ServiceRegistrar, srv RunnerServer)
- type Activity
- func (*Activity) Descriptor() ([]byte, []int)deprecated
- func (x *Activity) GetDescription() string
- func (x *Activity) GetLinks() []*Link
- func (x *Activity) GetProps() []*Property
- func (x *Activity) GetRemarks() string
- func (x *Activity) GetSteps() []*Step
- func (x *Activity) GetTitle() string
- func (x *Activity) GetUUID() string
- func (*Activity) ProtoMessage()
- func (x *Activity) ProtoReflect() protoreflect.Message
- func (x *Activity) Reset()
- func (x *Activity) String() string
- type ApiHelperClient
- type ApiHelperServer
- type Component
- func (*Component) Descriptor() ([]byte, []int)deprecated
- func (x *Component) GetDescription() string
- func (x *Component) GetIdentifier() string
- func (x *Component) GetLinks() []*Link
- func (x *Component) GetProps() []*Property
- func (x *Component) GetProtocols() []*Protocol
- func (x *Component) GetPurpose() string
- func (x *Component) GetRemarks() string
- func (x *Component) GetTitle() string
- func (x *Component) GetType() string
- func (*Component) ProtoMessage()
- func (x *Component) ProtoReflect() protoreflect.Message
- func (x *Component) Reset()
- func (x *Component) String() string
- type ConfigureRequest
- func (*ConfigureRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigureRequest) GetConfig() map[string]string
- func (*ConfigureRequest) ProtoMessage()
- func (x *ConfigureRequest) ProtoReflect() protoreflect.Message
- func (x *ConfigureRequest) Reset()
- func (x *ConfigureRequest) String() string
- type ConfigureResponse
- type CreateEvidenceRequest
- func (*CreateEvidenceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateEvidenceRequest) GetEvidence() []*Evidence
- func (*CreateEvidenceRequest) ProtoMessage()
- func (x *CreateEvidenceRequest) ProtoReflect() protoreflect.Message
- func (x *CreateEvidenceRequest) Reset()
- func (x *CreateEvidenceRequest) String() string
- type CreateEvidenceResponse
- type EvalRequest
- func (*EvalRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EvalRequest) GetApiServer() uint32
- func (x *EvalRequest) GetPolicyPaths() []string
- func (*EvalRequest) ProtoMessage()
- func (x *EvalRequest) ProtoReflect() protoreflect.Message
- func (x *EvalRequest) Reset()
- func (x *EvalRequest) String() string
- type EvalResponse
- type Evidence
- func (*Evidence) Descriptor() ([]byte, []int)deprecated
- func (x *Evidence) GetActivities() []*Activity
- func (x *Evidence) GetComponents() []*Component
- func (x *Evidence) GetDescription() string
- func (x *Evidence) GetEnd() *timestamppb.Timestamp
- func (x *Evidence) GetExpires() *timestamppb.Timestamp
- func (x *Evidence) GetInventoryItems() []*InventoryItem
- func (x *Evidence) GetLabels() map[string]string
- func (x *Evidence) GetLinks() []*Link
- func (x *Evidence) GetOrigins() []*Origin
- func (x *Evidence) GetProps() []*Property
- func (x *Evidence) GetRemarks() string
- func (x *Evidence) GetStart() *timestamppb.Timestamp
- func (x *Evidence) GetStatus() *EvidenceStatus
- func (x *Evidence) GetSubjects() []*Subject
- func (x *Evidence) GetTitle() string
- func (x *Evidence) GetUUID() string
- func (*Evidence) ProtoMessage()
- func (x *Evidence) ProtoReflect() protoreflect.Message
- func (x *Evidence) Reset()
- func (x *Evidence) String() string
- type EvidenceStatus
- func (*EvidenceStatus) Descriptor() ([]byte, []int)deprecated
- func (x *EvidenceStatus) GetReason() string
- func (x *EvidenceStatus) GetRemarks() string
- func (x *EvidenceStatus) GetState() EvidenceStatusState
- func (*EvidenceStatus) ProtoMessage()
- func (x *EvidenceStatus) ProtoReflect() protoreflect.Message
- func (x *EvidenceStatus) Reset()
- func (x *EvidenceStatus) String() string
- type EvidenceStatusState
- func (EvidenceStatusState) Descriptor() protoreflect.EnumDescriptor
- func (x EvidenceStatusState) Enum() *EvidenceStatusState
- func (EvidenceStatusState) EnumDescriptor() ([]byte, []int)deprecated
- func (x EvidenceStatusState) Number() protoreflect.EnumNumber
- func (x EvidenceStatusState) String() string
- func (EvidenceStatusState) Type() protoreflect.EnumType
- type ExecutionStatus
- func (ExecutionStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ExecutionStatus) Enum() *ExecutionStatus
- func (ExecutionStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ExecutionStatus) Number() protoreflect.EnumNumber
- func (x ExecutionStatus) String() string
- func (ExecutionStatus) Type() protoreflect.EnumType
- type InitRequest
- func (*InitRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InitRequest) GetApiServer() uint32
- func (x *InitRequest) GetPolicyPaths() []string
- func (*InitRequest) ProtoMessage()
- func (x *InitRequest) ProtoReflect() protoreflect.Message
- func (x *InitRequest) Reset()
- func (x *InitRequest) String() string
- type InitResponse
- type InventoryItem
- func (*InventoryItem) Descriptor() ([]byte, []int)deprecated
- func (x *InventoryItem) GetDescription() string
- func (x *InventoryItem) GetIdentifier() string
- func (x *InventoryItem) GetImplementedComponents() []*InventoryItemImplementedComponent
- func (x *InventoryItem) GetLinks() []*Link
- func (x *InventoryItem) GetProps() []*Property
- func (x *InventoryItem) GetRemarks() string
- func (x *InventoryItem) GetTitle() string
- func (x *InventoryItem) GetType() string
- func (*InventoryItem) ProtoMessage()
- func (x *InventoryItem) ProtoReflect() protoreflect.Message
- func (x *InventoryItem) Reset()
- func (x *InventoryItem) String() string
- type InventoryItemImplementedComponent
- func (*InventoryItemImplementedComponent) Descriptor() ([]byte, []int)deprecated
- func (x *InventoryItemImplementedComponent) GetIdentifier() string
- func (*InventoryItemImplementedComponent) ProtoMessage()
- func (x *InventoryItemImplementedComponent) ProtoReflect() protoreflect.Message
- func (x *InventoryItemImplementedComponent) Reset()
- func (x *InventoryItemImplementedComponent) String() string
- type Link
- func (*Link) Descriptor() ([]byte, []int)deprecated
- func (x *Link) GetHref() string
- func (x *Link) GetMediaType() string
- func (x *Link) GetRel() string
- func (x *Link) GetResourceFragment() string
- func (x *Link) GetText() string
- func (*Link) ProtoMessage()
- func (x *Link) ProtoReflect() protoreflect.Message
- func (x *Link) Reset()
- func (x *Link) String() string
- type Origin
- type OriginActor
- func (*OriginActor) Descriptor() ([]byte, []int)deprecated
- func (x *OriginActor) GetLinks() []*Link
- func (x *OriginActor) GetProps() []*Property
- func (x *OriginActor) GetRoleId() string
- func (x *OriginActor) GetTitle() string
- func (x *OriginActor) GetType() string
- func (x *OriginActor) GetUUID() string
- func (*OriginActor) ProtoMessage()
- func (x *OriginActor) ProtoReflect() protoreflect.Message
- func (x *OriginActor) Reset()
- func (x *OriginActor) String() string
- type PortRange
- func (*PortRange) Descriptor() ([]byte, []int)deprecated
- func (x *PortRange) GetEnd() int32
- func (x *PortRange) GetStart() int32
- func (x *PortRange) GetTransport() string
- func (*PortRange) ProtoMessage()
- func (x *PortRange) ProtoReflect() protoreflect.Message
- func (x *PortRange) Reset()
- func (x *PortRange) String() string
- type Property
- func (*Property) Descriptor() ([]byte, []int)deprecated
- func (x *Property) GetClass() string
- func (x *Property) GetGroup() string
- func (x *Property) GetName() string
- func (x *Property) GetNs() string
- func (x *Property) GetRemarks() string
- func (x *Property) GetUuid() string
- func (x *Property) GetValue() string
- func (*Property) ProtoMessage()
- func (x *Property) ProtoReflect() protoreflect.Message
- func (x *Property) Reset()
- func (x *Property) String() string
- type Protocol
- func (*Protocol) Descriptor() ([]byte, []int)deprecated
- func (x *Protocol) GetName() string
- func (x *Protocol) GetPortRanges() []*PortRange
- func (x *Protocol) GetTitle() string
- func (x *Protocol) GetUUID() string
- func (*Protocol) ProtoMessage()
- func (x *Protocol) ProtoReflect() protoreflect.Message
- func (x *Protocol) Reset()
- func (x *Protocol) String() string
- type Remediation
- func (*Remediation) Descriptor() ([]byte, []int)deprecated
- func (x *Remediation) GetDescription() string
- func (x *Remediation) GetTasks() []*RemediationTask
- func (x *Remediation) GetTitle() string
- func (*Remediation) ProtoMessage()
- func (x *Remediation) ProtoReflect() protoreflect.Message
- func (x *Remediation) Reset()
- func (x *Remediation) String() string
- type RemediationTask
- func (*RemediationTask) Descriptor() ([]byte, []int)deprecated
- func (x *RemediationTask) GetOrderIndex() int32
- func (x *RemediationTask) GetTitle() string
- func (*RemediationTask) ProtoMessage()
- func (x *RemediationTask) ProtoReflect() protoreflect.Message
- func (x *RemediationTask) Reset()
- func (x *RemediationTask) String() string
- type RiskTemplate
- func (*RiskTemplate) Descriptor() ([]byte, []int)deprecated
- func (x *RiskTemplate) GetDedupeLabelKeys() []string
- func (x *RiskTemplate) GetImpactHint() string
- func (x *RiskTemplate) GetLabelSchema() []*RiskTemplateLabelSchema
- func (x *RiskTemplate) GetLikelihoodHint() string
- func (x *RiskTemplate) GetName() string
- func (x *RiskTemplate) GetPolicyPackage() string
- func (x *RiskTemplate) GetRemediation() *Remediation
- func (x *RiskTemplate) GetStatement() string
- func (x *RiskTemplate) GetThreatRefs() []*ThreatRef
- func (x *RiskTemplate) GetTitle() string
- func (x *RiskTemplate) GetUUID() string
- func (x *RiskTemplate) GetViolationIds() []string
- func (*RiskTemplate) ProtoMessage()
- func (x *RiskTemplate) ProtoReflect() protoreflect.Message
- func (x *RiskTemplate) Reset()
- func (x *RiskTemplate) String() string
- type RiskTemplateLabelSchema
- func (*RiskTemplateLabelSchema) Descriptor() ([]byte, []int)deprecated
- func (x *RiskTemplateLabelSchema) GetDescription() string
- func (x *RiskTemplateLabelSchema) GetKey() string
- func (*RiskTemplateLabelSchema) ProtoMessage()
- func (x *RiskTemplateLabelSchema) ProtoReflect() protoreflect.Message
- func (x *RiskTemplateLabelSchema) Reset()
- func (x *RiskTemplateLabelSchema) String() string
- type RunnerClient
- type RunnerServer
- type Step
- func (*Step) Descriptor() ([]byte, []int)deprecated
- func (x *Step) GetDescription() string
- func (x *Step) GetLinks() []*Link
- func (x *Step) GetProps() []*Property
- func (x *Step) GetRemarks() string
- func (x *Step) GetTitle() string
- func (x *Step) GetUUID() string
- func (*Step) ProtoMessage()
- func (x *Step) ProtoReflect() protoreflect.Message
- func (x *Step) Reset()
- func (x *Step) String() string
- type Subject
- func (*Subject) Descriptor() ([]byte, []int)deprecated
- func (x *Subject) GetDescription() string
- func (x *Subject) GetIdentifier() string
- func (x *Subject) GetLinks() []*Link
- func (x *Subject) GetProps() []*Property
- func (x *Subject) GetRemarks() string
- func (x *Subject) GetType() SubjectType
- func (*Subject) ProtoMessage()
- func (x *Subject) ProtoReflect() protoreflect.Message
- func (x *Subject) Reset()
- func (x *Subject) String() string
- type SubjectLabelSchema
- func (*SubjectLabelSchema) Descriptor() ([]byte, []int)deprecated
- func (x *SubjectLabelSchema) GetDescription() string
- func (x *SubjectLabelSchema) GetKey() string
- func (*SubjectLabelSchema) ProtoMessage()
- func (x *SubjectLabelSchema) ProtoReflect() protoreflect.Message
- func (x *SubjectLabelSchema) Reset()
- func (x *SubjectLabelSchema) String() string
- type SubjectLabelSelector
- func (*SubjectLabelSelector) Descriptor() ([]byte, []int)deprecated
- func (x *SubjectLabelSelector) GetKey() string
- func (x *SubjectLabelSelector) GetValue() string
- func (*SubjectLabelSelector) ProtoMessage()
- func (x *SubjectLabelSelector) ProtoReflect() protoreflect.Message
- func (x *SubjectLabelSelector) Reset()
- func (x *SubjectLabelSelector) String() string
- type SubjectLink
- type SubjectProp
- type SubjectTemplate
- func (*SubjectTemplate) Descriptor() ([]byte, []int)deprecated
- func (x *SubjectTemplate) GetDescriptionTemplate() string
- func (x *SubjectTemplate) GetIdentityLabelKeys() []string
- func (x *SubjectTemplate) GetLabelSchema() []*SubjectLabelSchema
- func (x *SubjectTemplate) GetLinks() []*SubjectLink
- func (x *SubjectTemplate) GetName() string
- func (x *SubjectTemplate) GetProps() []*SubjectProp
- func (x *SubjectTemplate) GetPurposeTemplate() string
- func (x *SubjectTemplate) GetRemarksTemplate() string
- func (x *SubjectTemplate) GetSelectorLabels() []*SubjectLabelSelector
- func (x *SubjectTemplate) GetTitleTemplate() string
- func (x *SubjectTemplate) GetType() SubjectType
- func (*SubjectTemplate) ProtoMessage()
- func (x *SubjectTemplate) ProtoReflect() protoreflect.Message
- func (x *SubjectTemplate) Reset()
- func (x *SubjectTemplate) String() string
- type SubjectType
- func (SubjectType) Descriptor() protoreflect.EnumDescriptor
- func (x SubjectType) Enum() *SubjectType
- func (SubjectType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SubjectType) Number() protoreflect.EnumNumber
- func (x SubjectType) String() string
- func (SubjectType) Type() protoreflect.EnumType
- type ThreatRef
- func (*ThreatRef) Descriptor() ([]byte, []int)deprecated
- func (x *ThreatRef) GetExternalID() string
- func (x *ThreatRef) GetSystem() string
- func (x *ThreatRef) GetTitle() string
- func (x *ThreatRef) GetUrl() string
- func (*ThreatRef) ProtoMessage()
- func (x *ThreatRef) ProtoReflect() protoreflect.Message
- func (x *ThreatRef) Reset()
- func (x *ThreatRef) String() string
- type UnimplementedApiHelperServer
- func (UnimplementedApiHelperServer) CreateEvidence(context.Context, *CreateEvidenceRequest) (*CreateEvidenceResponse, error)
- func (UnimplementedApiHelperServer) UpsertRiskTemplates(context.Context, *UpsertRiskTemplatesRequest) (*UpsertRiskTemplatesResponse, error)
- func (UnimplementedApiHelperServer) UpsertSubjectTemplates(context.Context, *UpsertSubjectTemplatesRequest) (*UpsertSubjectTemplatesResponse, error)
- type UnimplementedRunnerServer
- type UnsafeApiHelperServer
- type UnsafeRunnerServer
- type UpsertRiskTemplatesRequest
- func (*UpsertRiskTemplatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpsertRiskTemplatesRequest) GetPackageName() string
- func (x *UpsertRiskTemplatesRequest) GetRiskTemplates() []*RiskTemplate
- func (*UpsertRiskTemplatesRequest) ProtoMessage()
- func (x *UpsertRiskTemplatesRequest) ProtoReflect() protoreflect.Message
- func (x *UpsertRiskTemplatesRequest) Reset()
- func (x *UpsertRiskTemplatesRequest) String() string
- type UpsertRiskTemplatesResponse
- type UpsertSubjectTemplatesRequest
- func (*UpsertSubjectTemplatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpsertSubjectTemplatesRequest) GetSubjectTemplates() []*SubjectTemplate
- func (*UpsertSubjectTemplatesRequest) ProtoMessage()
- func (x *UpsertSubjectTemplatesRequest) ProtoReflect() protoreflect.Message
- func (x *UpsertSubjectTemplatesRequest) Reset()
- func (x *UpsertSubjectTemplatesRequest) String() string
- type UpsertSubjectTemplatesResponse
- func (*UpsertSubjectTemplatesResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpsertSubjectTemplatesResponse) ProtoMessage()
- func (x *UpsertSubjectTemplatesResponse) ProtoReflect() protoreflect.Message
- func (x *UpsertSubjectTemplatesResponse) Reset()
- func (x *UpsertSubjectTemplatesResponse) String() string
Constants ¶
const ( ApiHelper_CreateEvidence_FullMethodName = "/proto.ApiHelper/CreateEvidence" ApiHelper_UpsertRiskTemplates_FullMethodName = "/proto.ApiHelper/UpsertRiskTemplates" ApiHelper_UpsertSubjectTemplates_FullMethodName = "/proto.ApiHelper/UpsertSubjectTemplates" )
const ( Runner_Configure_FullMethodName = "/proto.Runner/Configure" Runner_Eval_FullMethodName = "/proto.Runner/Eval" Runner_Init_FullMethodName = "/proto.Runner/Init" )
Variables ¶
var ( ExecutionStatus_name = map[int32]string{ 0: "SUCCESS", 1: "FAILURE", } ExecutionStatus_value = map[string]int32{ "SUCCESS": 0, "FAILURE": 1, } )
Enum value maps for ExecutionStatus.
var ( EvidenceStatusState_name = map[int32]string{ 0: "EVIDENCE_STATUS_STATE_SATISFIED", 1: "EVIDENCE_STATUS_STATE_NOT_SATISFIED", } EvidenceStatusState_value = map[string]int32{ "EVIDENCE_STATUS_STATE_SATISFIED": 0, "EVIDENCE_STATUS_STATE_NOT_SATISFIED": 1, } )
Enum value maps for EvidenceStatusState.
var ( SubjectType_name = map[int32]string{ 0: "SUBJECT_TYPE_INVENTORY_ITEM", 1: "SUBJECT_TYPE_COMPONENT", 2: "SUBJECT_TYPE_USER", 3: "SUBJECT_TYPE_LOCATION", 4: "SUBJECT_TYPE_PARTY", 5: "SUBJECT_TYPE_RESOURCE", } SubjectType_value = map[string]int32{ "SUBJECT_TYPE_INVENTORY_ITEM": 0, "SUBJECT_TYPE_COMPONENT": 1, "SUBJECT_TYPE_USER": 2, "SUBJECT_TYPE_LOCATION": 3, "SUBJECT_TYPE_PARTY": 4, "SUBJECT_TYPE_RESOURCE": 5, } )
Enum value maps for SubjectType.
var ApiHelper_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.ApiHelper", HandlerType: (*ApiHelperServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateEvidence", Handler: _ApiHelper_CreateEvidence_Handler, }, { MethodName: "UpsertRiskTemplates", Handler: _ApiHelper_UpsertRiskTemplates_Handler, }, { MethodName: "UpsertSubjectTemplates", Handler: _ApiHelper_UpsertSubjectTemplates_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "runner/proto/results.proto", }
ApiHelper_ServiceDesc is the grpc.ServiceDesc for ApiHelper service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_runner_proto_results_proto protoreflect.FileDescriptor
var File_runner_proto_runner_proto protoreflect.FileDescriptor
var File_runner_proto_types_proto protoreflect.FileDescriptor
var Runner_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.Runner", HandlerType: (*RunnerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Configure", Handler: _Runner_Configure_Handler, }, { MethodName: "Eval", Handler: _Runner_Eval_Handler, }, { MethodName: "Init", Handler: _Runner_Init_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "runner/proto/runner.proto", }
Runner_ServiceDesc is the grpc.ServiceDesc for Runner service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterApiHelperServer ¶ added in v0.0.13
func RegisterApiHelperServer(s grpc.ServiceRegistrar, srv ApiHelperServer)
func RegisterRunnerServer ¶
func RegisterRunnerServer(s grpc.ServiceRegistrar, srv RunnerServer)
Types ¶
type Activity ¶
type Activity struct {
UUID *string `protobuf:"bytes,1,opt,name=UUID,proto3,oneof" json:"UUID,omitempty"`
Title string `protobuf:"bytes,2,opt,name=Title,proto3" json:"Title,omitempty"`
Description string `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty"`
Remarks *string `protobuf:"bytes,4,opt,name=Remarks,proto3,oneof" json:"Remarks,omitempty"`
Steps []*Step `protobuf:"bytes,5,rep,name=Steps,proto3" json:"Steps,omitempty"`
Links []*Link `protobuf:"bytes,6,rep,name=Links,proto3" json:"Links,omitempty"`
Props []*Property `protobuf:"bytes,7,rep,name=Props,proto3" json:"Props,omitempty"`
// contains filtered or unexported fields
}
func (*Activity) Descriptor
deprecated
func (*Activity) GetDescription ¶
func (*Activity) GetRemarks ¶ added in v0.1.0
func (*Activity) ProtoMessage ¶
func (*Activity) ProtoMessage()
func (*Activity) ProtoReflect ¶
func (x *Activity) ProtoReflect() protoreflect.Message
type ApiHelperClient ¶ added in v0.0.13
type ApiHelperClient interface {
CreateEvidence(ctx context.Context, in *CreateEvidenceRequest, opts ...grpc.CallOption) (*CreateEvidenceResponse, error)
UpsertRiskTemplates(ctx context.Context, in *UpsertRiskTemplatesRequest, opts ...grpc.CallOption) (*UpsertRiskTemplatesResponse, error)
UpsertSubjectTemplates(ctx context.Context, in *UpsertSubjectTemplatesRequest, opts ...grpc.CallOption) (*UpsertSubjectTemplatesResponse, error)
}
ApiHelperClient is the client API for ApiHelper 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 NewApiHelperClient ¶ added in v0.0.13
func NewApiHelperClient(cc grpc.ClientConnInterface) ApiHelperClient
type ApiHelperServer ¶ added in v0.0.13
type ApiHelperServer interface {
CreateEvidence(context.Context, *CreateEvidenceRequest) (*CreateEvidenceResponse, error)
UpsertRiskTemplates(context.Context, *UpsertRiskTemplatesRequest) (*UpsertRiskTemplatesResponse, error)
UpsertSubjectTemplates(context.Context, *UpsertSubjectTemplatesRequest) (*UpsertSubjectTemplatesResponse, error)
}
ApiHelperServer is the server API for ApiHelper service. All implementations should embed UnimplementedApiHelperServer for forward compatibility
type Component ¶ added in v0.2.0
type Component struct {
Identifier string `protobuf:"bytes,1,opt,name=Identifier,proto3" json:"Identifier,omitempty"`
Type string `protobuf:"bytes,2,opt,name=Type,proto3" json:"Type,omitempty"`
Title string `protobuf:"bytes,3,opt,name=Title,proto3" json:"Title,omitempty"`
Description string `protobuf:"bytes,4,opt,name=Description,proto3" json:"Description,omitempty"`
Remarks string `protobuf:"bytes,5,opt,name=Remarks,proto3" json:"Remarks,omitempty"`
Purpose string `protobuf:"bytes,6,opt,name=Purpose,proto3" json:"Purpose,omitempty"`
Protocols []*Protocol `protobuf:"bytes,7,rep,name=Protocols,proto3" json:"Protocols,omitempty"`
Links []*Link `protobuf:"bytes,8,rep,name=Links,proto3" json:"Links,omitempty"`
Props []*Property `protobuf:"bytes,9,rep,name=Props,proto3" json:"Props,omitempty"`
// contains filtered or unexported fields
}
func (*Component) Descriptor
deprecated
added in
v0.2.0
func (*Component) GetDescription ¶ added in v0.2.0
func (*Component) GetIdentifier ¶ added in v0.2.0
func (*Component) GetProtocols ¶ added in v0.2.0
func (*Component) GetPurpose ¶ added in v0.2.0
func (*Component) GetRemarks ¶ added in v0.2.0
func (*Component) ProtoMessage ¶ added in v0.2.0
func (*Component) ProtoMessage()
func (*Component) ProtoReflect ¶ added in v0.2.0
func (x *Component) ProtoReflect() protoreflect.Message
type ConfigureRequest ¶
type ConfigureRequest struct {
Config map[string]string `` /* 139-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*ConfigureRequest) Descriptor
deprecated
func (*ConfigureRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConfigureRequest.ProtoReflect.Descriptor instead.
func (*ConfigureRequest) GetConfig ¶
func (x *ConfigureRequest) GetConfig() map[string]string
func (*ConfigureRequest) ProtoMessage ¶
func (*ConfigureRequest) ProtoMessage()
func (*ConfigureRequest) ProtoReflect ¶
func (x *ConfigureRequest) ProtoReflect() protoreflect.Message
func (*ConfigureRequest) Reset ¶
func (x *ConfigureRequest) Reset()
func (*ConfigureRequest) String ¶
func (x *ConfigureRequest) String() string
type ConfigureResponse ¶
type ConfigureResponse struct {
Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*ConfigureResponse) Descriptor
deprecated
func (*ConfigureResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConfigureResponse.ProtoReflect.Descriptor instead.
func (*ConfigureResponse) GetValue ¶
func (x *ConfigureResponse) GetValue() []byte
func (*ConfigureResponse) ProtoMessage ¶
func (*ConfigureResponse) ProtoMessage()
func (*ConfigureResponse) ProtoReflect ¶
func (x *ConfigureResponse) ProtoReflect() protoreflect.Message
func (*ConfigureResponse) Reset ¶
func (x *ConfigureResponse) Reset()
func (*ConfigureResponse) String ¶
func (x *ConfigureResponse) String() string
type CreateEvidenceRequest ¶ added in v0.2.0
type CreateEvidenceRequest struct {
Evidence []*Evidence `protobuf:"bytes,1,rep,name=Evidence,proto3" json:"Evidence,omitempty"`
// contains filtered or unexported fields
}
func (*CreateEvidenceRequest) Descriptor
deprecated
added in
v0.2.0
func (*CreateEvidenceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateEvidenceRequest.ProtoReflect.Descriptor instead.
func (*CreateEvidenceRequest) GetEvidence ¶ added in v0.2.0
func (x *CreateEvidenceRequest) GetEvidence() []*Evidence
func (*CreateEvidenceRequest) ProtoMessage ¶ added in v0.2.0
func (*CreateEvidenceRequest) ProtoMessage()
func (*CreateEvidenceRequest) ProtoReflect ¶ added in v0.2.0
func (x *CreateEvidenceRequest) ProtoReflect() protoreflect.Message
func (*CreateEvidenceRequest) Reset ¶ added in v0.2.0
func (x *CreateEvidenceRequest) Reset()
func (*CreateEvidenceRequest) String ¶ added in v0.2.0
func (x *CreateEvidenceRequest) String() string
type CreateEvidenceResponse ¶ added in v0.2.0
type CreateEvidenceResponse struct {
// contains filtered or unexported fields
}
func (*CreateEvidenceResponse) Descriptor
deprecated
added in
v0.2.0
func (*CreateEvidenceResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateEvidenceResponse.ProtoReflect.Descriptor instead.
func (*CreateEvidenceResponse) ProtoMessage ¶ added in v0.2.0
func (*CreateEvidenceResponse) ProtoMessage()
func (*CreateEvidenceResponse) ProtoReflect ¶ added in v0.2.0
func (x *CreateEvidenceResponse) ProtoReflect() protoreflect.Message
func (*CreateEvidenceResponse) Reset ¶ added in v0.2.0
func (x *CreateEvidenceResponse) Reset()
func (*CreateEvidenceResponse) String ¶ added in v0.2.0
func (x *CreateEvidenceResponse) String() string
type EvalRequest ¶
type EvalRequest struct {
PolicyPaths []string `protobuf:"bytes,1,rep,name=policyPaths,proto3" json:"policyPaths,omitempty"`
ApiServer uint32 `protobuf:"varint,2,opt,name=apiServer,proto3" json:"apiServer,omitempty"`
// contains filtered or unexported fields
}
func (*EvalRequest) Descriptor
deprecated
func (*EvalRequest) Descriptor() ([]byte, []int)
Deprecated: Use EvalRequest.ProtoReflect.Descriptor instead.
func (*EvalRequest) GetApiServer ¶ added in v0.0.13
func (x *EvalRequest) GetApiServer() uint32
func (*EvalRequest) GetPolicyPaths ¶ added in v0.0.15
func (x *EvalRequest) GetPolicyPaths() []string
func (*EvalRequest) ProtoMessage ¶
func (*EvalRequest) ProtoMessage()
func (*EvalRequest) ProtoReflect ¶
func (x *EvalRequest) ProtoReflect() protoreflect.Message
func (*EvalRequest) Reset ¶
func (x *EvalRequest) Reset()
func (*EvalRequest) String ¶
func (x *EvalRequest) String() string
type EvalResponse ¶
type EvalResponse struct {
Status ExecutionStatus `protobuf:"varint,1,opt,name=status,proto3,enum=proto.ExecutionStatus" json:"status,omitempty"`
// contains filtered or unexported fields
}
* EvalResponse is the result of an assessment check Results are sent back by the plugins using the Result service defined separately.
func (*EvalResponse) Descriptor
deprecated
func (*EvalResponse) Descriptor() ([]byte, []int)
Deprecated: Use EvalResponse.ProtoReflect.Descriptor instead.
func (*EvalResponse) GetStatus ¶
func (x *EvalResponse) GetStatus() ExecutionStatus
func (*EvalResponse) ProtoMessage ¶
func (*EvalResponse) ProtoMessage()
func (*EvalResponse) ProtoReflect ¶
func (x *EvalResponse) ProtoReflect() protoreflect.Message
func (*EvalResponse) Reset ¶
func (x *EvalResponse) Reset()
func (*EvalResponse) String ¶
func (x *EvalResponse) String() string
type Evidence ¶
type Evidence struct {
UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
Title string `protobuf:"bytes,2,opt,name=Title,proto3" json:"Title,omitempty"`
Description *string `protobuf:"bytes,3,opt,name=Description,proto3,oneof" json:"Description,omitempty"`
Remarks *string `protobuf:"bytes,4,opt,name=Remarks,proto3,oneof" json:"Remarks,omitempty"`
// Assigning labels to Evidence makes it searchable and easily usable in the UI
Labels map[string]string `` /* 139-byte string literal not displayed */
// When did we start collecting the evidence, and when did the process end, and how long is it valid for ?
Start *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=Start,proto3" json:"Start,omitempty"`
End *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=End,proto3" json:"End,omitempty"`
Expires *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=Expires,proto3,oneof" json:"Expires,omitempty"`
Links []*Link `protobuf:"bytes,9,rep,name=Links,proto3" json:"Links,omitempty"`
Props []*Property `protobuf:"bytes,10,rep,name=Props,proto3" json:"Props,omitempty"`
// Who or What is generating this evidence
Origins []*Origin `protobuf:"bytes,11,rep,name=Origins,proto3" json:"Origins,omitempty"`
// What steps did we take to create this evidence
Activities []*Activity `protobuf:"bytes,12,rep,name=Activities,proto3" json:"Activities,omitempty"`
// Which inventory items were discovered in the evaluation process ?
InventoryItems []*InventoryItem `protobuf:"bytes,13,rep,name=InventoryItems,proto3" json:"InventoryItems,omitempty"`
// Which components of the subject are being observed. A tool, user, policy etc.
Components []*Component `protobuf:"bytes,14,rep,name=Components,proto3" json:"Components,omitempty"`
// Who or What are we providing evidence for. What's under test.
Subjects []*Subject `protobuf:"bytes,15,rep,name=Subjects,proto3" json:"Subjects,omitempty"`
// Did we satisfy what was being tested for, or did we fail ?
Status *EvidenceStatus `protobuf:"bytes,16,opt,name=Status,proto3" json:"Status,omitempty"`
// contains filtered or unexported fields
}
func (*Evidence) Descriptor
deprecated
func (*Evidence) GetActivities ¶ added in v0.2.0
func (*Evidence) GetComponents ¶ added in v0.2.0
func (*Evidence) GetDescription ¶
func (*Evidence) GetEnd ¶ added in v0.2.0
func (x *Evidence) GetEnd() *timestamppb.Timestamp
func (*Evidence) GetExpires ¶ added in v0.2.0
func (x *Evidence) GetExpires() *timestamppb.Timestamp
func (*Evidence) GetInventoryItems ¶ added in v0.2.0
func (x *Evidence) GetInventoryItems() []*InventoryItem
func (*Evidence) GetOrigins ¶ added in v0.2.0
func (*Evidence) GetRemarks ¶
func (*Evidence) GetStart ¶ added in v0.2.0
func (x *Evidence) GetStart() *timestamppb.Timestamp
func (*Evidence) GetStatus ¶ added in v0.2.0
func (x *Evidence) GetStatus() *EvidenceStatus
func (*Evidence) GetSubjects ¶ added in v0.2.0
func (*Evidence) ProtoMessage ¶
func (*Evidence) ProtoMessage()
func (*Evidence) ProtoReflect ¶
func (x *Evidence) ProtoReflect() protoreflect.Message
type EvidenceStatus ¶ added in v0.2.0
type EvidenceStatus struct {
Reason string `protobuf:"bytes,1,opt,name=Reason,proto3" json:"Reason,omitempty"`
Remarks string `protobuf:"bytes,2,opt,name=Remarks,proto3" json:"Remarks,omitempty"`
State EvidenceStatusState `protobuf:"varint,3,opt,name=State,proto3,enum=proto.EvidenceStatusState" json:"State,omitempty"`
// contains filtered or unexported fields
}
func (*EvidenceStatus) Descriptor
deprecated
added in
v0.2.0
func (*EvidenceStatus) Descriptor() ([]byte, []int)
Deprecated: Use EvidenceStatus.ProtoReflect.Descriptor instead.
func (*EvidenceStatus) GetReason ¶ added in v0.2.0
func (x *EvidenceStatus) GetReason() string
func (*EvidenceStatus) GetRemarks ¶ added in v0.2.0
func (x *EvidenceStatus) GetRemarks() string
func (*EvidenceStatus) GetState ¶ added in v0.2.0
func (x *EvidenceStatus) GetState() EvidenceStatusState
func (*EvidenceStatus) ProtoMessage ¶ added in v0.2.0
func (*EvidenceStatus) ProtoMessage()
func (*EvidenceStatus) ProtoReflect ¶ added in v0.2.0
func (x *EvidenceStatus) ProtoReflect() protoreflect.Message
func (*EvidenceStatus) Reset ¶ added in v0.2.0
func (x *EvidenceStatus) Reset()
func (*EvidenceStatus) String ¶ added in v0.2.0
func (x *EvidenceStatus) String() string
type EvidenceStatusState ¶ added in v0.2.0
type EvidenceStatusState int32
const ( EvidenceStatusState_EVIDENCE_STATUS_STATE_SATISFIED EvidenceStatusState = 0 EvidenceStatusState_EVIDENCE_STATUS_STATE_NOT_SATISFIED EvidenceStatusState = 1 )
func (EvidenceStatusState) Descriptor ¶ added in v0.2.0
func (EvidenceStatusState) Descriptor() protoreflect.EnumDescriptor
func (EvidenceStatusState) Enum ¶ added in v0.2.0
func (x EvidenceStatusState) Enum() *EvidenceStatusState
func (EvidenceStatusState) EnumDescriptor
deprecated
added in
v0.2.0
func (EvidenceStatusState) EnumDescriptor() ([]byte, []int)
Deprecated: Use EvidenceStatusState.Descriptor instead.
func (EvidenceStatusState) Number ¶ added in v0.2.0
func (x EvidenceStatusState) Number() protoreflect.EnumNumber
func (EvidenceStatusState) String ¶ added in v0.2.0
func (x EvidenceStatusState) String() string
func (EvidenceStatusState) Type ¶ added in v0.2.0
func (EvidenceStatusState) Type() protoreflect.EnumType
type ExecutionStatus ¶
type ExecutionStatus int32
const ( ExecutionStatus_SUCCESS ExecutionStatus = 0 ExecutionStatus_FAILURE ExecutionStatus = 1 )
func (ExecutionStatus) Descriptor ¶
func (ExecutionStatus) Descriptor() protoreflect.EnumDescriptor
func (ExecutionStatus) Enum ¶
func (x ExecutionStatus) Enum() *ExecutionStatus
func (ExecutionStatus) EnumDescriptor
deprecated
func (ExecutionStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExecutionStatus.Descriptor instead.
func (ExecutionStatus) Number ¶
func (x ExecutionStatus) Number() protoreflect.EnumNumber
func (ExecutionStatus) String ¶
func (x ExecutionStatus) String() string
func (ExecutionStatus) Type ¶
func (ExecutionStatus) Type() protoreflect.EnumType
type InitRequest ¶ added in v0.3.0
type InitRequest struct {
PolicyPaths []string `protobuf:"bytes,1,rep,name=policyPaths,proto3" json:"policyPaths,omitempty"`
ApiServer uint32 `protobuf:"varint,2,opt,name=apiServer,proto3" json:"apiServer,omitempty"`
// contains filtered or unexported fields
}
func (*InitRequest) Descriptor
deprecated
added in
v0.3.0
func (*InitRequest) Descriptor() ([]byte, []int)
Deprecated: Use InitRequest.ProtoReflect.Descriptor instead.
func (*InitRequest) GetApiServer ¶ added in v0.3.0
func (x *InitRequest) GetApiServer() uint32
func (*InitRequest) GetPolicyPaths ¶ added in v0.3.0
func (x *InitRequest) GetPolicyPaths() []string
func (*InitRequest) ProtoMessage ¶ added in v0.3.0
func (*InitRequest) ProtoMessage()
func (*InitRequest) ProtoReflect ¶ added in v0.3.0
func (x *InitRequest) ProtoReflect() protoreflect.Message
func (*InitRequest) Reset ¶ added in v0.3.0
func (x *InitRequest) Reset()
func (*InitRequest) String ¶ added in v0.3.0
func (x *InitRequest) String() string
type InitResponse ¶ added in v0.3.0
type InitResponse struct {
// contains filtered or unexported fields
}
func (*InitResponse) Descriptor
deprecated
added in
v0.3.0
func (*InitResponse) Descriptor() ([]byte, []int)
Deprecated: Use InitResponse.ProtoReflect.Descriptor instead.
func (*InitResponse) ProtoMessage ¶ added in v0.3.0
func (*InitResponse) ProtoMessage()
func (*InitResponse) ProtoReflect ¶ added in v0.3.0
func (x *InitResponse) ProtoReflect() protoreflect.Message
func (*InitResponse) Reset ¶ added in v0.3.0
func (x *InitResponse) Reset()
func (*InitResponse) String ¶ added in v0.3.0
func (x *InitResponse) String() string
type InventoryItem ¶
type InventoryItem struct {
Identifier string `protobuf:"bytes,1,opt,name=Identifier,proto3" json:"Identifier,omitempty"`
Type string `protobuf:"bytes,2,opt,name=Type,proto3" json:"Type,omitempty"`
Title string `protobuf:"bytes,3,opt,name=Title,proto3" json:"Title,omitempty"`
Description string `protobuf:"bytes,4,opt,name=Description,proto3" json:"Description,omitempty"`
Remarks string `protobuf:"bytes,5,opt,name=Remarks,proto3" json:"Remarks,omitempty"`
Links []*Link `protobuf:"bytes,6,rep,name=Links,proto3" json:"Links,omitempty"`
Props []*Property `protobuf:"bytes,7,rep,name=Props,proto3" json:"Props,omitempty"`
ImplementedComponents []*InventoryItemImplementedComponent `protobuf:"bytes,8,rep,name=ImplementedComponents,proto3" json:"ImplementedComponents,omitempty"`
// contains filtered or unexported fields
}
func (*InventoryItem) Descriptor
deprecated
func (*InventoryItem) Descriptor() ([]byte, []int)
Deprecated: Use InventoryItem.ProtoReflect.Descriptor instead.
func (*InventoryItem) GetDescription ¶
func (x *InventoryItem) GetDescription() string
func (*InventoryItem) GetIdentifier ¶ added in v0.2.0
func (x *InventoryItem) GetIdentifier() string
func (*InventoryItem) GetImplementedComponents ¶
func (x *InventoryItem) GetImplementedComponents() []*InventoryItemImplementedComponent
func (*InventoryItem) GetLinks ¶
func (x *InventoryItem) GetLinks() []*Link
func (*InventoryItem) GetProps ¶
func (x *InventoryItem) GetProps() []*Property
func (*InventoryItem) GetRemarks ¶
func (x *InventoryItem) GetRemarks() string
func (*InventoryItem) GetTitle ¶ added in v0.2.0
func (x *InventoryItem) GetTitle() string
func (*InventoryItem) GetType ¶ added in v0.2.0
func (x *InventoryItem) GetType() string
func (*InventoryItem) ProtoMessage ¶
func (*InventoryItem) ProtoMessage()
func (*InventoryItem) ProtoReflect ¶
func (x *InventoryItem) ProtoReflect() protoreflect.Message
func (*InventoryItem) Reset ¶
func (x *InventoryItem) Reset()
func (*InventoryItem) String ¶
func (x *InventoryItem) String() string
type InventoryItemImplementedComponent ¶ added in v0.2.0
type InventoryItemImplementedComponent struct {
Identifier string `protobuf:"bytes,1,opt,name=Identifier,proto3" json:"Identifier,omitempty"`
// contains filtered or unexported fields
}
func (*InventoryItemImplementedComponent) Descriptor
deprecated
added in
v0.2.0
func (*InventoryItemImplementedComponent) Descriptor() ([]byte, []int)
Deprecated: Use InventoryItemImplementedComponent.ProtoReflect.Descriptor instead.
func (*InventoryItemImplementedComponent) GetIdentifier ¶ added in v0.2.0
func (x *InventoryItemImplementedComponent) GetIdentifier() string
func (*InventoryItemImplementedComponent) ProtoMessage ¶ added in v0.2.0
func (*InventoryItemImplementedComponent) ProtoMessage()
func (*InventoryItemImplementedComponent) ProtoReflect ¶ added in v0.2.0
func (x *InventoryItemImplementedComponent) ProtoReflect() protoreflect.Message
func (*InventoryItemImplementedComponent) Reset ¶ added in v0.2.0
func (x *InventoryItemImplementedComponent) Reset()
func (*InventoryItemImplementedComponent) String ¶ added in v0.2.0
func (x *InventoryItemImplementedComponent) String() string
type Link ¶
type Link struct {
// Hypertext Reference
// A resolvable URL reference to a resource.
Href string `protobuf:"bytes,1,opt,name=Href,proto3" json:"Href,omitempty"`
// Link Relation Type
// Describes the type of relationship provided by the link's hypertext
// reference. This can be an indicator of the link's purpose.
Rel *string `protobuf:"bytes,2,opt,name=Rel,proto3,oneof" json:"Rel,omitempty"`
// Media Type
// A label that indicates the nature of a resource, as a data serialization or
// format.
MediaType *string `protobuf:"bytes,3,opt,name=MediaType,proto3,oneof" json:"MediaType,omitempty"`
// Resource Fragment
// In case where the href points to a back-matter/resource, this value will
// indicate the URI fragment to append to any rlink associated with the
// resource. This value MUST be URI encoded.
ResourceFragment *string `protobuf:"bytes,4,opt,name=ResourceFragment,proto3,oneof" json:"ResourceFragment,omitempty"`
// Link Text
// A textual label to associate with the link, which may be used for
// presentation in a tool.
Text *string `protobuf:"bytes,5,opt,name=Text,proto3,oneof" json:"Text,omitempty"`
// contains filtered or unexported fields
}
func (*Link) Descriptor
deprecated
func (*Link) GetMediaType ¶
func (*Link) GetResourceFragment ¶
func (*Link) ProtoMessage ¶
func (*Link) ProtoMessage()
func (*Link) ProtoReflect ¶
func (x *Link) ProtoReflect() protoreflect.Message
type Origin ¶
type Origin struct {
Actors []*OriginActor `protobuf:"bytes,1,rep,name=Actors,proto3" json:"Actors,omitempty"`
// contains filtered or unexported fields
}
func (*Origin) Descriptor
deprecated
func (*Origin) GetActors ¶
func (x *Origin) GetActors() []*OriginActor
func (*Origin) ProtoMessage ¶
func (*Origin) ProtoMessage()
func (*Origin) ProtoReflect ¶
func (x *Origin) ProtoReflect() protoreflect.Message
type OriginActor ¶
type OriginActor struct {
UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
Title string `protobuf:"bytes,2,opt,name=Title,proto3" json:"Title,omitempty"`
RoleId string `protobuf:"bytes,3,opt,name=RoleId,proto3" json:"RoleId,omitempty"`
Type string `protobuf:"bytes,4,opt,name=Type,proto3" json:"Type,omitempty"`
Links []*Link `protobuf:"bytes,5,rep,name=Links,proto3" json:"Links,omitempty"`
Props []*Property `protobuf:"bytes,6,rep,name=Props,proto3" json:"Props,omitempty"`
// contains filtered or unexported fields
}
func (*OriginActor) Descriptor
deprecated
func (*OriginActor) Descriptor() ([]byte, []int)
Deprecated: Use OriginActor.ProtoReflect.Descriptor instead.
func (*OriginActor) GetLinks ¶
func (x *OriginActor) GetLinks() []*Link
func (*OriginActor) GetProps ¶
func (x *OriginActor) GetProps() []*Property
func (*OriginActor) GetRoleId ¶
func (x *OriginActor) GetRoleId() string
func (*OriginActor) GetTitle ¶ added in v0.1.0
func (x *OriginActor) GetTitle() string
func (*OriginActor) GetType ¶
func (x *OriginActor) GetType() string
func (*OriginActor) GetUUID ¶ added in v0.1.0
func (x *OriginActor) GetUUID() string
func (*OriginActor) ProtoMessage ¶
func (*OriginActor) ProtoMessage()
func (*OriginActor) ProtoReflect ¶
func (x *OriginActor) ProtoReflect() protoreflect.Message
func (*OriginActor) Reset ¶
func (x *OriginActor) Reset()
func (*OriginActor) String ¶
func (x *OriginActor) String() string
type PortRange ¶
type PortRange struct {
End int32 `protobuf:"varint,1,opt,name=End,proto3" json:"End,omitempty"`
Start int32 `protobuf:"varint,2,opt,name=Start,proto3" json:"Start,omitempty"`
Transport string `protobuf:"bytes,3,opt,name=Transport,proto3" json:"Transport,omitempty"`
// contains filtered or unexported fields
}
func (*PortRange) Descriptor
deprecated
func (*PortRange) GetTransport ¶
func (*PortRange) ProtoMessage ¶
func (*PortRange) ProtoMessage()
func (*PortRange) ProtoReflect ¶
func (x *PortRange) ProtoReflect() protoreflect.Message
type Property ¶
type Property struct {
// Property Name
// A textual label, within a namespace, that identifies a specific attribute,
// characteristic, or quality of the property's containing object.
Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
// Property Value
// Indicates the value of the attribute, characteristic, or quality.
Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
// Property Universally Unique Identifier
// A unique identifier for a property.
Uuid *string `protobuf:"bytes,3,opt,name=Uuid,proto3,oneof" json:"Uuid,omitempty"`
// Property Namespace
// A namespace qualifying the property's name. This allows different
// organizations to associate distinct semantics with the same name.
Ns *string `protobuf:"bytes,4,opt,name=Ns,proto3,oneof" json:"Ns,omitempty"`
// Property Class
// A textual label that provides a sub-type or characterization of the
// property's name.
Class *string `protobuf:"bytes,5,opt,name=Class,proto3,oneof" json:"Class,omitempty"`
// Property Group
// An identifier for relating distinct sets of properties.
Group *string `protobuf:"bytes,6,opt,name=Group,proto3,oneof" json:"Group,omitempty"`
// Remarks
// Additional explanatory notes for the property.
Remarks *string `protobuf:"bytes,7,opt,name=Remarks,proto3,oneof" json:"Remarks,omitempty"`
// contains filtered or unexported fields
}
func (*Property) Descriptor
deprecated
func (*Property) GetRemarks ¶
func (*Property) ProtoMessage ¶
func (*Property) ProtoMessage()
func (*Property) ProtoReflect ¶
func (x *Property) ProtoReflect() protoreflect.Message
type Protocol ¶
type Protocol struct {
UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
Title string `protobuf:"bytes,3,opt,name=Title,proto3" json:"Title,omitempty"`
PortRanges []*PortRange `protobuf:"bytes,4,rep,name=PortRanges,proto3" json:"PortRanges,omitempty"`
// contains filtered or unexported fields
}
func (*Protocol) Descriptor
deprecated
func (*Protocol) GetPortRanges ¶
func (*Protocol) ProtoMessage ¶
func (*Protocol) ProtoMessage()
func (*Protocol) ProtoReflect ¶
func (x *Protocol) ProtoReflect() protoreflect.Message
type Remediation ¶ added in v0.3.0
type Remediation struct {
Title string `protobuf:"bytes,1,opt,name=Title,proto3" json:"Title,omitempty"`
Description string `protobuf:"bytes,2,opt,name=Description,proto3" json:"Description,omitempty"`
Tasks []*RemediationTask `protobuf:"bytes,3,rep,name=Tasks,proto3" json:"Tasks,omitempty"`
// contains filtered or unexported fields
}
func (*Remediation) Descriptor
deprecated
added in
v0.3.0
func (*Remediation) Descriptor() ([]byte, []int)
Deprecated: Use Remediation.ProtoReflect.Descriptor instead.
func (*Remediation) GetDescription ¶ added in v0.3.0
func (x *Remediation) GetDescription() string
func (*Remediation) GetTasks ¶ added in v0.3.0
func (x *Remediation) GetTasks() []*RemediationTask
func (*Remediation) GetTitle ¶ added in v0.3.0
func (x *Remediation) GetTitle() string
func (*Remediation) ProtoMessage ¶ added in v0.3.0
func (*Remediation) ProtoMessage()
func (*Remediation) ProtoReflect ¶ added in v0.3.0
func (x *Remediation) ProtoReflect() protoreflect.Message
func (*Remediation) Reset ¶ added in v0.3.0
func (x *Remediation) Reset()
func (*Remediation) String ¶ added in v0.3.0
func (x *Remediation) String() string
type RemediationTask ¶ added in v0.3.0
type RemediationTask struct {
Title string `protobuf:"bytes,1,opt,name=Title,proto3" json:"Title,omitempty"`
OrderIndex int32 `protobuf:"varint,2,opt,name=OrderIndex,proto3" json:"OrderIndex,omitempty"`
// contains filtered or unexported fields
}
func (*RemediationTask) Descriptor
deprecated
added in
v0.3.0
func (*RemediationTask) Descriptor() ([]byte, []int)
Deprecated: Use RemediationTask.ProtoReflect.Descriptor instead.
func (*RemediationTask) GetOrderIndex ¶ added in v0.3.0
func (x *RemediationTask) GetOrderIndex() int32
func (*RemediationTask) GetTitle ¶ added in v0.3.0
func (x *RemediationTask) GetTitle() string
func (*RemediationTask) ProtoMessage ¶ added in v0.3.0
func (*RemediationTask) ProtoMessage()
func (*RemediationTask) ProtoReflect ¶ added in v0.3.0
func (x *RemediationTask) ProtoReflect() protoreflect.Message
func (*RemediationTask) Reset ¶ added in v0.3.0
func (x *RemediationTask) Reset()
func (*RemediationTask) String ¶ added in v0.3.0
func (x *RemediationTask) String() string
type RiskTemplate ¶ added in v0.3.0
type RiskTemplate struct {
UUID string `protobuf:"bytes,1,opt,name=UUID,proto3" json:"UUID,omitempty"`
PolicyPackage string `protobuf:"bytes,2,opt,name=PolicyPackage,proto3" json:"PolicyPackage,omitempty"`
Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"`
Title string `protobuf:"bytes,4,opt,name=Title,proto3" json:"Title,omitempty"`
Statement string `protobuf:"bytes,5,opt,name=Statement,proto3" json:"Statement,omitempty"`
LikelihoodHint string `protobuf:"bytes,6,opt,name=LikelihoodHint,proto3" json:"LikelihoodHint,omitempty"`
ImpactHint string `protobuf:"bytes,7,opt,name=ImpactHint,proto3" json:"ImpactHint,omitempty"`
ViolationIds []string `protobuf:"bytes,8,rep,name=ViolationIds,proto3" json:"ViolationIds,omitempty"`
ThreatRefs []*ThreatRef `protobuf:"bytes,9,rep,name=ThreatRefs,proto3" json:"ThreatRefs,omitempty"`
Remediation *Remediation `protobuf:"bytes,10,opt,name=Remediation,proto3" json:"Remediation,omitempty"`
DedupeLabelKeys []string `protobuf:"bytes,15,rep,name=DedupeLabelKeys,proto3" json:"DedupeLabelKeys,omitempty"`
LabelSchema []*RiskTemplateLabelSchema `protobuf:"bytes,16,rep,name=LabelSchema,proto3" json:"LabelSchema,omitempty"`
// contains filtered or unexported fields
}
func (*RiskTemplate) Descriptor
deprecated
added in
v0.3.0
func (*RiskTemplate) Descriptor() ([]byte, []int)
Deprecated: Use RiskTemplate.ProtoReflect.Descriptor instead.
func (*RiskTemplate) GetDedupeLabelKeys ¶ added in v0.3.2
func (x *RiskTemplate) GetDedupeLabelKeys() []string
func (*RiskTemplate) GetImpactHint ¶ added in v0.3.0
func (x *RiskTemplate) GetImpactHint() string
func (*RiskTemplate) GetLabelSchema ¶ added in v0.3.2
func (x *RiskTemplate) GetLabelSchema() []*RiskTemplateLabelSchema
func (*RiskTemplate) GetLikelihoodHint ¶ added in v0.3.0
func (x *RiskTemplate) GetLikelihoodHint() string
func (*RiskTemplate) GetName ¶ added in v0.3.0
func (x *RiskTemplate) GetName() string
func (*RiskTemplate) GetPolicyPackage ¶ added in v0.3.0
func (x *RiskTemplate) GetPolicyPackage() string
func (*RiskTemplate) GetRemediation ¶ added in v0.3.0
func (x *RiskTemplate) GetRemediation() *Remediation
func (*RiskTemplate) GetStatement ¶ added in v0.3.0
func (x *RiskTemplate) GetStatement() string
func (*RiskTemplate) GetThreatRefs ¶ added in v0.3.0
func (x *RiskTemplate) GetThreatRefs() []*ThreatRef
func (*RiskTemplate) GetTitle ¶ added in v0.3.0
func (x *RiskTemplate) GetTitle() string
func (*RiskTemplate) GetUUID ¶ added in v0.3.0
func (x *RiskTemplate) GetUUID() string
func (*RiskTemplate) GetViolationIds ¶ added in v0.3.0
func (x *RiskTemplate) GetViolationIds() []string
func (*RiskTemplate) ProtoMessage ¶ added in v0.3.0
func (*RiskTemplate) ProtoMessage()
func (*RiskTemplate) ProtoReflect ¶ added in v0.3.0
func (x *RiskTemplate) ProtoReflect() protoreflect.Message
func (*RiskTemplate) Reset ¶ added in v0.3.0
func (x *RiskTemplate) Reset()
func (*RiskTemplate) String ¶ added in v0.3.0
func (x *RiskTemplate) String() string
type RiskTemplateLabelSchema ¶ added in v0.3.2
type RiskTemplateLabelSchema struct {
Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
Description string `protobuf:"bytes,2,opt,name=Description,proto3" json:"Description,omitempty"`
// contains filtered or unexported fields
}
func (*RiskTemplateLabelSchema) Descriptor
deprecated
added in
v0.3.2
func (*RiskTemplateLabelSchema) Descriptor() ([]byte, []int)
Deprecated: Use RiskTemplateLabelSchema.ProtoReflect.Descriptor instead.
func (*RiskTemplateLabelSchema) GetDescription ¶ added in v0.3.2
func (x *RiskTemplateLabelSchema) GetDescription() string
func (*RiskTemplateLabelSchema) GetKey ¶ added in v0.3.2
func (x *RiskTemplateLabelSchema) GetKey() string
func (*RiskTemplateLabelSchema) ProtoMessage ¶ added in v0.3.2
func (*RiskTemplateLabelSchema) ProtoMessage()
func (*RiskTemplateLabelSchema) ProtoReflect ¶ added in v0.3.2
func (x *RiskTemplateLabelSchema) ProtoReflect() protoreflect.Message
func (*RiskTemplateLabelSchema) Reset ¶ added in v0.3.2
func (x *RiskTemplateLabelSchema) Reset()
func (*RiskTemplateLabelSchema) String ¶ added in v0.3.2
func (x *RiskTemplateLabelSchema) String() string
type RunnerClient ¶
type RunnerClient interface {
Configure(ctx context.Context, in *ConfigureRequest, opts ...grpc.CallOption) (*ConfigureResponse, error)
Eval(ctx context.Context, in *EvalRequest, opts ...grpc.CallOption) (*EvalResponse, error)
Init(ctx context.Context, in *InitRequest, opts ...grpc.CallOption) (*InitResponse, error)
}
RunnerClient is the client API for Runner 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 NewRunnerClient ¶
func NewRunnerClient(cc grpc.ClientConnInterface) RunnerClient
type RunnerServer ¶
type RunnerServer interface {
Configure(context.Context, *ConfigureRequest) (*ConfigureResponse, error)
Eval(context.Context, *EvalRequest) (*EvalResponse, error)
Init(context.Context, *InitRequest) (*InitResponse, error)
}
RunnerServer is the server API for Runner service. All implementations should embed UnimplementedRunnerServer for forward compatibility
type Step ¶
type Step struct {
UUID *string `protobuf:"bytes,1,opt,name=UUID,proto3,oneof" json:"UUID,omitempty"`
Title string `protobuf:"bytes,2,opt,name=Title,proto3" json:"Title,omitempty"`
Description string `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty"`
Remarks *string `protobuf:"bytes,4,opt,name=Remarks,proto3,oneof" json:"Remarks,omitempty"`
Links []*Link `protobuf:"bytes,5,rep,name=Links,proto3" json:"Links,omitempty"`
Props []*Property `protobuf:"bytes,6,rep,name=Props,proto3" json:"Props,omitempty"`
// contains filtered or unexported fields
}
func (*Step) Descriptor
deprecated
func (*Step) GetDescription ¶
func (*Step) GetRemarks ¶ added in v0.1.0
func (*Step) ProtoMessage ¶
func (*Step) ProtoMessage()
func (*Step) ProtoReflect ¶
func (x *Step) ProtoReflect() protoreflect.Message
type Subject ¶ added in v0.2.0
type Subject struct {
Identifier string `protobuf:"bytes,1,opt,name=Identifier,proto3" json:"Identifier,omitempty"`
Type SubjectType `protobuf:"varint,2,opt,name=Type,proto3,enum=proto.SubjectType" json:"Type,omitempty"`
Description string `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty"`
Remarks string `protobuf:"bytes,4,opt,name=Remarks,proto3" json:"Remarks,omitempty"`
Links []*Link `protobuf:"bytes,5,rep,name=Links,proto3" json:"Links,omitempty"`
Props []*Property `protobuf:"bytes,6,rep,name=Props,proto3" json:"Props,omitempty"`
// contains filtered or unexported fields
}
func (*Subject) Descriptor
deprecated
added in
v0.2.0
func (*Subject) GetDescription ¶ added in v0.2.0
func (*Subject) GetIdentifier ¶ added in v0.2.0
func (*Subject) GetRemarks ¶ added in v0.2.0
func (*Subject) GetType ¶ added in v0.2.0
func (x *Subject) GetType() SubjectType
func (*Subject) ProtoMessage ¶ added in v0.2.0
func (*Subject) ProtoMessage()
func (*Subject) ProtoReflect ¶ added in v0.2.0
func (x *Subject) ProtoReflect() protoreflect.Message
type SubjectLabelSchema ¶ added in v0.3.0
type SubjectLabelSchema struct {
Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
Description string `protobuf:"bytes,2,opt,name=Description,proto3" json:"Description,omitempty"`
// contains filtered or unexported fields
}
func (*SubjectLabelSchema) Descriptor
deprecated
added in
v0.3.0
func (*SubjectLabelSchema) Descriptor() ([]byte, []int)
Deprecated: Use SubjectLabelSchema.ProtoReflect.Descriptor instead.
func (*SubjectLabelSchema) GetDescription ¶ added in v0.3.0
func (x *SubjectLabelSchema) GetDescription() string
func (*SubjectLabelSchema) GetKey ¶ added in v0.3.0
func (x *SubjectLabelSchema) GetKey() string
func (*SubjectLabelSchema) ProtoMessage ¶ added in v0.3.0
func (*SubjectLabelSchema) ProtoMessage()
func (*SubjectLabelSchema) ProtoReflect ¶ added in v0.3.0
func (x *SubjectLabelSchema) ProtoReflect() protoreflect.Message
func (*SubjectLabelSchema) Reset ¶ added in v0.3.0
func (x *SubjectLabelSchema) Reset()
func (*SubjectLabelSchema) String ¶ added in v0.3.0
func (x *SubjectLabelSchema) String() string
type SubjectLabelSelector ¶ added in v0.3.0
type SubjectLabelSelector struct {
Key string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
// contains filtered or unexported fields
}
func (*SubjectLabelSelector) Descriptor
deprecated
added in
v0.3.0
func (*SubjectLabelSelector) Descriptor() ([]byte, []int)
Deprecated: Use SubjectLabelSelector.ProtoReflect.Descriptor instead.
func (*SubjectLabelSelector) GetKey ¶ added in v0.3.0
func (x *SubjectLabelSelector) GetKey() string
func (*SubjectLabelSelector) GetValue ¶ added in v0.3.0
func (x *SubjectLabelSelector) GetValue() string
func (*SubjectLabelSelector) ProtoMessage ¶ added in v0.3.0
func (*SubjectLabelSelector) ProtoMessage()
func (*SubjectLabelSelector) ProtoReflect ¶ added in v0.3.0
func (x *SubjectLabelSelector) ProtoReflect() protoreflect.Message
func (*SubjectLabelSelector) Reset ¶ added in v0.3.0
func (x *SubjectLabelSelector) Reset()
func (*SubjectLabelSelector) String ¶ added in v0.3.0
func (x *SubjectLabelSelector) String() string
type SubjectLink ¶ added in v0.3.0
type SubjectLink struct {
Href string `protobuf:"bytes,1,opt,name=Href,proto3" json:"Href,omitempty"`
// contains filtered or unexported fields
}
func (*SubjectLink) Descriptor
deprecated
added in
v0.3.0
func (*SubjectLink) Descriptor() ([]byte, []int)
Deprecated: Use SubjectLink.ProtoReflect.Descriptor instead.
func (*SubjectLink) GetHref ¶ added in v0.3.0
func (x *SubjectLink) GetHref() string
func (*SubjectLink) ProtoMessage ¶ added in v0.3.0
func (*SubjectLink) ProtoMessage()
func (*SubjectLink) ProtoReflect ¶ added in v0.3.0
func (x *SubjectLink) ProtoReflect() protoreflect.Message
func (*SubjectLink) Reset ¶ added in v0.3.0
func (x *SubjectLink) Reset()
func (*SubjectLink) String ¶ added in v0.3.0
func (x *SubjectLink) String() string
type SubjectProp ¶ added in v0.3.0
type SubjectProp struct {
Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
// contains filtered or unexported fields
}
func (*SubjectProp) Descriptor
deprecated
added in
v0.3.0
func (*SubjectProp) Descriptor() ([]byte, []int)
Deprecated: Use SubjectProp.ProtoReflect.Descriptor instead.
func (*SubjectProp) GetName ¶ added in v0.3.0
func (x *SubjectProp) GetName() string
func (*SubjectProp) GetValue ¶ added in v0.3.0
func (x *SubjectProp) GetValue() string
func (*SubjectProp) ProtoMessage ¶ added in v0.3.0
func (*SubjectProp) ProtoMessage()
func (*SubjectProp) ProtoReflect ¶ added in v0.3.0
func (x *SubjectProp) ProtoReflect() protoreflect.Message
func (*SubjectProp) Reset ¶ added in v0.3.0
func (x *SubjectProp) Reset()
func (*SubjectProp) String ¶ added in v0.3.0
func (x *SubjectProp) String() string
type SubjectTemplate ¶ added in v0.3.0
type SubjectTemplate struct {
Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
Type SubjectType `protobuf:"varint,2,opt,name=Type,proto3,enum=proto.SubjectType" json:"Type,omitempty"`
TitleTemplate string `protobuf:"bytes,3,opt,name=TitleTemplate,proto3" json:"TitleTemplate,omitempty"`
DescriptionTemplate string `protobuf:"bytes,4,opt,name=DescriptionTemplate,proto3" json:"DescriptionTemplate,omitempty"`
PurposeTemplate string `protobuf:"bytes,5,opt,name=PurposeTemplate,proto3" json:"PurposeTemplate,omitempty"`
RemarksTemplate string `protobuf:"bytes,6,opt,name=RemarksTemplate,proto3" json:"RemarksTemplate,omitempty"`
IdentityLabelKeys []string `protobuf:"bytes,7,rep,name=IdentityLabelKeys,proto3" json:"IdentityLabelKeys,omitempty"`
Props []*SubjectProp `protobuf:"bytes,8,rep,name=Props,proto3" json:"Props,omitempty"`
Links []*SubjectLink `protobuf:"bytes,9,rep,name=Links,proto3" json:"Links,omitempty"`
SelectorLabels []*SubjectLabelSelector `protobuf:"bytes,10,rep,name=SelectorLabels,proto3" json:"SelectorLabels,omitempty"`
LabelSchema []*SubjectLabelSchema `protobuf:"bytes,11,rep,name=LabelSchema,proto3" json:"LabelSchema,omitempty"`
// contains filtered or unexported fields
}
func (*SubjectTemplate) Descriptor
deprecated
added in
v0.3.0
func (*SubjectTemplate) Descriptor() ([]byte, []int)
Deprecated: Use SubjectTemplate.ProtoReflect.Descriptor instead.
func (*SubjectTemplate) GetDescriptionTemplate ¶ added in v0.3.0
func (x *SubjectTemplate) GetDescriptionTemplate() string
func (*SubjectTemplate) GetIdentityLabelKeys ¶ added in v0.3.0
func (x *SubjectTemplate) GetIdentityLabelKeys() []string
func (*SubjectTemplate) GetLabelSchema ¶ added in v0.3.0
func (x *SubjectTemplate) GetLabelSchema() []*SubjectLabelSchema
func (*SubjectTemplate) GetLinks ¶ added in v0.3.0
func (x *SubjectTemplate) GetLinks() []*SubjectLink
func (*SubjectTemplate) GetName ¶ added in v0.3.0
func (x *SubjectTemplate) GetName() string
func (*SubjectTemplate) GetProps ¶ added in v0.3.0
func (x *SubjectTemplate) GetProps() []*SubjectProp
func (*SubjectTemplate) GetPurposeTemplate ¶ added in v0.3.0
func (x *SubjectTemplate) GetPurposeTemplate() string
func (*SubjectTemplate) GetRemarksTemplate ¶ added in v0.3.0
func (x *SubjectTemplate) GetRemarksTemplate() string
func (*SubjectTemplate) GetSelectorLabels ¶ added in v0.3.0
func (x *SubjectTemplate) GetSelectorLabels() []*SubjectLabelSelector
func (*SubjectTemplate) GetTitleTemplate ¶ added in v0.3.0
func (x *SubjectTemplate) GetTitleTemplate() string
func (*SubjectTemplate) GetType ¶ added in v0.3.0
func (x *SubjectTemplate) GetType() SubjectType
func (*SubjectTemplate) ProtoMessage ¶ added in v0.3.0
func (*SubjectTemplate) ProtoMessage()
func (*SubjectTemplate) ProtoReflect ¶ added in v0.3.0
func (x *SubjectTemplate) ProtoReflect() protoreflect.Message
func (*SubjectTemplate) Reset ¶ added in v0.3.0
func (x *SubjectTemplate) Reset()
func (*SubjectTemplate) String ¶ added in v0.3.0
func (x *SubjectTemplate) String() string
type SubjectType ¶
type SubjectType int32
const ( SubjectType_SUBJECT_TYPE_INVENTORY_ITEM SubjectType = 0 SubjectType_SUBJECT_TYPE_COMPONENT SubjectType = 1 SubjectType_SUBJECT_TYPE_USER SubjectType = 2 SubjectType_SUBJECT_TYPE_LOCATION SubjectType = 3 SubjectType_SUBJECT_TYPE_PARTY SubjectType = 4 SubjectType_SUBJECT_TYPE_RESOURCE SubjectType = 5 )
func (SubjectType) Descriptor ¶
func (SubjectType) Descriptor() protoreflect.EnumDescriptor
func (SubjectType) Enum ¶
func (x SubjectType) Enum() *SubjectType
func (SubjectType) EnumDescriptor
deprecated
func (SubjectType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SubjectType.Descriptor instead.
func (SubjectType) Number ¶
func (x SubjectType) Number() protoreflect.EnumNumber
func (SubjectType) String ¶
func (x SubjectType) String() string
func (SubjectType) Type ¶
func (SubjectType) Type() protoreflect.EnumType
type ThreatRef ¶ added in v0.3.0
type ThreatRef struct {
System string `protobuf:"bytes,1,opt,name=System,proto3" json:"System,omitempty"`
ExternalID string `protobuf:"bytes,2,opt,name=ExternalID,proto3" json:"ExternalID,omitempty"`
Title string `protobuf:"bytes,3,opt,name=Title,proto3" json:"Title,omitempty"`
Url string `protobuf:"bytes,4,opt,name=Url,proto3" json:"Url,omitempty"`
// contains filtered or unexported fields
}
func (*ThreatRef) Descriptor
deprecated
added in
v0.3.0
func (*ThreatRef) GetExternalID ¶ added in v0.3.0
func (*ThreatRef) ProtoMessage ¶ added in v0.3.0
func (*ThreatRef) ProtoMessage()
func (*ThreatRef) ProtoReflect ¶ added in v0.3.0
func (x *ThreatRef) ProtoReflect() protoreflect.Message
type UnimplementedApiHelperServer ¶ added in v0.0.13
type UnimplementedApiHelperServer struct {
}
UnimplementedApiHelperServer should be embedded to have forward compatible implementations.
func (UnimplementedApiHelperServer) CreateEvidence ¶ added in v0.2.0
func (UnimplementedApiHelperServer) CreateEvidence(context.Context, *CreateEvidenceRequest) (*CreateEvidenceResponse, error)
func (UnimplementedApiHelperServer) UpsertRiskTemplates ¶ added in v0.3.0
func (UnimplementedApiHelperServer) UpsertRiskTemplates(context.Context, *UpsertRiskTemplatesRequest) (*UpsertRiskTemplatesResponse, error)
func (UnimplementedApiHelperServer) UpsertSubjectTemplates ¶ added in v0.3.0
func (UnimplementedApiHelperServer) UpsertSubjectTemplates(context.Context, *UpsertSubjectTemplatesRequest) (*UpsertSubjectTemplatesResponse, error)
type UnimplementedRunnerServer ¶
type UnimplementedRunnerServer struct {
}
UnimplementedRunnerServer should be embedded to have forward compatible implementations.
func (UnimplementedRunnerServer) Configure ¶
func (UnimplementedRunnerServer) Configure(context.Context, *ConfigureRequest) (*ConfigureResponse, error)
func (UnimplementedRunnerServer) Eval ¶
func (UnimplementedRunnerServer) Eval(context.Context, *EvalRequest) (*EvalResponse, error)
func (UnimplementedRunnerServer) Init ¶ added in v0.3.0
func (UnimplementedRunnerServer) Init(context.Context, *InitRequest) (*InitResponse, error)
type UnsafeApiHelperServer ¶ added in v0.0.13
type UnsafeApiHelperServer interface {
// contains filtered or unexported methods
}
UnsafeApiHelperServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ApiHelperServer will result in compilation errors.
type UnsafeRunnerServer ¶
type UnsafeRunnerServer interface {
// contains filtered or unexported methods
}
UnsafeRunnerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RunnerServer will result in compilation errors.
type UpsertRiskTemplatesRequest ¶ added in v0.3.0
type UpsertRiskTemplatesRequest struct {
PackageName string `protobuf:"bytes,1,opt,name=PackageName,proto3" json:"PackageName,omitempty"`
RiskTemplates []*RiskTemplate `protobuf:"bytes,2,rep,name=RiskTemplates,proto3" json:"RiskTemplates,omitempty"`
// contains filtered or unexported fields
}
func (*UpsertRiskTemplatesRequest) Descriptor
deprecated
added in
v0.3.0
func (*UpsertRiskTemplatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpsertRiskTemplatesRequest.ProtoReflect.Descriptor instead.
func (*UpsertRiskTemplatesRequest) GetPackageName ¶ added in v0.3.0
func (x *UpsertRiskTemplatesRequest) GetPackageName() string
func (*UpsertRiskTemplatesRequest) GetRiskTemplates ¶ added in v0.3.0
func (x *UpsertRiskTemplatesRequest) GetRiskTemplates() []*RiskTemplate
func (*UpsertRiskTemplatesRequest) ProtoMessage ¶ added in v0.3.0
func (*UpsertRiskTemplatesRequest) ProtoMessage()
func (*UpsertRiskTemplatesRequest) ProtoReflect ¶ added in v0.3.0
func (x *UpsertRiskTemplatesRequest) ProtoReflect() protoreflect.Message
func (*UpsertRiskTemplatesRequest) Reset ¶ added in v0.3.0
func (x *UpsertRiskTemplatesRequest) Reset()
func (*UpsertRiskTemplatesRequest) String ¶ added in v0.3.0
func (x *UpsertRiskTemplatesRequest) String() string
type UpsertRiskTemplatesResponse ¶ added in v0.3.0
type UpsertRiskTemplatesResponse struct {
// contains filtered or unexported fields
}
func (*UpsertRiskTemplatesResponse) Descriptor
deprecated
added in
v0.3.0
func (*UpsertRiskTemplatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpsertRiskTemplatesResponse.ProtoReflect.Descriptor instead.
func (*UpsertRiskTemplatesResponse) ProtoMessage ¶ added in v0.3.0
func (*UpsertRiskTemplatesResponse) ProtoMessage()
func (*UpsertRiskTemplatesResponse) ProtoReflect ¶ added in v0.3.0
func (x *UpsertRiskTemplatesResponse) ProtoReflect() protoreflect.Message
func (*UpsertRiskTemplatesResponse) Reset ¶ added in v0.3.0
func (x *UpsertRiskTemplatesResponse) Reset()
func (*UpsertRiskTemplatesResponse) String ¶ added in v0.3.0
func (x *UpsertRiskTemplatesResponse) String() string
type UpsertSubjectTemplatesRequest ¶ added in v0.3.0
type UpsertSubjectTemplatesRequest struct {
SubjectTemplates []*SubjectTemplate `protobuf:"bytes,1,rep,name=SubjectTemplates,proto3" json:"SubjectTemplates,omitempty"`
// contains filtered or unexported fields
}
func (*UpsertSubjectTemplatesRequest) Descriptor
deprecated
added in
v0.3.0
func (*UpsertSubjectTemplatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpsertSubjectTemplatesRequest.ProtoReflect.Descriptor instead.
func (*UpsertSubjectTemplatesRequest) GetSubjectTemplates ¶ added in v0.3.0
func (x *UpsertSubjectTemplatesRequest) GetSubjectTemplates() []*SubjectTemplate
func (*UpsertSubjectTemplatesRequest) ProtoMessage ¶ added in v0.3.0
func (*UpsertSubjectTemplatesRequest) ProtoMessage()
func (*UpsertSubjectTemplatesRequest) ProtoReflect ¶ added in v0.3.0
func (x *UpsertSubjectTemplatesRequest) ProtoReflect() protoreflect.Message
func (*UpsertSubjectTemplatesRequest) Reset ¶ added in v0.3.0
func (x *UpsertSubjectTemplatesRequest) Reset()
func (*UpsertSubjectTemplatesRequest) String ¶ added in v0.3.0
func (x *UpsertSubjectTemplatesRequest) String() string
type UpsertSubjectTemplatesResponse ¶ added in v0.3.0
type UpsertSubjectTemplatesResponse struct {
// contains filtered or unexported fields
}
func (*UpsertSubjectTemplatesResponse) Descriptor
deprecated
added in
v0.3.0
func (*UpsertSubjectTemplatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpsertSubjectTemplatesResponse.ProtoReflect.Descriptor instead.
func (*UpsertSubjectTemplatesResponse) ProtoMessage ¶ added in v0.3.0
func (*UpsertSubjectTemplatesResponse) ProtoMessage()
func (*UpsertSubjectTemplatesResponse) ProtoReflect ¶ added in v0.3.0
func (x *UpsertSubjectTemplatesResponse) ProtoReflect() protoreflect.Message
func (*UpsertSubjectTemplatesResponse) Reset ¶ added in v0.3.0
func (x *UpsertSubjectTemplatesResponse) Reset()
func (*UpsertSubjectTemplatesResponse) String ¶ added in v0.3.0
func (x *UpsertSubjectTemplatesResponse) String() string