|
| 1 | +// Copyright 2021 Google LLC |
| 2 | +// |
| 3 | +// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | +// you may not use this file except in compliance with the License. |
| 5 | +// You may obtain a copy of the License at |
| 6 | +// |
| 7 | +// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | +// |
| 9 | +// Unless required by applicable law or agreed to in writing, software |
| 10 | +// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | +// See the License for the specific language governing permissions and |
| 13 | +// limitations under the License. |
| 14 | + |
| 15 | +syntax = "proto3"; |
| 16 | + |
| 17 | +package google.cloud.securitycenter.v1; |
| 18 | + |
| 19 | +import "google/api/resource.proto"; |
| 20 | +import "google/protobuf/timestamp.proto"; |
| 21 | +import "google/api/annotations.proto"; |
| 22 | + |
| 23 | +option csharp_namespace = "Google.Cloud.SecurityCenter.V1"; |
| 24 | +option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter"; |
| 25 | +option java_multiple_files = true; |
| 26 | +option java_outer_classname = "ExternalSystemProto"; |
| 27 | +option java_package = "com.google.cloud.securitycenter.v1"; |
| 28 | +option php_namespace = "Google\\Cloud\\SecurityCenter\\V1"; |
| 29 | +option ruby_package = "Google::Cloud::SecurityCenter::V1"; |
| 30 | + |
| 31 | +// Representation of third party SIEM/SOAR fields within SCC. |
| 32 | +message ExternalSystem { |
| 33 | + option (google.api.resource) = { |
| 34 | + type: "securitycenter.googleapis.com/ExternalSystem" |
| 35 | + pattern: "organizations/{organization}/sources/{source}/findings/{finding}/externalSystems/{externalsystem}" |
| 36 | + pattern: "folders/{folder}/sources/{source}/findings/{finding}/externalSystems/{externalsystem}" |
| 37 | + pattern: "projects/{project}/sources/{source}/findings/{finding}/externalSystems/{externalsystem}" |
| 38 | + }; |
| 39 | + |
| 40 | + // External System Name e.g. jira, demisto, etc. |
| 41 | + // e.g.: `organizations/1234/sources/5678/findings/123456/externalSystems/jira` |
| 42 | + // `folders/1234/sources/5678/findings/123456/externalSystems/jira` |
| 43 | + // `projects/1234/sources/5678/findings/123456/externalSystems/jira` |
| 44 | + string name = 1; |
| 45 | + |
| 46 | + // References primary/secondary etc assignees in the external system. |
| 47 | + repeated string assignees = 2; |
| 48 | + |
| 49 | + // Identifier that's used to track the given finding in the external system. |
| 50 | + string external_uid = 3; |
| 51 | + |
| 52 | + // Most recent status of the corresponding finding's ticket/tracker in the |
| 53 | + // external system. |
| 54 | + string status = 4; |
| 55 | + |
| 56 | + // The most recent time when the corresponding finding's ticket/tracker was |
| 57 | + // updated in the external system. |
| 58 | + google.protobuf.Timestamp external_system_update_time = 5; |
| 59 | +} |
0 commit comments