Skip to content

Commit

Permalink
feat: adding integrations config
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
  • Loading branch information
AlexsJones committed Aug 28, 2023
1 parent c25f7d0 commit 8120932
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions protobuf/schema/v1/schema.proto
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ message AnalysisItem {

message AddConfigRequest {
Cache cache = 1;
Integrations integrations = 2;
}

message AddConfigResponse {
Expand All @@ -66,6 +67,7 @@ message AddConfigResponse {

message RemoveConfigRequest {
Cache cache = 1;
Integrations integrations = 2;
}

message RemoveConfigResponse {
Expand All @@ -77,6 +79,14 @@ message Cache {
string bucket_name = 2;
}

message Trivy {
bool enabled = 1;
}

message Integrations {
Trivy trivy = 1;
}

service ServerService {
rpc Analyze(AnalyzeRequest) returns (AnalyzeResponse) {}
rpc AddConfig(AddConfigRequest) returns (AddConfigResponse) {}
Expand Down

0 comments on commit 8120932

Please sign in to comment.