Documentation
¶
Index ¶
- Variables
- type Affected
- func (*Affected) Descriptor() ([]byte, []int)deprecated
- func (x *Affected) GetDatabaseSpecific() *structpb.Struct
- func (x *Affected) GetEcosystemSpecific() *structpb.Struct
- func (x *Affected) GetPackage() *Package
- func (x *Affected) GetRanges() []*Range
- func (x *Affected) GetSeverity() []*Severity
- func (x *Affected) GetVersions() []string
- func (*Affected) ProtoMessage()
- func (x *Affected) ProtoReflect() protoreflect.Message
- func (x *Affected) Reset()
- func (x *Affected) String() string
- type Award
- type CWE
- type Credit
- type Package
- func (*Package) Descriptor() ([]byte, []int)deprecated
- func (x *Package) GetEcosystem() string
- func (x *Package) GetName() string
- func (x *Package) GetPurl() string
- func (*Package) ProtoMessage()
- func (x *Package) ProtoReflect() protoreflect.Message
- func (x *Package) Reset()
- func (x *Package) String() string
- type Range
- func (*Range) Descriptor() ([]byte, []int)deprecated
- func (x *Range) GetDatabaseSpecific() *structpb.Struct
- func (x *Range) GetEvents() []*Range_Event
- func (x *Range) GetRepo() string
- func (x *Range) GetType() string
- func (*Range) ProtoMessage()
- func (x *Range) ProtoReflect() protoreflect.Message
- func (x *Range) Reset()
- func (x *Range) String() string
- type Range_Event
- func (*Range_Event) Descriptor() ([]byte, []int)deprecated
- func (x *Range_Event) GetFixed() string
- func (x *Range_Event) GetIntroduced() string
- func (x *Range_Event) GetLastAffected() string
- func (x *Range_Event) GetLimit() string
- func (*Range_Event) ProtoMessage()
- func (x *Range_Event) ProtoReflect() protoreflect.Message
- func (x *Range_Event) Reset()
- func (x *Range_Event) String() string
- type Record
- func (*Record) Descriptor() ([]byte, []int)deprecated
- func (x *Record) GetAffected() []*Affected
- func (x *Record) GetAliases() []string
- func (x *Record) GetCredits() []*Credit
- func (x *Record) GetDatabaseSpecific() *structpb.Struct
- func (x *Record) GetDetails() string
- func (x *Record) GetId() string
- func (x *Record) GetModified() *timestamppb.Timestamp
- func (x *Record) GetPublished() *timestamppb.Timestamp
- func (x *Record) GetReferences() []*Reference
- func (x *Record) GetRelated() []string
- func (x *Record) GetSchemaVersion() string
- func (x *Record) GetSeverity() []*Severity
- func (x *Record) GetSummary() string
- func (x *Record) GetWithdrawn() *timestamppb.Timestamp
- func (*Record) ProtoMessage()
- func (x *Record) ProtoReflect() protoreflect.Message
- func (x *Record) Reset()
- func (x *Record) String() string
- type Reference
- type Severity
Constants ¶
This section is empty.
Variables ¶
View Source
var File_v1_6_7_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Affected ¶
type Affected struct {
Package *Package `protobuf:"bytes,1,opt,name=package,proto3" json:"package,omitempty"`
Severity []*Severity `protobuf:"bytes,2,rep,name=severity,proto3" json:"severity,omitempty"`
Ranges []*Range `protobuf:"bytes,3,rep,name=ranges,proto3" json:"ranges,omitempty"`
Versions []string `protobuf:"bytes,4,rep,name=versions,proto3" json:"versions,omitempty"`
EcosystemSpecific *structpb.Struct `protobuf:"bytes,5,opt,name=ecosystem_specific,json=ecosystemSpecific,proto3" json:"ecosystem_specific,omitempty"`
DatabaseSpecific *structpb.Struct `protobuf:"bytes,6,opt,name=database_specific,json=databaseSpecific,proto3" json:"database_specific,omitempty"`
// contains filtered or unexported fields
}
func (*Affected) Descriptor
deprecated
func (*Affected) GetDatabaseSpecific ¶
func (*Affected) GetEcosystemSpecific ¶
func (*Affected) GetPackage ¶
func (*Affected) GetSeverity ¶
func (*Affected) GetVersions ¶
func (*Affected) ProtoMessage ¶
func (*Affected) ProtoMessage()
func (*Affected) ProtoReflect ¶
func (x *Affected) ProtoReflect() protoreflect.Message
type Award ¶
type Award struct {
Amount string `protobuf:"bytes,1,opt,name=Amount,proto3" json:"Amount,omitempty"`
Currency string `protobuf:"bytes,2,opt,name=Currency,proto3" json:"Currency,omitempty"`
// contains filtered or unexported fields
}
func (*Award) Descriptor
deprecated
func (*Award) GetCurrency ¶
func (*Award) ProtoMessage ¶
func (*Award) ProtoMessage()
func (*Award) ProtoReflect ¶
func (x *Award) ProtoReflect() protoreflect.Message
type CWE ¶
type CWE struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Desc string `protobuf:"bytes,2,opt,name=desc,proto3" json:"desc,omitempty"`
// contains filtered or unexported fields
}
func (*CWE) Descriptor
deprecated
func (*CWE) ProtoMessage ¶
func (*CWE) ProtoMessage()
func (*CWE) ProtoReflect ¶
func (x *CWE) ProtoReflect() protoreflect.Message
type Credit ¶
type Credit struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
// contains filtered or unexported fields
}
func (*Credit) Descriptor
deprecated
func (*Credit) ProtoMessage ¶
func (*Credit) ProtoMessage()
func (*Credit) ProtoReflect ¶
func (x *Credit) ProtoReflect() protoreflect.Message
type Package ¶
type Package struct {
Ecosystem string `protobuf:"bytes,1,opt,name=ecosystem,proto3" json:"ecosystem,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"`
// contains filtered or unexported fields
}
func (*Package) Descriptor
deprecated
func (*Package) GetEcosystem ¶
func (*Package) ProtoMessage ¶
func (*Package) ProtoMessage()
func (*Package) ProtoReflect ¶
func (x *Package) ProtoReflect() protoreflect.Message
type Range ¶
type Range struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Repo string `protobuf:"bytes,2,opt,name=repo,proto3" json:"repo,omitempty"`
Events []*Range_Event `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"`
DatabaseSpecific *structpb.Struct `protobuf:"bytes,4,opt,name=database_specific,json=databaseSpecific,proto3" json:"database_specific,omitempty"`
// contains filtered or unexported fields
}
func (*Range) Descriptor
deprecated
func (*Range) GetDatabaseSpecific ¶
func (*Range) GetEvents ¶
func (x *Range) GetEvents() []*Range_Event
func (*Range) ProtoMessage ¶
func (*Range) ProtoMessage()
func (*Range) ProtoReflect ¶
func (x *Range) ProtoReflect() protoreflect.Message
type Range_Event ¶
type Range_Event struct {
Introduced string `protobuf:"bytes,1,opt,name=introduced,proto3" json:"introduced,omitempty"`
Fixed string `protobuf:"bytes,2,opt,name=fixed,proto3" json:"fixed,omitempty"`
LastAffected string `protobuf:"bytes,3,opt,name=last_affected,json=lastAffected,proto3" json:"last_affected,omitempty"`
Limit string `protobuf:"bytes,4,opt,name=limit,proto3" json:"limit,omitempty"`
// contains filtered or unexported fields
}
func (*Range_Event) Descriptor
deprecated
func (*Range_Event) Descriptor() ([]byte, []int)
Deprecated: Use Range_Event.ProtoReflect.Descriptor instead.
func (*Range_Event) GetFixed ¶
func (x *Range_Event) GetFixed() string
func (*Range_Event) GetIntroduced ¶
func (x *Range_Event) GetIntroduced() string
func (*Range_Event) GetLastAffected ¶
func (x *Range_Event) GetLastAffected() string
func (*Range_Event) GetLimit ¶
func (x *Range_Event) GetLimit() string
func (*Range_Event) ProtoMessage ¶
func (*Range_Event) ProtoMessage()
func (*Range_Event) ProtoReflect ¶
func (x *Range_Event) ProtoReflect() protoreflect.Message
func (*Range_Event) Reset ¶
func (x *Range_Event) Reset()
func (*Range_Event) String ¶
func (x *Range_Event) String() string
type Record ¶
type Record struct {
SchemaVersion string `protobuf:"bytes,1,opt,name=schema_version,json=schemaVersion,proto3" json:"schema_version,omitempty"`
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
Modified *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=modified,proto3" json:"modified,omitempty"`
Published *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=published,proto3" json:"published,omitempty"`
Withdrawn *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=withdrawn,proto3" json:"withdrawn,omitempty"`
Aliases []string `protobuf:"bytes,6,rep,name=aliases,proto3" json:"aliases,omitempty"`
Related []string `protobuf:"bytes,7,rep,name=related,proto3" json:"related,omitempty"`
Summary string `protobuf:"bytes,8,opt,name=summary,proto3" json:"summary,omitempty"`
Details string `protobuf:"bytes,9,opt,name=details,proto3" json:"details,omitempty"`
Severity []*Severity `protobuf:"bytes,10,rep,name=severity,proto3" json:"severity,omitempty"`
Affected []*Affected `protobuf:"bytes,11,rep,name=affected,proto3" json:"affected,omitempty"`
References []*Reference `protobuf:"bytes,12,rep,name=references,proto3" json:"references,omitempty"`
Credits []*Credit `protobuf:"bytes,13,rep,name=credits,proto3" json:"credits,omitempty"`
DatabaseSpecific *structpb.Struct `protobuf:"bytes,14,opt,name=database_specific,json=databaseSpecific,proto3" json:"database_specific,omitempty"`
// contains filtered or unexported fields
}
func (*Record) Descriptor
deprecated
func (*Record) GetAffected ¶
func (*Record) GetAliases ¶
func (*Record) GetCredits ¶
func (*Record) GetDatabaseSpecific ¶
func (*Record) GetDetails ¶
func (*Record) GetModified ¶
func (x *Record) GetModified() *timestamppb.Timestamp
func (*Record) GetPublished ¶
func (x *Record) GetPublished() *timestamppb.Timestamp
func (*Record) GetReferences ¶
func (*Record) GetRelated ¶
func (*Record) GetSchemaVersion ¶
func (*Record) GetSeverity ¶
func (*Record) GetSummary ¶
func (*Record) GetWithdrawn ¶
func (x *Record) GetWithdrawn() *timestamppb.Timestamp
func (*Record) ProtoMessage ¶
func (*Record) ProtoMessage()
func (*Record) ProtoReflect ¶
func (x *Record) ProtoReflect() protoreflect.Message
type Reference ¶
type Reference struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
// contains filtered or unexported fields
}
func (*Reference) Descriptor
deprecated
func (*Reference) ProtoMessage ¶
func (*Reference) ProtoMessage()
func (*Reference) ProtoReflect ¶
func (x *Reference) ProtoReflect() protoreflect.Message
type Severity ¶
type Severity struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Score string `protobuf:"bytes,2,opt,name=score,proto3" json:"score,omitempty"`
// contains filtered or unexported fields
}
func (*Severity) Descriptor
deprecated
func (*Severity) ProtoMessage ¶
func (*Severity) ProtoMessage()
func (*Severity) ProtoReflect ¶
func (x *Severity) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.