Versions in this module Expand all Collapse all v0 v0.2.0 Sep 21, 2024 Changes in this version type Package + Config types.ZarfPackage v0.1.0 Sep 6, 2024 v0.0.11 Aug 23, 2024 v0.0.10 Aug 11, 2024 Changes in this version + func DeletePackagesByNameExceptTags(db *gorm.DB, name string, excludeTags []string) error + type Report struct + CreatedAt time.Time + Critical int + High int + ID uint + Info int + Low int + Medium int + PackageName string + SBOM json.RawMessage + Tag string + Total int v0.0.9 Jul 24, 2024 v0.0.8 Jul 15, 2024 Changes in this version + type HistoryArray []History + type Package struct + CreatedAt time.Time + ID uint + Name string + Repository string + Scans []Scan + Tag string + UpdatedAt time.Time type Scan + Entrypoint json.RawMessage + PackageID uint v0.0.7 Jun 7, 2024 v0.0.6 Jun 6, 2024 Changes in this version + type CVSS map[string]CVSSData + func (c *CVSS) Scan(value interface{}) error + func (c CVSS) Value() (driver.Value, error) + type CVSSData struct + V3Score float64 + V3Vector string + type Config struct + Entrypoint []string + Env []string + ExposedPorts ExposedPorts + User string + WorkingDir string + type CweIDs []string + func (c *CweIDs) Scan(value interface{}) error + func (c CweIDs) Value() (driver.Value, error) + type DataSource struct + ID string + Name string + URL string + func (d *DataSource) Scan(value interface{}) error + func (d DataSource) Value() (driver.Value, error) + type ExposedPorts map[string]interface + func (e *ExposedPorts) Scan(value interface{}) error + func (e ExposedPorts) Value() (driver.Value, error) + type History struct + Author string + Comment string + Created string + CreatedBy string + EmptyLayer bool + func (h *History) Scan(value interface{}) error + func (h History) Value() (driver.Value, error) + type ImageConfig struct + Architecture string + Author string + Config Config + Created string + History []History + OS string + RootFS RootFS + type JSONStringArray []string + func (j *JSONStringArray) Scan(value interface{}) error + func (j JSONStringArray) Value() (driver.Value, error) + type Layer struct + DiffID string + Digest string + type Metadata struct + DiffIDs JSONStringArray + ImageConfig ImageConfig + ImageID string + OS OS + RepoDigests JSONStringArray + RepoTags JSONStringArray + type OS struct + Family string + Name string + type PkgIdentifier struct + PURL string + UID string + func (p *PkgIdentifier) Scan(value interface{}) error + func (p PkgIdentifier) Value() (driver.Value, error) + type References []string + func (r *References) Scan(value interface{}) error + func (r References) Value() (driver.Value, error) + type RootFS struct + DiffIDs []string + Type string + type Scan struct + ArtifactName string + ArtifactType string + CreatedAt time.Time + ID uint + Metadata Metadata + SchemaVersion int + UpdatedAt time.Time + Vulnerabilities []Vulnerability + type VendorSeverity map[string]int + func (v *VendorSeverity) Scan(value interface{}) error + func (v VendorSeverity) Value() (driver.Value, error) + type Vulnerability struct + CVSS CVSS + Class string + CreatedAt time.Time + CweIDs CweIDs + DataSource DataSource + Description string + FixedVersion string + ID uint + InstalledVersion string + LastModifiedDate time.Time + Layer Layer + PkgIdentifier PkgIdentifier + PkgName string + PkgPath string + PrimaryURL string + PublishedDate time.Time + References References + ScanID uint + Severity string + SeveritySource string + Status string + Target string + Title string + Type string + UpdatedAt time.Time + VendorSeverity VendorSeverity + VulnerabilityID string