Skip to content

Commit

Permalink
Merge pull request #287 from DataDog/jinroh/sbom-host-image2
Browse files Browse the repository at this point in the history
SBOM: add a HOST_IMAGE SBOMSourceType
  • Loading branch information
jinroh authored Feb 9, 2024
2 parents 38db68d + 1eab073 commit 39d696b
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 16 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ BASH
PATH=#{protoc_gen_go_dir}/bin #{protoc_binary_2} --proto_path=$GOPATH/src:. --go_out=$GOPATH/src proto/sbom/sbom.proto
# Install protoc-gen-go-vtproto
GOPATH=#{protoc_gen_go_dir} go install github.com/planetscale/vtprotobuf/cmd/protoc-gen-go-vtproto@latest
GOPATH=#{protoc_gen_go_dir} go install github.com/planetscale/vtprotobuf/cmd/protoc-gen-go-vtproto@v0.5.0
echo "Generating CWS Activity Dumps v1"
PATH=#{protoc_gen_go_dir}/bin #{protoc_binary_2} --proto_path=$GOPATH/src:. \
Expand Down
1 change: 1 addition & 0 deletions proto/sbom/sbom.proto
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ enum SBOMSourceType {
CONTAINER_FILE_SYSTEM = 2;
HOST_FILE_SYSTEM = 3;
CI_PIPELINE = 4;
HOST_IMAGE = 5; // SBOM sourced from an Host OS image (ie AWS AMIs, GCP OS images etc.)
}

enum SBOMStatus {
Expand Down
34 changes: 19 additions & 15 deletions sbom/sbom.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 39d696b

Please sign in to comment.