1<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5  margin: 0;
6  padding: 0;
7  border: 0;
8  font-weight: inherit;
9  font-style: inherit;
10  font-size: 100%;
11  font-family: inherit;
12  vertical-align: baseline;
13}
14
15body {
16  font-size: 13px;
17  padding: 1em;
18}
19
20h1 {
21  font-size: 26px;
22  margin-bottom: 1em;
23}
24
25h2 {
26  font-size: 24px;
27  margin-bottom: 1em;
28}
29
30h3 {
31  font-size: 20px;
32  margin-bottom: 1em;
33  margin-top: 1em;
34}
35
36pre, code {
37  line-height: 1.5;
38  font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42  margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46  font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50  border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54  margin-top: 0.5em;
55}
56
57.firstline {
58  margin-left: 2 em;
59}
60
61.method  {
62  margin-top: 1em;
63  border: solid 1px #CCC;
64  padding: 1em;
65  background: #EEE;
66}
67
68.details {
69  font-weight: bold;
70  font-size: 14px;
71}
72
73</style>
74
75<h1><a href="websecurityscanner_v1.html">Web Security Scanner API</a> . <a href="websecurityscanner_v1.projects.html">projects</a> . <a href="websecurityscanner_v1.projects.scanConfigs.html">scanConfigs</a> . <a href="websecurityscanner_v1.projects.scanConfigs.scanRuns.html">scanRuns</a> . <a href="websecurityscanner_v1.projects.scanConfigs.scanRuns.findings.html">findings</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78  <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
81  <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
82<p class="firstline">Gets a Finding.</p>
83<p class="toc_element">
84  <code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
85<p class="firstline">List Findings under a given ScanRun.</p>
86<p class="toc_element">
87  <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
88<p class="firstline">Retrieves the next page of results.</p>
89<h3>Method Details</h3>
90<div class="method">
91    <code class="details" id="close">close()</code>
92  <pre>Close httplib2 connections.</pre>
93</div>
94
95<div class="method">
96    <code class="details" id="get">get(name, x__xgafv=None)</code>
97  <pre>Gets a Finding.
98
99Args:
100  name: string, Required. The resource name of the Finding to be returned. The name follows the format of &#x27;projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}/findings/{findingId}&#x27;. (required)
101  x__xgafv: string, V1 error format.
102    Allowed values
103      1 - v1 error format
104      2 - v2 error format
105
106Returns:
107  An object of the form:
108
109    { # A Finding resource represents a vulnerability instance identified during a ScanRun.
110  &quot;body&quot;: &quot;A String&quot;, # Output only. The body of the request that triggered the vulnerability.
111  &quot;description&quot;: &quot;A String&quot;, # Output only. The description of the vulnerability.
112  &quot;finalUrl&quot;: &quot;A String&quot;, # Output only. The URL where the browser lands when the vulnerability is detected.
113  &quot;findingType&quot;: &quot;A String&quot;, # Output only. The type of the Finding. Detailed and up-to-date information on findings can be found here: https://cloud.google.com/security-command-center/docs/how-to-remediate-web-security-scanner-findings
114  &quot;form&quot;: { # ! Information about a vulnerability with an HTML. # Output only. An addon containing information reported for a vulnerability with an HTML form, if any.
115    &quot;actionUri&quot;: &quot;A String&quot;, # ! The URI where to send the form when it&#x27;s submitted.
116    &quot;fields&quot;: [ # ! The names of form fields related to the vulnerability.
117      &quot;A String&quot;,
118    ],
119  },
120  &quot;frameUrl&quot;: &quot;A String&quot;, # Output only. If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported.
121  &quot;fuzzedUrl&quot;: &quot;A String&quot;, # Output only. The URL produced by the server-side fuzzer and used in the request that triggered the vulnerability.
122  &quot;httpMethod&quot;: &quot;A String&quot;, # Output only. The http method of the request that triggered the vulnerability, in uppercase.
123  &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the Finding. The name follows the format of &#x27;projects/{projectId}/scanConfigs/{scanConfigId}/scanruns/{scanRunId}/findings/{findingId}&#x27;. The finding IDs are generated by the system.
124  &quot;outdatedLibrary&quot;: { # Information reported for an outdated library. # Output only. An addon containing information about outdated libraries.
125    &quot;learnMoreUrls&quot;: [ # URLs to learn more information about the vulnerabilities in the library.
126      &quot;A String&quot;,
127    ],
128    &quot;libraryName&quot;: &quot;A String&quot;, # The name of the outdated library.
129    &quot;version&quot;: &quot;A String&quot;, # The version number.
130  },
131  &quot;reproductionUrl&quot;: &quot;A String&quot;, # Output only. The URL containing human-readable payload that user can leverage to reproduce the vulnerability.
132  &quot;severity&quot;: &quot;A String&quot;, # Output only. The severity level of the reported vulnerability.
133  &quot;trackingId&quot;: &quot;A String&quot;, # Output only. The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.
134  &quot;violatingResource&quot;: { # Information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc. # Output only. An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.
135    &quot;contentType&quot;: &quot;A String&quot;, # The MIME type of this resource.
136    &quot;resourceUrl&quot;: &quot;A String&quot;, # URL of this violating resource.
137  },
138  &quot;vulnerableHeaders&quot;: { # Information about vulnerable or missing HTTP Headers. # Output only. An addon containing information about vulnerable or missing HTTP headers.
139    &quot;headers&quot;: [ # List of vulnerable headers.
140      { # Describes a HTTP Header.
141        &quot;name&quot;: &quot;A String&quot;, # Header name.
142        &quot;value&quot;: &quot;A String&quot;, # Header value.
143      },
144    ],
145    &quot;missingHeaders&quot;: [ # List of missing headers.
146      { # Describes a HTTP Header.
147        &quot;name&quot;: &quot;A String&quot;, # Header name.
148        &quot;value&quot;: &quot;A String&quot;, # Header value.
149      },
150    ],
151  },
152  &quot;vulnerableParameters&quot;: { # Information about vulnerable request parameters. # Output only. An addon containing information about request parameters which were found to be vulnerable.
153    &quot;parameterNames&quot;: [ # The vulnerable parameter names.
154      &quot;A String&quot;,
155    ],
156  },
157  &quot;xss&quot;: { # Information reported for an XSS. # Output only. An addon containing information reported for an XSS, if any.
158    &quot;attackVector&quot;: &quot;A String&quot;, # The attack vector of the payload triggering this XSS.
159    &quot;errorMessage&quot;: &quot;A String&quot;, # An error message generated by a javascript breakage.
160    &quot;stackTraces&quot;: [ # Stack traces leading to the point where the XSS occurred.
161      &quot;A String&quot;,
162    ],
163    &quot;storedXssSeedingUrl&quot;: &quot;A String&quot;, # The reproduction url for the seeding POST request of a Stored XSS.
164  },
165  &quot;xxe&quot;: { # Information reported for an XXE. # Output only. An addon containing information reported for an XXE, if any.
166    &quot;payloadLocation&quot;: &quot;A String&quot;, # Location within the request where the payload was placed.
167    &quot;payloadValue&quot;: &quot;A String&quot;, # The XML string that triggered the XXE vulnerability. Non-payload values might be redacted.
168  },
169}</pre>
170</div>
171
172<div class="method">
173    <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
174  <pre>List Findings under a given ScanRun.
175
176Args:
177  parent: string, Required. The parent resource name, which should be a scan run resource name in the format &#x27;projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}&#x27;. (required)
178  filter: string, The filter expression. The expression must be in the format: . Supported field: &#x27;finding_type&#x27;. Supported operator: &#x27;=&#x27;.
179  pageSize: integer, The maximum number of Findings to return, can be limited by server. If not specified or not positive, the implementation will select a reasonable value.
180  pageToken: string, A token identifying a page of results to be returned. This should be a `next_page_token` value returned from a previous List request. If unspecified, the first page of results is returned.
181  x__xgafv: string, V1 error format.
182    Allowed values
183      1 - v1 error format
184      2 - v2 error format
185
186Returns:
187  An object of the form:
188
189    { # Response for the `ListFindings` method.
190  &quot;findings&quot;: [ # The list of Findings returned.
191    { # A Finding resource represents a vulnerability instance identified during a ScanRun.
192      &quot;body&quot;: &quot;A String&quot;, # Output only. The body of the request that triggered the vulnerability.
193      &quot;description&quot;: &quot;A String&quot;, # Output only. The description of the vulnerability.
194      &quot;finalUrl&quot;: &quot;A String&quot;, # Output only. The URL where the browser lands when the vulnerability is detected.
195      &quot;findingType&quot;: &quot;A String&quot;, # Output only. The type of the Finding. Detailed and up-to-date information on findings can be found here: https://cloud.google.com/security-command-center/docs/how-to-remediate-web-security-scanner-findings
196      &quot;form&quot;: { # ! Information about a vulnerability with an HTML. # Output only. An addon containing information reported for a vulnerability with an HTML form, if any.
197        &quot;actionUri&quot;: &quot;A String&quot;, # ! The URI where to send the form when it&#x27;s submitted.
198        &quot;fields&quot;: [ # ! The names of form fields related to the vulnerability.
199          &quot;A String&quot;,
200        ],
201      },
202      &quot;frameUrl&quot;: &quot;A String&quot;, # Output only. If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported.
203      &quot;fuzzedUrl&quot;: &quot;A String&quot;, # Output only. The URL produced by the server-side fuzzer and used in the request that triggered the vulnerability.
204      &quot;httpMethod&quot;: &quot;A String&quot;, # Output only. The http method of the request that triggered the vulnerability, in uppercase.
205      &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the Finding. The name follows the format of &#x27;projects/{projectId}/scanConfigs/{scanConfigId}/scanruns/{scanRunId}/findings/{findingId}&#x27;. The finding IDs are generated by the system.
206      &quot;outdatedLibrary&quot;: { # Information reported for an outdated library. # Output only. An addon containing information about outdated libraries.
207        &quot;learnMoreUrls&quot;: [ # URLs to learn more information about the vulnerabilities in the library.
208          &quot;A String&quot;,
209        ],
210        &quot;libraryName&quot;: &quot;A String&quot;, # The name of the outdated library.
211        &quot;version&quot;: &quot;A String&quot;, # The version number.
212      },
213      &quot;reproductionUrl&quot;: &quot;A String&quot;, # Output only. The URL containing human-readable payload that user can leverage to reproduce the vulnerability.
214      &quot;severity&quot;: &quot;A String&quot;, # Output only. The severity level of the reported vulnerability.
215      &quot;trackingId&quot;: &quot;A String&quot;, # Output only. The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.
216      &quot;violatingResource&quot;: { # Information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc. # Output only. An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.
217        &quot;contentType&quot;: &quot;A String&quot;, # The MIME type of this resource.
218        &quot;resourceUrl&quot;: &quot;A String&quot;, # URL of this violating resource.
219      },
220      &quot;vulnerableHeaders&quot;: { # Information about vulnerable or missing HTTP Headers. # Output only. An addon containing information about vulnerable or missing HTTP headers.
221        &quot;headers&quot;: [ # List of vulnerable headers.
222          { # Describes a HTTP Header.
223            &quot;name&quot;: &quot;A String&quot;, # Header name.
224            &quot;value&quot;: &quot;A String&quot;, # Header value.
225          },
226        ],
227        &quot;missingHeaders&quot;: [ # List of missing headers.
228          { # Describes a HTTP Header.
229            &quot;name&quot;: &quot;A String&quot;, # Header name.
230            &quot;value&quot;: &quot;A String&quot;, # Header value.
231          },
232        ],
233      },
234      &quot;vulnerableParameters&quot;: { # Information about vulnerable request parameters. # Output only. An addon containing information about request parameters which were found to be vulnerable.
235        &quot;parameterNames&quot;: [ # The vulnerable parameter names.
236          &quot;A String&quot;,
237        ],
238      },
239      &quot;xss&quot;: { # Information reported for an XSS. # Output only. An addon containing information reported for an XSS, if any.
240        &quot;attackVector&quot;: &quot;A String&quot;, # The attack vector of the payload triggering this XSS.
241        &quot;errorMessage&quot;: &quot;A String&quot;, # An error message generated by a javascript breakage.
242        &quot;stackTraces&quot;: [ # Stack traces leading to the point where the XSS occurred.
243          &quot;A String&quot;,
244        ],
245        &quot;storedXssSeedingUrl&quot;: &quot;A String&quot;, # The reproduction url for the seeding POST request of a Stored XSS.
246      },
247      &quot;xxe&quot;: { # Information reported for an XXE. # Output only. An addon containing information reported for an XXE, if any.
248        &quot;payloadLocation&quot;: &quot;A String&quot;, # Location within the request where the payload was placed.
249        &quot;payloadValue&quot;: &quot;A String&quot;, # The XML string that triggered the XXE vulnerability. Non-payload values might be redacted.
250      },
251    },
252  ],
253  &quot;nextPageToken&quot;: &quot;A String&quot;, # Token to retrieve the next page of results, or empty if there are no more results in the list.
254}</pre>
255</div>
256
257<div class="method">
258    <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
259  <pre>Retrieves the next page of results.
260
261Args:
262  previous_request: The request for the previous page. (required)
263  previous_response: The response from the request for the previous page. (required)
264
265Returns:
266  A request object that you can call &#x27;execute()&#x27; on to request the next
267  page. Returns None if there are no more items in the collection.
268    </pre>
269</div>
270
271</body></html>