From 8120932238dc4895c8ea45cfacf91b96db925e40 Mon Sep 17 00:00:00 2001 From: Alex Jones Date: Mon, 28 Aug 2023 12:23:04 +0100 Subject: [PATCH] feat: adding integrations config Signed-off-by: Alex Jones --- protobuf/schema/v1/schema.proto | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/protobuf/schema/v1/schema.proto b/protobuf/schema/v1/schema.proto index 2ee44de..3e6ebce 100644 --- a/protobuf/schema/v1/schema.proto +++ b/protobuf/schema/v1/schema.proto @@ -58,6 +58,7 @@ message AnalysisItem { message AddConfigRequest { Cache cache = 1; + Integrations integrations = 2; } message AddConfigResponse { @@ -66,6 +67,7 @@ message AddConfigResponse { message RemoveConfigRequest { Cache cache = 1; + Integrations integrations = 2; } message RemoveConfigResponse { @@ -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) {}