diff --git a/Makefile b/Makefile index d049cf3..c9646db 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -BUF_VERSION=v1.6.0 +BUF_VERSION=v1.28.0 TAG=protobuf-v0.1.4 guard-%: @ if [ "${${*}}" = "" ]; then \ diff --git a/protobuf/schema/v1/schema.proto b/protobuf/schema/v1/schema.proto index 503af2c..048e65c 100644 --- a/protobuf/schema/v1/schema.proto +++ b/protobuf/schema/v1/schema.proto @@ -75,10 +75,27 @@ message RemoveConfigResponse { } message Cache { + oneof cache_type { + S3Cache s3_cache = 1; + AzureCache azure_cache = 2; + GCSCache gcs_cache = 3; + } +} + +message S3Cache { + string region = 1; + string bucket_name = 2; +} + +message AzureCache { + string storage_account = 1; + string container_name = 2; +} + +message GCSCache { string region = 1; string bucket_name = 2; - string storage_account = 3; - string container_name = 4; + string project_id = 3; } message Trivy {