This repository has been archived by the owner on Sep 5, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
fix: add default import for google.cloud.websecurityscanner (#69)
- Loading branch information
Showing
4 changed files
with
138 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,132 @@ | ||
# -*- coding: utf-8 -*- | ||
# Copyright 2020 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
|
||
from google.cloud.websecurityscanner_v1.services.web_security_scanner.client import ( | ||
WebSecurityScannerClient, | ||
) | ||
from google.cloud.websecurityscanner_v1.services.web_security_scanner.async_client import ( | ||
WebSecurityScannerAsyncClient, | ||
) | ||
|
||
from google.cloud.websecurityscanner_v1.types.crawled_url import CrawledUrl | ||
from google.cloud.websecurityscanner_v1.types.finding import Finding | ||
from google.cloud.websecurityscanner_v1.types.finding_addon import Form | ||
from google.cloud.websecurityscanner_v1.types.finding_addon import OutdatedLibrary | ||
from google.cloud.websecurityscanner_v1.types.finding_addon import ViolatingResource | ||
from google.cloud.websecurityscanner_v1.types.finding_addon import VulnerableHeaders | ||
from google.cloud.websecurityscanner_v1.types.finding_addon import VulnerableParameters | ||
from google.cloud.websecurityscanner_v1.types.finding_addon import Xss | ||
from google.cloud.websecurityscanner_v1.types.finding_type_stats import FindingTypeStats | ||
from google.cloud.websecurityscanner_v1.types.scan_config import ScanConfig | ||
from google.cloud.websecurityscanner_v1.types.scan_config_error import ScanConfigError | ||
from google.cloud.websecurityscanner_v1.types.scan_run import ScanRun | ||
from google.cloud.websecurityscanner_v1.types.scan_run_error_trace import ( | ||
ScanRunErrorTrace, | ||
) | ||
from google.cloud.websecurityscanner_v1.types.scan_run_warning_trace import ( | ||
ScanRunWarningTrace, | ||
) | ||
from google.cloud.websecurityscanner_v1.types.web_security_scanner import ( | ||
CreateScanConfigRequest, | ||
) | ||
from google.cloud.websecurityscanner_v1.types.web_security_scanner import ( | ||
DeleteScanConfigRequest, | ||
) | ||
from google.cloud.websecurityscanner_v1.types.web_security_scanner import ( | ||
GetFindingRequest, | ||
) | ||
from google.cloud.websecurityscanner_v1.types.web_security_scanner import ( | ||
GetScanConfigRequest, | ||
) | ||
from google.cloud.websecurityscanner_v1.types.web_security_scanner import ( | ||
GetScanRunRequest, | ||
) | ||
from google.cloud.websecurityscanner_v1.types.web_security_scanner import ( | ||
ListCrawledUrlsRequest, | ||
) | ||
from google.cloud.websecurityscanner_v1.types.web_security_scanner import ( | ||
ListCrawledUrlsResponse, | ||
) | ||
from google.cloud.websecurityscanner_v1.types.web_security_scanner import ( | ||
ListFindingsRequest, | ||
) | ||
from google.cloud.websecurityscanner_v1.types.web_security_scanner import ( | ||
ListFindingsResponse, | ||
) | ||
from google.cloud.websecurityscanner_v1.types.web_security_scanner import ( | ||
ListFindingTypeStatsRequest, | ||
) | ||
from google.cloud.websecurityscanner_v1.types.web_security_scanner import ( | ||
ListFindingTypeStatsResponse, | ||
) | ||
from google.cloud.websecurityscanner_v1.types.web_security_scanner import ( | ||
ListScanConfigsRequest, | ||
) | ||
from google.cloud.websecurityscanner_v1.types.web_security_scanner import ( | ||
ListScanConfigsResponse, | ||
) | ||
from google.cloud.websecurityscanner_v1.types.web_security_scanner import ( | ||
ListScanRunsRequest, | ||
) | ||
from google.cloud.websecurityscanner_v1.types.web_security_scanner import ( | ||
ListScanRunsResponse, | ||
) | ||
from google.cloud.websecurityscanner_v1.types.web_security_scanner import ( | ||
StartScanRunRequest, | ||
) | ||
from google.cloud.websecurityscanner_v1.types.web_security_scanner import ( | ||
StopScanRunRequest, | ||
) | ||
from google.cloud.websecurityscanner_v1.types.web_security_scanner import ( | ||
UpdateScanConfigRequest, | ||
) | ||
|
||
__all__ = ( | ||
"WebSecurityScannerClient", | ||
"WebSecurityScannerAsyncClient", | ||
"CrawledUrl", | ||
"Finding", | ||
"Form", | ||
"OutdatedLibrary", | ||
"ViolatingResource", | ||
"VulnerableHeaders", | ||
"VulnerableParameters", | ||
"Xss", | ||
"FindingTypeStats", | ||
"ScanConfig", | ||
"ScanConfigError", | ||
"ScanRun", | ||
"ScanRunErrorTrace", | ||
"ScanRunWarningTrace", | ||
"CreateScanConfigRequest", | ||
"DeleteScanConfigRequest", | ||
"GetFindingRequest", | ||
"GetScanConfigRequest", | ||
"GetScanRunRequest", | ||
"ListCrawledUrlsRequest", | ||
"ListCrawledUrlsResponse", | ||
"ListFindingsRequest", | ||
"ListFindingsResponse", | ||
"ListFindingTypeStatsRequest", | ||
"ListFindingTypeStatsResponse", | ||
"ListScanConfigsRequest", | ||
"ListScanConfigsResponse", | ||
"ListScanRunsRequest", | ||
"ListScanRunsResponse", | ||
"StartScanRunRequest", | ||
"StopScanRunRequest", | ||
"UpdateScanConfigRequest", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Marker file for PEP 561. | ||
# The google-cloud-websecurityscanner package uses inline types. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[mypy] | ||
python_version = 3.6 | ||
namespace_packages = True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters