-
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add version, use project auto-creation
With this change the SBOM is now just uploaded to Dependency Track with the "auto-creat" option set to true. So, each project/version combinations gets an entry in Dependency Track. The Docker repository (registry + image) is used as the project name, the Docker tag is used for the version.
- Loading branch information
1 parent
7fbd4c8
commit 492e99e
Showing
6 changed files
with
33 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
package target | ||
|
||
import ( | ||
"github.com/ckotzbauer/sbom-operator/internal/kubernetes" | ||
) | ||
|
||
type Target interface { | ||
Initialize() | ||
ValidateConfig() error | ||
ProcessSbom(imageID, sbom string) | ||
ProcessSbom(imageID kubernetes.ContainerImage, sbom string) | ||
Cleanup(allImages []string) | ||
} |