blob: ee7da88756a508c33fc9e367418e61d1d8bcfa25 [file] [log] [blame]
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001<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_v1beta.html">Web Security Scanner API</a> . <a href="websecurityscanner_v1beta.projects.html">projects</a> . <a href="websecurityscanner_v1beta.projects.scanConfigs.html">scanConfigs</a> . <a href="websecurityscanner_v1beta.projects.scanConfigs.scanRuns.html">scanRuns</a> . <a href="websecurityscanner_v1beta.projects.scanConfigs.scanRuns.findings.html">findings</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070078 <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070081 <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">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -080084 <code><a href="#list">list(parent, pageToken=None, filter=None, pageSize=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070085<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">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070091 <code class="details" id="close">close()</code>
92 <pre>Close httplib2 connections.</pre>
93</div>
94
95<div class="method">
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070096 <code class="details" id="get">get(name, x__xgafv=None)</code>
97 <pre>Gets a Finding.
98
99Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700100 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)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700101 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
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700109 { # A Finding resource represents a vulnerability instance identified during a ScanRun.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800110 &quot;severity&quot;: &quot;A String&quot;, # The severity level of the reported vulnerability.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800111 &quot;outdatedLibrary&quot;: { # Information reported for an outdated library. # An addon containing information about outdated libraries.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800112 &quot;learnMoreUrls&quot;: [ # URLs to learn more information about the vulnerabilities in the library.
113 &quot;A String&quot;,
114 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800115 &quot;libraryName&quot;: &quot;A String&quot;, # The name of the outdated library.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800116 &quot;version&quot;: &quot;A String&quot;, # The version number.
117 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800118 &quot;xss&quot;: { # Information reported for an XSS. # An addon containing information reported for an XSS, if any.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800119 &quot;errorMessage&quot;: &quot;A String&quot;, # An error message generated by a javascript breakage.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800120 &quot;stackTraces&quot;: [ # Stack traces leading to the point where the XSS occurred.
121 &quot;A String&quot;,
122 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800123 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800124 &quot;description&quot;: &quot;A String&quot;, # The description of the vulnerability.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800125 &quot;violatingResource&quot;: { # Information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc. # An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.
126 &quot;contentType&quot;: &quot;A String&quot;, # The MIME type of this resource.
127 &quot;resourceUrl&quot;: &quot;A String&quot;, # URL of this violating resource.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800128 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800129 &quot;findingType&quot;: &quot;A String&quot;, # 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
130 &quot;name&quot;: &quot;A String&quot;, # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800131 &quot;form&quot;: { # ! Information about a vulnerability with an HTML. # An addon containing information reported for a vulnerability with an HTML form, if any.
132 &quot;actionUri&quot;: &quot;A String&quot;, # ! The URI where to send the form when it&#x27;s submitted.
133 &quot;fields&quot;: [ # ! The names of form fields related to the vulnerability.
134 &quot;A String&quot;,
135 ],
136 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800137 &quot;vulnerableHeaders&quot;: { # Information about vulnerable or missing HTTP Headers. # An addon containing information about vulnerable or missing HTTP headers.
138 &quot;missingHeaders&quot;: [ # List of missing headers.
139 { # Describes a HTTP Header.
140 &quot;name&quot;: &quot;A String&quot;, # Header name.
141 &quot;value&quot;: &quot;A String&quot;, # Header value.
142 },
143 ],
144 &quot;headers&quot;: [ # List of vulnerable headers.
145 { # Describes a HTTP Header.
146 &quot;name&quot;: &quot;A String&quot;, # Header name.
147 &quot;value&quot;: &quot;A String&quot;, # Header value.
148 },
149 ],
150 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800151 &quot;frameUrl&quot;: &quot;A String&quot;, # If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800152 &quot;body&quot;: &quot;A String&quot;, # The body of the request that triggered the vulnerability.
153 &quot;vulnerableParameters&quot;: { # Information about vulnerable request parameters. # An addon containing information about request parameters which were found to be vulnerable.
154 &quot;parameterNames&quot;: [ # The vulnerable parameter names.
155 &quot;A String&quot;,
156 ],
157 },
158 &quot;trackingId&quot;: &quot;A String&quot;, # The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.
159 &quot;httpMethod&quot;: &quot;A String&quot;, # The http method of the request that triggered the vulnerability, in uppercase.
160 &quot;fuzzedUrl&quot;: &quot;A String&quot;, # The URL produced by the server-side fuzzer and used in the request that triggered the vulnerability.
161 &quot;finalUrl&quot;: &quot;A String&quot;, # The URL where the browser lands when the vulnerability is detected.
162 &quot;reproductionUrl&quot;: &quot;A String&quot;, # The URL containing human-readable payload that user can leverage to reproduce the vulnerability.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700163 }</pre>
164</div>
165
166<div class="method">
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800167 <code class="details" id="list">list(parent, pageToken=None, filter=None, pageSize=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700168 <pre>List Findings under a given ScanRun.
169
170Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700171 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)
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800172 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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800173 filter: string, Required. The filter expression. The expression must be in the format: . Supported field: &#x27;finding_type&#x27;. Supported operator: &#x27;=&#x27;.
174 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.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700175 x__xgafv: string, V1 error format.
176 Allowed values
177 1 - v1 error format
178 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700179
180Returns:
181 An object of the form:
182
183 { # Response for the `ListFindings` method.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800184 &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.
Bu Sun Kim65020912020-05-20 12:08:20 -0700185 &quot;findings&quot;: [ # The list of Findings returned.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700186 { # A Finding resource represents a vulnerability instance identified during a ScanRun.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800187 &quot;severity&quot;: &quot;A String&quot;, # The severity level of the reported vulnerability.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800188 &quot;outdatedLibrary&quot;: { # Information reported for an outdated library. # An addon containing information about outdated libraries.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800189 &quot;learnMoreUrls&quot;: [ # URLs to learn more information about the vulnerabilities in the library.
190 &quot;A String&quot;,
191 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800192 &quot;libraryName&quot;: &quot;A String&quot;, # The name of the outdated library.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800193 &quot;version&quot;: &quot;A String&quot;, # The version number.
194 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800195 &quot;xss&quot;: { # Information reported for an XSS. # An addon containing information reported for an XSS, if any.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800196 &quot;errorMessage&quot;: &quot;A String&quot;, # An error message generated by a javascript breakage.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800197 &quot;stackTraces&quot;: [ # Stack traces leading to the point where the XSS occurred.
198 &quot;A String&quot;,
199 ],
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800200 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800201 &quot;description&quot;: &quot;A String&quot;, # The description of the vulnerability.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800202 &quot;violatingResource&quot;: { # Information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc. # An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.
203 &quot;contentType&quot;: &quot;A String&quot;, # The MIME type of this resource.
204 &quot;resourceUrl&quot;: &quot;A String&quot;, # URL of this violating resource.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800205 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800206 &quot;findingType&quot;: &quot;A String&quot;, # 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
207 &quot;name&quot;: &quot;A String&quot;, # 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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800208 &quot;form&quot;: { # ! Information about a vulnerability with an HTML. # An addon containing information reported for a vulnerability with an HTML form, if any.
209 &quot;actionUri&quot;: &quot;A String&quot;, # ! The URI where to send the form when it&#x27;s submitted.
210 &quot;fields&quot;: [ # ! The names of form fields related to the vulnerability.
211 &quot;A String&quot;,
212 ],
213 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800214 &quot;vulnerableHeaders&quot;: { # Information about vulnerable or missing HTTP Headers. # An addon containing information about vulnerable or missing HTTP headers.
215 &quot;missingHeaders&quot;: [ # List of missing headers.
216 { # Describes a HTTP Header.
217 &quot;name&quot;: &quot;A String&quot;, # Header name.
218 &quot;value&quot;: &quot;A String&quot;, # Header value.
219 },
220 ],
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 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800228 &quot;frameUrl&quot;: &quot;A String&quot;, # If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800229 &quot;body&quot;: &quot;A String&quot;, # The body of the request that triggered the vulnerability.
230 &quot;vulnerableParameters&quot;: { # Information about vulnerable request parameters. # An addon containing information about request parameters which were found to be vulnerable.
231 &quot;parameterNames&quot;: [ # The vulnerable parameter names.
232 &quot;A String&quot;,
233 ],
234 },
235 &quot;trackingId&quot;: &quot;A String&quot;, # The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.
236 &quot;httpMethod&quot;: &quot;A String&quot;, # The http method of the request that triggered the vulnerability, in uppercase.
237 &quot;fuzzedUrl&quot;: &quot;A String&quot;, # The URL produced by the server-side fuzzer and used in the request that triggered the vulnerability.
238 &quot;finalUrl&quot;: &quot;A String&quot;, # The URL where the browser lands when the vulnerability is detected.
239 &quot;reproductionUrl&quot;: &quot;A String&quot;, # The URL containing human-readable payload that user can leverage to reproduce the vulnerability.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700240 },
241 ],
242 }</pre>
243</div>
244
245<div class="method">
246 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
247 <pre>Retrieves the next page of results.
248
249Args:
250 previous_request: The request for the previous page. (required)
251 previous_response: The response from the request for the previous page. (required)
252
253Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700254 A request object that you can call &#x27;execute()&#x27; on to request the next
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700255 page. Returns None if there are no more items in the collection.
256 </pre>
257</div>
258
259</body></html>