File tree Expand file tree Collapse file tree
google/cloud/websecurityscanner/v1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- // Copyright 2020 Google LLC
1+ // Copyright 2022 Google LLC
22//
33// Licensed under the Apache License, Version 2.0 (the "License");
44// you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change 1- // Copyright 2020 Google LLC
1+ // Copyright 2022 Google LLC
22//
33// Licensed under the Apache License, Version 2.0 (the "License");
44// you may not use this file except in compliance with the License.
@@ -116,4 +116,7 @@ message Finding {
116116
117117 // Output only. An addon containing information reported for an XSS, if any.
118118 Xss xss = 14 ;
119+
120+ // Output only. An addon containing information reported for an XXE, if any.
121+ Xxe xxe = 18 [(google.api.field_behavior ) = OUTPUT_ONLY ];
119122}
Original file line number Diff line number Diff line change 1- // Copyright 2020 Google LLC
1+ // Copyright 2022 Google LLC
22//
33// Licensed under the Apache License, Version 2.0 (the "License");
44// you may not use this file except in compliance with the License.
@@ -145,3 +145,22 @@ message Xss {
145145 // The reproduction url for the seeding POST request of a Stored XSS.
146146 string stored_xss_seeding_url = 4 ;
147147}
148+
149+ // Information reported for an XXE.
150+ message Xxe {
151+ // Locations within a request where XML was substituted.
152+ enum Location {
153+ // Unknown Location.
154+ LOCATION_UNSPECIFIED = 0 ;
155+
156+ // The XML payload replaced the complete request body.
157+ COMPLETE_REQUEST_BODY = 1 ;
158+ }
159+
160+ // The XML string that triggered the XXE vulnerability. Non-payload values
161+ // might be redacted.
162+ string payload_value = 1 ;
163+
164+ // Location within the request where the payload was placed.
165+ Location payload_location = 2 ;
166+ }
Original file line number Diff line number Diff line change 1- // Copyright 2020 Google LLC
1+ // Copyright 2022 Google LLC
22//
33// Licensed under the Apache License, Version 2.0 (the "License");
44// you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change 1- // Copyright 2020 Google LLC
1+ // Copyright 2022 Google LLC
22//
33// Licensed under the Apache License, Version 2.0 (the "License");
44// you may not use this file except in compliance with the License.
@@ -33,6 +33,8 @@ message ScanConfig {
3333 message Authentication {
3434 // Describes authentication configuration that uses a Google account.
3535 message GoogleAccount {
36+ option deprecated = true ;
37+
3638 // Required. The user name of the Google account.
3739 string username = 1 ;
3840
@@ -76,7 +78,7 @@ message ScanConfig {
7678 // Authentication configuration
7779 oneof authentication {
7880 // Authentication using a Google account.
79- GoogleAccount google_account = 1 ;
81+ GoogleAccount google_account = 1 [ deprecated = true ] ;
8082
8183 // Authentication using a custom account.
8284 CustomAccount custom_account = 2 ;
@@ -185,4 +187,7 @@ message ScanConfig {
185187 // Whether the scan configuration has enabled static IP address scan feature.
186188 // If enabled, the scanner will access applications from static IP addresses.
187189 bool static_ip_scan = 14 ;
190+
191+ // Whether to keep scanning even if most requests return HTTP error codes.
192+ bool ignore_http_status_errors = 15 ;
188193}
Original file line number Diff line number Diff line change 1- // Copyright 2020 Google LLC
1+ // Copyright 2022 Google LLC
22//
33// Licensed under the Apache License, Version 2.0 (the "License");
44// you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change 1- // Copyright 2020 Google LLC
1+ // Copyright 2022 Google LLC
22//
33// Licensed under the Apache License, Version 2.0 (the "License");
44// you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change 1- // Copyright 2020 Google LLC
1+ // Copyright 2022 Google LLC
22//
33// Licensed under the Apache License, Version 2.0 (the "License");
44// you may not use this file except in compliance with the License.
@@ -31,7 +31,7 @@ option ruby_package = "Google::Cloud::WebSecurityScanner::V1";
3131message ScanRunErrorTrace {
3232 // Output only.
3333 // Defines an error reason code.
34- // Next id: 7
34+ // Next id: 8
3535 enum Code {
3636 // Default value is never used.
3737 CODE_UNSPECIFIED = 0 ;
Original file line number Diff line number Diff line change 1- // Copyright 2020 Google LLC
1+ // Copyright 2022 Google LLC
22//
33// Licensed under the Apache License, Version 2.0 (the "License");
44// you may not use this file except in compliance with the License.
@@ -51,6 +51,9 @@ message ScanRunWarningTrace {
5151
5252 // Indicates that a scan is blocked by IAP.
5353 BLOCKED_BY_IAP = 4 ;
54+
55+ // Indicates that no seeds is found for a scan
56+ NO_STARTING_URL_FOUND_FOR_MANAGED_SCAN = 5 ;
5457 }
5558
5659 // Output only. Indicates the warning code.
Original file line number Diff line number Diff line change 1- // Copyright 2020 Google LLC
1+ // Copyright 2022 Google LLC
22//
33// Licensed under the Apache License, Version 2.0 (the "License");
44// you may not use this file except in compliance with the License.
@@ -17,14 +17,14 @@ syntax = "proto3";
1717package google.cloud.websecurityscanner.v1 ;
1818
1919import "google/api/annotations.proto" ;
20+ import "google/api/client.proto" ;
2021import "google/cloud/websecurityscanner/v1/crawled_url.proto" ;
2122import "google/cloud/websecurityscanner/v1/finding.proto" ;
2223import "google/cloud/websecurityscanner/v1/finding_type_stats.proto" ;
2324import "google/cloud/websecurityscanner/v1/scan_config.proto" ;
2425import "google/cloud/websecurityscanner/v1/scan_run.proto" ;
2526import "google/protobuf/empty.proto" ;
2627import "google/protobuf/field_mask.proto" ;
27- import "google/api/client.proto" ;
2828
2929option csharp_namespace = "Google.Cloud.WebSecurityScanner.V1" ;
3030option go_package = "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1;websecurityscanner" ;
You can’t perform that action at this time.
0 commit comments