Debian Codegraph @

googleapis/cloud/websecurityscanner/v1/alias.go

raw
1 // Copyright 2022 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 // Code generated by aliasgen. DO NOT EDIT.
16
17 // Package websecurityscanner aliases all exported identifiers in package
18 // "cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb".
19 //
20 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb.
21 // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md
22 // for more details.
23 package websecurityscanner
24
25 import (
26 src "cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb"
27 grpc "google.golang.org/grpc"
28 )
29
30 // Deprecated: Please use consts in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
31 const (
32 Finding_CRITICAL = src.Finding_CRITICAL
33 Finding_HIGH = src.Finding_HIGH
34 Finding_LOW = src.Finding_LOW
35 Finding_MEDIUM = src.Finding_MEDIUM
36 Finding_SEVERITY_UNSPECIFIED = src.Finding_SEVERITY_UNSPECIFIED
37 ScanConfigError_APPENGINE_API_BACKEND_ERROR = src.ScanConfigError_APPENGINE_API_BACKEND_ERROR
38 ScanConfigError_APPENGINE_API_NOT_ACCESSIBLE = src.ScanConfigError_APPENGINE_API_NOT_ACCESSIBLE
39 ScanConfigError_APPENGINE_DEFAULT_HOST_MISSING = src.ScanConfigError_APPENGINE_DEFAULT_HOST_MISSING
40 ScanConfigError_CANNOT_USE_GOOGLE_COM_ACCOUNT = src.ScanConfigError_CANNOT_USE_GOOGLE_COM_ACCOUNT
41 ScanConfigError_CANNOT_USE_OWNER_ACCOUNT = src.ScanConfigError_CANNOT_USE_OWNER_ACCOUNT
42 ScanConfigError_CODE_UNSPECIFIED = src.ScanConfigError_CODE_UNSPECIFIED
43 ScanConfigError_COMPUTE_API_BACKEND_ERROR = src.ScanConfigError_COMPUTE_API_BACKEND_ERROR
44 ScanConfigError_COMPUTE_API_NOT_ACCESSIBLE = src.ScanConfigError_COMPUTE_API_NOT_ACCESSIBLE
45 ScanConfigError_CUSTOM_LOGIN_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT = src.ScanConfigError_CUSTOM_LOGIN_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT
46 ScanConfigError_CUSTOM_LOGIN_URL_HAS_NON_ROUTABLE_IP_ADDRESS = src.ScanConfigError_CUSTOM_LOGIN_URL_HAS_NON_ROUTABLE_IP_ADDRESS
47 ScanConfigError_CUSTOM_LOGIN_URL_HAS_UNRESERVED_IP_ADDRESS = src.ScanConfigError_CUSTOM_LOGIN_URL_HAS_UNRESERVED_IP_ADDRESS
48 ScanConfigError_CUSTOM_LOGIN_URL_MALFORMED = src.ScanConfigError_CUSTOM_LOGIN_URL_MALFORMED
49 ScanConfigError_CUSTOM_LOGIN_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS = src.ScanConfigError_CUSTOM_LOGIN_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS
50 ScanConfigError_CUSTOM_LOGIN_URL_MAPPED_TO_UNRESERVED_ADDRESS = src.ScanConfigError_CUSTOM_LOGIN_URL_MAPPED_TO_UNRESERVED_ADDRESS
51 ScanConfigError_DUPLICATE_SCAN_NAME = src.ScanConfigError_DUPLICATE_SCAN_NAME
52 ScanConfigError_FAILED_TO_AUTHENTICATE_TO_TARGET = src.ScanConfigError_FAILED_TO_AUTHENTICATE_TO_TARGET
53 ScanConfigError_FINDING_TYPE_UNSPECIFIED = src.ScanConfigError_FINDING_TYPE_UNSPECIFIED
54 ScanConfigError_FORBIDDEN_TO_SCAN_COMPUTE = src.ScanConfigError_FORBIDDEN_TO_SCAN_COMPUTE
55 ScanConfigError_FORBIDDEN_UPDATE_TO_MANAGED_SCAN = src.ScanConfigError_FORBIDDEN_UPDATE_TO_MANAGED_SCAN
56 ScanConfigError_INTERNAL_ERROR = src.ScanConfigError_INTERNAL_ERROR
57 ScanConfigError_INVALID_FIELD_VALUE = src.ScanConfigError_INVALID_FIELD_VALUE
58 ScanConfigError_MALFORMED_FILTER = src.ScanConfigError_MALFORMED_FILTER
59 ScanConfigError_MALFORMED_RESOURCE_NAME = src.ScanConfigError_MALFORMED_RESOURCE_NAME
60 ScanConfigError_OK = src.ScanConfigError_OK
61 ScanConfigError_PROJECT_INACTIVE = src.ScanConfigError_PROJECT_INACTIVE
62 ScanConfigError_REQUIRED_FIELD = src.ScanConfigError_REQUIRED_FIELD
63 ScanConfigError_RESOURCE_NAME_INCONSISTENT = src.ScanConfigError_RESOURCE_NAME_INCONSISTENT
64 ScanConfigError_SCAN_ALREADY_RUNNING = src.ScanConfigError_SCAN_ALREADY_RUNNING
65 ScanConfigError_SCAN_NOT_RUNNING = src.ScanConfigError_SCAN_NOT_RUNNING
66 ScanConfigError_SEED_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT = src.ScanConfigError_SEED_URL_DOES_NOT_BELONG_TO_CURRENT_PROJECT
67 ScanConfigError_SEED_URL_HAS_NON_ROUTABLE_IP_ADDRESS = src.ScanConfigError_SEED_URL_HAS_NON_ROUTABLE_IP_ADDRESS
68 ScanConfigError_SEED_URL_HAS_UNRESERVED_IP_ADDRESS = src.ScanConfigError_SEED_URL_HAS_UNRESERVED_IP_ADDRESS
69 ScanConfigError_SEED_URL_MALFORMED = src.ScanConfigError_SEED_URL_MALFORMED
70 ScanConfigError_SEED_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS = src.ScanConfigError_SEED_URL_MAPPED_TO_NON_ROUTABLE_ADDRESS
71 ScanConfigError_SEED_URL_MAPPED_TO_UNRESERVED_ADDRESS = src.ScanConfigError_SEED_URL_MAPPED_TO_UNRESERVED_ADDRESS
72 ScanConfigError_SERVICE_ACCOUNT_NOT_CONFIGURED = src.ScanConfigError_SERVICE_ACCOUNT_NOT_CONFIGURED
73 ScanConfigError_TOO_MANY_SCANS = src.ScanConfigError_TOO_MANY_SCANS
74 ScanConfigError_UNABLE_TO_RESOLVE_PROJECT_INFO = src.ScanConfigError_UNABLE_TO_RESOLVE_PROJECT_INFO
75 ScanConfigError_UNSUPPORTED_BLACKLIST_PATTERN_FORMAT = src.ScanConfigError_UNSUPPORTED_BLACKLIST_PATTERN_FORMAT
76 ScanConfigError_UNSUPPORTED_FILTER = src.ScanConfigError_UNSUPPORTED_FILTER
77 ScanConfigError_UNSUPPORTED_FINDING_TYPE = src.ScanConfigError_UNSUPPORTED_FINDING_TYPE
78 ScanConfigError_UNSUPPORTED_URL_SCHEME = src.ScanConfigError_UNSUPPORTED_URL_SCHEME
79 ScanConfig_CHROME_ANDROID = src.ScanConfig_CHROME_ANDROID
80 ScanConfig_CHROME_LINUX = src.ScanConfig_CHROME_LINUX
81 ScanConfig_DISABLED = src.ScanConfig_DISABLED
82 ScanConfig_ENABLED = src.ScanConfig_ENABLED
83 ScanConfig_EXPORT_TO_SECURITY_COMMAND_CENTER_UNSPECIFIED = src.ScanConfig_EXPORT_TO_SECURITY_COMMAND_CENTER_UNSPECIFIED
84 ScanConfig_LOW = src.ScanConfig_LOW
85 ScanConfig_NORMAL = src.ScanConfig_NORMAL
86 ScanConfig_RISK_LEVEL_UNSPECIFIED = src.ScanConfig_RISK_LEVEL_UNSPECIFIED
87 ScanConfig_SAFARI_IPHONE = src.ScanConfig_SAFARI_IPHONE
88 ScanConfig_USER_AGENT_UNSPECIFIED = src.ScanConfig_USER_AGENT_UNSPECIFIED
89 ScanRunErrorTrace_AUTHENTICATION_CONFIG_ISSUE = src.ScanRunErrorTrace_AUTHENTICATION_CONFIG_ISSUE
90 ScanRunErrorTrace_CODE_UNSPECIFIED = src.ScanRunErrorTrace_CODE_UNSPECIFIED
91 ScanRunErrorTrace_INTERNAL_ERROR = src.ScanRunErrorTrace_INTERNAL_ERROR
92 ScanRunErrorTrace_SCAN_CONFIG_ISSUE = src.ScanRunErrorTrace_SCAN_CONFIG_ISSUE
93 ScanRunErrorTrace_TIMED_OUT_WHILE_SCANNING = src.ScanRunErrorTrace_TIMED_OUT_WHILE_SCANNING
94 ScanRunErrorTrace_TOO_MANY_HTTP_ERRORS = src.ScanRunErrorTrace_TOO_MANY_HTTP_ERRORS
95 ScanRunErrorTrace_TOO_MANY_REDIRECTS = src.ScanRunErrorTrace_TOO_MANY_REDIRECTS
96 ScanRunWarningTrace_BLOCKED_BY_IAP = src.ScanRunWarningTrace_BLOCKED_BY_IAP
97 ScanRunWarningTrace_CODE_UNSPECIFIED = src.ScanRunWarningTrace_CODE_UNSPECIFIED
98 ScanRunWarningTrace_INSUFFICIENT_CRAWL_RESULTS = src.ScanRunWarningTrace_INSUFFICIENT_CRAWL_RESULTS
99 ScanRunWarningTrace_NO_STARTING_URL_FOUND_FOR_MANAGED_SCAN = src.ScanRunWarningTrace_NO_STARTING_URL_FOUND_FOR_MANAGED_SCAN
100 ScanRunWarningTrace_TOO_MANY_CRAWL_RESULTS = src.ScanRunWarningTrace_TOO_MANY_CRAWL_RESULTS
101 ScanRunWarningTrace_TOO_MANY_FUZZ_TASKS = src.ScanRunWarningTrace_TOO_MANY_FUZZ_TASKS
102 ScanRun_ERROR = src.ScanRun_ERROR
103 ScanRun_EXECUTION_STATE_UNSPECIFIED = src.ScanRun_EXECUTION_STATE_UNSPECIFIED
104 ScanRun_FINISHED = src.ScanRun_FINISHED
105 ScanRun_KILLED = src.ScanRun_KILLED
106 ScanRun_QUEUED = src.ScanRun_QUEUED
107 ScanRun_RESULT_STATE_UNSPECIFIED = src.ScanRun_RESULT_STATE_UNSPECIFIED
108 ScanRun_SCANNING = src.ScanRun_SCANNING
109 ScanRun_SUCCESS = src.ScanRun_SUCCESS
110 Xss_ATTACK_VECTOR_UNSPECIFIED = src.Xss_ATTACK_VECTOR_UNSPECIFIED
111 Xss_COOKIE = src.Xss_COOKIE
112 Xss_FORM_INPUT = src.Xss_FORM_INPUT
113 Xss_GET_PARAMETERS = src.Xss_GET_PARAMETERS
114 Xss_HTML_COMMENT = src.Xss_HTML_COMMENT
115 Xss_LOCAL_STORAGE = src.Xss_LOCAL_STORAGE
116 Xss_POST_MESSAGE = src.Xss_POST_MESSAGE
117 Xss_POST_PARAMETERS = src.Xss_POST_PARAMETERS
118 Xss_PROTOCOL = src.Xss_PROTOCOL
119 Xss_REFERRER = src.Xss_REFERRER
120 Xss_SAME_ORIGIN = src.Xss_SAME_ORIGIN
121 Xss_SESSION_STORAGE = src.Xss_SESSION_STORAGE
122 Xss_STORED_XSS = src.Xss_STORED_XSS
123 Xss_URL_FRAGMENT = src.Xss_URL_FRAGMENT
124 Xss_USER_CONTROLLABLE_URL = src.Xss_USER_CONTROLLABLE_URL
125 Xss_WINDOW_NAME = src.Xss_WINDOW_NAME
126 Xxe_COMPLETE_REQUEST_BODY = src.Xxe_COMPLETE_REQUEST_BODY
127 Xxe_LOCATION_UNSPECIFIED = src.Xxe_LOCATION_UNSPECIFIED
128 )
129
130 // Deprecated: Please use vars in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
131 var (
132 File_google_cloud_websecurityscanner_v1_crawled_url_proto = src.File_google_cloud_websecurityscanner_v1_crawled_url_proto
133 File_google_cloud_websecurityscanner_v1_finding_addon_proto = src.File_google_cloud_websecurityscanner_v1_finding_addon_proto
134 File_google_cloud_websecurityscanner_v1_finding_proto = src.File_google_cloud_websecurityscanner_v1_finding_proto
135 File_google_cloud_websecurityscanner_v1_finding_type_stats_proto = src.File_google_cloud_websecurityscanner_v1_finding_type_stats_proto
136 File_google_cloud_websecurityscanner_v1_scan_config_error_proto = src.File_google_cloud_websecurityscanner_v1_scan_config_error_proto
137 File_google_cloud_websecurityscanner_v1_scan_config_proto = src.File_google_cloud_websecurityscanner_v1_scan_config_proto
138 File_google_cloud_websecurityscanner_v1_scan_run_error_trace_proto = src.File_google_cloud_websecurityscanner_v1_scan_run_error_trace_proto
139 File_google_cloud_websecurityscanner_v1_scan_run_log_proto = src.File_google_cloud_websecurityscanner_v1_scan_run_log_proto
140 File_google_cloud_websecurityscanner_v1_scan_run_proto = src.File_google_cloud_websecurityscanner_v1_scan_run_proto
141 File_google_cloud_websecurityscanner_v1_scan_run_warning_trace_proto = src.File_google_cloud_websecurityscanner_v1_scan_run_warning_trace_proto
142 File_google_cloud_websecurityscanner_v1_web_security_scanner_proto = src.File_google_cloud_websecurityscanner_v1_web_security_scanner_proto
143 Finding_Severity_name = src.Finding_Severity_name
144 Finding_Severity_value = src.Finding_Severity_value
145 ScanConfigError_Code_name = src.ScanConfigError_Code_name
146 ScanConfigError_Code_value = src.ScanConfigError_Code_value
147 ScanConfig_ExportToSecurityCommandCenter_name = src.ScanConfig_ExportToSecurityCommandCenter_name
148 ScanConfig_ExportToSecurityCommandCenter_value = src.ScanConfig_ExportToSecurityCommandCenter_value
149 ScanConfig_RiskLevel_name = src.ScanConfig_RiskLevel_name
150 ScanConfig_RiskLevel_value = src.ScanConfig_RiskLevel_value
151 ScanConfig_UserAgent_name = src.ScanConfig_UserAgent_name
152 ScanConfig_UserAgent_value = src.ScanConfig_UserAgent_value
153 ScanRunErrorTrace_Code_name = src.ScanRunErrorTrace_Code_name
154 ScanRunErrorTrace_Code_value = src.ScanRunErrorTrace_Code_value
155 ScanRunWarningTrace_Code_name = src.ScanRunWarningTrace_Code_name
156 ScanRunWarningTrace_Code_value = src.ScanRunWarningTrace_Code_value
157 ScanRun_ExecutionState_name = src.ScanRun_ExecutionState_name
158 ScanRun_ExecutionState_value = src.ScanRun_ExecutionState_value
159 ScanRun_ResultState_name = src.ScanRun_ResultState_name
160 ScanRun_ResultState_value = src.ScanRun_ResultState_value
161 Xss_AttackVector_name = src.Xss_AttackVector_name
162 Xss_AttackVector_value = src.Xss_AttackVector_value
163 Xxe_Location_name = src.Xxe_Location_name
164 Xxe_Location_value = src.Xxe_Location_value
165 )
166
167 // A CrawledUrl resource represents a URL that was crawled during a ScanRun.
168 // Web Security Scanner Service crawls the web applications, following all
169 // links within the scope of sites, to find the URLs to test against.
170 //
171 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
172 type CrawledUrl = src.CrawledUrl
173
174 // Request for the `CreateScanConfig` method.
175 //
176 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
177 type CreateScanConfigRequest = src.CreateScanConfigRequest
178
179 // Request for the `DeleteScanConfig` method.
180 //
181 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
182 type DeleteScanConfigRequest = src.DeleteScanConfigRequest
183
184 // A Finding resource represents a vulnerability instance identified during a
185 // ScanRun.
186 //
187 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
188 type Finding = src.Finding
189
190 // A FindingTypeStats resource represents stats regarding a specific
191 // FindingType of Findings under a given ScanRun.
192 //
193 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
194 type FindingTypeStats = src.FindingTypeStats
195
196 // The severity level of a vulnerability.
197 //
198 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
199 type Finding_Severity = src.Finding_Severity
200
201 // ! Information about a vulnerability with an HTML.
202 //
203 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
204 type Form = src.Form
205
206 // Request for the `GetFinding` method.
207 //
208 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
209 type GetFindingRequest = src.GetFindingRequest
210
211 // Request for the `GetScanConfig` method.
212 //
213 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
214 type GetScanConfigRequest = src.GetScanConfigRequest
215
216 // Request for the `GetScanRun` method.
217 //
218 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
219 type GetScanRunRequest = src.GetScanRunRequest
220
221 // Request for the `ListCrawledUrls` method.
222 //
223 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
224 type ListCrawledUrlsRequest = src.ListCrawledUrlsRequest
225
226 // Response for the `ListCrawledUrls` method.
227 //
228 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
229 type ListCrawledUrlsResponse = src.ListCrawledUrlsResponse
230
231 // Request for the `ListFindingTypeStats` method.
232 //
233 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
234 type ListFindingTypeStatsRequest = src.ListFindingTypeStatsRequest
235
236 // Response for the `ListFindingTypeStats` method.
237 //
238 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
239 type ListFindingTypeStatsResponse = src.ListFindingTypeStatsResponse
240
241 // Request for the `ListFindings` method.
242 //
243 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
244 type ListFindingsRequest = src.ListFindingsRequest
245
246 // Response for the `ListFindings` method.
247 //
248 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
249 type ListFindingsResponse = src.ListFindingsResponse
250
251 // Request for the `ListScanConfigs` method.
252 //
253 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
254 type ListScanConfigsRequest = src.ListScanConfigsRequest
255
256 // Response for the `ListScanConfigs` method.
257 //
258 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
259 type ListScanConfigsResponse = src.ListScanConfigsResponse
260
261 // Request for the `ListScanRuns` method.
262 //
263 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
264 type ListScanRunsRequest = src.ListScanRunsRequest
265
266 // Response for the `ListScanRuns` method.
267 //
268 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
269 type ListScanRunsResponse = src.ListScanRunsResponse
270
271 // Information reported for an outdated library.
272 //
273 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
274 type OutdatedLibrary = src.OutdatedLibrary
275
276 // A ScanConfig resource contains the configurations to launch a scan.
277 //
278 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
279 type ScanConfig = src.ScanConfig
280
281 // Defines a custom error message used by CreateScanConfig and
282 // UpdateScanConfig APIs when scan configuration validation fails. It is also
283 // reported as part of a ScanRunErrorTrace message if scan validation fails due
284 // to a scan configuration error.
285 //
286 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
287 type ScanConfigError = src.ScanConfigError
288
289 // Output only. Defines an error reason code. Next id: 44
290 //
291 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
292 type ScanConfigError_Code = src.ScanConfigError_Code
293
294 // Scan authentication configuration.
295 //
296 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
297 type ScanConfig_Authentication = src.ScanConfig_Authentication
298
299 // Describes authentication configuration that uses a custom account.
300 //
301 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
302 type ScanConfig_Authentication_CustomAccount = src.ScanConfig_Authentication_CustomAccount
303 type ScanConfig_Authentication_CustomAccount_ = src.ScanConfig_Authentication_CustomAccount_
304
305 // Describes authentication configuration that uses a Google account.
306 // Deprecated: Do not use.
307 //
308 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
309 type ScanConfig_Authentication_GoogleAccount = src.ScanConfig_Authentication_GoogleAccount
310 type ScanConfig_Authentication_GoogleAccount_ = src.ScanConfig_Authentication_GoogleAccount_
311
312 // Describes authentication configuration for Identity-Aware-Proxy (IAP).
313 //
314 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
315 type ScanConfig_Authentication_IapCredential = src.ScanConfig_Authentication_IapCredential
316 type ScanConfig_Authentication_IapCredential_ = src.ScanConfig_Authentication_IapCredential_
317
318 // Describes authentication configuration when Web-Security-Scanner service
319 // account is added in Identity-Aware-Proxy (IAP) access policies.
320 //
321 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
322 type ScanConfig_Authentication_IapCredential_IapTestServiceAccountInfo = src.ScanConfig_Authentication_IapCredential_IapTestServiceAccountInfo
323 type ScanConfig_Authentication_IapCredential_IapTestServiceAccountInfo_ = src.ScanConfig_Authentication_IapCredential_IapTestServiceAccountInfo_
324
325 // Controls export of scan configurations and results to Security Command
326 // Center.
327 //
328 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
329 type ScanConfig_ExportToSecurityCommandCenter = src.ScanConfig_ExportToSecurityCommandCenter
330
331 // Scan risk levels supported by Web Security Scanner. LOW impact scanning
332 // will minimize requests with the potential to modify data. To achieve the
333 // maximum scan coverage, NORMAL risk level is recommended.
334 //
335 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
336 type ScanConfig_RiskLevel = src.ScanConfig_RiskLevel
337
338 // Scan schedule configuration.
339 //
340 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
341 type ScanConfig_Schedule = src.ScanConfig_Schedule
342
343 // Type of user agents used for scanning.
344 //
345 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
346 type ScanConfig_UserAgent = src.ScanConfig_UserAgent
347
348 // A ScanRun is a output-only resource representing an actual run of the scan.
349 // Next id: 12
350 //
351 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
352 type ScanRun = src.ScanRun
353
354 // Output only. Defines an error trace message for a ScanRun.
355 //
356 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
357 type ScanRunErrorTrace = src.ScanRunErrorTrace
358
359 // Output only. Defines an error reason code. Next id: 8
360 //
361 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
362 type ScanRunErrorTrace_Code = src.ScanRunErrorTrace_Code
363
364 // A ScanRunLog is an output-only proto used for Stackdriver customer logging.
365 // It is used for logs covering the start and end of scan pipelines. Other than
366 // an added summary, this is a subset of the ScanRun. Representation in logs is
367 // either a proto Struct, or converted to JSON. Next id: 9
368 //
369 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
370 type ScanRunLog = src.ScanRunLog
371
372 // Output only. Defines a warning trace message for ScanRun. Warning traces
373 // provide customers with useful information that helps make the scanning
374 // process more effective.
375 //
376 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
377 type ScanRunWarningTrace = src.ScanRunWarningTrace
378
379 // Output only. Defines a warning message code. Next id: 6
380 //
381 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
382 type ScanRunWarningTrace_Code = src.ScanRunWarningTrace_Code
383
384 // Types of ScanRun execution state.
385 //
386 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
387 type ScanRun_ExecutionState = src.ScanRun_ExecutionState
388
389 // Types of ScanRun result state.
390 //
391 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
392 type ScanRun_ResultState = src.ScanRun_ResultState
393
394 // Request for the `StartScanRun` method.
395 //
396 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
397 type StartScanRunRequest = src.StartScanRunRequest
398
399 // Request for the `StopScanRun` method.
400 //
401 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
402 type StopScanRunRequest = src.StopScanRunRequest
403
404 // UnimplementedWebSecurityScannerServer can be embedded to have forward
405 // compatible implementations.
406 //
407 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
408 type UnimplementedWebSecurityScannerServer = src.UnimplementedWebSecurityScannerServer
409
410 // Request for the `UpdateScanConfigRequest` method.
411 //
412 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
413 type UpdateScanConfigRequest = src.UpdateScanConfigRequest
414
415 // Information regarding any resource causing the vulnerability such as
416 // JavaScript sources, image, audio files, etc.
417 //
418 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
419 type ViolatingResource = src.ViolatingResource
420
421 // Information about vulnerable or missing HTTP Headers.
422 //
423 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
424 type VulnerableHeaders = src.VulnerableHeaders
425
426 // Describes a HTTP Header.
427 //
428 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
429 type VulnerableHeaders_Header = src.VulnerableHeaders_Header
430
431 // Information about vulnerable request parameters.
432 //
433 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
434 type VulnerableParameters = src.VulnerableParameters
435
436 // WebSecurityScannerClient is the client API for WebSecurityScanner service.
437 // For semantics around ctx use and closing/ending streaming RPCs, please refer
438 // to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
439 //
440 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
441 type WebSecurityScannerClient = src.WebSecurityScannerClient
442
443 // WebSecurityScannerServer is the server API for WebSecurityScanner service.
444 //
445 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
446 type WebSecurityScannerServer = src.WebSecurityScannerServer
447
448 // Information reported for an XSS.
449 //
450 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
451 type Xss = src.Xss
452
453 // Types of XSS attack vector.
454 //
455 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
456 type Xss_AttackVector = src.Xss_AttackVector
457
458 // Information reported for an XXE.
459 //
460 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
461 type Xxe = src.Xxe
462
463 // Locations within a request where XML was substituted.
464 //
465 // Deprecated: Please use types in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
466 type Xxe_Location = src.Xxe_Location
467
468 // Deprecated: Please use funcs in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
469 func NewWebSecurityScannerClient(cc grpc.ClientConnInterface) WebSecurityScannerClient {
470 return src.NewWebSecurityScannerClient(cc)
471 }
472
473 // Deprecated: Please use funcs in: cloud.google.com/go/websecurityscanner/apiv1/websecurityscannerpb
474 func RegisterWebSecurityScannerServer(s *grpc.Server, srv WebSecurityScannerServer) {
475 src.RegisterWebSecurityScannerServer(s, srv)
476 }