external_system.proto 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. // Copyright 2022 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. syntax = "proto3";
  15. package google.cloud.securitycenter.v1;
  16. import "google/api/resource.proto";
  17. import "google/protobuf/timestamp.proto";
  18. option csharp_namespace = "Google.Cloud.SecurityCenter.V1";
  19. option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter";
  20. option java_multiple_files = true;
  21. option java_outer_classname = "ExternalSystemProto";
  22. option java_package = "com.google.cloud.securitycenter.v1";
  23. option php_namespace = "Google\\Cloud\\SecurityCenter\\V1";
  24. option ruby_package = "Google::Cloud::SecurityCenter::V1";
  25. // Representation of third party SIEM/SOAR fields within SCC.
  26. message ExternalSystem {
  27. option (google.api.resource) = {
  28. type: "securitycenter.googleapis.com/ExternalSystem"
  29. pattern: "organizations/{organization}/sources/{source}/findings/{finding}/externalSystems/{externalsystem}"
  30. pattern: "folders/{folder}/sources/{source}/findings/{finding}/externalSystems/{externalsystem}"
  31. pattern: "projects/{project}/sources/{source}/findings/{finding}/externalSystems/{externalsystem}"
  32. };
  33. // External System Name e.g. jira, demisto, etc.
  34. // e.g.:
  35. // `organizations/1234/sources/5678/findings/123456/externalSystems/jira`
  36. // `folders/1234/sources/5678/findings/123456/externalSystems/jira`
  37. // `projects/1234/sources/5678/findings/123456/externalSystems/jira`
  38. string name = 1;
  39. // References primary/secondary etc assignees in the external system.
  40. repeated string assignees = 2;
  41. // Identifier that's used to track the given finding in the external system.
  42. string external_uid = 3;
  43. // Most recent status of the corresponding finding's ticket/tracker in the
  44. // external system.
  45. string status = 4;
  46. // The most recent time when the corresponding finding's ticket/tracker was
  47. // updated in the external system.
  48. google.protobuf.Timestamp external_system_update_time = 5;
  49. }