Built motion from commit 44377920.|2.6.11
[motion2.git] / legacy-libs / google-proto-files / google / cloud / websecurityscanner / v1alpha / finding_addon.proto
1 // Copyright 2018 Google Inc.
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 syntax = "proto3";
16
17 package google.cloud.websecurityscanner.v1alpha;
18
19 import "google/api/annotations.proto";
20
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";
25
26 // Information reported for an outdated library.
27 message OutdatedLibrary {
28   // The name of the outdated library.
29   string library_name = 1;
30
31   // The version number.
32   string version = 2;
33
34   // URLs to learn more information about the vulnerabilities in the library.
35   repeated string learn_more_urls = 3;
36 }
37
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;
43
44   // URL of this violating resource.
45   string resource_url = 2;
46 }
47
48 // Information about vulnerable request parameters.
49 message VulnerableParameters {
50   // The vulnerable parameter names.
51   repeated string parameter_names = 1;
52 }
53
54 // Information reported for an XSS.
55 message Xss {
56   // Stack traces leading to the point where the XSS occurred.
57   repeated string stack_traces = 1;
58
59   // An error message generated by a javascript breakage.
60   string error_message = 2;
61 }