container.proto 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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/cloud/securitycenter/v1/label.proto";
  17. option csharp_namespace = "Google.Cloud.SecurityCenter.V1";
  18. option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter";
  19. option java_multiple_files = true;
  20. option java_outer_classname = "ContainerProto";
  21. option java_package = "com.google.cloud.securitycenter.v1";
  22. option php_namespace = "Google\\Cloud\\SecurityCenter\\V1";
  23. option ruby_package = "Google::Cloud::SecurityCenter::V1";
  24. // Container associated with the finding.
  25. message Container {
  26. // Container name.
  27. string name = 1;
  28. // Container image URI provided when configuring a pod/container.
  29. // May identify a container image version using mutable tags.
  30. string uri = 2;
  31. // Optional container image id, when provided by the container runtime.
  32. // Uniquely identifies the container image launched using a container image
  33. // digest.
  34. string image_id = 3;
  35. // Container labels, as provided by the container runtime.
  36. repeated Label labels = 4;
  37. }