Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dependencies ¶
type Dependencies struct {
Vendor string `json:"vendor,omitempty"`
Component string `json:"component,omitempty"`
Version string `json:"version,omitempty"`
Source string `json:"source,omitempty"`
}
Dependencies represents component dependencies
type FileFingerprint ¶
FileFingerprint represents the fingerprint of a file
type Health ¶
type Health struct {
CreationDate string `json:"creation_date,omitempty"`
LastUpdate string `json:"last_update,omitempty"`
LastPush string `json:"last_push,omitempty"`
Stars interface{} `json:"stars,omitempty"`
Issues interface{} `json:"issues,omitempty"`
}
Health represents repository health information
type KbVersion ¶
type KbVersion struct {
Monthly string `json:"monthly,omitempty"`
Daily string `json:"daily,omitempty"`
}
KbVersion represents knowledge base versions
type Licenses ¶
type Licenses struct {
Name string `json:"name,omitempty"`
PatentHints string `json:"patent_hints,omitempty"`
Copyleft string `json:"copyleft,omitempty"`
ChecklistURL string `json:"checklist_url,omitempty"`
OsadlUpdated time.Time `json:"osadl_updated,omitempty"`
Source string `json:"source,omitempty"`
URL string `json:"url,omitempty"`
}
Licenses represents license information
type Quality ¶
type Quality struct {
Score string `json:"score,omitempty"`
Source string `json:"source,omitempty"`
}
Quality represents the quality of the detected component
type ResultEntry ¶
type ResultEntry struct {
ID string `json:"id,omitempty"`
Lines string `json:"lines,omitempty"`
OssLines string `json:"oss_lines,omitempty"`
Matched string `json:"matched,omitempty"`
FileHash string `json:"file_hash,omitempty"`
SourceHash string `json:"source_hash,omitempty"`
FileURL string `json:"file_url,omitempty"`
Quality []Quality `json:"quality,omitempty"`
Cryptography []interface{} `json:"cryptography,omitempty"`
Purl []string `json:"purl,omitempty"`
Vendor string `json:"vendor,omitempty"`
Component string `json:"component,omitempty"`
Version string `json:"version,omitempty"`
Latest string `json:"latest,omitempty"`
URL string `json:"url,omitempty"`
Status string `json:"status,omitempty"`
ReleaseDate string `json:"release_date,omitempty"`
File string `json:"file,omitempty"`
URLHash string `json:"url_hash,omitempty"`
Licenses []Licenses `json:"licenses,omitempty"`
Health Health `json:"health,omitempty"`
Provenance string `json:"provenance,omitempty"`
Dependencies []Dependencies `json:"dependencies,omitempty"`
Copyrights []interface{} `json:"copyrights,omitempty"`
Vulnerabilities []interface{} `json:"vulnerabilities,omitempty"`
Server Server `json:"server,omitempty"`
}
ResultEntry represents a scan result
type ScanResult ¶
ScanResult groups file analysis results
Click to show internal directories.
Click to hide internal directories.