Skip to content

Commit

Permalink
[feat] pass image name to xeol.io API (#66)
Browse files Browse the repository at this point in the history
Signed-off-by: Benji Visser <benji@093b.org>
  • Loading branch information
noqcks authored Jun 25, 2023
1 parent 102d8c6 commit 7ae04a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ func startWorker(userInput string, failOnEolFound bool, eolMatchDate time.Time)
Packages: packages,
Context: pkgContext,
AppConfig: appConfig,
ImageName: sbom.Source.ImageMetadata.UserInput,
})
if err := x.Send(); err != nil {
errs <- fmt.Errorf("failed to send eol event: %w", err)
Expand Down
1 change: 1 addition & 0 deletions xeol/report/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ type XeolEventPayload struct {
Packages []pkg.Package
Context pkg.Context
AppConfig interface{}
ImageName string
}

0 comments on commit 7ae04a8

Please sign in to comment.