diff --git a/protos/in_toto_attestation/predicates/vuln/v1/vuln.proto b/protos/in_toto_attestation/predicates/vuln/v0.1/vuln.proto similarity index 84% rename from protos/in_toto_attestation/predicates/vuln/v1/vuln.proto rename to protos/in_toto_attestation/predicates/vuln/v0.1/vuln.proto index fc4dca45..0d0c57ee 100644 --- a/protos/in_toto_attestation/predicates/vuln/v1/vuln.proto +++ b/protos/in_toto_attestation/predicates/vuln/v0.1/vuln.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -package in_toto_attestation.predicates.vuln.v1; +package in_toto_attestation.predicates.vuln.v01; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; @@ -16,9 +16,9 @@ message Vuln { message Scanner { string uri = 1; - string version = 2; + optional string version = 2; VulnDatabase database = 3; - Result result = 4; + repeated Result result = 4; } message VulnDatabase { @@ -28,10 +28,6 @@ message VulnDatabase { } message Result { - repeated Vulnerability vulnerabilities = 3; -} - -message Vulnerability { string id = 1; repeated Severity severity = 2;