Documentation ¶
Index ¶
- Variables
- type Application
- func (*Application) Descriptor() ([]byte, []int)deprecated
- func (x *Application) GetFilePath() string
- func (x *Application) GetLibraries() []*Package
- func (x *Application) GetType() string
- func (*Application) ProtoMessage()
- func (x *Application) ProtoReflect() protoreflect.Message
- func (x *Application) Reset()
- func (x *Application) String() string
- type CVSS
- func (*CVSS) Descriptor() ([]byte, []int)deprecated
- func (x *CVSS) GetV2Score() float64
- func (x *CVSS) GetV2Vector() string
- func (x *CVSS) GetV3Score() float64
- func (x *CVSS) GetV3Vector() string
- func (*CVSS) ProtoMessage()
- func (x *CVSS) ProtoReflect() protoreflect.Message
- func (x *CVSS) Reset()
- func (x *CVSS) String() string
- type CauseMetadata
- func (*CauseMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CauseMetadata) GetCode() *Code
- func (x *CauseMetadata) GetEndLine() int32
- func (x *CauseMetadata) GetProvider() string
- func (x *CauseMetadata) GetResource() string
- func (x *CauseMetadata) GetService() string
- func (x *CauseMetadata) GetStartLine() int32
- func (*CauseMetadata) ProtoMessage()
- func (x *CauseMetadata) ProtoReflect() protoreflect.Message
- func (x *CauseMetadata) Reset()
- func (x *CauseMetadata) String() string
- type Code
- type CustomResource
- func (*CustomResource) Descriptor() ([]byte, []int)deprecated
- func (x *CustomResource) GetData() *structpb.Value
- func (x *CustomResource) GetFilePath() string
- func (x *CustomResource) GetLayer() *Layer
- func (x *CustomResource) GetType() string
- func (*CustomResource) ProtoMessage()
- func (x *CustomResource) ProtoReflect() protoreflect.Message
- func (x *CustomResource) Reset()
- func (x *CustomResource) String() string
- type DataSource
- func (*DataSource) Descriptor() ([]byte, []int)deprecated
- func (x *DataSource) GetId() string
- func (x *DataSource) GetName() string
- func (x *DataSource) GetUrl() string
- func (*DataSource) ProtoMessage()
- func (x *DataSource) ProtoReflect() protoreflect.Message
- func (x *DataSource) Reset()
- func (x *DataSource) String() string
- type DetectedLicense
- func (*DetectedLicense) Descriptor() ([]byte, []int)deprecated
- func (x *DetectedLicense) GetCategory() LicenseCategory_Enum
- func (x *DetectedLicense) GetConfidence() float32
- func (x *DetectedLicense) GetFilePath() string
- func (x *DetectedLicense) GetLink() string
- func (x *DetectedLicense) GetName() string
- func (x *DetectedLicense) GetPkgName() string
- func (x *DetectedLicense) GetSeverity() Severity
- func (*DetectedLicense) ProtoMessage()
- func (x *DetectedLicense) ProtoReflect() protoreflect.Message
- func (x *DetectedLicense) Reset()
- func (x *DetectedLicense) String() string
- type DetectedMisconfiguration
- func (*DetectedMisconfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *DetectedMisconfiguration) GetAvdId() string
- func (x *DetectedMisconfiguration) GetCauseMetadata() *CauseMetadata
- func (x *DetectedMisconfiguration) GetDescription() string
- func (x *DetectedMisconfiguration) GetId() string
- func (x *DetectedMisconfiguration) GetLayer() *Layer
- func (x *DetectedMisconfiguration) GetMessage() string
- func (x *DetectedMisconfiguration) GetNamespace() string
- func (x *DetectedMisconfiguration) GetPrimaryUrl() string
- func (x *DetectedMisconfiguration) GetQuery() string
- func (x *DetectedMisconfiguration) GetReferences() []string
- func (x *DetectedMisconfiguration) GetResolution() string
- func (x *DetectedMisconfiguration) GetSeverity() Severity
- func (x *DetectedMisconfiguration) GetStatus() string
- func (x *DetectedMisconfiguration) GetTitle() string
- func (x *DetectedMisconfiguration) GetType() string
- func (*DetectedMisconfiguration) ProtoMessage()
- func (x *DetectedMisconfiguration) ProtoReflect() protoreflect.Message
- func (x *DetectedMisconfiguration) Reset()
- func (x *DetectedMisconfiguration) String() string
- type Layer
- type LicenseCategory
- type LicenseCategory_Enum
- func (LicenseCategory_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x LicenseCategory_Enum) Enum() *LicenseCategory_Enum
- func (LicenseCategory_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (x LicenseCategory_Enum) Number() protoreflect.EnumNumber
- func (x LicenseCategory_Enum) String() string
- func (LicenseCategory_Enum) Type() protoreflect.EnumType
- type LicenseFile
- func (*LicenseFile) Descriptor() ([]byte, []int)deprecated
- func (x *LicenseFile) GetFilePath() string
- func (x *LicenseFile) GetFingings() []*LicenseFinding
- func (x *LicenseFile) GetLayer() *Layer
- func (x *LicenseFile) GetLicenseType() LicenseType_Enum
- func (x *LicenseFile) GetPkgName() string
- func (*LicenseFile) ProtoMessage()
- func (x *LicenseFile) ProtoReflect() protoreflect.Message
- func (x *LicenseFile) Reset()
- func (x *LicenseFile) String() string
- type LicenseFinding
- func (*LicenseFinding) Descriptor() ([]byte, []int)deprecated
- func (x *LicenseFinding) GetCategory() LicenseCategory_Enum
- func (x *LicenseFinding) GetConfidence() float32
- func (x *LicenseFinding) GetLink() string
- func (x *LicenseFinding) GetName() string
- func (*LicenseFinding) ProtoMessage()
- func (x *LicenseFinding) ProtoReflect() protoreflect.Message
- func (x *LicenseFinding) Reset()
- func (x *LicenseFinding) String() string
- type LicenseType
- type LicenseType_Enum
- func (LicenseType_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x LicenseType_Enum) Enum() *LicenseType_Enum
- func (LicenseType_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (x LicenseType_Enum) Number() protoreflect.EnumNumber
- func (x LicenseType_Enum) String() string
- func (LicenseType_Enum) Type() protoreflect.EnumType
- type Line
- func (*Line) Descriptor() ([]byte, []int)deprecated
- func (x *Line) GetAnnotation() string
- func (x *Line) GetContent() string
- func (x *Line) GetFirstCause() bool
- func (x *Line) GetHighlighted() string
- func (x *Line) GetIsCause() bool
- func (x *Line) GetLastCause() bool
- func (x *Line) GetNumber() int32
- func (x *Line) GetTruncated() bool
- func (*Line) ProtoMessage()
- func (x *Line) ProtoReflect() protoreflect.Message
- func (x *Line) Reset()
- func (x *Line) String() string
- type MisconfResult
- func (*MisconfResult) Descriptor() ([]byte, []int)deprecated
- func (x *MisconfResult) GetCauseMetadata() *CauseMetadata
- func (x *MisconfResult) GetMessage() string
- func (x *MisconfResult) GetNamespace() string
- func (x *MisconfResult) GetPolicyMetadata() *PolicyMetadata
- func (*MisconfResult) ProtoMessage()
- func (x *MisconfResult) ProtoReflect() protoreflect.Message
- func (x *MisconfResult) Reset()
- func (x *MisconfResult) String() string
- type Misconfiguration
- func (*Misconfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *Misconfiguration) GetExceptions() []*MisconfResult
- func (x *Misconfiguration) GetFailures() []*MisconfResult
- func (x *Misconfiguration) GetFilePath() string
- func (x *Misconfiguration) GetFileType() string
- func (x *Misconfiguration) GetSuccesses() []*MisconfResult
- func (x *Misconfiguration) GetWarnings() []*MisconfResult
- func (*Misconfiguration) ProtoMessage()
- func (x *Misconfiguration) ProtoReflect() protoreflect.Message
- func (x *Misconfiguration) Reset()
- func (x *Misconfiguration) String() string
- type OS
- type Package
- func (*Package) Descriptor() ([]byte, []int)deprecated
- func (x *Package) GetArch() string
- func (x *Package) GetDependsOn() []string
- func (x *Package) GetDev() bool
- func (x *Package) GetDigest() string
- func (x *Package) GetEpoch() int32
- func (x *Package) GetFilePath() string
- func (x *Package) GetId() string
- func (x *Package) GetIdentifier() *PkgIdentifier
- func (x *Package) GetIndirect() bool
- func (x *Package) GetLayer() *Layer
- func (x *Package) GetLicenses() []string
- func (x *Package) GetName() string
- func (x *Package) GetRelease() string
- func (x *Package) GetSrcEpoch() int32
- func (x *Package) GetSrcName() string
- func (x *Package) GetSrcRelease() string
- func (x *Package) GetSrcVersion() string
- func (x *Package) GetVersion() string
- func (*Package) ProtoMessage()
- func (x *Package) ProtoReflect() protoreflect.Message
- func (x *Package) Reset()
- func (x *Package) String() string
- type PackageInfo
- func (*PackageInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PackageInfo) GetFilePath() string
- func (x *PackageInfo) GetPackages() []*Package
- func (*PackageInfo) ProtoMessage()
- func (x *PackageInfo) ProtoReflect() protoreflect.Message
- func (x *PackageInfo) Reset()
- func (x *PackageInfo) String() string
- type PkgIdentifier
- func (*PkgIdentifier) Descriptor() ([]byte, []int)deprecated
- func (x *PkgIdentifier) GetBomRef() string
- func (x *PkgIdentifier) GetPurl() string
- func (*PkgIdentifier) ProtoMessage()
- func (x *PkgIdentifier) ProtoReflect() protoreflect.Message
- func (x *PkgIdentifier) Reset()
- func (x *PkgIdentifier) String() string
- type PolicyMetadata
- func (*PolicyMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *PolicyMetadata) GetAdvId() string
- func (x *PolicyMetadata) GetDescription() string
- func (x *PolicyMetadata) GetId() string
- func (x *PolicyMetadata) GetRecommendedActions() string
- func (x *PolicyMetadata) GetReferences() []string
- func (x *PolicyMetadata) GetSeverity() string
- func (x *PolicyMetadata) GetTitle() string
- func (x *PolicyMetadata) GetType() string
- func (*PolicyMetadata) ProtoMessage()
- func (x *PolicyMetadata) ProtoReflect() protoreflect.Message
- func (x *PolicyMetadata) Reset()
- func (x *PolicyMetadata) String() string
- type Repository
- type Secret
- type SecretFinding
- func (*SecretFinding) Descriptor() ([]byte, []int)deprecated
- func (x *SecretFinding) GetCategory() string
- func (x *SecretFinding) GetCode() *Code
- func (x *SecretFinding) GetEndLine() int32
- func (x *SecretFinding) GetLayer() *Layer
- func (x *SecretFinding) GetMatch() string
- func (x *SecretFinding) GetRuleId() string
- func (x *SecretFinding) GetSeverity() string
- func (x *SecretFinding) GetStartLine() int32
- func (x *SecretFinding) GetTitle() string
- func (*SecretFinding) ProtoMessage()
- func (x *SecretFinding) ProtoReflect() protoreflect.Message
- func (x *SecretFinding) Reset()
- func (x *SecretFinding) String() string
- type Severity
- type Vulnerability
- func (*Vulnerability) Descriptor() ([]byte, []int)deprecated
- func (x *Vulnerability) GetCustomAdvisoryData() *structpb.Value
- func (x *Vulnerability) GetCustomVulnData() *structpb.Value
- func (x *Vulnerability) GetCvss() map[string]*CVSS
- func (x *Vulnerability) GetCweIds() []string
- func (x *Vulnerability) GetDataSource() *DataSource
- func (x *Vulnerability) GetDescription() string
- func (x *Vulnerability) GetFixedVersion() string
- func (x *Vulnerability) GetInstalledVersion() string
- func (x *Vulnerability) GetLastModifiedDate() *timestamppb.Timestamp
- func (x *Vulnerability) GetLayer() *Layer
- func (x *Vulnerability) GetPkgId() string
- func (x *Vulnerability) GetPkgIdentifier() *PkgIdentifier
- func (x *Vulnerability) GetPkgName() string
- func (x *Vulnerability) GetPkgPath() string
- func (x *Vulnerability) GetPrimaryUrl() string
- func (x *Vulnerability) GetPublishedDate() *timestamppb.Timestamp
- func (x *Vulnerability) GetReferences() []string
- func (x *Vulnerability) GetSeverity() Severity
- func (x *Vulnerability) GetSeveritySource() string
- func (x *Vulnerability) GetStatus() int32
- func (x *Vulnerability) GetTitle() string
- func (x *Vulnerability) GetVendorIds() []string
- func (x *Vulnerability) GetVendorSeverity() map[string]Severity
- func (x *Vulnerability) GetVulnerabilityId() string
- func (*Vulnerability) ProtoMessage()
- func (x *Vulnerability) ProtoReflect() protoreflect.Message
- func (x *Vulnerability) Reset()
- func (x *Vulnerability) String() string
Constants ¶
This section is empty.
Variables ¶
var ( Severity_name = map[int32]string{ 0: "UNKNOWN", 1: "LOW", 2: "MEDIUM", 3: "HIGH", 4: "CRITICAL", } Severity_value = map[string]int32{ "UNKNOWN": 0, "LOW": 1, "MEDIUM": 2, "HIGH": 3, "CRITICAL": 4, } )
Enum value maps for Severity.
var ( LicenseCategory_Enum_name = map[int32]string{ 0: "UNSPECIFIED", 1: "FORBIDDEN", 2: "RESTRICTED", 3: "RECIPROCAL", 4: "NOTICE", 5: "PERMISSIVE", 6: "UNENCUMBERED", 7: "UNKNOWN", } LicenseCategory_Enum_value = map[string]int32{ "UNSPECIFIED": 0, "FORBIDDEN": 1, "RESTRICTED": 2, "RECIPROCAL": 3, "NOTICE": 4, "PERMISSIVE": 5, "UNENCUMBERED": 6, "UNKNOWN": 7, } )
Enum value maps for LicenseCategory_Enum.
var ( LicenseType_Enum_name = map[int32]string{ 0: "UNSPECIFIED", 1: "DPKG", 2: "HEADER", 3: "LICENSE_FILE", } LicenseType_Enum_value = map[string]int32{ "UNSPECIFIED": 0, "DPKG": 1, "HEADER": 2, "LICENSE_FILE": 3, } )
Enum value maps for LicenseType_Enum.
var File_rpc_common_service_proto protoreflect.FileDescriptor
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 []*Package `protobuf:"bytes,3,rep,name=libraries,proto3" json:"libraries,omitempty"` // contains filtered or unexported fields }
func (*Application) Descriptor
deprecated
func (*Application) Descriptor() ([]byte, []int)
Deprecated: Use Application.ProtoReflect.Descriptor instead.
func (*Application) GetFilePath ¶
func (x *Application) GetFilePath() string
func (*Application) GetLibraries ¶
func (x *Application) GetLibraries() []*Package
func (*Application) GetType ¶
func (x *Application) GetType() string
func (*Application) ProtoMessage ¶
func (*Application) ProtoMessage()
func (*Application) ProtoReflect ¶ added in v0.19.0
func (x *Application) ProtoReflect() protoreflect.Message
func (*Application) Reset ¶
func (x *Application) Reset()
func (*Application) String ¶
func (x *Application) String() string
type CVSS ¶ added in v0.10.0
type CVSS struct { V2Vector string `protobuf:"bytes,1,opt,name=v2_vector,json=v2Vector,proto3" json:"v2_vector,omitempty"` V3Vector string `protobuf:"bytes,2,opt,name=v3_vector,json=v3Vector,proto3" json:"v3_vector,omitempty"` V2Score float64 `protobuf:"fixed64,3,opt,name=v2_score,json=v2Score,proto3" json:"v2_score,omitempty"` V3Score float64 `protobuf:"fixed64,4,opt,name=v3_score,json=v3Score,proto3" json:"v3_score,omitempty"` // contains filtered or unexported fields }
func (*CVSS) Descriptor
deprecated
added in
v0.10.0
func (*CVSS) GetV2Score ¶ added in v0.10.0
func (*CVSS) GetV2Vector ¶ added in v0.10.0
func (*CVSS) GetV3Score ¶ added in v0.10.0
func (*CVSS) GetV3Vector ¶ added in v0.10.0
func (*CVSS) ProtoMessage ¶ added in v0.10.0
func (*CVSS) ProtoMessage()
func (*CVSS) ProtoReflect ¶ added in v0.19.0
func (x *CVSS) ProtoReflect() protoreflect.Message
type CauseMetadata ¶ added in v0.44.0
type CauseMetadata struct { Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` Service string `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"` StartLine int32 `protobuf:"varint,4,opt,name=start_line,json=startLine,proto3" json:"start_line,omitempty"` EndLine int32 `protobuf:"varint,5,opt,name=end_line,json=endLine,proto3" json:"end_line,omitempty"` Code *Code `protobuf:"bytes,6,opt,name=code,proto3" json:"code,omitempty"` // contains filtered or unexported fields }
func (*CauseMetadata) Descriptor
deprecated
added in
v0.44.0
func (*CauseMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CauseMetadata.ProtoReflect.Descriptor instead.
func (*CauseMetadata) GetCode ¶ added in v0.44.0
func (x *CauseMetadata) GetCode() *Code
func (*CauseMetadata) GetEndLine ¶ added in v0.44.0
func (x *CauseMetadata) GetEndLine() int32
func (*CauseMetadata) GetProvider ¶ added in v0.44.0
func (x *CauseMetadata) GetProvider() string
func (*CauseMetadata) GetResource ¶ added in v0.44.0
func (x *CauseMetadata) GetResource() string
func (*CauseMetadata) GetService ¶ added in v0.44.0
func (x *CauseMetadata) GetService() string
func (*CauseMetadata) GetStartLine ¶ added in v0.44.0
func (x *CauseMetadata) GetStartLine() int32
func (*CauseMetadata) ProtoMessage ¶ added in v0.44.0
func (*CauseMetadata) ProtoMessage()
func (*CauseMetadata) ProtoReflect ¶ added in v0.44.0
func (x *CauseMetadata) ProtoReflect() protoreflect.Message
func (*CauseMetadata) Reset ¶ added in v0.44.0
func (x *CauseMetadata) Reset()
func (*CauseMetadata) String ¶ added in v0.44.0
func (x *CauseMetadata) String() string
type Code ¶ added in v0.31.3
type Code struct { Lines []*Line `protobuf:"bytes,1,rep,name=lines,proto3" json:"lines,omitempty"` // contains filtered or unexported fields }
func (*Code) Descriptor
deprecated
added in
v0.31.3
func (*Code) ProtoMessage ¶ added in v0.31.3
func (*Code) ProtoMessage()
func (*Code) ProtoReflect ¶ added in v0.31.3
func (x *Code) ProtoReflect() protoreflect.Message
type CustomResource ¶ added in v0.24.0
type CustomResource 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"` Layer *Layer `protobuf:"bytes,3,opt,name=layer,proto3" json:"layer,omitempty"` Data *structpb.Value `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CustomResource) Descriptor
deprecated
added in
v0.24.0
func (*CustomResource) Descriptor() ([]byte, []int)
Deprecated: Use CustomResource.ProtoReflect.Descriptor instead.
func (*CustomResource) GetData ¶ added in v0.24.0
func (x *CustomResource) GetData() *structpb.Value
func (*CustomResource) GetFilePath ¶ added in v0.24.0
func (x *CustomResource) GetFilePath() string
func (*CustomResource) GetLayer ¶ added in v0.24.0
func (x *CustomResource) GetLayer() *Layer
func (*CustomResource) GetType ¶ added in v0.24.0
func (x *CustomResource) GetType() string
func (*CustomResource) ProtoMessage ¶ added in v0.24.0
func (*CustomResource) ProtoMessage()
func (*CustomResource) ProtoReflect ¶ added in v0.24.0
func (x *CustomResource) ProtoReflect() protoreflect.Message
func (*CustomResource) Reset ¶ added in v0.24.0
func (x *CustomResource) Reset()
func (*CustomResource) String ¶ added in v0.24.0
func (x *CustomResource) String() string
type DataSource ¶ added in v0.23.0
type DataSource struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*DataSource) Descriptor
deprecated
added in
v0.23.0
func (*DataSource) Descriptor() ([]byte, []int)
Deprecated: Use DataSource.ProtoReflect.Descriptor instead.
func (*DataSource) GetId ¶ added in v0.23.0
func (x *DataSource) GetId() string
func (*DataSource) GetName ¶ added in v0.23.0
func (x *DataSource) GetName() string
func (*DataSource) GetUrl ¶ added in v0.23.0
func (x *DataSource) GetUrl() string
func (*DataSource) ProtoMessage ¶ added in v0.23.0
func (*DataSource) ProtoMessage()
func (*DataSource) ProtoReflect ¶ added in v0.23.0
func (x *DataSource) ProtoReflect() protoreflect.Message
func (*DataSource) Reset ¶ added in v0.23.0
func (x *DataSource) Reset()
func (*DataSource) String ¶ added in v0.23.0
func (x *DataSource) String() string
type DetectedLicense ¶ added in v0.44.1
type DetectedLicense struct { Severity Severity `protobuf:"varint,1,opt,name=severity,proto3,enum=trivy.common.Severity" json:"severity,omitempty"` Category LicenseCategory_Enum `protobuf:"varint,2,opt,name=category,proto3,enum=trivy.common.LicenseCategory_Enum" json:"category,omitempty"` PkgName string `protobuf:"bytes,3,opt,name=pkg_name,json=pkgName,proto3" json:"pkg_name,omitempty"` FilePath string `protobuf:"bytes,4,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` Confidence float32 `protobuf:"fixed32,6,opt,name=confidence,proto3" json:"confidence,omitempty"` Link string `protobuf:"bytes,7,opt,name=link,proto3" json:"link,omitempty"` // contains filtered or unexported fields }
func (*DetectedLicense) Descriptor
deprecated
added in
v0.44.1
func (*DetectedLicense) Descriptor() ([]byte, []int)
Deprecated: Use DetectedLicense.ProtoReflect.Descriptor instead.
func (*DetectedLicense) GetCategory ¶ added in v0.44.1
func (x *DetectedLicense) GetCategory() LicenseCategory_Enum
func (*DetectedLicense) GetConfidence ¶ added in v0.44.1
func (x *DetectedLicense) GetConfidence() float32
func (*DetectedLicense) GetFilePath ¶ added in v0.44.1
func (x *DetectedLicense) GetFilePath() string
func (*DetectedLicense) GetLink ¶ added in v0.44.1
func (x *DetectedLicense) GetLink() string
func (*DetectedLicense) GetName ¶ added in v0.44.1
func (x *DetectedLicense) GetName() string
func (*DetectedLicense) GetPkgName ¶ added in v0.44.1
func (x *DetectedLicense) GetPkgName() string
func (*DetectedLicense) GetSeverity ¶ added in v0.44.1
func (x *DetectedLicense) GetSeverity() Severity
func (*DetectedLicense) ProtoMessage ¶ added in v0.44.1
func (*DetectedLicense) ProtoMessage()
func (*DetectedLicense) ProtoReflect ¶ added in v0.44.1
func (x *DetectedLicense) ProtoReflect() protoreflect.Message
func (*DetectedLicense) Reset ¶ added in v0.44.1
func (x *DetectedLicense) Reset()
func (*DetectedLicense) String ¶ added in v0.44.1
func (x *DetectedLicense) String() string
type DetectedMisconfiguration ¶ added in v0.19.0
type DetectedMisconfiguration struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,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"` Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` Namespace string `protobuf:"bytes,6,opt,name=namespace,proto3" json:"namespace,omitempty"` Resolution string `protobuf:"bytes,7,opt,name=resolution,proto3" json:"resolution,omitempty"` Severity Severity `protobuf:"varint,8,opt,name=severity,proto3,enum=trivy.common.Severity" json:"severity,omitempty"` PrimaryUrl string `protobuf:"bytes,9,opt,name=primary_url,json=primaryUrl,proto3" json:"primary_url,omitempty"` References []string `protobuf:"bytes,10,rep,name=references,proto3" json:"references,omitempty"` Status string `protobuf:"bytes,11,opt,name=status,proto3" json:"status,omitempty"` Layer *Layer `protobuf:"bytes,12,opt,name=layer,proto3" json:"layer,omitempty"` CauseMetadata *CauseMetadata `protobuf:"bytes,13,opt,name=cause_metadata,json=causeMetadata,proto3" json:"cause_metadata,omitempty"` AvdId string `protobuf:"bytes,14,opt,name=avd_id,json=avdId,proto3" json:"avd_id,omitempty"` Query string `protobuf:"bytes,15,opt,name=query,proto3" json:"query,omitempty"` // contains filtered or unexported fields }
func (*DetectedMisconfiguration) Descriptor
deprecated
added in
v0.19.0
func (*DetectedMisconfiguration) Descriptor() ([]byte, []int)
Deprecated: Use DetectedMisconfiguration.ProtoReflect.Descriptor instead.
func (*DetectedMisconfiguration) GetAvdId ¶ added in v0.44.0
func (x *DetectedMisconfiguration) GetAvdId() string
func (*DetectedMisconfiguration) GetCauseMetadata ¶ added in v0.44.0
func (x *DetectedMisconfiguration) GetCauseMetadata() *CauseMetadata
func (*DetectedMisconfiguration) GetDescription ¶ added in v0.19.0
func (x *DetectedMisconfiguration) GetDescription() string
func (*DetectedMisconfiguration) GetId ¶ added in v0.19.0
func (x *DetectedMisconfiguration) GetId() string
func (*DetectedMisconfiguration) GetLayer ¶ added in v0.19.0
func (x *DetectedMisconfiguration) GetLayer() *Layer
func (*DetectedMisconfiguration) GetMessage ¶ added in v0.19.0
func (x *DetectedMisconfiguration) GetMessage() string
func (*DetectedMisconfiguration) GetNamespace ¶ added in v0.19.0
func (x *DetectedMisconfiguration) GetNamespace() string
func (*DetectedMisconfiguration) GetPrimaryUrl ¶ added in v0.19.0
func (x *DetectedMisconfiguration) GetPrimaryUrl() string
func (*DetectedMisconfiguration) GetQuery ¶ added in v0.44.0
func (x *DetectedMisconfiguration) GetQuery() string
func (*DetectedMisconfiguration) GetReferences ¶ added in v0.19.0
func (x *DetectedMisconfiguration) GetReferences() []string
func (*DetectedMisconfiguration) GetResolution ¶ added in v0.19.0
func (x *DetectedMisconfiguration) GetResolution() string
func (*DetectedMisconfiguration) GetSeverity ¶ added in v0.19.0
func (x *DetectedMisconfiguration) GetSeverity() Severity
func (*DetectedMisconfiguration) GetStatus ¶ added in v0.19.0
func (x *DetectedMisconfiguration) GetStatus() string
func (*DetectedMisconfiguration) GetTitle ¶ added in v0.19.0
func (x *DetectedMisconfiguration) GetTitle() string
func (*DetectedMisconfiguration) GetType ¶ added in v0.19.0
func (x *DetectedMisconfiguration) GetType() string
func (*DetectedMisconfiguration) ProtoMessage ¶ added in v0.19.0
func (*DetectedMisconfiguration) ProtoMessage()
func (*DetectedMisconfiguration) ProtoReflect ¶ added in v0.19.0
func (x *DetectedMisconfiguration) ProtoReflect() protoreflect.Message
func (*DetectedMisconfiguration) Reset ¶ added in v0.19.0
func (x *DetectedMisconfiguration) Reset()
func (*DetectedMisconfiguration) String ¶ added in v0.19.0
func (x *DetectedMisconfiguration) String() string
type Layer ¶ added in v0.6.0
type Layer struct { Digest string `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"` DiffId string `protobuf:"bytes,2,opt,name=diff_id,json=diffId,proto3" json:"diff_id,omitempty"` CreatedBy string `protobuf:"bytes,3,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` // contains filtered or unexported fields }
func (*Layer) Descriptor
deprecated
added in
v0.6.0
func (*Layer) GetCreatedBy ¶ added in v0.32.0
func (*Layer) ProtoMessage ¶ added in v0.6.0
func (*Layer) ProtoMessage()
func (*Layer) ProtoReflect ¶ added in v0.19.0
func (x *Layer) ProtoReflect() protoreflect.Message
type LicenseCategory ¶ added in v0.47.0
type LicenseCategory struct {
// contains filtered or unexported fields
}
Enumerations are wrapped with a message to improve the readability of enumerations in generated code and avoid name conflicts. https://github.com/golang/protobuf/issues/513
func (*LicenseCategory) Descriptor
deprecated
added in
v0.47.0
func (*LicenseCategory) Descriptor() ([]byte, []int)
Deprecated: Use LicenseCategory.ProtoReflect.Descriptor instead.
func (*LicenseCategory) ProtoMessage ¶ added in v0.47.0
func (*LicenseCategory) ProtoMessage()
func (*LicenseCategory) ProtoReflect ¶ added in v0.47.0
func (x *LicenseCategory) ProtoReflect() protoreflect.Message
func (*LicenseCategory) Reset ¶ added in v0.47.0
func (x *LicenseCategory) Reset()
func (*LicenseCategory) String ¶ added in v0.47.0
func (x *LicenseCategory) String() string
type LicenseCategory_Enum ¶ added in v0.47.0
type LicenseCategory_Enum int32
const ( LicenseCategory_UNSPECIFIED LicenseCategory_Enum = 0 LicenseCategory_FORBIDDEN LicenseCategory_Enum = 1 LicenseCategory_RESTRICTED LicenseCategory_Enum = 2 LicenseCategory_RECIPROCAL LicenseCategory_Enum = 3 LicenseCategory_NOTICE LicenseCategory_Enum = 4 LicenseCategory_PERMISSIVE LicenseCategory_Enum = 5 LicenseCategory_UNENCUMBERED LicenseCategory_Enum = 6 LicenseCategory_UNKNOWN LicenseCategory_Enum = 7 )
func (LicenseCategory_Enum) Descriptor ¶ added in v0.47.0
func (LicenseCategory_Enum) Descriptor() protoreflect.EnumDescriptor
func (LicenseCategory_Enum) Enum ¶ added in v0.47.0
func (x LicenseCategory_Enum) Enum() *LicenseCategory_Enum
func (LicenseCategory_Enum) EnumDescriptor
deprecated
added in
v0.47.0
func (LicenseCategory_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use LicenseCategory_Enum.Descriptor instead.
func (LicenseCategory_Enum) Number ¶ added in v0.47.0
func (x LicenseCategory_Enum) Number() protoreflect.EnumNumber
func (LicenseCategory_Enum) String ¶ added in v0.47.0
func (x LicenseCategory_Enum) String() string
func (LicenseCategory_Enum) Type ¶ added in v0.47.0
func (LicenseCategory_Enum) Type() protoreflect.EnumType
type LicenseFile ¶ added in v0.47.0
type LicenseFile struct { LicenseType LicenseType_Enum `` /* 130-byte string literal not displayed */ FilePath string `protobuf:"bytes,2,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` PkgName string `protobuf:"bytes,3,opt,name=pkg_name,json=pkgName,proto3" json:"pkg_name,omitempty"` Fingings []*LicenseFinding `protobuf:"bytes,4,rep,name=fingings,proto3" json:"fingings,omitempty"` Layer *Layer `protobuf:"bytes,5,opt,name=layer,proto3" json:"layer,omitempty"` // contains filtered or unexported fields }
func (*LicenseFile) Descriptor
deprecated
added in
v0.47.0
func (*LicenseFile) Descriptor() ([]byte, []int)
Deprecated: Use LicenseFile.ProtoReflect.Descriptor instead.
func (*LicenseFile) GetFilePath ¶ added in v0.47.0
func (x *LicenseFile) GetFilePath() string
func (*LicenseFile) GetFingings ¶ added in v0.47.0
func (x *LicenseFile) GetFingings() []*LicenseFinding
func (*LicenseFile) GetLayer ¶ added in v0.47.0
func (x *LicenseFile) GetLayer() *Layer
func (*LicenseFile) GetLicenseType ¶ added in v0.47.0
func (x *LicenseFile) GetLicenseType() LicenseType_Enum
func (*LicenseFile) GetPkgName ¶ added in v0.47.0
func (x *LicenseFile) GetPkgName() string
func (*LicenseFile) ProtoMessage ¶ added in v0.47.0
func (*LicenseFile) ProtoMessage()
func (*LicenseFile) ProtoReflect ¶ added in v0.47.0
func (x *LicenseFile) ProtoReflect() protoreflect.Message
func (*LicenseFile) Reset ¶ added in v0.47.0
func (x *LicenseFile) Reset()
func (*LicenseFile) String ¶ added in v0.47.0
func (x *LicenseFile) String() string
type LicenseFinding ¶ added in v0.47.0
type LicenseFinding struct { Category LicenseCategory_Enum `protobuf:"varint,1,opt,name=category,proto3,enum=trivy.common.LicenseCategory_Enum" json:"category,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Confidence float32 `protobuf:"fixed32,3,opt,name=confidence,proto3" json:"confidence,omitempty"` Link string `protobuf:"bytes,4,opt,name=link,proto3" json:"link,omitempty"` // contains filtered or unexported fields }
func (*LicenseFinding) Descriptor
deprecated
added in
v0.47.0
func (*LicenseFinding) Descriptor() ([]byte, []int)
Deprecated: Use LicenseFinding.ProtoReflect.Descriptor instead.
func (*LicenseFinding) GetCategory ¶ added in v0.47.0
func (x *LicenseFinding) GetCategory() LicenseCategory_Enum
func (*LicenseFinding) GetConfidence ¶ added in v0.47.0
func (x *LicenseFinding) GetConfidence() float32
func (*LicenseFinding) GetLink ¶ added in v0.47.0
func (x *LicenseFinding) GetLink() string
func (*LicenseFinding) GetName ¶ added in v0.47.0
func (x *LicenseFinding) GetName() string
func (*LicenseFinding) ProtoMessage ¶ added in v0.47.0
func (*LicenseFinding) ProtoMessage()
func (*LicenseFinding) ProtoReflect ¶ added in v0.47.0
func (x *LicenseFinding) ProtoReflect() protoreflect.Message
func (*LicenseFinding) Reset ¶ added in v0.47.0
func (x *LicenseFinding) Reset()
func (*LicenseFinding) String ¶ added in v0.47.0
func (x *LicenseFinding) String() string
type LicenseType ¶ added in v0.47.0
type LicenseType struct {
// contains filtered or unexported fields
}
func (*LicenseType) Descriptor
deprecated
added in
v0.47.0
func (*LicenseType) Descriptor() ([]byte, []int)
Deprecated: Use LicenseType.ProtoReflect.Descriptor instead.
func (*LicenseType) ProtoMessage ¶ added in v0.47.0
func (*LicenseType) ProtoMessage()
func (*LicenseType) ProtoReflect ¶ added in v0.47.0
func (x *LicenseType) ProtoReflect() protoreflect.Message
func (*LicenseType) Reset ¶ added in v0.47.0
func (x *LicenseType) Reset()
func (*LicenseType) String ¶ added in v0.47.0
func (x *LicenseType) String() string
type LicenseType_Enum ¶ added in v0.47.0
type LicenseType_Enum int32
const ( LicenseType_UNSPECIFIED LicenseType_Enum = 0 LicenseType_DPKG LicenseType_Enum = 1 LicenseType_HEADER LicenseType_Enum = 2 LicenseType_LICENSE_FILE LicenseType_Enum = 3 )
func (LicenseType_Enum) Descriptor ¶ added in v0.47.0
func (LicenseType_Enum) Descriptor() protoreflect.EnumDescriptor
func (LicenseType_Enum) Enum ¶ added in v0.47.0
func (x LicenseType_Enum) Enum() *LicenseType_Enum
func (LicenseType_Enum) EnumDescriptor
deprecated
added in
v0.47.0
func (LicenseType_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use LicenseType_Enum.Descriptor instead.
func (LicenseType_Enum) Number ¶ added in v0.47.0
func (x LicenseType_Enum) Number() protoreflect.EnumNumber
func (LicenseType_Enum) String ¶ added in v0.47.0
func (x LicenseType_Enum) String() string
func (LicenseType_Enum) Type ¶ added in v0.47.0
func (LicenseType_Enum) Type() protoreflect.EnumType
type Line ¶ added in v0.31.3
type Line struct { Number int32 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` IsCause bool `protobuf:"varint,3,opt,name=is_cause,json=isCause,proto3" json:"is_cause,omitempty"` Annotation string `protobuf:"bytes,4,opt,name=annotation,proto3" json:"annotation,omitempty"` Truncated bool `protobuf:"varint,5,opt,name=truncated,proto3" json:"truncated,omitempty"` Highlighted string `protobuf:"bytes,6,opt,name=highlighted,proto3" json:"highlighted,omitempty"` FirstCause bool `protobuf:"varint,7,opt,name=first_cause,json=firstCause,proto3" json:"first_cause,omitempty"` LastCause bool `protobuf:"varint,8,opt,name=last_cause,json=lastCause,proto3" json:"last_cause,omitempty"` // contains filtered or unexported fields }
func (*Line) Descriptor
deprecated
added in
v0.31.3
func (*Line) GetAnnotation ¶ added in v0.31.3
func (*Line) GetContent ¶ added in v0.31.3
func (*Line) GetFirstCause ¶ added in v0.31.3
func (*Line) GetHighlighted ¶ added in v0.31.3
func (*Line) GetIsCause ¶ added in v0.31.3
func (*Line) GetLastCause ¶ added in v0.31.3
func (*Line) GetTruncated ¶ added in v0.31.3
func (*Line) ProtoMessage ¶ added in v0.31.3
func (*Line) ProtoMessage()
func (*Line) ProtoReflect ¶ added in v0.31.3
func (x *Line) ProtoReflect() protoreflect.Message
type MisconfResult ¶ added in v0.19.0
type MisconfResult struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` PolicyMetadata *PolicyMetadata `protobuf:"bytes,7,opt,name=policy_metadata,json=policyMetadata,proto3" json:"policy_metadata,omitempty"` CauseMetadata *CauseMetadata `protobuf:"bytes,8,opt,name=cause_metadata,json=causeMetadata,proto3" json:"cause_metadata,omitempty"` // contains filtered or unexported fields }
func (*MisconfResult) Descriptor
deprecated
added in
v0.19.0
func (*MisconfResult) Descriptor() ([]byte, []int)
Deprecated: Use MisconfResult.ProtoReflect.Descriptor instead.
func (*MisconfResult) GetCauseMetadata ¶ added in v0.44.0
func (x *MisconfResult) GetCauseMetadata() *CauseMetadata
func (*MisconfResult) GetMessage ¶ added in v0.19.0
func (x *MisconfResult) GetMessage() string
func (*MisconfResult) GetNamespace ¶ added in v0.19.0
func (x *MisconfResult) GetNamespace() string
func (*MisconfResult) GetPolicyMetadata ¶ added in v0.44.0
func (x *MisconfResult) GetPolicyMetadata() *PolicyMetadata
func (*MisconfResult) ProtoMessage ¶ added in v0.19.0
func (*MisconfResult) ProtoMessage()
func (*MisconfResult) ProtoReflect ¶ added in v0.19.0
func (x *MisconfResult) ProtoReflect() protoreflect.Message
func (*MisconfResult) Reset ¶ added in v0.19.0
func (x *MisconfResult) Reset()
func (*MisconfResult) String ¶ added in v0.19.0
func (x *MisconfResult) String() string
type Misconfiguration ¶ added in v0.19.0
type Misconfiguration struct { FileType string `protobuf:"bytes,1,opt,name=file_type,json=fileType,proto3" json:"file_type,omitempty"` FilePath string `protobuf:"bytes,2,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` Successes []*MisconfResult `protobuf:"bytes,3,rep,name=successes,proto3" json:"successes,omitempty"` Warnings []*MisconfResult `protobuf:"bytes,4,rep,name=warnings,proto3" json:"warnings,omitempty"` Failures []*MisconfResult `protobuf:"bytes,5,rep,name=failures,proto3" json:"failures,omitempty"` Exceptions []*MisconfResult `protobuf:"bytes,6,rep,name=exceptions,proto3" json:"exceptions,omitempty"` // contains filtered or unexported fields }
func (*Misconfiguration) Descriptor
deprecated
added in
v0.19.0
func (*Misconfiguration) Descriptor() ([]byte, []int)
Deprecated: Use Misconfiguration.ProtoReflect.Descriptor instead.
func (*Misconfiguration) GetExceptions ¶ added in v0.19.0
func (x *Misconfiguration) GetExceptions() []*MisconfResult
func (*Misconfiguration) GetFailures ¶ added in v0.19.0
func (x *Misconfiguration) GetFailures() []*MisconfResult
func (*Misconfiguration) GetFilePath ¶ added in v0.19.0
func (x *Misconfiguration) GetFilePath() string
func (*Misconfiguration) GetFileType ¶ added in v0.19.0
func (x *Misconfiguration) GetFileType() string
func (*Misconfiguration) GetSuccesses ¶ added in v0.19.0
func (x *Misconfiguration) GetSuccesses() []*MisconfResult
func (*Misconfiguration) GetWarnings ¶ added in v0.19.0
func (x *Misconfiguration) GetWarnings() []*MisconfResult
func (*Misconfiguration) ProtoMessage ¶ added in v0.19.0
func (*Misconfiguration) ProtoMessage()
func (*Misconfiguration) ProtoReflect ¶ added in v0.19.0
func (x *Misconfiguration) ProtoReflect() protoreflect.Message
func (*Misconfiguration) Reset ¶ added in v0.19.0
func (x *Misconfiguration) Reset()
func (*Misconfiguration) String ¶ added in v0.19.0
func (x *Misconfiguration) String() string
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"` Eosl bool `protobuf:"varint,3,opt,name=eosl,proto3" json:"eosl,omitempty"` Extended bool `protobuf:"varint,4,opt,name=extended,proto3" json:"extended,omitempty"` // contains filtered or unexported fields }
func (*OS) Descriptor
deprecated
func (*OS) GetExtended ¶ added in v0.36.0
func (*OS) ProtoMessage ¶
func (*OS) ProtoMessage()
func (*OS) ProtoReflect ¶ added in v0.19.0
func (x *OS) ProtoReflect() protoreflect.Message
type Package ¶
type Package struct { // binary package // e.g. bind-utils Id string `protobuf:"bytes,13,opt,name=id,proto3" json:"id,omitempty"` 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"` Identifier *PkgIdentifier `protobuf:"bytes,19,opt,name=identifier,proto3" json:"identifier,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"` Licenses []string `protobuf:"bytes,15,rep,name=licenses,proto3" json:"licenses,omitempty"` Layer *Layer `protobuf:"bytes,11,opt,name=layer,proto3" json:"layer,omitempty"` FilePath string `protobuf:"bytes,12,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` DependsOn []string `protobuf:"bytes,14,rep,name=depends_on,json=dependsOn,proto3" json:"depends_on,omitempty"` Digest string `protobuf:"bytes,16,opt,name=digest,proto3" json:"digest,omitempty"` Dev bool `protobuf:"varint,17,opt,name=dev,proto3" json:"dev,omitempty"` Indirect bool `protobuf:"varint,18,opt,name=indirect,proto3" json:"indirect,omitempty"` // contains filtered or unexported fields }
func (*Package) Descriptor
deprecated
func (*Package) GetDependsOn ¶ added in v0.29.0
func (*Package) GetFilePath ¶ added in v0.25.0
func (*Package) GetIdentifier ¶ added in v0.49.0
func (x *Package) GetIdentifier() *PkgIdentifier
func (*Package) GetIndirect ¶ added in v0.45.0
func (*Package) GetLicenses ¶ added in v0.30.0
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) ProtoReflect ¶ added in v0.19.0
func (x *Package) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
func (*PackageInfo) Descriptor
deprecated
func (*PackageInfo) Descriptor() ([]byte, []int)
Deprecated: Use PackageInfo.ProtoReflect.Descriptor instead.
func (*PackageInfo) GetFilePath ¶
func (x *PackageInfo) GetFilePath() string
func (*PackageInfo) GetPackages ¶
func (x *PackageInfo) GetPackages() []*Package
func (*PackageInfo) ProtoMessage ¶
func (*PackageInfo) ProtoMessage()
func (*PackageInfo) ProtoReflect ¶ added in v0.19.0
func (x *PackageInfo) ProtoReflect() protoreflect.Message
func (*PackageInfo) Reset ¶
func (x *PackageInfo) Reset()
func (*PackageInfo) String ¶
func (x *PackageInfo) String() string
type PkgIdentifier ¶ added in v0.49.0
type PkgIdentifier struct { Purl string `protobuf:"bytes,1,opt,name=purl,proto3" json:"purl,omitempty"` BomRef string `protobuf:"bytes,2,opt,name=bom_ref,json=bomRef,proto3" json:"bom_ref,omitempty"` // contains filtered or unexported fields }
func (*PkgIdentifier) Descriptor
deprecated
added in
v0.49.0
func (*PkgIdentifier) Descriptor() ([]byte, []int)
Deprecated: Use PkgIdentifier.ProtoReflect.Descriptor instead.
func (*PkgIdentifier) GetBomRef ¶ added in v0.49.0
func (x *PkgIdentifier) GetBomRef() string
func (*PkgIdentifier) GetPurl ¶ added in v0.49.0
func (x *PkgIdentifier) GetPurl() string
func (*PkgIdentifier) ProtoMessage ¶ added in v0.49.0
func (*PkgIdentifier) ProtoMessage()
func (*PkgIdentifier) ProtoReflect ¶ added in v0.49.0
func (x *PkgIdentifier) ProtoReflect() protoreflect.Message
func (*PkgIdentifier) Reset ¶ added in v0.49.0
func (x *PkgIdentifier) Reset()
func (*PkgIdentifier) String ¶ added in v0.49.0
func (x *PkgIdentifier) String() string
type PolicyMetadata ¶ added in v0.44.0
type PolicyMetadata struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` AdvId string `protobuf:"bytes,2,opt,name=adv_id,json=advId,proto3" json:"adv_id,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` Severity string `protobuf:"bytes,6,opt,name=severity,proto3" json:"severity,omitempty"` RecommendedActions string `protobuf:"bytes,7,opt,name=recommended_actions,json=recommendedActions,proto3" json:"recommended_actions,omitempty"` References []string `protobuf:"bytes,8,rep,name=references,proto3" json:"references,omitempty"` // contains filtered or unexported fields }
func (*PolicyMetadata) Descriptor
deprecated
added in
v0.44.0
func (*PolicyMetadata) Descriptor() ([]byte, []int)
Deprecated: Use PolicyMetadata.ProtoReflect.Descriptor instead.
func (*PolicyMetadata) GetAdvId ¶ added in v0.44.0
func (x *PolicyMetadata) GetAdvId() string
func (*PolicyMetadata) GetDescription ¶ added in v0.44.0
func (x *PolicyMetadata) GetDescription() string
func (*PolicyMetadata) GetId ¶ added in v0.44.0
func (x *PolicyMetadata) GetId() string
func (*PolicyMetadata) GetRecommendedActions ¶ added in v0.44.0
func (x *PolicyMetadata) GetRecommendedActions() string
func (*PolicyMetadata) GetReferences ¶ added in v0.44.0
func (x *PolicyMetadata) GetReferences() []string
func (*PolicyMetadata) GetSeverity ¶ added in v0.44.0
func (x *PolicyMetadata) GetSeverity() string
func (*PolicyMetadata) GetTitle ¶ added in v0.44.0
func (x *PolicyMetadata) GetTitle() string
func (*PolicyMetadata) GetType ¶ added in v0.44.0
func (x *PolicyMetadata) GetType() string
func (*PolicyMetadata) ProtoMessage ¶ added in v0.44.0
func (*PolicyMetadata) ProtoMessage()
func (*PolicyMetadata) ProtoReflect ¶ added in v0.44.0
func (x *PolicyMetadata) ProtoReflect() protoreflect.Message
func (*PolicyMetadata) Reset ¶ added in v0.44.0
func (x *PolicyMetadata) Reset()
func (*PolicyMetadata) String ¶ added in v0.44.0
func (x *PolicyMetadata) String() string
type Repository ¶ added in v0.26.0
type Repository struct { Family string `protobuf:"bytes,1,opt,name=family,proto3" json:"family,omitempty"` Release string `protobuf:"bytes,2,opt,name=release,proto3" json:"release,omitempty"` // contains filtered or unexported fields }
func (*Repository) Descriptor
deprecated
added in
v0.26.0
func (*Repository) Descriptor() ([]byte, []int)
Deprecated: Use Repository.ProtoReflect.Descriptor instead.
func (*Repository) GetFamily ¶ added in v0.26.0
func (x *Repository) GetFamily() string
func (*Repository) GetRelease ¶ added in v0.26.0
func (x *Repository) GetRelease() string
func (*Repository) ProtoMessage ¶ added in v0.26.0
func (*Repository) ProtoMessage()
func (*Repository) ProtoReflect ¶ added in v0.26.0
func (x *Repository) ProtoReflect() protoreflect.Message
func (*Repository) Reset ¶ added in v0.26.0
func (x *Repository) Reset()
func (*Repository) String ¶ added in v0.26.0
func (x *Repository) String() string
type Secret ¶ added in v0.31.3
type Secret struct { Filepath string `protobuf:"bytes,1,opt,name=filepath,proto3" json:"filepath,omitempty"` Findings []*SecretFinding `protobuf:"bytes,2,rep,name=findings,proto3" json:"findings,omitempty"` // contains filtered or unexported fields }
func (*Secret) Descriptor
deprecated
added in
v0.31.3
func (*Secret) GetFilepath ¶ added in v0.31.3
func (*Secret) GetFindings ¶ added in v0.31.3
func (x *Secret) GetFindings() []*SecretFinding
func (*Secret) ProtoMessage ¶ added in v0.31.3
func (*Secret) ProtoMessage()
func (*Secret) ProtoReflect ¶ added in v0.31.3
func (x *Secret) ProtoReflect() protoreflect.Message
type SecretFinding ¶ added in v0.31.3
type SecretFinding struct { RuleId string `protobuf:"bytes,1,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"` Category string `protobuf:"bytes,2,opt,name=category,proto3" json:"category,omitempty"` Severity string `protobuf:"bytes,3,opt,name=severity,proto3" json:"severity,omitempty"` Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"` StartLine int32 `protobuf:"varint,5,opt,name=start_line,json=startLine,proto3" json:"start_line,omitempty"` EndLine int32 `protobuf:"varint,6,opt,name=end_line,json=endLine,proto3" json:"end_line,omitempty"` Code *Code `protobuf:"bytes,7,opt,name=code,proto3" json:"code,omitempty"` Match string `protobuf:"bytes,8,opt,name=match,proto3" json:"match,omitempty"` Layer *Layer `protobuf:"bytes,10,opt,name=layer,proto3" json:"layer,omitempty"` // contains filtered or unexported fields }
func (*SecretFinding) Descriptor
deprecated
added in
v0.31.3
func (*SecretFinding) Descriptor() ([]byte, []int)
Deprecated: Use SecretFinding.ProtoReflect.Descriptor instead.
func (*SecretFinding) GetCategory ¶ added in v0.31.3
func (x *SecretFinding) GetCategory() string
func (*SecretFinding) GetCode ¶ added in v0.31.3
func (x *SecretFinding) GetCode() *Code
func (*SecretFinding) GetEndLine ¶ added in v0.31.3
func (x *SecretFinding) GetEndLine() int32
func (*SecretFinding) GetLayer ¶ added in v0.31.3
func (x *SecretFinding) GetLayer() *Layer
func (*SecretFinding) GetMatch ¶ added in v0.31.3
func (x *SecretFinding) GetMatch() string
func (*SecretFinding) GetRuleId ¶ added in v0.31.3
func (x *SecretFinding) GetRuleId() string
func (*SecretFinding) GetSeverity ¶ added in v0.31.3
func (x *SecretFinding) GetSeverity() string
func (*SecretFinding) GetStartLine ¶ added in v0.31.3
func (x *SecretFinding) GetStartLine() int32
func (*SecretFinding) GetTitle ¶ added in v0.31.3
func (x *SecretFinding) GetTitle() string
func (*SecretFinding) ProtoMessage ¶ added in v0.31.3
func (*SecretFinding) ProtoMessage()
func (*SecretFinding) ProtoReflect ¶ added in v0.31.3
func (x *SecretFinding) ProtoReflect() protoreflect.Message
func (*SecretFinding) Reset ¶ added in v0.31.3
func (x *SecretFinding) Reset()
func (*SecretFinding) String ¶ added in v0.31.3
func (x *SecretFinding) String() string
type Severity ¶
type Severity int32
func (Severity) Descriptor ¶ added in v0.19.0
func (Severity) Descriptor() protoreflect.EnumDescriptor
func (Severity) EnumDescriptor
deprecated
func (Severity) Number ¶ added in v0.19.0
func (x Severity) Number() protoreflect.EnumNumber
func (Severity) Type ¶ added in v0.19.0
func (Severity) Type() protoreflect.EnumType
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"` PkgIdentifier *PkgIdentifier `protobuf:"bytes,25,opt,name=pkg_identifier,json=pkgIdentifier,proto3" json:"pkg_identifier,omitempty"` Layer *Layer `protobuf:"bytes,10,opt,name=layer,proto3" json:"layer,omitempty"` SeveritySource string `protobuf:"bytes,11,opt,name=severity_source,json=severitySource,proto3" json:"severity_source,omitempty"` Cvss map[string]*CVSS `` /* 150-byte string literal not displayed */ CweIds []string `protobuf:"bytes,13,rep,name=cwe_ids,json=cweIds,proto3" json:"cwe_ids,omitempty"` PrimaryUrl string `protobuf:"bytes,14,opt,name=primary_url,json=primaryUrl,proto3" json:"primary_url,omitempty"` PublishedDate *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=published_date,json=publishedDate,proto3" json:"published_date,omitempty"` LastModifiedDate *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=last_modified_date,json=lastModifiedDate,proto3" json:"last_modified_date,omitempty"` CustomAdvisoryData *structpb.Value `protobuf:"bytes,17,opt,name=custom_advisory_data,json=customAdvisoryData,proto3" json:"custom_advisory_data,omitempty"` CustomVulnData *structpb.Value `protobuf:"bytes,18,opt,name=custom_vuln_data,json=customVulnData,proto3" json:"custom_vuln_data,omitempty"` VendorIds []string `protobuf:"bytes,19,rep,name=vendor_ids,json=vendorIds,proto3" json:"vendor_ids,omitempty"` DataSource *DataSource `protobuf:"bytes,20,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"` VendorSeverity map[string]Severity `` /* 220-byte string literal not displayed */ PkgPath string `protobuf:"bytes,22,opt,name=pkg_path,json=pkgPath,proto3" json:"pkg_path,omitempty"` PkgId string `protobuf:"bytes,23,opt,name=pkg_id,json=pkgId,proto3" json:"pkg_id,omitempty"` Status int32 `protobuf:"varint,24,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*Vulnerability) Descriptor
deprecated
func (*Vulnerability) Descriptor() ([]byte, []int)
Deprecated: Use Vulnerability.ProtoReflect.Descriptor instead.
func (*Vulnerability) GetCustomAdvisoryData ¶ added in v0.20.1
func (x *Vulnerability) GetCustomAdvisoryData() *structpb.Value
func (*Vulnerability) GetCustomVulnData ¶ added in v0.20.1
func (x *Vulnerability) GetCustomVulnData() *structpb.Value
func (*Vulnerability) GetCvss ¶ added in v0.10.0
func (x *Vulnerability) GetCvss() map[string]*CVSS
func (*Vulnerability) GetCweIds ¶ added in v0.12.0
func (x *Vulnerability) GetCweIds() []string
func (*Vulnerability) GetDataSource ¶ added in v0.23.0
func (x *Vulnerability) GetDataSource() *DataSource
func (*Vulnerability) GetDescription ¶
func (x *Vulnerability) GetDescription() string
func (*Vulnerability) GetFixedVersion ¶
func (x *Vulnerability) GetFixedVersion() string
func (*Vulnerability) GetInstalledVersion ¶
func (x *Vulnerability) GetInstalledVersion() string
func (*Vulnerability) GetLastModifiedDate ¶ added in v0.15.0
func (x *Vulnerability) GetLastModifiedDate() *timestamppb.Timestamp
func (*Vulnerability) GetLayer ¶ added in v0.6.0
func (x *Vulnerability) GetLayer() *Layer
func (*Vulnerability) GetPkgId ¶ added in v0.29.0
func (x *Vulnerability) GetPkgId() string
func (*Vulnerability) GetPkgIdentifier ¶ added in v0.49.0
func (x *Vulnerability) GetPkgIdentifier() *PkgIdentifier
func (*Vulnerability) GetPkgName ¶
func (x *Vulnerability) GetPkgName() string
func (*Vulnerability) GetPkgPath ¶ added in v0.25.0
func (x *Vulnerability) GetPkgPath() string
func (*Vulnerability) GetPrimaryUrl ¶ added in v0.14.0
func (x *Vulnerability) GetPrimaryUrl() string
func (*Vulnerability) GetPublishedDate ¶ added in v0.15.0
func (x *Vulnerability) GetPublishedDate() *timestamppb.Timestamp
func (*Vulnerability) GetReferences ¶
func (x *Vulnerability) GetReferences() []string
func (*Vulnerability) GetSeverity ¶
func (x *Vulnerability) GetSeverity() Severity
func (*Vulnerability) GetSeveritySource ¶ added in v0.7.0
func (x *Vulnerability) GetSeveritySource() string
func (*Vulnerability) GetStatus ¶ added in v0.44.0
func (x *Vulnerability) GetStatus() int32
func (*Vulnerability) GetTitle ¶
func (x *Vulnerability) GetTitle() string
func (*Vulnerability) GetVendorIds ¶ added in v0.23.0
func (x *Vulnerability) GetVendorIds() []string
func (*Vulnerability) GetVendorSeverity ¶ added in v0.25.0
func (x *Vulnerability) GetVendorSeverity() map[string]Severity
func (*Vulnerability) GetVulnerabilityId ¶
func (x *Vulnerability) GetVulnerabilityId() string
func (*Vulnerability) ProtoMessage ¶
func (*Vulnerability) ProtoMessage()
func (*Vulnerability) ProtoReflect ¶ added in v0.19.0
func (x *Vulnerability) ProtoReflect() protoreflect.Message
func (*Vulnerability) Reset ¶
func (x *Vulnerability) Reset()
func (*Vulnerability) String ¶
func (x *Vulnerability) String() string