Types for Google Cloud Websecurityscanner v1beta API¶
- class google.cloud.websecurityscanner_v1beta.types.CrawledUrl(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
A CrawledUrl resource represents a URL that was crawled during a ScanRun. Web Security Scanner Service crawls the web applications, following all links within the scope of sites, to find the URLs to test against.
- class google.cloud.websecurityscanner_v1beta.types.CreateScanConfigRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request for the
CreateScanConfig
method.- parent¶
Required. The parent resource name where the scan is created, which should be a project resource name in the format ‘projects/{projectId}’.
- Type
- scan_config¶
Required. The ScanConfig to be created.
- class google.cloud.websecurityscanner_v1beta.types.DeleteScanConfigRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request for the
DeleteScanConfig
method.
- class google.cloud.websecurityscanner_v1beta.types.Finding(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
A Finding resource represents a vulnerability instance identified during a ScanRun.
- name¶
The resource name of the Finding. The name follows the format of ‘projects/{projectId}/scanConfigs/{scanConfigId}/scanruns/{scanRunId}/findings/{findingId}’. The finding IDs are generated by the system.
- Type
- finding_type¶
The type of the Finding. Detailed and up-to-date information on findings can be found here:
https://cloud.google.com/security-scanner/docs/scan-result-details
- Type
- http_method¶
The http method of the request that triggered the vulnerability, in uppercase.
- Type
- fuzzed_url¶
The URL produced by the server-side fuzzer and used in the request that triggered the vulnerability.
- Type
- reproduction_url¶
The URL containing human-readable payload that user can leverage to reproduce the vulnerability.
- Type
- frame_url¶
If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported.
- Type
- tracking_id¶
The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.
- Type
- form¶
An addon containing information reported for a vulnerability with an HTML form, if any.
- outdated_library¶
An addon containing information about outdated libraries.
- violating_resource¶
An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.
- vulnerable_headers¶
An addon containing information about vulnerable or missing HTTP headers.
- vulnerable_parameters¶
An addon containing information about request parameters which were found to be vulnerable.
- xss¶
An addon containing information reported for an XSS, if any.
- class google.cloud.websecurityscanner_v1beta.types.FindingTypeStats(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
A FindingTypeStats resource represents stats regarding a specific FindingType of Findings under a given ScanRun.
- class google.cloud.websecurityscanner_v1beta.types.Form(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
! Information about a vulnerability with an HTML.
- class google.cloud.websecurityscanner_v1beta.types.GetFindingRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request for the
GetFinding
method.
- class google.cloud.websecurityscanner_v1beta.types.GetScanConfigRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request for the
GetScanConfig
method.
- class google.cloud.websecurityscanner_v1beta.types.GetScanRunRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request for the
GetScanRun
method.
- class google.cloud.websecurityscanner_v1beta.types.ListCrawledUrlsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request for the
ListCrawledUrls
method.- parent¶
Required. The parent resource name, which should be a scan run resource name in the format ‘projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}’.
- Type
- page_token¶
A token identifying a page of results to be returned. This should be a
next_page_token
value returned from a previous List request. If unspecified, the first page of results is returned.- Type
- class google.cloud.websecurityscanner_v1beta.types.ListCrawledUrlsResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Response for the
ListCrawledUrls
method.- crawled_urls¶
The list of CrawledUrls returned.
- Type
MutableSequence[google.cloud.websecurityscanner_v1beta.types.CrawledUrl]
- class google.cloud.websecurityscanner_v1beta.types.ListFindingTypeStatsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request for the
ListFindingTypeStats
method.
- class google.cloud.websecurityscanner_v1beta.types.ListFindingTypeStatsResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Response for the
ListFindingTypeStats
method.- finding_type_stats¶
The list of FindingTypeStats returned.
- Type
MutableSequence[google.cloud.websecurityscanner_v1beta.types.FindingTypeStats]
- class google.cloud.websecurityscanner_v1beta.types.ListFindingsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request for the
ListFindings
method.- parent¶
Required. The parent resource name, which should be a scan run resource name in the format ‘projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}’.
- Type
- filter¶
Required. The filter expression. The expression must be in the format: . Supported field: ‘finding_type’. Supported operator: ‘=’.
- Type
- page_token¶
A token identifying a page of results to be returned. This should be a
next_page_token
value returned from a previous List request. If unspecified, the first page of results is returned.- Type
- class google.cloud.websecurityscanner_v1beta.types.ListFindingsResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Response for the
ListFindings
method.- findings¶
The list of Findings returned.
- Type
MutableSequence[google.cloud.websecurityscanner_v1beta.types.Finding]
- class google.cloud.websecurityscanner_v1beta.types.ListScanConfigsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request for the
ListScanConfigs
method.- parent¶
Required. The parent resource name, which should be a project resource name in the format ‘projects/{projectId}’.
- Type
- page_token¶
A token identifying a page of results to be returned. This should be a
next_page_token
value returned from a previous List request. If unspecified, the first page of results is returned.- Type
- class google.cloud.websecurityscanner_v1beta.types.ListScanConfigsResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Response for the
ListScanConfigs
method.- scan_configs¶
The list of ScanConfigs returned.
- Type
MutableSequence[google.cloud.websecurityscanner_v1beta.types.ScanConfig]
- class google.cloud.websecurityscanner_v1beta.types.ListScanRunsRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request for the
ListScanRuns
method.- parent¶
Required. The parent resource name, which should be a scan resource name in the format ‘projects/{projectId}/scanConfigs/{scanConfigId}’.
- Type
- page_token¶
A token identifying a page of results to be returned. This should be a
next_page_token
value returned from a previous List request. If unspecified, the first page of results is returned.- Type
- class google.cloud.websecurityscanner_v1beta.types.ListScanRunsResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Response for the
ListScanRuns
method.- scan_runs¶
The list of ScanRuns returned.
- Type
MutableSequence[google.cloud.websecurityscanner_v1beta.types.ScanRun]
- class google.cloud.websecurityscanner_v1beta.types.OutdatedLibrary(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Information reported for an outdated library.
- class google.cloud.websecurityscanner_v1beta.types.ScanConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
A ScanConfig resource contains the configurations to launch a scan.
- name¶
The resource name of the ScanConfig. The name follows the format of ‘projects/{projectId}/scanConfigs/{scanConfigId}’. The ScanConfig IDs are generated by the system.
- Type
- max_qps¶
The maximum QPS during scanning. A valid value ranges from 5 to 20 inclusively. If the field is unspecified or its value is set 0, server will default to 15. Other values outside of [5, 20] range will be rejected with INVALID_ARGUMENT error.
- Type
- starting_urls¶
Required. The starting URLs from which the scanner finds site pages.
- Type
MutableSequence[str]
- authentication¶
The authentication configuration. If specified, service will use the authentication configuration during scanning.
- user_agent¶
The user agent used during scanning.
- blacklist_patterns¶
The blacklist URL patterns as described in https://cloud.google.com/security-scanner/docs/excluded-urls
- Type
MutableSequence[str]
- schedule¶
The schedule of the ScanConfig.
- target_platforms¶
Set of Cloud Platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.
- Type
MutableSequence[google.cloud.websecurityscanner_v1beta.types.ScanConfig.TargetPlatform]
- export_to_security_command_center¶
Controls export of scan configurations and results to Cloud Security Command Center.
- latest_run¶
Latest ScanRun if available.
- risk_level¶
The risk level selected for the scan
- class Authentication(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Scan authentication configuration.
This message has oneof fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.
- google_account¶
Authentication using a Google account.
This field is a member of oneof
authentication
.
- custom_account¶
Authentication using a custom account.
This field is a member of oneof
authentication
.
- class CustomAccount(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Describes authentication configuration that uses a custom account.
- password¶
Required. Input only. The password of the custom account. The credential is stored encrypted and not returned in any response nor included in audit logs.
- Type
- class GoogleAccount(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Describes authentication configuration that uses a Google account.
- class ExportToSecurityCommandCenter(value)[source]¶
Bases:
proto.enums.Enum
Controls export of scan configurations and results to Cloud Security Command Center.
- Values:
- EXPORT_TO_SECURITY_COMMAND_CENTER_UNSPECIFIED (0):
Use default, which is ENABLED.
- ENABLED (1):
Export results of this scan to Cloud Security Command Center.
- DISABLED (2):
Do not export results of this scan to Cloud Security Command Center.
- class RiskLevel(value)[source]¶
Bases:
proto.enums.Enum
Scan risk levels supported by Cloud Web Security Scanner. LOW impact scanning will minimize requests with the potential to modify data. To achieve the maximum scan coverage, NORMAL risk level is recommended.
- Values:
- RISK_LEVEL_UNSPECIFIED (0):
Use default, which is NORMAL.
- NORMAL (1):
Normal scanning (Recommended)
- LOW (2):
Lower impact scanning
- class Schedule(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Scan schedule configuration.
- schedule_time¶
A timestamp indicates when the next run will be scheduled. The value is refreshed by the server after each run. If unspecified, it will default to current server time, which means the scan will be scheduled to start immediately.
- class TargetPlatform(value)[source]¶
Bases:
proto.enums.Enum
Cloud platforms supported by Cloud Web Security Scanner.
- Values:
- TARGET_PLATFORM_UNSPECIFIED (0):
The target platform is unknown. Requests with this enum value will be rejected with INVALID_ARGUMENT error.
- APP_ENGINE (1):
Google App Engine service.
- COMPUTE (2):
Google Compute Engine service.
- class UserAgent(value)[source]¶
Bases:
proto.enums.Enum
Type of user agents used for scanning.
- Values:
- USER_AGENT_UNSPECIFIED (0):
The user agent is unknown. Service will default to CHROME_LINUX.
- CHROME_LINUX (1):
Chrome on Linux. This is the service default if unspecified.
- CHROME_ANDROID (2):
Chrome on Android.
- SAFARI_IPHONE (3):
Safari on IPhone.
- class google.cloud.websecurityscanner_v1beta.types.ScanConfigError(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Defines a custom error message used by CreateScanConfig and UpdateScanConfig APIs when scan configuration validation fails. It is also reported as part of a ScanRunErrorTrace message if scan validation fails due to a scan configuration error.
- code¶
Indicates the reason code for a configuration failure.
- field_name¶
Indicates the full name of the ScanConfig field that triggers this error, for example “scan_config.max_qps”. This field is provided for troubleshooting purposes only and its actual value can change in the future.
- Type
- class Code(value)[source]¶
Bases:
proto.enums.Enum
Output only. Defines an error reason code. Next id: 44
- Values:
- CODE_UNSPECIFIED (0):
There is no error.
- OK (0):
There is no error.
- INTERNAL_ERROR (1):
Indicates an internal server error. Please DO NOT USE THIS ERROR CODE unless the root cause is truly unknown.
- APPENGINE_API_BACKEND_ERROR (2):
One of the seed URLs is an App Engine URL but we cannot validate the scan settings due to an App Engine API backend error.
- APPENGINE_API_NOT_ACCESSIBLE (3):
One of the seed URLs is an App Engine URL but we cannot access the App Engine API to validate scan settings.
- APPENGINE_DEFAULT_HOST_MISSING (4):
One of the seed URLs is an App Engine URL but the Default Host of the App Engine is not set.
- CANNOT_USE_GOOGLE_COM_ACCOUNT (6):
Google corporate accounts can not be used for scanning.
- CANNOT_USE_OWNER_ACCOUNT (7):
The account of the scan creator can not be used for scanning.
- COMPUTE_API_BACKEND_ERROR (8):
This scan targets Compute Engine, but we cannot validate scan settings due to a Compute Engine API backend error.
- COMPUTE_API_NOT_ACCESSIBLE (9):
This scan targets Compute Engine, but we cannot access the Compute Engine API to validate the scan settings.
- CUSTOM_LOGIN_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT (10):
The Custom Login URL does not belong to the current project.
- CUSTOM_LOGIN_URL_MALFORMED (11):
The Custom Login URL is malformed (can not be parsed).
- CUSTOM_LOGIN_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS (12):
The Custom Login URL is mapped to a non-routable IP address in DNS.
- CUSTOM_LOGIN_URL_MAPPED_TO_UNRESERVED_ADDRESS (13):
The Custom Login URL is mapped to an IP address which is not reserved for the current project.
- CUSTOM_LOGIN_URL_HAS_NON_ROUTABLE_IP_ADDRESS (14):
The Custom Login URL has a non-routable IP address.
- CUSTOM_LOGIN_URL_HAS_UNRESERVED_IP_ADDRESS (15):
The Custom Login URL has an IP address which is not reserved for the current project.
- DUPLICATE_SCAN_NAME (16):
Another scan with the same name (case-sensitive) already exists.
- INVALID_FIELD_VALUE (18):
A field is set to an invalid value.
- FAILED_TO_AUTHENTICATE_TO_TARGET (19):
There was an error trying to authenticate to the scan target.
- FINDING_TYPE_UNSPECIFIED (20):
Finding type value is not specified in the list findings request.
- FORBIDDEN_TO_SCAN_COMPUTE (21):
Scan targets Compute Engine, yet current project was not whitelisted for Google Compute Engine Scanning Alpha access.
- FORBIDDEN_UPDATE_TO_MANAGED_SCAN (43):
User tries to update managed scan
- MALFORMED_FILTER (22):
The supplied filter is malformed. For example, it can not be parsed, does not have a filter type in expression, or the same filter type appears more than once.
- MALFORMED_RESOURCE_NAME (23):
The supplied resource name is malformed (can not be parsed).
- PROJECT_INACTIVE (24):
The current project is not in an active state.
- REQUIRED_FIELD (25):
A required field is not set.
- RESOURCE_NAME_INCONSISTENT (26):
Project id, scanconfig id, scanrun id, or finding id are not consistent with each other in resource name.
- SCAN_ALREADY_RUNNING (27):
The scan being requested to start is already running.
- SCAN_NOT_RUNNING (28):
The scan that was requested to be stopped is not running.
- SEED_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT (29):
One of the seed URLs does not belong to the current project.
- SEED_URL_MALFORMED (30):
One of the seed URLs is malformed (can not be parsed).
- SEED_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS (31):
One of the seed URLs is mapped to a non-routable IP address in DNS.
- SEED_URL_MAPPED_TO_UNRESERVED_ADDRESS (32):
One of the seed URLs is mapped to an IP address which is not reserved for the current project.
- SEED_URL_HAS_NON_ROUTABLE_IP_ADDRESS (33):
One of the seed URLs has on-routable IP address.
- SEED_URL_HAS_UNRESERVED_IP_ADDRESS (35):
One of the seed URLs has an IP address that is not reserved for the current project.
- SERVICE_ACCOUNT_NOT_CONFIGURED (36):
The Cloud Security Scanner service account is not configured under the project.
- TOO_MANY_SCANS (37):
A project has reached the maximum number of scans.
- UNABLE_TO_RESOLVE_PROJECT_INFO (38):
Resolving the details of the current project fails.
- UNSUPPORTED_BLACKLIST_PATTERN_FORMAT (39):
One or more blacklist patterns were in the wrong format.
- UNSUPPORTED_FILTER (40):
The supplied filter is not supported.
- UNSUPPORTED_FINDING_TYPE (41):
The supplied finding type is not supported. For example, we do not provide findings of the given finding type.
- UNSUPPORTED_URL_SCHEME (42):
The URL scheme of one or more of the supplied URLs is not supported.
- class google.cloud.websecurityscanner_v1beta.types.ScanRun(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
A ScanRun is a output-only resource representing an actual run of the scan. Next id: 12
- name¶
The resource name of the ScanRun. The name follows the format of ‘projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}’. The ScanRun IDs are generated by the system.
- Type
- execution_state¶
The execution state of the ScanRun.
- result_state¶
The result state of the ScanRun. This field is only available after the execution state reaches “FINISHED”.
- start_time¶
The time at which the ScanRun started.
- end_time¶
The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.
- urls_crawled_count¶
The number of URLs crawled during this ScanRun. If the scan is in progress, the value represents the number of URLs crawled up to now.
- Type
- urls_tested_count¶
The number of URLs tested during this ScanRun. If the scan is in progress, the value represents the number of URLs tested up to now. The number of URLs tested is usually larger than the number URLS crawled because typically a crawled URL is tested with multiple test payloads.
- Type
- progress_percent¶
The percentage of total completion ranging from 0 to 100. If the scan is in queue, the value is 0. If the scan is running, the value ranges from 0 to 100. If the scan is finished, the value is 100.
- Type
- error_trace¶
If result_state is an ERROR, this field provides the primary reason for scan’s termination and more details, if such are available.
- warning_traces¶
A list of warnings, if such are encountered during this scan run.
- Type
MutableSequence[google.cloud.websecurityscanner_v1beta.types.ScanRunWarningTrace]
- class ExecutionState(value)[source]¶
Bases:
proto.enums.Enum
Types of ScanRun execution state.
- Values:
- EXECUTION_STATE_UNSPECIFIED (0):
Represents an invalid state caused by internal server error. This value should never be returned.
- QUEUED (1):
The scan is waiting in the queue.
- SCANNING (2):
The scan is in progress.
- FINISHED (3):
The scan is either finished or stopped by user.
- class ResultState(value)[source]¶
Bases:
proto.enums.Enum
Types of ScanRun result state.
- Values:
- RESULT_STATE_UNSPECIFIED (0):
Default value. This value is returned when the ScanRun is not yet finished.
- SUCCESS (1):
The scan finished without errors.
- ERROR (2):
The scan finished with errors.
- KILLED (3):
The scan was terminated by user.
- class google.cloud.websecurityscanner_v1beta.types.ScanRunErrorTrace(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Output only. Defines an error trace message for a ScanRun.
- code¶
Indicates the error reason code.
- scan_config_error¶
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.
- most_common_http_error_code¶
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.
- Type
- class Code(value)[source]¶
Bases:
proto.enums.Enum
Output only. Defines an error reason code. Next id: 7
- Values:
- CODE_UNSPECIFIED (0):
Default value is never used.
- INTERNAL_ERROR (1):
Indicates that the scan run failed due to an internal server error.
- SCAN_CONFIG_ISSUE (2):
Indicates a scan configuration error, usually due to outdated ScanConfig settings, such as starting_urls or the DNS configuration.
- AUTHENTICATION_CONFIG_ISSUE (3):
Indicates an authentication error, usually due to outdated ScanConfig authentication settings.
- TIMED_OUT_WHILE_SCANNING (4):
Indicates a scan operation timeout, usually caused by a very large site.
- TOO_MANY_REDIRECTS (5):
Indicates that a scan encountered excessive redirects, either to authentication or some other page outside of the scan scope.
- TOO_MANY_HTTP_ERRORS (6):
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.
- class google.cloud.websecurityscanner_v1beta.types.ScanRunWarningTrace(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Output only. Defines a warning trace message for ScanRun. Warning traces provide customers with useful information that helps make the scanning process more effective.
- code¶
Indicates the warning code.
- class Code(value)[source]¶
Bases:
proto.enums.Enum
Output only. Defines a warning message code. Next id: 6
- Values:
- CODE_UNSPECIFIED (0):
Default value is never used.
- INSUFFICIENT_CRAWL_RESULTS (1):
Indicates that a scan discovered an unexpectedly low number of URLs. This is sometimes caused by complex navigation features or by using a single URL for numerous pages.
- TOO_MANY_CRAWL_RESULTS (2):
Indicates that a scan discovered too many URLs to test, or excessive redundant URLs.
- TOO_MANY_FUZZ_TASKS (3):
Indicates that too many tests have been generated for the scan. Customer should try reducing the number of starting URLs, increasing the QPS rate, or narrowing down the scope of the scan using the excluded patterns.
- BLOCKED_BY_IAP (4):
Indicates that a scan is blocked by IAP.
- class google.cloud.websecurityscanner_v1beta.types.StartScanRunRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request for the
StartScanRun
method.
- class google.cloud.websecurityscanner_v1beta.types.StopScanRunRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request for the
StopScanRun
method.
- class google.cloud.websecurityscanner_v1beta.types.UpdateScanConfigRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Request for the
UpdateScanConfigRequest
method.- scan_config¶
Required. The ScanConfig to be updated. The name field must be set to identify the resource to be updated. The values of fields not covered by the mask will be ignored.
- update_mask¶
Required. The update mask applies to the resource. For the
FieldMask
definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
- class google.cloud.websecurityscanner_v1beta.types.ViolatingResource(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.
- class google.cloud.websecurityscanner_v1beta.types.VulnerableHeaders(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Information about vulnerable or missing HTTP Headers.
- headers¶
List of vulnerable headers.
- Type
MutableSequence[google.cloud.websecurityscanner_v1beta.types.VulnerableHeaders.Header]
- missing_headers¶
List of missing headers.
- Type
MutableSequence[google.cloud.websecurityscanner_v1beta.types.VulnerableHeaders.Header]
- class google.cloud.websecurityscanner_v1beta.types.VulnerableParameters(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Information about vulnerable request parameters.
- class google.cloud.websecurityscanner_v1beta.types.Xss(mapping=None, *, ignore_unknown_fields=False, **kwargs)[source]¶
Bases:
proto.message.Message
Information reported for an XSS.