scan_run_warning_trace.proto 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. // Copyright 2019 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. package google.cloud.websecurityscanner.v1beta;
  17. option csharp_namespace = "Google.Cloud.WebSecurityScanner.V1Beta";
  18. option go_package = "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta;websecurityscanner";
  19. option java_multiple_files = true;
  20. option java_outer_classname = "ScanRunWarningTraceProto";
  21. option java_package = "com.google.cloud.websecurityscanner.v1beta";
  22. option php_namespace = "Google\\Cloud\\WebSecurityScanner\\V1beta";
  23. option ruby_package = "Google::Cloud::WebSecurityScanner::V1beta";
  24. // Output only.
  25. // Defines a warning trace message for ScanRun. Warning traces provide customers
  26. // with useful information that helps make the scanning process more effective.
  27. message ScanRunWarningTrace {
  28. // Output only.
  29. // Defines a warning message code.
  30. // Next id: 6
  31. enum Code {
  32. // Default value is never used.
  33. CODE_UNSPECIFIED = 0;
  34. // Indicates that a scan discovered an unexpectedly low number of URLs. This
  35. // is sometimes caused by complex navigation features or by using a single
  36. // URL for numerous pages.
  37. INSUFFICIENT_CRAWL_RESULTS = 1;
  38. // Indicates that a scan discovered too many URLs to test, or excessive
  39. // redundant URLs.
  40. TOO_MANY_CRAWL_RESULTS = 2;
  41. // Indicates that too many tests have been generated for the scan. Customer
  42. // should try reducing the number of starting URLs, increasing the QPS rate,
  43. // or narrowing down the scope of the scan using the excluded patterns.
  44. TOO_MANY_FUZZ_TASKS = 3;
  45. // Indicates that a scan is blocked by IAP.
  46. BLOCKED_BY_IAP = 4;
  47. }
  48. // Indicates the warning code.
  49. Code code = 1;
  50. }