Skip to content

Commit

Permalink
Merge pull request #16 from aquasecurity/owenr-switch-to-new-sbom-format
Browse files Browse the repository at this point in the history
fix: update SBOM generation command
  • Loading branch information
Owen Rumney committed Aug 3, 2022
2 parents 784acf5 + fdb0bb7 commit 1dc8fe5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]
Copyright 2022 Aqua Security

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions client/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,10 @@ export function App() {

commandParts.push("aquasec/trivy");
commandParts.push("--quiet");
commandParts.push("image")
if (SBOMOutput) {
commandParts.push("sbom")
commandParts.push("-f=cyclonedx")
} else {
commandParts.push("image")
commandParts.push("-f=json")
}

Expand Down

0 comments on commit 1dc8fe5

Please sign in to comment.