Skip to content

Commit

Permalink
address reviewer comments
Browse files Browse the repository at this point in the history
Signed-off-by: hectorj2f <[email protected]>
  • Loading branch information
hectorj2f committed Oct 13, 2024
1 parent 0b56a9e commit 78d0e86
Showing 1 changed file with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -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";
Expand All @@ -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 {
Expand All @@ -28,10 +28,6 @@ message VulnDatabase {
}

message Result {
repeated Vulnerability vulnerabilities = 3;
}

message Vulnerability {
string id = 1;
repeated Severity severity = 2;

Expand Down

0 comments on commit 78d0e86

Please sign in to comment.