detector.proto 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. // Copyright 2020 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.settings.v1beta1;
  16. import "google/api/field_behavior.proto";
  17. import "google/cloud/securitycenter/settings/v1beta1/billing_settings.proto";
  18. import "google/api/annotations.proto";
  19. option cc_enable_arenas = true;
  20. option csharp_namespace = "Google.Cloud.SecurityCenter.Settings.V1Beta1";
  21. option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/settings/v1beta1;settings";
  22. option java_multiple_files = true;
  23. option java_outer_classname = "DetectorsProto";
  24. option java_package = "com.google.cloud.securitycenter.settings.v1beta1";
  25. option php_namespace = "Google\\Cloud\\SecurityCenter\\Settings\\V1beta1";
  26. option ruby_package = "Google::Cloud::SecurityCenter::Settings::V1beta1";
  27. // Detector is a set of detectors or scanners act as individual checks done
  28. // within a component e.g. bad IP, bad domains, IAM anomaly, cryptomining, open
  29. // firewall, etc. Detector is independent of Organization, meaning each detector
  30. // must be defined for a given Security Center component under a specified
  31. // billing tier. Organizations can configure the list of detectors based on
  32. // their subscribed billing tier.
  33. //
  34. // Defines a detector, its billing tier and any applicable labels.
  35. message Detector {
  36. // Output only. Detector Identifier
  37. string detector = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
  38. // Output only. Component that supports detector type. Multiple components may support the
  39. // same detector.
  40. string component = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
  41. // Output only. The billing tier may be different for a detector of the same name in
  42. // another component.
  43. BillingTier billing_tier = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
  44. // Output only. Google curated detector labels. These are alphanumeric tags that are not
  45. // necessarily human readable. Labels can be used to group detectors together
  46. // in the future. An example might be tagging all detectors “PCI” that help
  47. // with PCI compliance.
  48. repeated string detector_labels = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
  49. }