Skip to content

Commit 39d696b

Browse files
authored
Merge pull request #287 from DataDog/jinroh/sbom-host-image2
SBOM: add a HOST_IMAGE SBOMSourceType
2 parents 38db68d + 1eab073 commit 39d696b

3 files changed

Lines changed: 21 additions & 16 deletions

File tree

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ BASH
101101
PATH=#{protoc_gen_go_dir}/bin #{protoc_binary_2} --proto_path=$GOPATH/src:. --go_out=$GOPATH/src proto/sbom/sbom.proto
102102
103103
# Install protoc-gen-go-vtproto
104-
GOPATH=#{protoc_gen_go_dir} go install github.com/planetscale/vtprotobuf/cmd/protoc-gen-go-vtproto@latest
104+
GOPATH=#{protoc_gen_go_dir} go install github.com/planetscale/vtprotobuf/cmd/protoc-gen-go-vtproto@v0.5.0
105105
106106
echo "Generating CWS Activity Dumps v1"
107107
PATH=#{protoc_gen_go_dir}/bin #{protoc_binary_2} --proto_path=$GOPATH/src:. \

proto/sbom/sbom.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ enum SBOMSourceType {
4242
CONTAINER_FILE_SYSTEM = 2;
4343
HOST_FILE_SYSTEM = 3;
4444
CI_PIPELINE = 4;
45+
HOST_IMAGE = 5; // SBOM sourced from an Host OS image (ie AWS AMIs, GCP OS images etc.)
4546
}
4647

4748
enum SBOMStatus {

sbom/sbom.pb.go

Lines changed: 19 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)