Skip to content

Commit 385f9e5

Browse files
feat(websecurityscanner): update the api
#### websecurityscanner:v1 The following keys were added: - schemas.ScanConfig.properties.ignoreHttpStatusErrors (Total Keys: 1) #### websecurityscanner:v1beta The following keys were added: - schemas.ScanConfig.properties.ignoreHttpStatusErrors (Total Keys: 1)
1 parent ace2db1 commit 385f9e5

File tree

5 files changed

+23
-3
lines changed

5 files changed

+23
-3
lines changed

docs/dyn/websecurityscanner_v1.projects.scanConfigs.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ <h3>Method Details</h3>
140140
],
141141
&quot;displayName&quot;: &quot;A String&quot;, # Required. The user provided display name of the ScanConfig.
142142
&quot;exportToSecurityCommandCenter&quot;: &quot;A String&quot;, # Controls export of scan configurations and results to Security Command Center.
143+
&quot;ignoreHttpStatusErrors&quot;: True or False, # Whether to keep scanning even if most requests return HTTP error codes.
143144
&quot;managedScan&quot;: True or False, # Whether the scan config is managed by Web Security Scanner, output only.
144145
&quot;maxQps&quot;: 42, # 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.
145146
&quot;name&quot;: &quot;A String&quot;, # The resource name of the ScanConfig. The name follows the format of &#x27;projects/{projectId}/scanConfigs/{scanConfigId}&#x27;. The ScanConfig IDs are generated by the system.
@@ -185,6 +186,7 @@ <h3>Method Details</h3>
185186
],
186187
&quot;displayName&quot;: &quot;A String&quot;, # Required. The user provided display name of the ScanConfig.
187188
&quot;exportToSecurityCommandCenter&quot;: &quot;A String&quot;, # Controls export of scan configurations and results to Security Command Center.
189+
&quot;ignoreHttpStatusErrors&quot;: True or False, # Whether to keep scanning even if most requests return HTTP error codes.
188190
&quot;managedScan&quot;: True or False, # Whether the scan config is managed by Web Security Scanner, output only.
189191
&quot;maxQps&quot;: 42, # 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.
190192
&quot;name&quot;: &quot;A String&quot;, # The resource name of the ScanConfig. The name follows the format of &#x27;projects/{projectId}/scanConfigs/{scanConfigId}&#x27;. The ScanConfig IDs are generated by the system.
@@ -255,6 +257,7 @@ <h3>Method Details</h3>
255257
],
256258
&quot;displayName&quot;: &quot;A String&quot;, # Required. The user provided display name of the ScanConfig.
257259
&quot;exportToSecurityCommandCenter&quot;: &quot;A String&quot;, # Controls export of scan configurations and results to Security Command Center.
260+
&quot;ignoreHttpStatusErrors&quot;: True or False, # Whether to keep scanning even if most requests return HTTP error codes.
258261
&quot;managedScan&quot;: True or False, # Whether the scan config is managed by Web Security Scanner, output only.
259262
&quot;maxQps&quot;: 42, # 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.
260263
&quot;name&quot;: &quot;A String&quot;, # The resource name of the ScanConfig. The name follows the format of &#x27;projects/{projectId}/scanConfigs/{scanConfigId}&#x27;. The ScanConfig IDs are generated by the system.
@@ -312,6 +315,7 @@ <h3>Method Details</h3>
312315
],
313316
&quot;displayName&quot;: &quot;A String&quot;, # Required. The user provided display name of the ScanConfig.
314317
&quot;exportToSecurityCommandCenter&quot;: &quot;A String&quot;, # Controls export of scan configurations and results to Security Command Center.
318+
&quot;ignoreHttpStatusErrors&quot;: True or False, # Whether to keep scanning even if most requests return HTTP error codes.
315319
&quot;managedScan&quot;: True or False, # Whether the scan config is managed by Web Security Scanner, output only.
316320
&quot;maxQps&quot;: 42, # 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.
317321
&quot;name&quot;: &quot;A String&quot;, # The resource name of the ScanConfig. The name follows the format of &#x27;projects/{projectId}/scanConfigs/{scanConfigId}&#x27;. The ScanConfig IDs are generated by the system.
@@ -375,6 +379,7 @@ <h3>Method Details</h3>
375379
],
376380
&quot;displayName&quot;: &quot;A String&quot;, # Required. The user provided display name of the ScanConfig.
377381
&quot;exportToSecurityCommandCenter&quot;: &quot;A String&quot;, # Controls export of scan configurations and results to Security Command Center.
382+
&quot;ignoreHttpStatusErrors&quot;: True or False, # Whether to keep scanning even if most requests return HTTP error codes.
378383
&quot;managedScan&quot;: True or False, # Whether the scan config is managed by Web Security Scanner, output only.
379384
&quot;maxQps&quot;: 42, # 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.
380385
&quot;name&quot;: &quot;A String&quot;, # The resource name of the ScanConfig. The name follows the format of &#x27;projects/{projectId}/scanConfigs/{scanConfigId}&#x27;. The ScanConfig IDs are generated by the system.
@@ -421,6 +426,7 @@ <h3>Method Details</h3>
421426
],
422427
&quot;displayName&quot;: &quot;A String&quot;, # Required. The user provided display name of the ScanConfig.
423428
&quot;exportToSecurityCommandCenter&quot;: &quot;A String&quot;, # Controls export of scan configurations and results to Security Command Center.
429+
&quot;ignoreHttpStatusErrors&quot;: True or False, # Whether to keep scanning even if most requests return HTTP error codes.
424430
&quot;managedScan&quot;: True or False, # Whether the scan config is managed by Web Security Scanner, output only.
425431
&quot;maxQps&quot;: 42, # 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.
426432
&quot;name&quot;: &quot;A String&quot;, # The resource name of the ScanConfig. The name follows the format of &#x27;projects/{projectId}/scanConfigs/{scanConfigId}&#x27;. The ScanConfig IDs are generated by the system.

docs/dyn/websecurityscanner_v1beta.projects.scanConfigs.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ <h3>Method Details</h3>
140140
],
141141
&quot;displayName&quot;: &quot;A String&quot;, # Required. The user provided display name of the ScanConfig.
142142
&quot;exportToSecurityCommandCenter&quot;: &quot;A String&quot;, # Controls export of scan configurations and results to Security Command Center.
143+
&quot;ignoreHttpStatusErrors&quot;: True or False, # Whether to keep scanning even if most requests return HTTP error codes.
143144
&quot;latestRun&quot;: { # A ScanRun is a output-only resource representing an actual run of the scan. Next id: 12 # Latest ScanRun if available.
144145
&quot;endTime&quot;: &quot;A String&quot;, # The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.
145146
&quot;errorTrace&quot;: { # Output only. Defines an error trace message for a ScanRun. # If result_state is an ERROR, this field provides the primary reason for scan&#x27;s termination and more details, if such are available.
@@ -212,6 +213,7 @@ <h3>Method Details</h3>
212213
],
213214
&quot;displayName&quot;: &quot;A String&quot;, # Required. The user provided display name of the ScanConfig.
214215
&quot;exportToSecurityCommandCenter&quot;: &quot;A String&quot;, # Controls export of scan configurations and results to Security Command Center.
216+
&quot;ignoreHttpStatusErrors&quot;: True or False, # Whether to keep scanning even if most requests return HTTP error codes.
215217
&quot;latestRun&quot;: { # A ScanRun is a output-only resource representing an actual run of the scan. Next id: 12 # Latest ScanRun if available.
216218
&quot;endTime&quot;: &quot;A String&quot;, # The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.
217219
&quot;errorTrace&quot;: { # Output only. Defines an error trace message for a ScanRun. # If result_state is an ERROR, this field provides the primary reason for scan&#x27;s termination and more details, if such are available.
@@ -309,6 +311,7 @@ <h3>Method Details</h3>
309311
],
310312
&quot;displayName&quot;: &quot;A String&quot;, # Required. The user provided display name of the ScanConfig.
311313
&quot;exportToSecurityCommandCenter&quot;: &quot;A String&quot;, # Controls export of scan configurations and results to Security Command Center.
314+
&quot;ignoreHttpStatusErrors&quot;: True or False, # Whether to keep scanning even if most requests return HTTP error codes.
312315
&quot;latestRun&quot;: { # A ScanRun is a output-only resource representing an actual run of the scan. Next id: 12 # Latest ScanRun if available.
313316
&quot;endTime&quot;: &quot;A String&quot;, # The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.
314317
&quot;errorTrace&quot;: { # Output only. Defines an error trace message for a ScanRun. # If result_state is an ERROR, this field provides the primary reason for scan&#x27;s termination and more details, if such are available.
@@ -393,6 +396,7 @@ <h3>Method Details</h3>
393396
],
394397
&quot;displayName&quot;: &quot;A String&quot;, # Required. The user provided display name of the ScanConfig.
395398
&quot;exportToSecurityCommandCenter&quot;: &quot;A String&quot;, # Controls export of scan configurations and results to Security Command Center.
399+
&quot;ignoreHttpStatusErrors&quot;: True or False, # Whether to keep scanning even if most requests return HTTP error codes.
396400
&quot;latestRun&quot;: { # A ScanRun is a output-only resource representing an actual run of the scan. Next id: 12 # Latest ScanRun if available.
397401
&quot;endTime&quot;: &quot;A String&quot;, # The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.
398402
&quot;errorTrace&quot;: { # Output only. Defines an error trace message for a ScanRun. # If result_state is an ERROR, this field provides the primary reason for scan&#x27;s termination and more details, if such are available.
@@ -483,6 +487,7 @@ <h3>Method Details</h3>
483487
],
484488
&quot;displayName&quot;: &quot;A String&quot;, # Required. The user provided display name of the ScanConfig.
485489
&quot;exportToSecurityCommandCenter&quot;: &quot;A String&quot;, # Controls export of scan configurations and results to Security Command Center.
490+
&quot;ignoreHttpStatusErrors&quot;: True or False, # Whether to keep scanning even if most requests return HTTP error codes.
486491
&quot;latestRun&quot;: { # A ScanRun is a output-only resource representing an actual run of the scan. Next id: 12 # Latest ScanRun if available.
487492
&quot;endTime&quot;: &quot;A String&quot;, # The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.
488493
&quot;errorTrace&quot;: { # Output only. Defines an error trace message for a ScanRun. # If result_state is an ERROR, this field provides the primary reason for scan&#x27;s termination and more details, if such are available.
@@ -556,6 +561,7 @@ <h3>Method Details</h3>
556561
],
557562
&quot;displayName&quot;: &quot;A String&quot;, # Required. The user provided display name of the ScanConfig.
558563
&quot;exportToSecurityCommandCenter&quot;: &quot;A String&quot;, # Controls export of scan configurations and results to Security Command Center.
564+
&quot;ignoreHttpStatusErrors&quot;: True or False, # Whether to keep scanning even if most requests return HTTP error codes.
559565
&quot;latestRun&quot;: { # A ScanRun is a output-only resource representing an actual run of the scan. Next id: 12 # Latest ScanRun if available.
560566
&quot;endTime&quot;: &quot;A String&quot;, # The time at which the ScanRun reached termination state - that the ScanRun is either finished or stopped by user.
561567
&quot;errorTrace&quot;: { # Output only. Defines an error trace message for a ScanRun. # If result_state is an ERROR, this field provides the primary reason for scan&#x27;s termination and more details, if such are available.

googleapiclient/discovery_cache/documents/websecurityscanner.v1.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@
526526
}
527527
}
528528
},
529-
"revision": "20210408",
529+
"revision": "20210417",
530530
"rootUrl": "https://websecurityscanner.googleapis.com/",
531531
"schemas": {
532532
"Authentication": {
@@ -909,6 +909,10 @@
909909
],
910910
"type": "string"
911911
},
912+
"ignoreHttpStatusErrors": {
913+
"description": "Whether to keep scanning even if most requests return HTTP error codes.",
914+
"type": "boolean"
915+
},
912916
"managedScan": {
913917
"description": "Whether the scan config is managed by Web Security Scanner, output only.",
914918
"type": "boolean"

googleapiclient/discovery_cache/documents/websecurityscanner.v1alpha.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@
526526
}
527527
}
528528
},
529-
"revision": "20210408",
529+
"revision": "20210417",
530530
"rootUrl": "https://websecurityscanner.googleapis.com/",
531531
"schemas": {
532532
"Authentication": {

googleapiclient/discovery_cache/documents/websecurityscanner.v1beta.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@
526526
}
527527
}
528528
},
529-
"revision": "20210408",
529+
"revision": "20210417",
530530
"rootUrl": "https://websecurityscanner.googleapis.com/",
531531
"schemas": {
532532
"Authentication": {
@@ -908,6 +908,10 @@
908908
],
909909
"type": "string"
910910
},
911+
"ignoreHttpStatusErrors": {
912+
"description": "Whether to keep scanning even if most requests return HTTP error codes.",
913+
"type": "boolean"
914+
},
911915
"latestRun": {
912916
"$ref": "ScanRun",
913917
"description": "Latest ScanRun if available."

0 commit comments

Comments
 (0)