Documentation ¶
Index ¶
- func GetMeta(vulns []models.ScanResultVulnerabilities) ([]models.ScanResultVulnerabilities, error)
- func GetOfflineVulns(indices cache.InfoFile, purls []models.PurlDetail, ...) ([]models.ScanResultVulnerabilities, error)
- func GetPURLDetail(sbm *sbom.SBOM) []models.PurlDetail
- func GetSBOM(dir string) (*sbom.SBOM, error)
- func GetVulns(purls []models.PurlDetail, iterator func(cur int, total int)) ([]models.ScanResultVulnerabilities, error)
- func LoadSBOM(inputFile string) (*sbom.SBOM, error)
- func SaveSBOM(sbm *sbom.SBOM, file string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMeta ¶
func GetMeta(vulns []models.ScanResultVulnerabilities) ([]models.ScanResultVulnerabilities, error)
func GetOfflineVulns ¶
func GetOfflineVulns(indices cache.InfoFile, purls []models.PurlDetail, iterator func(cur int, total int)) ([]models.ScanResultVulnerabilities, error)
func GetPURLDetail ¶
func GetPURLDetail(sbm *sbom.SBOM) []models.PurlDetail
func GetVulns ¶
func GetVulns(purls []models.PurlDetail, iterator func(cur int, total int)) ([]models.ScanResultVulnerabilities, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.