Skip to content

Commit

Permalink
Add dockerfile info to standard report
Browse files Browse the repository at this point in the history
  • Loading branch information
bentito committed Dec 9, 2023
1 parent e05ba99 commit 40ec16d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/reports/bundles/columns.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ type Column struct {
BundleAnnotations map[string]string `json:"bundleAnnotations,omitempty"`
BundleCSV *v1alpha1.ClusterServiceVersion `json:"csv,omitempty"`
PropertiesFromDB []pkg.PropertiesAnnotation `json:"propertiesFromDB,omitempty"`
BundleDockerfiles []pkg.Dockerfile `json:"bundleDockerfiles,omitempty"`
}

func NewColumn(v models.AuditBundle) *Column {
Expand All @@ -65,6 +66,7 @@ func NewColumn(v models.AuditBundle) *Column {
col.BundleImageLabels = v.BundleImageLabels
col.BundleAnnotations = v.BundleAnnotations
col.PropertiesFromDB = v.PropertiesDB
col.BundleDockerfiles = v.BundleDockerfiles

if v.Bundle != nil && v.Bundle.CSV != nil {
col.BundleCSV = v.Bundle.CSV
Expand Down

0 comments on commit 40ec16d

Please sign in to comment.