Issues (74)

src/NetsparkerCloudInterface.php (65 issues)

Labels
Severity
1
<?php
2
3
namespace Montross50\NetsparkerCloud;
4
5
interface NetsparkerCloudInterface
6
{
7
    /**
8
     * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
9
     *
10
     * @return \Montross50\NetsparkerCloud\SDK\Model\AccountLicenseApiModel|\Psr\Http\Message\ResponseInterface|null
11
     */
12
    public function accountLicense(string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
13
14
    /**
15
     * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
16
     *
17
     * @return \Montross50\NetsparkerCloud\SDK\Model\UserHealthCheckApiModel|\Psr\Http\Message\ResponseInterface|null
18
     */
19
    public function accountMe(string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
20
21
    /**
22
     * @param \Montross50\NetsparkerCloud\SDK\Model\AgentGroupApiDeleteModel $model the model
23
     * @param string                                                         $fetch Fetch mode to use (can be OBJECT or RESPONSE)
24
     *
25
     * @return \Psr\Http\Message\ResponseInterface|null
26
     */
27
    public function agentGroupsDelete(\Montross50\NetsparkerCloud\SDK\Model\AgentGroupApiDeleteModel $model, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
28
29
    /**
30
     * @param array  $queryParameters {
31
     *
32
     * @var int      $page            the page index
33
     * @var int      $pageSize        The page size. Page size can be any value between 1 and 200.
34
     * }
35
     *
36
     * @param string $fetch           Fetch mode to use (can be OBJECT or RESPONSE)
37
     *
38
     * @return \Montross50\NetsparkerCloud\SDK\Model\AgentGroupsListApiResult|\Psr\Http\Message\ResponseInterface|null
39
     */
40
    public function agentGroupsList(array $queryParameters = [], string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
41
42
    /**
43
     * @param \Montross50\NetsparkerCloud\SDK\Model\AgentGroupApiNewModel $model the new agent group model
44
     * @param string                                                      $fetch Fetch mode to use (can be OBJECT or RESPONSE)
45
     *
46
     * @return \Montross50\NetsparkerCloud\SDK\Model\AgentGroupModel|\Psr\Http\Message\ResponseInterface|null
47
     */
48
    public function agentGroupsNew(\Montross50\NetsparkerCloud\SDK\Model\AgentGroupApiNewModel $model, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
49
50
    /**
51
     * @param \Montross50\NetsparkerCloud\SDK\Model\AgentGroupApiUpdateModel $model
52
     * @param string                                                         $fetch Fetch mode to use (can be OBJECT or RESPONSE)
53
     *
54
     * @return \Montross50\NetsparkerCloud\SDK\Model\AgentGroupModel|\Psr\Http\Message\ResponseInterface|null
55
     */
56
    public function agentGroupsUpdate(\Montross50\NetsparkerCloud\SDK\Model\AgentGroupApiUpdateModel $model, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
57
58
    /**
59
     * @param \Montross50\NetsparkerCloud\SDK\Model\DeleteScanNotificationApiModel $model the new scan notification model
60
     * @param string                                                               $fetch Fetch mode to use (can be OBJECT or RESPONSE)
61
     *
62
     * @throws \Montross50\NetsparkerCloud\SDK\Exception\NotificationsDeleteBadRequestException
63
     * @throws \Montross50\NetsparkerCloud\SDK\Exception\NotificationsDeleteNotFoundException
64
     *
65
     * @return \Psr\Http\Message\ResponseInterface|null
66
     */
67
    public function notificationsDelete(\Montross50\NetsparkerCloud\SDK\Model\DeleteScanNotificationApiModel $model, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
68
69
    /**
70
     * @param string $id    the identifier
71
     * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
72
     *
73
     * @return \Montross50\NetsparkerCloud\SDK\Model\ScanNotificationApiModel|\Psr\Http\Message\ResponseInterface|null
74
     */
75
    public function notificationsGet(string $id, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
76
77
    /**
78
     * @param array  $queryParameters {
79
     *
80
     * @var string   $event           The notification event.
81
     * }
82
     *
83
     * @param string $fetch           Fetch mode to use (can be OBJECT or RESPONSE)
84
     *
85
     * @return \Montross50\NetsparkerCloud\SDK\Model\ScanNotificationApiModel|\Psr\Http\Message\ResponseInterface|null
86
     */
87
    public function notificationsGetPriorities(array $queryParameters = [], string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
88
89
    /**
90
     * @param array  $queryParameters {
91
     *
92
     * @var int      $page            the page index
93
     * @var int      $pageSize        The page size. Page size can be any value between 1 and 200.
94
     * }
95
     *
96
     * @param string $fetch           Fetch mode to use (can be OBJECT or RESPONSE)
97
     *
98
     * @return \Montross50\NetsparkerCloud\SDK\Model\ScanNotificationListApiResult|\Psr\Http\Message\ResponseInterface|null
99
     */
100
    public function notificationsList(array $queryParameters = [], string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
101
102
    /**
103
     * @param \Montross50\NetsparkerCloud\SDK\Model\NewScanNotificationApiModel $model the new scan notification model
104
     * @param string                                                            $fetch Fetch mode to use (can be OBJECT or RESPONSE)
105
     *
106
     * @return \Montross50\NetsparkerCloud\SDK\Model\ScanNotificationApiModel|\Psr\Http\Message\ResponseInterface|null
107
     */
108
    public function notificationsNew(\Montross50\NetsparkerCloud\SDK\Model\NewScanNotificationApiModel $model, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
109
110
    /**
111
     * @param \Montross50\NetsparkerCloud\SDK\Model\NotificationPriorityPair[] $priorities the notification priority pairs
112
     * @param string                                                           $fetch      Fetch mode to use (can be OBJECT or RESPONSE)
113
     *
114
     * @throws \Montross50\NetsparkerCloud\SDK\Exception\NotificationsSetPrioritiesBadRequestException
115
     *
116
     * @return \Psr\Http\Message\ResponseInterface|null
117
     */
118
    public function notificationsSetPriorities(array $priorities, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
119
120
    /**
121
     * @param \Montross50\NetsparkerCloud\SDK\Model\UpdateScanNotificationApiModel $model the new scan notification model
122
     * @param string                                                               $fetch Fetch mode to use (can be OBJECT or RESPONSE)
123
     *
124
     * @return \Montross50\NetsparkerCloud\SDK\Model\ScanNotificationApiModel|\Psr\Http\Message\ResponseInterface|null
125
     */
126
    public function notificationsUpdate(\Montross50\NetsparkerCloud\SDK\Model\UpdateScanNotificationApiModel $model, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
127
128
    /**
129
     * @param string $name  the scan policy name
130
     * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
131
     *
132
     * @throws \Montross50\NetsparkerCloud\SDK\Exception\ScanPoliciesDeleteBadRequestException
133
     * @throws \Montross50\NetsparkerCloud\SDK\Exception\ScanPoliciesDeleteNotFoundException
134
     *
135
     * @return \Psr\Http\Message\ResponseInterface|null
136
     */
137
    public function scanPoliciesDelete(string $name, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
138
139
    /**
140
     * @param array  $queryParameters {
141
     *
142
     * @var string   $name            The scan policy name.
143
     * }
144
     *
145
     * @param string $fetch           Fetch mode to use (can be OBJECT or RESPONSE)
146
     *
147
     * @return \Montross50\NetsparkerCloud\SDK\Model\ScanPolicySettingApiModel|\Psr\Http\Message\ResponseInterface|null
148
     */
149
    public function scanPoliciesFind(array $queryParameters = [], string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
150
151
    /**
152
     * @param string $id    the identifier of scan policy
153
     * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
154
     *
155
     * @return \Montross50\NetsparkerCloud\SDK\Model\ScanPolicySettingApiModel|\Psr\Http\Message\ResponseInterface|null
156
     */
157
    public function scanPoliciesGet(string $id, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
158
159
    /**
160
     * @param array  $queryParameters {
161
     *
162
     * @var int      $page            the page index
163
     * @var int      $pageSize        The page size. Page size can be any value between 1 and 200.
164
     * }
165
     *
166
     * @param string $fetch           Fetch mode to use (can be OBJECT or RESPONSE)
167
     *
168
     * @return \Montross50\NetsparkerCloud\SDK\Model\ScanPolicyListApiResult|\Psr\Http\Message\ResponseInterface|null
169
     */
170
    public function scanPoliciesList(array $queryParameters = [], string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
171
172
    /**
173
     * @param \Montross50\NetsparkerCloud\SDK\Model\NewScanPolicySettingModel $model the model
174
     * @param string                                                          $fetch Fetch mode to use (can be OBJECT or RESPONSE)
175
     *
176
     * @return \Montross50\NetsparkerCloud\SDK\Model\ScanPolicySettingApiModel|\Psr\Http\Message\ResponseInterface|null
177
     */
178
    public function scanPoliciesNew(\Montross50\NetsparkerCloud\SDK\Model\NewScanPolicySettingModel $model, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
179
180
    /**
181
     * @param \Montross50\NetsparkerCloud\SDK\Model\UpdateScanPolicySettingModel $model the model
182
     * @param string                                                             $fetch Fetch mode to use (can be OBJECT or RESPONSE)
183
     *
184
     * @return \Montross50\NetsparkerCloud\SDK\Model\ScanPolicySettingApiModel|\Psr\Http\Message\ResponseInterface|null
185
     */
186
    public function scanPoliciesUpdate(\Montross50\NetsparkerCloud\SDK\Model\UpdateScanPolicySettingModel $model, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
187
188
    /**
189
     * @param mixed  $profileId the scan profile's ID
190
     * @param string $fetch     Fetch mode to use (can be OBJECT or RESPONSE)
191
     *
192
     * @return \Psr\Http\Message\ResponseInterface|null
193
     */
194
    public function scanProfilesDelete(string $profileId, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
195
196
    /**
197
     * @param string $id    the identifier of scan profiles
198
     * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
199
     *
200
     * @return \Montross50\NetsparkerCloud\SDK\Model\SaveScanProfileApiModel|\Psr\Http\Message\ResponseInterface|null
201
     */
202
    public function scanProfilesGet(string $id, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
203
204
    /**
205
     * @param array  $queryParameters {
206
     *
207
     * @var int      $page            the page index
208
     * @var int      $pageSize        The page size. Page size can be any value between 1 and 200.
209
     * }
210
     *
211
     * @param string $fetch           Fetch mode to use (can be OBJECT or RESPONSE)
212
     *
213
     * @return \Montross50\NetsparkerCloud\SDK\Model\SaveScanProfileApiModel|\Psr\Http\Message\ResponseInterface|null
214
     */
215
    public function scanProfilesList(array $queryParameters = [], string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
216
217
    /**
218
     * @param \Montross50\NetsparkerCloud\SDK\Model\SaveScanProfileApiModel $model the ScanProfileSettingApiModel model
219
     * @param string                                                        $fetch Fetch mode to use (can be OBJECT or RESPONSE)
220
     *
221
     * @return \Montross50\NetsparkerCloud\SDK\Model\SaveScanProfileApiModel|\Psr\Http\Message\ResponseInterface|null
222
     */
223
    public function scanProfilesNew(\Montross50\NetsparkerCloud\SDK\Model\SaveScanProfileApiModel $model, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
224
225
    /**
226
     * @param \Montross50\NetsparkerCloud\SDK\Model\SaveScanProfileApiModel $model the model
227
     * @param string                                                        $fetch Fetch mode to use (can be OBJECT or RESPONSE)
228
     *
229
     * @return \Montross50\NetsparkerCloud\SDK\Model\SaveScanProfileApiModel|\Psr\Http\Message\ResponseInterface|null
230
     */
231
    public function scanProfilesUpdate(\Montross50\NetsparkerCloud\SDK\Model\SaveScanProfileApiModel $model, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
232
233
    /**
234
     * @param mixed  $id    the identifier of scan
235
     * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
236
     *
237
     * @return \Psr\Http\Message\ResponseInterface|null
238
     */
239
    public function scansCancel(string $id, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
240
241
    /**
242
     * @param array  $queryParameters {
243
     *
244
     * @var bool     $excludeIgnoreds If set to true, HTTP response data will be excluded from the vulnerability detail. This parameter can only be
245
     * @var string   $id              gets or sets the scan identifier
246
     * @var string   $reportName      Gets or sets report name. Report name also keeps report type in it.
247
     * @var string   $type            Gets or sets the report type.
248
     * }
249
     *
250
     * @param string $fetch           Fetch mode to use (can be OBJECT or RESPONSE)
251
     *
252
     * @throws \Montross50\NetsparkerCloud\SDK\Exception\ScansCustomReportBadRequestException
253
     * @throws \Montross50\NetsparkerCloud\SDK\Exception\ScansCustomReportNotFoundException
254
     *
255
     * @return \Psr\Http\Message\ResponseInterface|null
256
     */
257
    public function scansCustomReport(array $queryParameters = [], string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
258
259
    /**
260
     * @param array  $ids   the identifiers of scans
261
     * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
262
     *
263
     * @return \Psr\Http\Message\ResponseInterface|null
264
     */
265
    public function scansDelete(array $ids, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
266
267
    /**
268
     * @param string $id    the identifier of scan
269
     * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
270
     *
271
     * @return \Montross50\NetsparkerCloud\SDK\Model\ScanTaskModel|\Psr\Http\Message\ResponseInterface|null
272
     */
273
    public function scansDetail(string $id, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
274
275
    /**
276
     * @param array  $queryParameters {
277
     *
278
     * @var string   $scanId          The scan id
279
     * }
280
     *
281
     * @param string $fetch           Fetch mode to use (can be OBJECT or RESPONSE)
282
     *
283
     * @return \Psr\Http\Message\ResponseInterface|null
284
     */
285
    public function scansDownloadScanFile(array $queryParameters = [], string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
286
287
    /**
288
     * @param \Montross50\NetsparkerCloud\SDK\Model\IncrementalApiModel $model Contains data that is required to create an incremental scan. Base scan should be in completed
289
     * @param string                                                    $fetch Fetch mode to use (can be OBJECT or RESPONSE)
290
     *
291
     * @return \Montross50\NetsparkerCloud\SDK\Model\ScanTaskModel|\Psr\Http\Message\ResponseInterface|null
292
     */
293
    public function scansIncremental(\Montross50\NetsparkerCloud\SDK\Model\IncrementalApiModel $model, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
294
295
    /**
296
     * @param array  $queryParameters {
297
     *
298
     * @var int      $page            the page index
299
     * @var int      $pageSize        The page size. Page size can be any value between 1 and 200.
300
     * }
301
     *
302
     * @param string $fetch           Fetch mode to use (can be OBJECT or RESPONSE)
303
     *
304
     * @return \Montross50\NetsparkerCloud\SDK\Model\ScanTaskListApiResult|\Psr\Http\Message\ResponseInterface|null
305
     */
306
    public function scansList(array $queryParameters = [], string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
307
308
    /**
309
     * @param array  $queryParameters {
310
     *
311
     * @var string   $scanTaskState   The state of ScanTask {Netsparker.Cloud.Core.Models.ScanTaskState}&gt;
312
     * @var int      $page            the page index
313
     * @var int      $pageSize        The page size. Page size can be any value between 1 and 200.
314
     * }
315
     *
316
     * @param string $fetch           Fetch mode to use (can be OBJECT or RESPONSE)
317
     *
318
     * @return \Montross50\NetsparkerCloud\SDK\Model\ScanTaskListApiResult|\Psr\Http\Message\ResponseInterface|null
319
     */
320
    public function scansListByState(array $queryParameters = [], string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
321
322
    /**
323
     * @param array  $queryParameters {
324
     *
325
     * @var string   $websiteUrl      the website URL
326
     * @var int      $page            the page index
327
     * @var int      $pageSize        The page size. Page size can be any value between 1 and 200.
328
     * }
329
     *
330
     * @param string $fetch           Fetch mode to use (can be OBJECT or RESPONSE)
331
     *
332
     * @return \Montross50\NetsparkerCloud\SDK\Model\ScanTaskListApiResult|\Psr\Http\Message\ResponseInterface|null
333
     */
334
    public function scansListByWebsite(array $queryParameters = [], string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
335
336
    /**
337
     * @param array  $queryParameters {
338
     *
339
     * @var int      $page            the page index
340
     * @var int      $pageSize        The page size. Page size can be any value between 1 and 200.
341
     * }
342
     *
343
     * @param string $fetch           Fetch mode to use (can be OBJECT or RESPONSE)
344
     *
345
     * @return \Montross50\NetsparkerCloud\SDK\Model\ScheduledScanListApiResult|\Psr\Http\Message\ResponseInterface|null
346
     */
347
    public function scansListScheduled(array $queryParameters = [], string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
348
349
    /**
350
     * @param \Montross50\NetsparkerCloud\SDK\Model\NewScanTaskApiModel $model contains data that is required to create a new scan
351
     * @param string                                                    $fetch Fetch mode to use (can be OBJECT or RESPONSE)
352
     *
353
     * @return \Montross50\NetsparkerCloud\SDK\Model\ScanTaskModel[]|\Psr\Http\Message\ResponseInterface|null
354
     */
355
    public function scansNew(\Montross50\NetsparkerCloud\SDK\Model\NewScanTaskApiModel $model, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
356
357
    /**
358
     * @param mixed  $id    the identifier of scan
359
     * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
360
     *
361
     * @return \Montross50\NetsparkerCloud\SDK\Model\ScanTaskModel|\Psr\Http\Message\ResponseInterface|null
362
     */
363
    public function scansNewFromScan(string $id, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
364
365
    /**
366
     * @param \Montross50\NetsparkerCloud\SDK\Model\NewGroupScanApiModel $model contains data that is required to create a new group scan
367
     * @param string                                                     $fetch Fetch mode to use (can be OBJECT or RESPONSE)
368
     *
369
     * @return \Montross50\NetsparkerCloud\SDK\Model\ScanTaskModel[]|\Psr\Http\Message\ResponseInterface|null
370
     */
371
    public function scansNewGroupScan(\Montross50\NetsparkerCloud\SDK\Model\NewGroupScanApiModel $model, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
372
373
    /**
374
     * @param \Montross50\NetsparkerCloud\SDK\Model\NewScanTaskWithProfileApiModel $model contains data that is required to create a new scan
375
     * @param string                                                               $fetch Fetch mode to use (can be OBJECT or RESPONSE)
376
     *
377
     * @return \Montross50\NetsparkerCloud\SDK\Model\ScanTaskModel|\Psr\Http\Message\ResponseInterface|null
378
     */
379
    public function scansNewWithProfile(\Montross50\NetsparkerCloud\SDK\Model\NewScanTaskWithProfileApiModel $model, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
380
381
    /**
382
     * @param mixed  $id    the identifier of scan
383
     * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
384
     *
385
     * @return \Psr\Http\Message\ResponseInterface|null
386
     */
387
    public function scansPause(string $id, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
388
389
    /**
390
     * @param array  $queryParameters     {
391
     *
392
     * @var string   $contentFormat       Gets or sets the content format. This parameter can only be used for vulnerabilities XML and JSON report.
393
     * @var bool     $excludeResponseData If set to true, HTTP response data will be excluded from the vulnerability detail. This parameter can only be
394
     * @var string   $format              Gets or sets the report format.
395
     * @var string   $id                  gets or sets the scan identifier
396
     * @var string   $type                Gets or sets the report type.
397
     * }
398
     *
399
     * @param string $fetch               Fetch mode to use (can be OBJECT or RESPONSE)
400
     *
401
     * @throws \Montross50\NetsparkerCloud\SDK\Exception\ScansReportBadRequestException
402
     * @throws \Montross50\NetsparkerCloud\SDK\Exception\ScansReportNotFoundException
403
     *
404
     * @return \Psr\Http\Message\ResponseInterface|null
405
     */
406
    public function scansReport(array $queryParameters = [], string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
407
408
    /**
409
     * @param string $id    the identifier of scan
410
     * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
411
     *
412
     * @return \Montross50\NetsparkerCloud\SDK\Model\VulnerabilityModel[]|\Psr\Http\Message\ResponseInterface|null
413
     */
414
    public function scansResult(string $id, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
415
416
    /**
417
     * @param mixed  $id    the identifier of scan
418
     * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
419
     *
420
     * @return \Psr\Http\Message\ResponseInterface|null
421
     */
422
    public function scansResume(string $id, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
423
424
    /**
425
     * @param \Montross50\NetsparkerCloud\SDK\Model\BaseScanApiModel $model Contains data that is required to create a retest scan. Base scan should be in completed state.
426
     * @param string                                                 $fetch Fetch mode to use (can be OBJECT or RESPONSE)
427
     *
428
     * @return \Montross50\NetsparkerCloud\SDK\Model\ScanTaskModel|\Psr\Http\Message\ResponseInterface|null
429
     */
430
    public function scansRetest(\Montross50\NetsparkerCloud\SDK\Model\BaseScanApiModel $model, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
431
432
    /**
433
     * @param \Montross50\NetsparkerCloud\SDK\Model\NewScheduledScanApiModel $model contains data that required to create a scheduled scan
434
     * @param string                                                         $fetch Fetch mode to use (can be OBJECT or RESPONSE)
435
     *
436
     * @return \Montross50\NetsparkerCloud\SDK\Model\UpdateScheduledScanModel|\Psr\Http\Message\ResponseInterface|null
437
     */
438
    public function scansSchedule(\Montross50\NetsparkerCloud\SDK\Model\NewScheduledScanApiModel $model, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
439
440
    /**
441
     * @param \Montross50\NetsparkerCloud\SDK\Model\NewScheduledIncrementalScanApiModel $model contains data that required to create a scheduled scan
442
     * @param string                                                                    $fetch Fetch mode to use (can be OBJECT or RESPONSE)
443
     *
444
     * @return \Montross50\NetsparkerCloud\SDK\Model\UpdateScheduledScanModel|\Psr\Http\Message\ResponseInterface|null
445
     */
446
    public function scansScheduleIncremental(\Montross50\NetsparkerCloud\SDK\Model\NewScheduledIncrementalScanApiModel $model, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
447
448
    /**
449
     * @param string $id    the identifier of scan
450
     * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
451
     *
452
     * @return \Montross50\NetsparkerCloud\SDK\Model\ApiScanStatusModel|\Psr\Http\Message\ResponseInterface|null
453
     */
454
    public function scansStatus(string $id, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
455
456
    /**
457
     * @param mixed  $id    the identifier of scan
458
     * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
459
     *
460
     * @throws \Montross50\NetsparkerCloud\SDK\Exception\ScansUnscheduleNotFoundException
461
     *
462
     * @return \Psr\Http\Message\ResponseInterface|null
463
     */
464
    public function scansUnschedule(string $id, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
465
466
    /**
467
     * @param \Montross50\NetsparkerCloud\SDK\Model\UpdateScheduledScanApiModel $model contains data that is required to update a scheduled scan
468
     * @param string                                                            $fetch Fetch mode to use (can be OBJECT or RESPONSE)
469
     *
470
     * @return \Montross50\NetsparkerCloud\SDK\Model\UpdateScheduledScanApiModel|\Psr\Http\Message\ResponseInterface|null
471
     */
472
    public function scansUpdateScheduled(\Montross50\NetsparkerCloud\SDK\Model\UpdateScheduledScanApiModel $model, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
473
474
    /**
475
     * @param \Montross50\NetsparkerCloud\SDK\Model\UpdateScheduledIncrementalScanApiModel $model contains data that is required to update a scheduled scan
476
     * @param string                                                                       $fetch Fetch mode to use (can be OBJECT or RESPONSE)
477
     *
478
     * @return \Montross50\NetsparkerCloud\SDK\Model\UpdateScheduledScanApiModel|\Psr\Http\Message\ResponseInterface|null
479
     */
480
    public function scansUpdateScheduledIncremental(\Montross50\NetsparkerCloud\SDK\Model\UpdateScheduledIncrementalScanApiModel $model, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
481
482
    /**
483
     * @param \Montross50\NetsparkerCloud\SDK\Model\FormAuthenticationVerificationApiModel $model contains form authentication settings
484
     * @param string                                                                       $fetch Fetch mode to use (can be OBJECT or RESPONSE)
485
     *
486
     * @return \Montross50\NetsparkerCloud\SDK\Model\AuthVerificationApiResult|\Psr\Http\Message\ResponseInterface|null
487
     */
488
    public function scansVerifyFormAuth(\Montross50\NetsparkerCloud\SDK\Model\FormAuthenticationVerificationApiModel $model, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
489
490
    /**
491
     * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
492
     *
493
     * @return \Montross50\NetsparkerCloud\SDK\Model\VulnerabilityTemplate[]|\Psr\Http\Message\ResponseInterface|null
494
     */
495
    public function vulnerabilityList(string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
496
497
    /**
498
     * @param \Montross50\NetsparkerCloud\SDK\Model\DeleteWebsiteGroupApiModel $model the model
499
     * @param string                                                           $fetch Fetch mode to use (can be OBJECT or RESPONSE)
500
     *
501
     * @return \Psr\Http\Message\ResponseInterface|null
502
     */
503
    public function websiteGroupsDelete(\Montross50\NetsparkerCloud\SDK\Model\DeleteWebsiteGroupApiModel $model, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
504
505
    /**
506
     * @param string $id    id
507
     * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
508
     *
509
     * @return \Montross50\NetsparkerCloud\SDK\Model\WebsiteApiModel|\Psr\Http\Message\ResponseInterface|null
510
     */
511
    public function websiteGroupsGet(string $id, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
512
513
    /**
514
     * @param array  $queryParameters {
515
     *
516
     * @var int      $page            the page size
517
     * @var int      $pageSize        The page size. Page size can be any value between 1 and 200.
518
     * }
519
     *
520
     * @param string $fetch           Fetch mode to use (can be OBJECT or RESPONSE)
521
     *
522
     * @return \Montross50\NetsparkerCloud\SDK\Model\WebsiteGroupListApiResult|\Psr\Http\Message\ResponseInterface|null
523
     */
524
    public function websiteGroupsList(array $queryParameters = [], string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
525
526
    /**
527
     * @param \Montross50\NetsparkerCloud\SDK\Model\NewWebsiteGroupApiModel $model the model
528
     * @param string                                                        $fetch Fetch mode to use (can be OBJECT or RESPONSE)
529
     *
530
     * @return \Montross50\NetsparkerCloud\SDK\Model\WebsiteGroupApiModel|\Psr\Http\Message\ResponseInterface|null
531
     */
532
    public function websiteGroupsNew(\Montross50\NetsparkerCloud\SDK\Model\NewWebsiteGroupApiModel $model, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
533
534
    /**
535
     * @param \Montross50\NetsparkerCloud\SDK\Model\UpdateWebsiteGroupApiModel $model the model
536
     * @param string                                                           $fetch Fetch mode to use (can be OBJECT or RESPONSE)
537
     *
538
     * @return \Montross50\NetsparkerCloud\SDK\Model\WebsiteGroupApiModel|\Psr\Http\Message\ResponseInterface|null
539
     */
540
    public function websiteGroupsUpdate(\Montross50\NetsparkerCloud\SDK\Model\UpdateWebsiteGroupApiModel $model, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
541
542
    /**
543
     * @param \Montross50\NetsparkerCloud\SDK\Model\DeleteWebsiteApiModel $model the model
544
     * @param string                                                      $fetch Fetch mode to use (can be OBJECT or RESPONSE)
545
     *
546
     * @return \Psr\Http\Message\ResponseInterface|null
547
     */
548
    public function websitesDelete(\Montross50\NetsparkerCloud\SDK\Model\DeleteWebsiteApiModel $model, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
549
550
    /**
551
     * @param string $id    the website id
552
     * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
553
     *
554
     * @return \Montross50\NetsparkerCloud\SDK\Model\WebsiteApiModel|\Psr\Http\Message\ResponseInterface|null
555
     */
556
    public function websitesGet(string $id, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
557
558
    /**
559
     * @param array  $queryParameters {
560
     *
561
     * @var int      $page            the page index
562
     * @var int      $pageSize        The page size. Page size can be any value between 1 and 200.
563
     * }
564
     *
565
     * @param string $fetch           Fetch mode to use (can be OBJECT or RESPONSE)
566
     *
567
     * @return \Montross50\NetsparkerCloud\SDK\Model\WebsiteListApiResult|\Psr\Http\Message\ResponseInterface|null
568
     */
569
    public function websitesList(array $queryParameters = [], string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
570
571
    /**
572
     * @param \Montross50\NetsparkerCloud\SDK\Model\NewWebsiteApiModel $model the model
573
     * @param string                                                   $fetch Fetch mode to use (can be OBJECT or RESPONSE)
574
     *
575
     * @return \Montross50\NetsparkerCloud\SDK\Model\WebsiteApiModel|\Psr\Http\Message\ResponseInterface|null
576
     */
577
    public function websitesNew(\Montross50\NetsparkerCloud\SDK\Model\NewWebsiteApiModel $model, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
578
579
    /**
580
     * @param string $websiteUrl the website URL
581
     * @param string $fetch      Fetch mode to use (can be OBJECT or RESPONSE)
582
     *
583
     * @return \Montross50\NetsparkerCloud\SDK\Model\SendVerificationEmailModel|\Psr\Http\Message\ResponseInterface|null
584
     */
585
    public function websitesSendVerificationEmail(string $websiteUrl, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
586
587
    /**
588
     * @param \Montross50\NetsparkerCloud\SDK\Model\StartVerificationApiModel $model the model
589
     * @param string                                                          $fetch Fetch mode to use (can be OBJECT or RESPONSE)
590
     *
591
     * @return \Montross50\NetsparkerCloud\SDK\Model\StartVerificationResult|\Psr\Http\Message\ResponseInterface|null
592
     */
593
    public function websitesStartVerification(\Montross50\NetsparkerCloud\SDK\Model\StartVerificationApiModel $model, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
594
595
    /**
596
     * @param \Montross50\NetsparkerCloud\SDK\Model\UpdateWebsiteApiModel $model the model
597
     * @param string                                                      $fetch Fetch mode to use (can be OBJECT or RESPONSE)
598
     *
599
     * @return \Montross50\NetsparkerCloud\SDK\Model\WebsiteApiModel|\Psr\Http\Message\ResponseInterface|null
600
     */
601
    public function websitesUpdate(\Montross50\NetsparkerCloud\SDK\Model\UpdateWebsiteApiModel $model, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
602
603
    /**
604
     * @param array  $queryParameters {
605
     *
606
     * @var string   $websiteUrl      The website URL.
607
     * }
608
     *
609
     * @param string $fetch           Fetch mode to use (can be OBJECT or RESPONSE)
610
     *
611
     * @throws \Montross50\NetsparkerCloud\SDK\Exception\WebsitesVerificationFileNotFoundException
612
     *
613
     * @return \Psr\Http\Message\ResponseInterface|null
614
     */
615
    public function websitesVerificationFile(array $queryParameters = [], string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
616
617
    /**
618
     * @param \Montross50\NetsparkerCloud\SDK\Model\VerifyApiModel $model the model
619
     * @param string                                               $fetch Fetch mode to use (can be OBJECT or RESPONSE)
620
     *
621
     * @return \Psr\Http\Message\ResponseInterface|null
622
     */
623
    public function websitesVerify(\Montross50\NetsparkerCloud\SDK\Model\VerifyApiModel $model, string $fetch = self::FETCH_OBJECT);
0 ignored issues
show
The constant Montross50\NetsparkerClo...Interface::FETCH_OBJECT was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
624
}
625