Documentation ¶
Index ¶
- Variables
- type Application
- func (*Application) Descriptor() ([]byte, []int)
- func (m *Application) GetFilePath() string
- func (m *Application) GetLibraries() []*Library
- func (m *Application) GetType() string
- func (*Application) ProtoMessage()
- func (m *Application) Reset()
- func (m *Application) String() string
- func (m *Application) XXX_DiscardUnknown()
- func (m *Application) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Application) XXX_Merge(src proto.Message)
- func (m *Application) XXX_Size() int
- func (m *Application) XXX_Unmarshal(b []byte) error
- type Library
- func (*Library) Descriptor() ([]byte, []int)
- func (m *Library) GetName() string
- func (m *Library) GetVersion() string
- func (*Library) ProtoMessage()
- func (m *Library) Reset()
- func (m *Library) String() string
- func (m *Library) XXX_DiscardUnknown()
- func (m *Library) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Library) XXX_Merge(src proto.Message)
- func (m *Library) XXX_Size() int
- func (m *Library) XXX_Unmarshal(b []byte) error
- type OS
- func (*OS) Descriptor() ([]byte, []int)
- func (m *OS) GetFamily() string
- func (m *OS) GetName() string
- func (*OS) ProtoMessage()
- func (m *OS) Reset()
- func (m *OS) String() string
- func (m *OS) XXX_DiscardUnknown()
- func (m *OS) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OS) XXX_Merge(src proto.Message)
- func (m *OS) XXX_Size() int
- func (m *OS) XXX_Unmarshal(b []byte) error
- type Package
- func (*Package) Descriptor() ([]byte, []int)
- func (m *Package) GetArch() string
- func (m *Package) GetEpoch() int32
- func (m *Package) GetName() string
- func (m *Package) GetRelease() string
- func (m *Package) GetSrcEpoch() int32
- func (m *Package) GetSrcName() string
- func (m *Package) GetSrcRelease() string
- func (m *Package) GetSrcVersion() string
- func (m *Package) GetVersion() string
- func (*Package) ProtoMessage()
- func (m *Package) Reset()
- func (m *Package) String() string
- func (m *Package) XXX_DiscardUnknown()
- func (m *Package) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Package) XXX_Merge(src proto.Message)
- func (m *Package) XXX_Size() int
- func (m *Package) XXX_Unmarshal(b []byte) error
- type PackageInfo
- func (*PackageInfo) Descriptor() ([]byte, []int)
- func (m *PackageInfo) GetFilePath() string
- func (m *PackageInfo) GetPackages() []*Package
- func (*PackageInfo) ProtoMessage()
- func (m *PackageInfo) Reset()
- func (m *PackageInfo) String() string
- func (m *PackageInfo) XXX_DiscardUnknown()
- func (m *PackageInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PackageInfo) XXX_Merge(src proto.Message)
- func (m *PackageInfo) XXX_Size() int
- func (m *PackageInfo) XXX_Unmarshal(b []byte) error
- type Severity
- type Vulnerability
- func (*Vulnerability) Descriptor() ([]byte, []int)
- func (m *Vulnerability) GetDescription() string
- func (m *Vulnerability) GetFixedVersion() string
- func (m *Vulnerability) GetInstalledVersion() string
- func (m *Vulnerability) GetLayerId() string
- func (m *Vulnerability) GetPkgName() string
- func (m *Vulnerability) GetReferences() []string
- func (m *Vulnerability) GetSeverity() Severity
- func (m *Vulnerability) GetTitle() string
- func (m *Vulnerability) GetVulnerabilityId() string
- func (*Vulnerability) ProtoMessage()
- func (m *Vulnerability) Reset()
- func (m *Vulnerability) String() string
- func (m *Vulnerability) XXX_DiscardUnknown()
- func (m *Vulnerability) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Vulnerability) XXX_Merge(src proto.Message)
- func (m *Vulnerability) XXX_Size() int
- func (m *Vulnerability) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Severity_name = map[int32]string{
0: "UNKNOWN",
1: "LOW",
2: "MEDIUM",
3: "HIGH",
4: "CRITICAL",
}
View Source
var Severity_value = map[string]int32{
"UNKNOWN": 0,
"LOW": 1,
"MEDIUM": 2,
"HIGH": 3,
"CRITICAL": 4,
}
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` FilePath string `protobuf:"bytes,2,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` Libraries []*Library `protobuf:"bytes,3,rep,name=libraries,proto3" json:"libraries,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Application) Descriptor ¶
func (*Application) Descriptor() ([]byte, []int)
func (*Application) GetFilePath ¶
func (m *Application) GetFilePath() string
func (*Application) GetLibraries ¶
func (m *Application) GetLibraries() []*Library
func (*Application) GetType ¶
func (m *Application) GetType() string
func (*Application) ProtoMessage ¶
func (*Application) ProtoMessage()
func (*Application) Reset ¶
func (m *Application) Reset()
func (*Application) String ¶
func (m *Application) String() string
func (*Application) XXX_DiscardUnknown ¶
func (m *Application) XXX_DiscardUnknown()
func (*Application) XXX_Marshal ¶
func (m *Application) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Application) XXX_Merge ¶
func (m *Application) XXX_Merge(src proto.Message)
func (*Application) XXX_Size ¶
func (m *Application) XXX_Size() int
func (*Application) XXX_Unmarshal ¶
func (m *Application) XXX_Unmarshal(b []byte) error
type Library ¶
type Library struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Library) Descriptor ¶
func (*Library) GetVersion ¶
func (*Library) ProtoMessage ¶
func (*Library) ProtoMessage()
func (*Library) XXX_DiscardUnknown ¶
func (m *Library) XXX_DiscardUnknown()
func (*Library) XXX_Marshal ¶
func (*Library) XXX_Unmarshal ¶
type OS ¶
type OS struct { Family string `protobuf:"bytes,1,opt,name=family,proto3" json:"family,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*OS) Descriptor ¶
func (*OS) ProtoMessage ¶
func (*OS) ProtoMessage()
func (*OS) XXX_DiscardUnknown ¶
func (m *OS) XXX_DiscardUnknown()
func (*OS) XXX_Unmarshal ¶
type Package ¶
type Package struct { // binary package // e.g. bind-utils Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` Release string `protobuf:"bytes,3,opt,name=release,proto3" json:"release,omitempty"` Epoch int32 `protobuf:"varint,4,opt,name=epoch,proto3" json:"epoch,omitempty"` Arch string `protobuf:"bytes,5,opt,name=arch,proto3" json:"arch,omitempty"` // src package containing some binary packages // e.g. bind SrcName string `protobuf:"bytes,6,opt,name=src_name,json=srcName,proto3" json:"src_name,omitempty"` SrcVersion string `protobuf:"bytes,7,opt,name=src_version,json=srcVersion,proto3" json:"src_version,omitempty"` SrcRelease string `protobuf:"bytes,8,opt,name=src_release,json=srcRelease,proto3" json:"src_release,omitempty"` SrcEpoch int32 `protobuf:"varint,9,opt,name=src_epoch,json=srcEpoch,proto3" json:"src_epoch,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Package) Descriptor ¶
func (*Package) GetRelease ¶
func (*Package) GetSrcEpoch ¶
func (*Package) GetSrcName ¶
func (*Package) GetSrcRelease ¶
func (*Package) GetSrcVersion ¶
func (*Package) GetVersion ¶
func (*Package) ProtoMessage ¶
func (*Package) ProtoMessage()
func (*Package) XXX_DiscardUnknown ¶
func (m *Package) XXX_DiscardUnknown()
func (*Package) XXX_Marshal ¶
func (*Package) XXX_Unmarshal ¶
type PackageInfo ¶
type PackageInfo struct { FilePath string `protobuf:"bytes,1,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` Packages []*Package `protobuf:"bytes,2,rep,name=packages,proto3" json:"packages,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PackageInfo) Descriptor ¶
func (*PackageInfo) Descriptor() ([]byte, []int)
func (*PackageInfo) GetFilePath ¶
func (m *PackageInfo) GetFilePath() string
func (*PackageInfo) GetPackages ¶
func (m *PackageInfo) GetPackages() []*Package
func (*PackageInfo) ProtoMessage ¶
func (*PackageInfo) ProtoMessage()
func (*PackageInfo) Reset ¶
func (m *PackageInfo) Reset()
func (*PackageInfo) String ¶
func (m *PackageInfo) String() string
func (*PackageInfo) XXX_DiscardUnknown ¶
func (m *PackageInfo) XXX_DiscardUnknown()
func (*PackageInfo) XXX_Marshal ¶
func (m *PackageInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PackageInfo) XXX_Merge ¶
func (m *PackageInfo) XXX_Merge(src proto.Message)
func (*PackageInfo) XXX_Size ¶
func (m *PackageInfo) XXX_Size() int
func (*PackageInfo) XXX_Unmarshal ¶
func (m *PackageInfo) XXX_Unmarshal(b []byte) error
type Vulnerability ¶
type Vulnerability struct { VulnerabilityId string `protobuf:"bytes,1,opt,name=vulnerability_id,json=vulnerabilityId,proto3" json:"vulnerability_id,omitempty"` PkgName string `protobuf:"bytes,2,opt,name=pkg_name,json=pkgName,proto3" json:"pkg_name,omitempty"` InstalledVersion string `protobuf:"bytes,3,opt,name=installed_version,json=installedVersion,proto3" json:"installed_version,omitempty"` FixedVersion string `protobuf:"bytes,4,opt,name=fixed_version,json=fixedVersion,proto3" json:"fixed_version,omitempty"` Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` Severity Severity `protobuf:"varint,7,opt,name=severity,proto3,enum=trivy.common.Severity" json:"severity,omitempty"` References []string `protobuf:"bytes,8,rep,name=references,proto3" json:"references,omitempty"` LayerId string `protobuf:"bytes,9,opt,name=layer_id,json=layerId,proto3" json:"layer_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Vulnerability) Descriptor ¶
func (*Vulnerability) Descriptor() ([]byte, []int)
func (*Vulnerability) GetDescription ¶
func (m *Vulnerability) GetDescription() string
func (*Vulnerability) GetFixedVersion ¶
func (m *Vulnerability) GetFixedVersion() string
func (*Vulnerability) GetInstalledVersion ¶
func (m *Vulnerability) GetInstalledVersion() string
func (*Vulnerability) GetLayerId ¶
func (m *Vulnerability) GetLayerId() string
func (*Vulnerability) GetPkgName ¶
func (m *Vulnerability) GetPkgName() string
func (*Vulnerability) GetReferences ¶
func (m *Vulnerability) GetReferences() []string
func (*Vulnerability) GetSeverity ¶
func (m *Vulnerability) GetSeverity() Severity
func (*Vulnerability) GetTitle ¶
func (m *Vulnerability) GetTitle() string
func (*Vulnerability) GetVulnerabilityId ¶
func (m *Vulnerability) GetVulnerabilityId() string
func (*Vulnerability) ProtoMessage ¶
func (*Vulnerability) ProtoMessage()
func (*Vulnerability) Reset ¶
func (m *Vulnerability) Reset()
func (*Vulnerability) String ¶
func (m *Vulnerability) String() string
func (*Vulnerability) XXX_DiscardUnknown ¶
func (m *Vulnerability) XXX_DiscardUnknown()
func (*Vulnerability) XXX_Marshal ¶
func (m *Vulnerability) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Vulnerability) XXX_Merge ¶
func (m *Vulnerability) XXX_Merge(src proto.Message)
func (*Vulnerability) XXX_Size ¶
func (m *Vulnerability) XXX_Size() int
func (*Vulnerability) XXX_Unmarshal ¶
func (m *Vulnerability) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.