1 // Copyright 2018 Google Inc.
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
7 // http://www.apache.org/licenses/LICENSE-2.0
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.
17 package google.cloud.websecurityscanner.v1alpha;
19 import "google/api/annotations.proto";
21 option go_package = "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha;websecurityscanner";
22 option java_multiple_files = true;
23 option java_outer_classname = "FindingAddonProto";
24 option java_package = "com.google.cloud.websecurityscanner.v1alpha";
26 // Information reported for an outdated library.
27 message OutdatedLibrary {
28 // The name of the outdated library.
29 string library_name = 1;
31 // The version number.
34 // URLs to learn more information about the vulnerabilities in the library.
35 repeated string learn_more_urls = 3;
38 // Information regarding any resource causing the vulnerability such
39 // as JavaScript sources, image, audio files, etc.
40 message ViolatingResource {
41 // The MIME type of this resource.
42 string content_type = 1;
44 // URL of this violating resource.
45 string resource_url = 2;
48 // Information about vulnerable request parameters.
49 message VulnerableParameters {
50 // The vulnerable parameter names.
51 repeated string parameter_names = 1;
54 // Information reported for an XSS.
56 // Stack traces leading to the point where the XSS occurred.
57 repeated string stack_traces = 1;
59 // An error message generated by a javascript breakage.
60 string error_message = 2;