Skip to content

Commit

Permalink
feat: update proto
Browse files Browse the repository at this point in the history
Signed-off-by: Matthis Holleville <matthish29@gmail.com>
  • Loading branch information
matthisholleville committed May 6, 2023
1 parent 8f75d60 commit 215fed1
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions protobuf/schema/v1/schema.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,30 @@ message AnalyzeRequest {
string output = 8;
}

message SensitiveData {
string unmasked = 1;
string masked = 2;
}

message ErrorDetail {
string text = 1;
repeated SensitiveData sensitive = 2;
}

message Result {
string kind = 1;
string name = 2;
ErrorDetail error = 3;
repeated ErrorDetail error = 3;
string details = 4;
string parent_object = 5;
}

message AnalyzeResponse {
Analysis analysis = 1;
Error error = 2;
Error error = 1;
repeated string errors = 2;
string status = 3;
int32 problems = 4;
repeated Result results = 5;
}

message Error {
Expand Down

0 comments on commit 215fed1

Please sign in to comment.