v1_6_7

package
v0.0.0-...-b8ce453 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Affected.ProtoReflect.Descriptor instead.

func (*Affected) GetDatabaseSpecific

func (x *Affected) GetDatabaseSpecific() *structpb.Struct

func (*Affected) GetEcosystemSpecific

func (x *Affected) GetEcosystemSpecific() *structpb.Struct

func (*Affected) GetPackage

func (x *Affected) GetPackage() *Package

func (*Affected) GetRanges

func (x *Affected) GetRanges() []*Range

func (*Affected) GetSeverity

func (x *Affected) GetSeverity() []*Severity

func (*Affected) GetVersions

func (x *Affected) GetVersions() []string

func (*Affected) ProtoMessage

func (*Affected) ProtoMessage()

func (*Affected) ProtoReflect

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

func (*Affected) Reset

func (x *Affected) Reset()

func (*Affected) String

func (x *Affected) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Award.ProtoReflect.Descriptor instead.

func (*Award) GetAmount

func (x *Award) GetAmount() string

func (*Award) GetCurrency

func (x *Award) GetCurrency() string

func (*Award) ProtoMessage

func (*Award) ProtoMessage()

func (*Award) ProtoReflect

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

func (*Award) Reset

func (x *Award) Reset()

func (*Award) String

func (x *Award) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use CWE.ProtoReflect.Descriptor instead.

func (*CWE) GetDesc

func (x *CWE) GetDesc() string

func (*CWE) GetId

func (x *CWE) GetId() string

func (*CWE) ProtoMessage

func (*CWE) ProtoMessage()

func (*CWE) ProtoReflect

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

func (*CWE) Reset

func (x *CWE) Reset()

func (*CWE) String

func (x *CWE) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Credit.ProtoReflect.Descriptor instead.

func (*Credit) GetName

func (x *Credit) GetName() string

func (*Credit) GetType

func (x *Credit) GetType() string

func (*Credit) ProtoMessage

func (*Credit) ProtoMessage()

func (*Credit) ProtoReflect

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

func (*Credit) Reset

func (x *Credit) Reset()

func (*Credit) String

func (x *Credit) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Package.ProtoReflect.Descriptor instead.

func (*Package) GetEcosystem

func (x *Package) GetEcosystem() string

func (*Package) GetName

func (x *Package) GetName() string

func (*Package) GetPurl

func (x *Package) GetPurl() string

func (*Package) ProtoMessage

func (*Package) ProtoMessage()

func (*Package) ProtoReflect

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

func (*Package) Reset

func (x *Package) Reset()

func (*Package) String

func (x *Package) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Range.ProtoReflect.Descriptor instead.

func (*Range) GetDatabaseSpecific

func (x *Range) GetDatabaseSpecific() *structpb.Struct

func (*Range) GetEvents

func (x *Range) GetEvents() []*Range_Event

func (*Range) GetRepo

func (x *Range) GetRepo() string

func (*Range) GetType

func (x *Range) GetType() string

func (*Range) ProtoMessage

func (*Range) ProtoMessage()

func (*Range) ProtoReflect

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

func (*Range) Reset

func (x *Range) Reset()

func (*Range) String

func (x *Range) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Record.ProtoReflect.Descriptor instead.

func (*Record) GetAffected

func (x *Record) GetAffected() []*Affected

func (*Record) GetAliases

func (x *Record) GetAliases() []string

func (*Record) GetCredits

func (x *Record) GetCredits() []*Credit

func (*Record) GetDatabaseSpecific

func (x *Record) GetDatabaseSpecific() *structpb.Struct

func (*Record) GetDetails

func (x *Record) GetDetails() string

func (*Record) GetId

func (x *Record) GetId() string

func (*Record) GetModified

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

func (*Record) GetPublished

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

func (*Record) GetReferences

func (x *Record) GetReferences() []*Reference

func (*Record) GetRelated

func (x *Record) GetRelated() []string

func (*Record) GetSchemaVersion

func (x *Record) GetSchemaVersion() string

func (*Record) GetSeverity

func (x *Record) GetSeverity() []*Severity

func (*Record) GetSummary

func (x *Record) GetSummary() string

func (*Record) GetWithdrawn

func (x *Record) GetWithdrawn() *timestamppb.Timestamp

func (*Record) ProtoMessage

func (*Record) ProtoMessage()

func (*Record) ProtoReflect

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

func (*Record) Reset

func (x *Record) Reset()

func (*Record) String

func (x *Record) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Reference.ProtoReflect.Descriptor instead.

func (*Reference) GetType

func (x *Reference) GetType() string

func (*Reference) GetUrl

func (x *Reference) GetUrl() string

func (*Reference) ProtoMessage

func (*Reference) ProtoMessage()

func (*Reference) ProtoReflect

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

func (*Reference) Reset

func (x *Reference) Reset()

func (*Reference) String

func (x *Reference) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Severity.ProtoReflect.Descriptor instead.

func (*Severity) GetScore

func (x *Severity) GetScore() string

func (*Severity) GetType

func (x *Severity) GetType() string

func (*Severity) ProtoMessage

func (*Severity) ProtoMessage()

func (*Severity) ProtoReflect

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

func (*Severity) Reset

func (x *Severity) Reset()

func (*Severity) String

func (x *Severity) String() string

Jump to

Keyboard shortcuts

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