Class: Google::Cloud::WebSecurityScanner::V1::ScanRunErrorTrace
- Inherits:
-
Object
- Object
- Google::Cloud::WebSecurityScanner::V1::ScanRunErrorTrace
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/websecurityscanner/v1/scan_run_error_trace.rb
Overview
Output only. Defines an error trace message for a ScanRun.
Defined Under Namespace
Modules: Code
Instance Attribute Summary collapse
-
#code ⇒ ::Google::Cloud::WebSecurityScanner::V1::ScanRunErrorTrace::Code
Output only.
-
#most_common_http_error_code ⇒ ::Integer
Output only.
-
#scan_config_error ⇒ ::Google::Cloud::WebSecurityScanner::V1::ScanConfigError
Output only.
Instance Attribute Details
#code ⇒ ::Google::Cloud::WebSecurityScanner::V1::ScanRunErrorTrace::Code
Returns Output only. Indicates the error reason code.
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 |
# File 'proto_docs/google/cloud/websecurityscanner/v1/scan_run_error_trace.rb', line 39 class ScanRunErrorTrace include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Output only. # Defines an error reason code. # Next id: 8 module Code # Default value is never used. CODE_UNSPECIFIED = 0 # Indicates that the scan run failed due to an internal server error. INTERNAL_ERROR = 1 # Indicates a scan configuration error, usually due to outdated ScanConfig # settings, such as starting_urls or the DNS configuration. SCAN_CONFIG_ISSUE = 2 # Indicates an authentication error, usually due to outdated ScanConfig # authentication settings. AUTHENTICATION_CONFIG_ISSUE = 3 # Indicates a scan operation timeout, usually caused by a very large site. TIMED_OUT_WHILE_SCANNING = 4 # Indicates that a scan encountered excessive redirects, either to # authentication or some other page outside of the scan scope. TOO_MANY_REDIRECTS = 5 # Indicates that a scan encountered numerous errors from the web site # pages. When available, most_common_http_error_code field indicates the # most common HTTP error code encountered during the scan. TOO_MANY_HTTP_ERRORS = 6 end end |
#most_common_http_error_code ⇒ ::Integer
Returns Output only. If the scan encounters TOO_MANY_HTTP_ERRORS, this field indicates the most common HTTP error code, if such is available. For example, if this code is 404, the scan has encountered too many NOT_FOUND responses.
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 |
# File 'proto_docs/google/cloud/websecurityscanner/v1/scan_run_error_trace.rb', line 39 class ScanRunErrorTrace include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Output only. # Defines an error reason code. # Next id: 8 module Code # Default value is never used. CODE_UNSPECIFIED = 0 # Indicates that the scan run failed due to an internal server error. INTERNAL_ERROR = 1 # Indicates a scan configuration error, usually due to outdated ScanConfig # settings, such as starting_urls or the DNS configuration. SCAN_CONFIG_ISSUE = 2 # Indicates an authentication error, usually due to outdated ScanConfig # authentication settings. AUTHENTICATION_CONFIG_ISSUE = 3 # Indicates a scan operation timeout, usually caused by a very large site. TIMED_OUT_WHILE_SCANNING = 4 # Indicates that a scan encountered excessive redirects, either to # authentication or some other page outside of the scan scope. TOO_MANY_REDIRECTS = 5 # Indicates that a scan encountered numerous errors from the web site # pages. When available, most_common_http_error_code field indicates the # most common HTTP error code encountered during the scan. TOO_MANY_HTTP_ERRORS = 6 end end |
#scan_config_error ⇒ ::Google::Cloud::WebSecurityScanner::V1::ScanConfigError
Returns Output only. If the scan encounters SCAN_CONFIG_ISSUE error, this field has the error message encountered during scan configuration validation that is performed before each scan run.
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 |
# File 'proto_docs/google/cloud/websecurityscanner/v1/scan_run_error_trace.rb', line 39 class ScanRunErrorTrace include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Output only. # Defines an error reason code. # Next id: 8 module Code # Default value is never used. CODE_UNSPECIFIED = 0 # Indicates that the scan run failed due to an internal server error. INTERNAL_ERROR = 1 # Indicates a scan configuration error, usually due to outdated ScanConfig # settings, such as starting_urls or the DNS configuration. SCAN_CONFIG_ISSUE = 2 # Indicates an authentication error, usually due to outdated ScanConfig # authentication settings. AUTHENTICATION_CONFIG_ISSUE = 3 # Indicates a scan operation timeout, usually caused by a very large site. TIMED_OUT_WHILE_SCANNING = 4 # Indicates that a scan encountered excessive redirects, either to # authentication or some other page outside of the scan scope. TOO_MANY_REDIRECTS = 5 # Indicates that a scan encountered numerous errors from the web site # pages. When available, most_common_http_error_code field indicates the # most common HTTP error code encountered during the scan. TOO_MANY_HTTP_ERRORS = 6 end end |