schema

package
v0.0.0-...-de1fd8b Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DatasetIngestRequestType_name = map[int32]string{
		0: "Compliance_License_Tag",
		1: "Compliance_License",
		2: "Weakness_Vulnerability_Tag",
		3: "Weakness_Vulnerability",
		4: "Weakness_Vulnerability_Feature",
	}
	DatasetIngestRequestType_value = map[string]int32{
		"Compliance_License_Tag":         0,
		"Compliance_License":             1,
		"Weakness_Vulnerability_Tag":     2,
		"Weakness_Vulnerability":         3,
		"Weakness_Vulnerability_Feature": 4,
	}
)

Enum value maps for DatasetIngestRequestType.

View Source
var DatasetService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "schema.DatasetService",
	HandlerType: (*DatasetServiceServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Ingest",
			Handler:       _DatasetService_Ingest_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "api.proto",
}

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

Functions

func RegisterDatasetServiceServer

func RegisterDatasetServiceServer(s grpc.ServiceRegistrar, srv DatasetServiceServer)

Types

type ComplianceLicense

type ComplianceLicense struct {

	// primary key
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// management
	CreateTime    *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	UpdateTime    *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	DeprecateTime *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=deprecate_time,json=deprecateTime,proto3,oneof" json:"deprecate_time,omitempty"`
	Tags          []byte                 `protobuf:"bytes,14,opt,name=tags,proto3" json:"tags,omitempty"`
	// information
	Code           string `protobuf:"bytes,21,opt,name=code,proto3" json:"code,omitempty"`
	Description    string `protobuf:"bytes,22,opt,name=description,proto3" json:"description,omitempty"`
	References     []byte `protobuf:"bytes,23,opt,name=references,proto3" json:"references,omitempty"`
	Text           string `protobuf:"bytes,24,opt,name=text,proto3" json:"text,omitempty"`
	StandardHeader string `protobuf:"bytes,25,opt,name=standard_header,json=standardHeader,proto3" json:"standard_header,omitempty"`
	Comments       string `protobuf:"bytes,26,opt,name=comments,proto3" json:"comments,omitempty"`
	// extension
	Specific []byte `protobuf:"bytes,101,opt,name=specific,proto3,oneof" json:"specific,omitempty"`
	// contains filtered or unexported fields
}

func (*ComplianceLicense) Descriptor deprecated

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

Deprecated: Use ComplianceLicense.ProtoReflect.Descriptor instead.

func (*ComplianceLicense) GetCode

func (x *ComplianceLicense) GetCode() string

func (*ComplianceLicense) GetComments

func (x *ComplianceLicense) GetComments() string

func (*ComplianceLicense) GetCreateTime

func (x *ComplianceLicense) GetCreateTime() *timestamppb.Timestamp

func (*ComplianceLicense) GetDeprecateTime

func (x *ComplianceLicense) GetDeprecateTime() *timestamppb.Timestamp

func (*ComplianceLicense) GetDescription

func (x *ComplianceLicense) GetDescription() string

func (*ComplianceLicense) GetName

func (x *ComplianceLicense) GetName() string

func (*ComplianceLicense) GetNamespace

func (x *ComplianceLicense) GetNamespace() string

func (*ComplianceLicense) GetReferences

func (x *ComplianceLicense) GetReferences() []byte

func (*ComplianceLicense) GetSpecific

func (x *ComplianceLicense) GetSpecific() []byte

func (*ComplianceLicense) GetStandardHeader

func (x *ComplianceLicense) GetStandardHeader() string

func (*ComplianceLicense) GetTags

func (x *ComplianceLicense) GetTags() []byte

func (*ComplianceLicense) GetText

func (x *ComplianceLicense) GetText() string

func (*ComplianceLicense) GetUpdateTime

func (x *ComplianceLicense) GetUpdateTime() *timestamppb.Timestamp

func (*ComplianceLicense) ProtoMessage

func (*ComplianceLicense) ProtoMessage()

func (*ComplianceLicense) ProtoReflect

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

func (*ComplianceLicense) Reset

func (x *ComplianceLicense) Reset()

func (*ComplianceLicense) String

func (x *ComplianceLicense) String() string

type ComplianceLicenseTag

type ComplianceLicenseTag struct {

	// primary key
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// management
	CreateTime    *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	UpdateTime    *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	DeprecateTime *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=deprecate_time,json=deprecateTime,proto3,oneof" json:"deprecate_time,omitempty"`
	// information
	Description string `protobuf:"bytes,21,opt,name=description,proto3" json:"description,omitempty"`
	References  []byte `protobuf:"bytes,22,opt,name=references,proto3" json:"references,omitempty"`
	Category    string `protobuf:"bytes,23,opt,name=category,proto3" json:"category,omitempty"`
	// extension
	Specific []byte `protobuf:"bytes,101,opt,name=specific,proto3,oneof" json:"specific,omitempty"`
	// contains filtered or unexported fields
}

func (*ComplianceLicenseTag) Descriptor deprecated

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

Deprecated: Use ComplianceLicenseTag.ProtoReflect.Descriptor instead.

func (*ComplianceLicenseTag) GetCategory

func (x *ComplianceLicenseTag) GetCategory() string

func (*ComplianceLicenseTag) GetCreateTime

func (x *ComplianceLicenseTag) GetCreateTime() *timestamppb.Timestamp

func (*ComplianceLicenseTag) GetDeprecateTime

func (x *ComplianceLicenseTag) GetDeprecateTime() *timestamppb.Timestamp

func (*ComplianceLicenseTag) GetDescription

func (x *ComplianceLicenseTag) GetDescription() string

func (*ComplianceLicenseTag) GetName

func (x *ComplianceLicenseTag) GetName() string

func (*ComplianceLicenseTag) GetReferences

func (x *ComplianceLicenseTag) GetReferences() []byte

func (*ComplianceLicenseTag) GetSpecific

func (x *ComplianceLicenseTag) GetSpecific() []byte

func (*ComplianceLicenseTag) GetUpdateTime

func (x *ComplianceLicenseTag) GetUpdateTime() *timestamppb.Timestamp

func (*ComplianceLicenseTag) ProtoMessage

func (*ComplianceLicenseTag) ProtoMessage()

func (*ComplianceLicenseTag) ProtoReflect

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

func (*ComplianceLicenseTag) Reset

func (x *ComplianceLicenseTag) Reset()

func (*ComplianceLicenseTag) String

func (x *ComplianceLicenseTag) String() string

type ComplianceLicenseTags

type ComplianceLicenseTags struct {
	Items []*ComplianceLicenseTag `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ComplianceLicenseTags) Descriptor deprecated

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

Deprecated: Use ComplianceLicenseTags.ProtoReflect.Descriptor instead.

func (*ComplianceLicenseTags) GetItems

func (*ComplianceLicenseTags) ProtoMessage

func (*ComplianceLicenseTags) ProtoMessage()

func (*ComplianceLicenseTags) ProtoReflect

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

func (*ComplianceLicenseTags) Reset

func (x *ComplianceLicenseTags) Reset()

func (*ComplianceLicenseTags) String

func (x *ComplianceLicenseTags) String() string

type ComplianceLicenses

type ComplianceLicenses struct {
	Items []*ComplianceLicense `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ComplianceLicenses) Descriptor deprecated

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

Deprecated: Use ComplianceLicenses.ProtoReflect.Descriptor instead.

func (*ComplianceLicenses) GetItems

func (x *ComplianceLicenses) GetItems() []*ComplianceLicense

func (*ComplianceLicenses) ProtoMessage

func (*ComplianceLicenses) ProtoMessage()

func (*ComplianceLicenses) ProtoReflect

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

func (*ComplianceLicenses) Reset

func (x *ComplianceLicenses) Reset()

func (*ComplianceLicenses) String

func (x *ComplianceLicenses) String() string

type DatasetIngestRequest

type DatasetIngestRequest struct {

	// continuation
	Window     int32  `protobuf:"varint,1,opt,name=window,proto3" json:"window,omitempty"` // start from 0
	WindowSize *int32 `protobuf:"varint,2,opt,name=window_size,json=windowSize,proto3,oneof" json:"window_size,omitempty"`
	// condition
	Type  DatasetIngestRequestType `protobuf:"varint,11,opt,name=type,proto3,enum=schema.DatasetIngestRequestType" json:"type,omitempty"`
	Since *timestamppb.Timestamp   `protobuf:"bytes,12,opt,name=since,proto3,oneof" json:"since,omitempty"`
	// contains filtered or unexported fields
}

func (*DatasetIngestRequest) Descriptor deprecated

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

Deprecated: Use DatasetIngestRequest.ProtoReflect.Descriptor instead.

func (*DatasetIngestRequest) GetSince

func (*DatasetIngestRequest) GetType

func (*DatasetIngestRequest) GetWindow

func (x *DatasetIngestRequest) GetWindow() int32

func (*DatasetIngestRequest) GetWindowSize

func (x *DatasetIngestRequest) GetWindowSize() int32

func (*DatasetIngestRequest) ProtoMessage

func (*DatasetIngestRequest) ProtoMessage()

func (*DatasetIngestRequest) ProtoReflect

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

func (*DatasetIngestRequest) Reset

func (x *DatasetIngestRequest) Reset()

func (*DatasetIngestRequest) String

func (x *DatasetIngestRequest) String() string

type DatasetIngestRequestType

type DatasetIngestRequestType int32
const (
	DatasetIngestRequestType_Compliance_License_Tag         DatasetIngestRequestType = 0
	DatasetIngestRequestType_Compliance_License             DatasetIngestRequestType = 1
	DatasetIngestRequestType_Weakness_Vulnerability_Tag     DatasetIngestRequestType = 2
	DatasetIngestRequestType_Weakness_Vulnerability         DatasetIngestRequestType = 3
	DatasetIngestRequestType_Weakness_Vulnerability_Feature DatasetIngestRequestType = 4
)

func (DatasetIngestRequestType) Descriptor

func (DatasetIngestRequestType) Enum

func (DatasetIngestRequestType) EnumDescriptor deprecated

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

Deprecated: Use DatasetIngestRequestType.Descriptor instead.

func (DatasetIngestRequestType) Number

func (DatasetIngestRequestType) String

func (x DatasetIngestRequestType) String() string

func (DatasetIngestRequestType) Type

type DatasetIngestResponse

type DatasetIngestResponse struct {

	// continuation
	NextWindow *int32 `protobuf:"varint,1,opt,name=next_window,json=nextWindow,proto3,oneof" json:"next_window,omitempty"`
	WindowSize int32  `protobuf:"varint,2,opt,name=window_size,json=windowSize,proto3" json:"window_size,omitempty"`
	// result
	//
	// Types that are assignable to Body:
	//	*DatasetIngestResponse_ComplianceLicenses
	//	*DatasetIngestResponse_ComplianceLicenseTags
	//	*DatasetIngestResponse_WeaknessVulnerabilities
	//	*DatasetIngestResponse_WeaknessVulnerabilityTags
	//	*DatasetIngestResponse_WeaknessVulnerabilityFeatures
	Body isDatasetIngestResponse_Body `protobuf_oneof:"body"`
	// contains filtered or unexported fields
}

func (*DatasetIngestResponse) Descriptor deprecated

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

Deprecated: Use DatasetIngestResponse.ProtoReflect.Descriptor instead.

func (*DatasetIngestResponse) GetBody

func (m *DatasetIngestResponse) GetBody() isDatasetIngestResponse_Body

func (*DatasetIngestResponse) GetComplianceLicenseTags

func (x *DatasetIngestResponse) GetComplianceLicenseTags() *ComplianceLicenseTags

func (*DatasetIngestResponse) GetComplianceLicenses

func (x *DatasetIngestResponse) GetComplianceLicenses() *ComplianceLicenses

func (*DatasetIngestResponse) GetNextWindow

func (x *DatasetIngestResponse) GetNextWindow() int32

func (*DatasetIngestResponse) GetWeaknessVulnerabilities

func (x *DatasetIngestResponse) GetWeaknessVulnerabilities() *WeaknessVulnerabilities

func (*DatasetIngestResponse) GetWeaknessVulnerabilityFeatures

func (x *DatasetIngestResponse) GetWeaknessVulnerabilityFeatures() *WeaknessVulnerabilityFeatures

func (*DatasetIngestResponse) GetWeaknessVulnerabilityTags

func (x *DatasetIngestResponse) GetWeaknessVulnerabilityTags() *WeaknessVulnerabilityTags

func (*DatasetIngestResponse) GetWindowSize

func (x *DatasetIngestResponse) GetWindowSize() int32

func (*DatasetIngestResponse) ProtoMessage

func (*DatasetIngestResponse) ProtoMessage()

func (*DatasetIngestResponse) ProtoReflect

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

func (*DatasetIngestResponse) Reset

func (x *DatasetIngestResponse) Reset()

func (*DatasetIngestResponse) String

func (x *DatasetIngestResponse) String() string

type DatasetIngestResponseBody

type DatasetIngestResponseBody = isDatasetIngestResponse_Body

DatasetIngestResponseBody exposes the private isDatasetIngestResponse_Body of protoc generation.

type DatasetIngestResponse_ComplianceLicenseTags

type DatasetIngestResponse_ComplianceLicenseTags struct {
	ComplianceLicenseTags *ComplianceLicenseTags `protobuf:"bytes,12,opt,name=compliance_license_tags,json=complianceLicenseTags,proto3,oneof"`
}

type DatasetIngestResponse_ComplianceLicenses

type DatasetIngestResponse_ComplianceLicenses struct {
	ComplianceLicenses *ComplianceLicenses `protobuf:"bytes,11,opt,name=compliance_licenses,json=complianceLicenses,proto3,oneof"`
}

type DatasetIngestResponse_WeaknessVulnerabilities

type DatasetIngestResponse_WeaknessVulnerabilities struct {
	WeaknessVulnerabilities *WeaknessVulnerabilities `protobuf:"bytes,13,opt,name=weakness_vulnerabilities,json=weaknessVulnerabilities,proto3,oneof"`
}

type DatasetIngestResponse_WeaknessVulnerabilityFeatures

type DatasetIngestResponse_WeaknessVulnerabilityFeatures struct {
	WeaknessVulnerabilityFeatures *WeaknessVulnerabilityFeatures `protobuf:"bytes,15,opt,name=weakness_vulnerability_features,json=weaknessVulnerabilityFeatures,proto3,oneof"`
}

type DatasetIngestResponse_WeaknessVulnerabilityTags

type DatasetIngestResponse_WeaknessVulnerabilityTags struct {
	WeaknessVulnerabilityTags *WeaknessVulnerabilityTags `protobuf:"bytes,14,opt,name=weakness_vulnerability_tags,json=weaknessVulnerabilityTags,proto3,oneof"`
}

type DatasetServiceClient

type DatasetServiceClient interface {
	Ingest(ctx context.Context, opts ...grpc.CallOption) (DatasetService_IngestClient, error)
}

DatasetServiceClient is the client API for DatasetService 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.

type DatasetServiceServer

type DatasetServiceServer interface {
	Ingest(DatasetService_IngestServer) error
	// contains filtered or unexported methods
}

DatasetServiceServer is the server API for DatasetService service. All implementations must embed UnimplementedDatasetServiceServer for forward compatibility

type DatasetService_IngestClient

type DatasetService_IngestClient interface {
	Send(*DatasetIngestRequest) error
	Recv() (*DatasetIngestResponse, error)
	grpc.ClientStream
}

type DatasetService_IngestServer

type DatasetService_IngestServer interface {
	Send(*DatasetIngestResponse) error
	Recv() (*DatasetIngestRequest, error)
	grpc.ServerStream
}

type UnimplementedDatasetServiceServer

type UnimplementedDatasetServiceServer struct {
}

UnimplementedDatasetServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedDatasetServiceServer) Ingest

type UnsafeDatasetServiceServer

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

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

type WeaknessVulnerabilities

type WeaknessVulnerabilities struct {
	Items []*WeaknessVulnerability `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*WeaknessVulnerabilities) Descriptor deprecated

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

Deprecated: Use WeaknessVulnerabilities.ProtoReflect.Descriptor instead.

func (*WeaknessVulnerabilities) GetItems

func (*WeaknessVulnerabilities) ProtoMessage

func (*WeaknessVulnerabilities) ProtoMessage()

func (*WeaknessVulnerabilities) ProtoReflect

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

func (*WeaknessVulnerabilities) Reset

func (x *WeaknessVulnerabilities) Reset()

func (*WeaknessVulnerabilities) String

func (x *WeaknessVulnerabilities) String() string

type WeaknessVulnerability

type WeaknessVulnerability struct {

	// primary key
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Purl      string `protobuf:"bytes,3,opt,name=purl,proto3" json:"purl,omitempty"`
	// management
	CreateTime    *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	UpdateTime    *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	DeprecateTime *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=deprecate_time,json=deprecateTime,proto3,oneof" json:"deprecate_time,omitempty"`
	Tags          []byte                 `protobuf:"bytes,14,opt,name=tags,proto3" json:"tags,omitempty"`
	PurlFuzzy     string                 `protobuf:"bytes,15,opt,name=purl_fuzzy,json=purlFuzzy,proto3" json:"purl_fuzzy,omitempty"`
	// information
	Code         string                 `protobuf:"bytes,21,opt,name=code,proto3" json:"code,omitempty"`
	Description  string                 `protobuf:"bytes,22,opt,name=description,proto3" json:"description,omitempty"`
	References   []byte                 `protobuf:"bytes,23,opt,name=references,proto3" json:"references,omitempty"`
	Summary      string                 `protobuf:"bytes,24,opt,name=summary,proto3" json:"summary,omitempty"`
	Mitigation   string                 `protobuf:"bytes,25,opt,name=mitigation,proto3" json:"mitigation,omitempty"`
	Exploitation string                 `protobuf:"bytes,26,opt,name=exploitation,proto3" json:"exploitation,omitempty"`
	Affected     string                 `protobuf:"bytes,27,opt,name=affected,proto3" json:"affected,omitempty"`
	Patched      []byte                 `protobuf:"bytes,28,opt,name=patched,proto3" json:"patched,omitempty"`
	Cvss         []byte                 `protobuf:"bytes,29,opt,name=cvss,proto3" json:"cvss,omitempty"`
	Cwes         []byte                 `protobuf:"bytes,30,opt,name=cwes,proto3" json:"cwes,omitempty"`
	Epss         []byte                 `protobuf:"bytes,31,opt,name=epss,proto3" json:"epss,omitempty"`
	Published    *timestamppb.Timestamp `protobuf:"bytes,32,opt,name=published,proto3" json:"published,omitempty"`
	Modified     *timestamppb.Timestamp `protobuf:"bytes,33,opt,name=modified,proto3" json:"modified,omitempty"`
	// extension
	Specific []byte `protobuf:"bytes,101,opt,name=specific,proto3,oneof" json:"specific,omitempty"`
	// contains filtered or unexported fields
}

func (*WeaknessVulnerability) Descriptor deprecated

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

Deprecated: Use WeaknessVulnerability.ProtoReflect.Descriptor instead.

func (*WeaknessVulnerability) GetAffected

func (x *WeaknessVulnerability) GetAffected() string

func (*WeaknessVulnerability) GetCode

func (x *WeaknessVulnerability) GetCode() string

func (*WeaknessVulnerability) GetCreateTime

func (x *WeaknessVulnerability) GetCreateTime() *timestamppb.Timestamp

func (*WeaknessVulnerability) GetCvss

func (x *WeaknessVulnerability) GetCvss() []byte

func (*WeaknessVulnerability) GetCwes

func (x *WeaknessVulnerability) GetCwes() []byte

func (*WeaknessVulnerability) GetDeprecateTime

func (x *WeaknessVulnerability) GetDeprecateTime() *timestamppb.Timestamp

func (*WeaknessVulnerability) GetDescription

func (x *WeaknessVulnerability) GetDescription() string

func (*WeaknessVulnerability) GetEpss

func (x *WeaknessVulnerability) GetEpss() []byte

func (*WeaknessVulnerability) GetExploitation

func (x *WeaknessVulnerability) GetExploitation() string

func (*WeaknessVulnerability) GetMitigation

func (x *WeaknessVulnerability) GetMitigation() string

func (*WeaknessVulnerability) GetModified

func (x *WeaknessVulnerability) GetModified() *timestamppb.Timestamp

func (*WeaknessVulnerability) GetName

func (x *WeaknessVulnerability) GetName() string

func (*WeaknessVulnerability) GetNamespace

func (x *WeaknessVulnerability) GetNamespace() string

func (*WeaknessVulnerability) GetPatched

func (x *WeaknessVulnerability) GetPatched() []byte

func (*WeaknessVulnerability) GetPublished

func (x *WeaknessVulnerability) GetPublished() *timestamppb.Timestamp

func (*WeaknessVulnerability) GetPurl

func (x *WeaknessVulnerability) GetPurl() string

func (*WeaknessVulnerability) GetPurlFuzzy

func (x *WeaknessVulnerability) GetPurlFuzzy() string

func (*WeaknessVulnerability) GetReferences

func (x *WeaknessVulnerability) GetReferences() []byte

func (*WeaknessVulnerability) GetSpecific

func (x *WeaknessVulnerability) GetSpecific() []byte

func (*WeaknessVulnerability) GetSummary

func (x *WeaknessVulnerability) GetSummary() string

func (*WeaknessVulnerability) GetTags

func (x *WeaknessVulnerability) GetTags() []byte

func (*WeaknessVulnerability) GetUpdateTime

func (x *WeaknessVulnerability) GetUpdateTime() *timestamppb.Timestamp

func (*WeaknessVulnerability) ProtoMessage

func (*WeaknessVulnerability) ProtoMessage()

func (*WeaknessVulnerability) ProtoReflect

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

func (*WeaknessVulnerability) Reset

func (x *WeaknessVulnerability) Reset()

func (*WeaknessVulnerability) String

func (x *WeaknessVulnerability) String() string

type WeaknessVulnerabilityFeature

type WeaknessVulnerabilityFeature struct {

	// primary key
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// management
	CreateTime    *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	UpdateTime    *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	DeprecateTime *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=deprecate_time,json=deprecateTime,proto3,oneof" json:"deprecate_time,omitempty"`
	// information
	Description string `protobuf:"bytes,21,opt,name=description,proto3" json:"description,omitempty"`
	Type        string `protobuf:"bytes,22,opt,name=type,proto3" json:"type,omitempty"`
	Value       []byte `protobuf:"bytes,23,opt,name=value,proto3,oneof" json:"value,omitempty"`
	Disabled    bool   `protobuf:"varint,24,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// contains filtered or unexported fields
}

func (*WeaknessVulnerabilityFeature) Descriptor deprecated

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

Deprecated: Use WeaknessVulnerabilityFeature.ProtoReflect.Descriptor instead.

func (*WeaknessVulnerabilityFeature) GetCreateTime

func (*WeaknessVulnerabilityFeature) GetDeprecateTime

func (x *WeaknessVulnerabilityFeature) GetDeprecateTime() *timestamppb.Timestamp

func (*WeaknessVulnerabilityFeature) GetDescription

func (x *WeaknessVulnerabilityFeature) GetDescription() string

func (*WeaknessVulnerabilityFeature) GetDisabled

func (x *WeaknessVulnerabilityFeature) GetDisabled() bool

func (*WeaknessVulnerabilityFeature) GetName

func (x *WeaknessVulnerabilityFeature) GetName() string

func (*WeaknessVulnerabilityFeature) GetType

func (x *WeaknessVulnerabilityFeature) GetType() string

func (*WeaknessVulnerabilityFeature) GetUpdateTime

func (*WeaknessVulnerabilityFeature) GetValue

func (x *WeaknessVulnerabilityFeature) GetValue() []byte

func (*WeaknessVulnerabilityFeature) ProtoMessage

func (*WeaknessVulnerabilityFeature) ProtoMessage()

func (*WeaknessVulnerabilityFeature) ProtoReflect

func (*WeaknessVulnerabilityFeature) Reset

func (x *WeaknessVulnerabilityFeature) Reset()

func (*WeaknessVulnerabilityFeature) String

type WeaknessVulnerabilityFeatures

type WeaknessVulnerabilityFeatures struct {
	Items []*WeaknessVulnerabilityFeature `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*WeaknessVulnerabilityFeatures) Descriptor deprecated

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

Deprecated: Use WeaknessVulnerabilityFeatures.ProtoReflect.Descriptor instead.

func (*WeaknessVulnerabilityFeatures) GetItems

func (*WeaknessVulnerabilityFeatures) ProtoMessage

func (*WeaknessVulnerabilityFeatures) ProtoMessage()

func (*WeaknessVulnerabilityFeatures) ProtoReflect

func (*WeaknessVulnerabilityFeatures) Reset

func (x *WeaknessVulnerabilityFeatures) Reset()

func (*WeaknessVulnerabilityFeatures) String

type WeaknessVulnerabilityTag

type WeaknessVulnerabilityTag struct {

	// primary key
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// management
	CreateTime    *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	UpdateTime    *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	DeprecateTime *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=deprecate_time,json=deprecateTime,proto3,oneof" json:"deprecate_time,omitempty"`
	// information
	Description string                 `protobuf:"bytes,21,opt,name=description,proto3" json:"description,omitempty"`
	References  []byte                 `protobuf:"bytes,22,opt,name=references,proto3" json:"references,omitempty"`
	Exploits    []byte                 `protobuf:"bytes,23,opt,name=exploits,proto3" json:"exploits,omitempty"`
	Category    string                 `protobuf:"bytes,24,opt,name=category,proto3" json:"category,omitempty"`
	Cvsses      []byte                 `protobuf:"bytes,25,opt,name=cvsses,proto3" json:"cvsses,omitempty"`
	Cwes        []byte                 `protobuf:"bytes,26,opt,name=cwes,proto3" json:"cwes,omitempty"`
	Cpes        []byte                 `protobuf:"bytes,27,opt,name=cpes,proto3" json:"cpes,omitempty"`
	Epsses      []byte                 `protobuf:"bytes,28,opt,name=epsses,proto3" json:"epsses,omitempty"`
	Published   *timestamppb.Timestamp `protobuf:"bytes,29,opt,name=published,proto3" json:"published,omitempty"`
	Modified    *timestamppb.Timestamp `protobuf:"bytes,30,opt,name=modified,proto3" json:"modified,omitempty"`
	// extension
	Specific []byte `protobuf:"bytes,101,opt,name=specific,proto3,oneof" json:"specific,omitempty"`
	// contains filtered or unexported fields
}

func (*WeaknessVulnerabilityTag) Descriptor deprecated

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

Deprecated: Use WeaknessVulnerabilityTag.ProtoReflect.Descriptor instead.

func (*WeaknessVulnerabilityTag) GetCategory

func (x *WeaknessVulnerabilityTag) GetCategory() string

func (*WeaknessVulnerabilityTag) GetCpes

func (x *WeaknessVulnerabilityTag) GetCpes() []byte

func (*WeaknessVulnerabilityTag) GetCreateTime

func (x *WeaknessVulnerabilityTag) GetCreateTime() *timestamppb.Timestamp

func (*WeaknessVulnerabilityTag) GetCvsses

func (x *WeaknessVulnerabilityTag) GetCvsses() []byte

func (*WeaknessVulnerabilityTag) GetCwes

func (x *WeaknessVulnerabilityTag) GetCwes() []byte

func (*WeaknessVulnerabilityTag) GetDeprecateTime

func (x *WeaknessVulnerabilityTag) GetDeprecateTime() *timestamppb.Timestamp

func (*WeaknessVulnerabilityTag) GetDescription

func (x *WeaknessVulnerabilityTag) GetDescription() string

func (*WeaknessVulnerabilityTag) GetEpsses

func (x *WeaknessVulnerabilityTag) GetEpsses() []byte

func (*WeaknessVulnerabilityTag) GetExploits

func (x *WeaknessVulnerabilityTag) GetExploits() []byte

func (*WeaknessVulnerabilityTag) GetModified

func (*WeaknessVulnerabilityTag) GetName

func (x *WeaknessVulnerabilityTag) GetName() string

func (*WeaknessVulnerabilityTag) GetPublished

func (x *WeaknessVulnerabilityTag) GetPublished() *timestamppb.Timestamp

func (*WeaknessVulnerabilityTag) GetReferences

func (x *WeaknessVulnerabilityTag) GetReferences() []byte

func (*WeaknessVulnerabilityTag) GetSpecific

func (x *WeaknessVulnerabilityTag) GetSpecific() []byte

func (*WeaknessVulnerabilityTag) GetUpdateTime

func (x *WeaknessVulnerabilityTag) GetUpdateTime() *timestamppb.Timestamp

func (*WeaknessVulnerabilityTag) ProtoMessage

func (*WeaknessVulnerabilityTag) ProtoMessage()

func (*WeaknessVulnerabilityTag) ProtoReflect

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

func (*WeaknessVulnerabilityTag) Reset

func (x *WeaknessVulnerabilityTag) Reset()

func (*WeaknessVulnerabilityTag) String

func (x *WeaknessVulnerabilityTag) String() string

type WeaknessVulnerabilityTags

type WeaknessVulnerabilityTags struct {
	Items []*WeaknessVulnerabilityTag `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*WeaknessVulnerabilityTags) Descriptor deprecated

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

Deprecated: Use WeaknessVulnerabilityTags.ProtoReflect.Descriptor instead.

func (*WeaknessVulnerabilityTags) GetItems

func (*WeaknessVulnerabilityTags) ProtoMessage

func (*WeaknessVulnerabilityTags) ProtoMessage()

func (*WeaknessVulnerabilityTags) ProtoReflect

func (*WeaknessVulnerabilityTags) Reset

func (x *WeaknessVulnerabilityTags) Reset()

func (*WeaknessVulnerabilityTags) String

func (x *WeaknessVulnerabilityTags) String() string

Jump to

Keyboard shortcuts

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