package
Version:
v0.0.0-...-65a6f44
Opens a new window with list of versions in this module.
Published: Mar 9, 2024
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Artifact struct {
Name string `json:"name"`
Version string `json:"version"`
Type string `json:"type"`
}
type DirResult struct {
Matches []Match `json:"matches"`
Source DirSource `json:"source"`
}
type DirSource struct {
Type string `json:"type"`
Target string `json:"target"`
}
type Fix struct {
Versions []string `json:"versions"`
State string `json:"state"`
}
type ImageResult struct {
Matches []Match `json:"matches"`
Source ImageSource `json:"source"`
}
type ImageSource struct {
Type string `json:"type"`
Target Target `json:"target"`
}
type Match struct {
Vulnerability Vulnerability `json:"vulnerability"`
Artifact Artifact `json:"artifact"`
}
type Result struct {
Matches []Match `json:"matches"`
Target Target `json:"target"`
}
type Target struct {
UserInput string `json:"userInput"`
ImageID string `json:"imageID"`
ImageSize int64 `json:"imageSize"`
}
type Vulnerability struct {
Id string `json:"id"`
DataSource string `json:"dataSource"`
Severity string `json:"severity"`
Description string `json:"description"`
Fix Fix `json:"fix"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.