detector.proto 2.6 KB

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