oci-vulnerabilityscanning 2.27.0 → 2.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +58 -57
- package/lib/client.js +229 -114
- package/lib/client.js.map +1 -1
- package/lib/request/change-container-scan-recipe-compartment-request.d.ts +1 -1
- package/lib/request/change-container-scan-result-compartment-request.d.ts +1 -1
- package/lib/request/change-container-scan-target-compartment-request.d.ts +1 -1
- package/lib/request/change-host-agent-scan-result-compartment-request.d.ts +1 -1
- package/lib/request/change-host-cis-benchmark-scan-result-compartment-request.d.ts +1 -1
- package/lib/request/change-host-endpoint-protection-scan-result-compartment-request.d.ts +1 -1
- package/lib/request/change-host-port-scan-result-compartment-request.d.ts +1 -1
- package/lib/request/change-host-scan-recipe-compartment-request.d.ts +1 -1
- package/lib/request/change-host-scan-target-compartment-request.d.ts +1 -1
- package/lib/request/create-container-scan-recipe-request.d.ts +1 -1
- package/lib/request/create-container-scan-target-request.d.ts +1 -1
- package/lib/request/create-host-scan-recipe-request.d.ts +1 -1
- package/lib/request/create-host-scan-target-request.d.ts +1 -1
- package/lib/request/delete-container-scan-recipe-request.d.ts +1 -1
- package/lib/request/delete-container-scan-result-request.d.ts +1 -1
- package/lib/request/delete-container-scan-target-request.d.ts +1 -1
- package/lib/request/delete-host-agent-scan-result-request.d.ts +1 -1
- package/lib/request/delete-host-cis-benchmark-scan-result-request.d.ts +1 -1
- package/lib/request/delete-host-endpoint-protection-scan-result-request.d.ts +1 -1
- package/lib/request/delete-host-port-scan-result-request.d.ts +1 -1
- package/lib/request/delete-host-scan-recipe-request.d.ts +1 -1
- package/lib/request/delete-host-scan-target-request.d.ts +1 -1
- package/lib/request/export-host-agent-scan-result-csv-request.d.ts +1 -1
- package/lib/request/export-host-vulnerability-csv-request.d.ts +1 -1
- package/lib/request/get-container-scan-recipe-request.d.ts +1 -1
- package/lib/request/get-container-scan-result-request.d.ts +1 -1
- package/lib/request/get-container-scan-target-request.d.ts +1 -1
- package/lib/request/get-host-agent-scan-result-request.d.ts +1 -1
- package/lib/request/get-host-cis-benchmark-scan-result-request.d.ts +1 -1
- package/lib/request/get-host-endpoint-protection-scan-result-request.d.ts +1 -1
- package/lib/request/get-host-port-scan-result-request.d.ts +1 -1
- package/lib/request/get-host-scan-recipe-request.d.ts +1 -1
- package/lib/request/get-host-scan-target-request.d.ts +1 -1
- package/lib/request/get-host-vulnerability-request.d.ts +1 -1
- package/lib/request/get-vulnerability-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/list-container-scan-recipes-request.d.ts +1 -1
- package/lib/request/list-container-scan-results-request.d.ts +1 -1
- package/lib/request/list-container-scan-targets-request.d.ts +1 -1
- package/lib/request/list-host-agent-scan-results-request.d.ts +1 -1
- package/lib/request/list-host-cis-benchmark-scan-results-request.d.ts +1 -1
- package/lib/request/list-host-endpoint-protection-scan-results-request.d.ts +1 -1
- package/lib/request/list-host-port-scan-results-request.d.ts +1 -1
- package/lib/request/list-host-scan-recipes-request.d.ts +1 -1
- package/lib/request/list-host-scan-targets-request.d.ts +1 -1
- package/lib/request/list-host-vulnerabilities-request.d.ts +1 -1
- package/lib/request/list-host-vulnerability-impacted-hosts-request.d.ts +1 -1
- package/lib/request/list-vulnerabilities-request.d.ts +1 -1
- package/lib/request/list-vulnerability-impacted-containers-request.d.ts +1 -1
- package/lib/request/list-vulnerability-impacted-hosts-request.d.ts +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/update-container-scan-recipe-request.d.ts +1 -1
- package/lib/request/update-container-scan-target-request.d.ts +1 -1
- package/lib/request/update-host-scan-recipe-request.d.ts +1 -1
- package/lib/request/update-host-scan-target-request.d.ts +1 -1
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -60,6 +60,7 @@ class VulnerabilityScanningClient {
|
|
|
60
60
|
this["_defaultHeaders"] = {};
|
|
61
61
|
this._circuitBreaker = null;
|
|
62
62
|
this._httpOptions = undefined;
|
|
63
|
+
this.targetService = "VulnerabilityScanning";
|
|
63
64
|
const requestSigner = params.authenticationDetailsProvider
|
|
64
65
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
65
66
|
: null;
|
|
@@ -156,12 +157,14 @@ class VulnerabilityScanningClient {
|
|
|
156
157
|
* @param ChangeContainerScanRecipeCompartmentRequest
|
|
157
158
|
* @return ChangeContainerScanRecipeCompartmentResponse
|
|
158
159
|
* @throws OciError when an error occurs
|
|
159
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
160
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/ChangeContainerScanRecipeCompartment.ts.html |here} to see how to use ChangeContainerScanRecipeCompartment API.
|
|
160
161
|
*/
|
|
161
162
|
changeContainerScanRecipeCompartment(changeContainerScanRecipeCompartmentRequest) {
|
|
162
163
|
return __awaiter(this, void 0, void 0, function* () {
|
|
163
164
|
if (this.logger)
|
|
164
165
|
this.logger.debug("Calling operation VulnerabilityScanningClient#changeContainerScanRecipeCompartment.");
|
|
166
|
+
const operationName = "changeContainerScanRecipeCompartment";
|
|
167
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/ContainerScanRecipe/ChangeContainerScanRecipeCompartment";
|
|
165
168
|
const pathParams = {
|
|
166
169
|
"{containerScanRecipeId}": changeContainerScanRecipeCompartmentRequest.containerScanRecipeId
|
|
167
170
|
};
|
|
@@ -187,7 +190,7 @@ class VulnerabilityScanningClient {
|
|
|
187
190
|
queryParams: queryParams
|
|
188
191
|
});
|
|
189
192
|
try {
|
|
190
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
193
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
191
194
|
const sdkResponse = oci_common_1.composeResponse({
|
|
192
195
|
responseObject: {},
|
|
193
196
|
responseHeaders: [
|
|
@@ -212,12 +215,14 @@ class VulnerabilityScanningClient {
|
|
|
212
215
|
* @param ChangeContainerScanResultCompartmentRequest
|
|
213
216
|
* @return ChangeContainerScanResultCompartmentResponse
|
|
214
217
|
* @throws OciError when an error occurs
|
|
215
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
218
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/ChangeContainerScanResultCompartment.ts.html |here} to see how to use ChangeContainerScanResultCompartment API.
|
|
216
219
|
*/
|
|
217
220
|
changeContainerScanResultCompartment(changeContainerScanResultCompartmentRequest) {
|
|
218
221
|
return __awaiter(this, void 0, void 0, function* () {
|
|
219
222
|
if (this.logger)
|
|
220
223
|
this.logger.debug("Calling operation VulnerabilityScanningClient#changeContainerScanResultCompartment.");
|
|
224
|
+
const operationName = "changeContainerScanResultCompartment";
|
|
225
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/ContainerScanResult/ChangeContainerScanResultCompartment";
|
|
221
226
|
const pathParams = {
|
|
222
227
|
"{containerScanResultId}": changeContainerScanResultCompartmentRequest.containerScanResultId
|
|
223
228
|
};
|
|
@@ -243,7 +248,7 @@ class VulnerabilityScanningClient {
|
|
|
243
248
|
queryParams: queryParams
|
|
244
249
|
});
|
|
245
250
|
try {
|
|
246
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
251
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
247
252
|
const sdkResponse = oci_common_1.composeResponse({
|
|
248
253
|
responseObject: {},
|
|
249
254
|
responseHeaders: [
|
|
@@ -268,12 +273,14 @@ class VulnerabilityScanningClient {
|
|
|
268
273
|
* @param ChangeContainerScanTargetCompartmentRequest
|
|
269
274
|
* @return ChangeContainerScanTargetCompartmentResponse
|
|
270
275
|
* @throws OciError when an error occurs
|
|
271
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
276
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/ChangeContainerScanTargetCompartment.ts.html |here} to see how to use ChangeContainerScanTargetCompartment API.
|
|
272
277
|
*/
|
|
273
278
|
changeContainerScanTargetCompartment(changeContainerScanTargetCompartmentRequest) {
|
|
274
279
|
return __awaiter(this, void 0, void 0, function* () {
|
|
275
280
|
if (this.logger)
|
|
276
281
|
this.logger.debug("Calling operation VulnerabilityScanningClient#changeContainerScanTargetCompartment.");
|
|
282
|
+
const operationName = "changeContainerScanTargetCompartment";
|
|
283
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/ContainerScanTarget/ChangeContainerScanTargetCompartment";
|
|
277
284
|
const pathParams = {
|
|
278
285
|
"{containerScanTargetId}": changeContainerScanTargetCompartmentRequest.containerScanTargetId
|
|
279
286
|
};
|
|
@@ -299,7 +306,7 @@ class VulnerabilityScanningClient {
|
|
|
299
306
|
queryParams: queryParams
|
|
300
307
|
});
|
|
301
308
|
try {
|
|
302
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
309
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
303
310
|
const sdkResponse = oci_common_1.composeResponse({
|
|
304
311
|
responseObject: {},
|
|
305
312
|
responseHeaders: [
|
|
@@ -324,12 +331,14 @@ class VulnerabilityScanningClient {
|
|
|
324
331
|
* @param ChangeHostAgentScanResultCompartmentRequest
|
|
325
332
|
* @return ChangeHostAgentScanResultCompartmentResponse
|
|
326
333
|
* @throws OciError when an error occurs
|
|
327
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
334
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/ChangeHostAgentScanResultCompartment.ts.html |here} to see how to use ChangeHostAgentScanResultCompartment API.
|
|
328
335
|
*/
|
|
329
336
|
changeHostAgentScanResultCompartment(changeHostAgentScanResultCompartmentRequest) {
|
|
330
337
|
return __awaiter(this, void 0, void 0, function* () {
|
|
331
338
|
if (this.logger)
|
|
332
339
|
this.logger.debug("Calling operation VulnerabilityScanningClient#changeHostAgentScanResultCompartment.");
|
|
340
|
+
const operationName = "changeHostAgentScanResultCompartment";
|
|
341
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostAgentScanResult/ChangeHostAgentScanResultCompartment";
|
|
333
342
|
const pathParams = {
|
|
334
343
|
"{hostAgentScanResultId}": changeHostAgentScanResultCompartmentRequest.hostAgentScanResultId
|
|
335
344
|
};
|
|
@@ -355,7 +364,7 @@ class VulnerabilityScanningClient {
|
|
|
355
364
|
queryParams: queryParams
|
|
356
365
|
});
|
|
357
366
|
try {
|
|
358
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
367
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
359
368
|
const sdkResponse = oci_common_1.composeResponse({
|
|
360
369
|
responseObject: {},
|
|
361
370
|
responseHeaders: [
|
|
@@ -380,12 +389,14 @@ class VulnerabilityScanningClient {
|
|
|
380
389
|
* @param ChangeHostCisBenchmarkScanResultCompartmentRequest
|
|
381
390
|
* @return ChangeHostCisBenchmarkScanResultCompartmentResponse
|
|
382
391
|
* @throws OciError when an error occurs
|
|
383
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
392
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/ChangeHostCisBenchmarkScanResultCompartment.ts.html |here} to see how to use ChangeHostCisBenchmarkScanResultCompartment API.
|
|
384
393
|
*/
|
|
385
394
|
changeHostCisBenchmarkScanResultCompartment(changeHostCisBenchmarkScanResultCompartmentRequest) {
|
|
386
395
|
return __awaiter(this, void 0, void 0, function* () {
|
|
387
396
|
if (this.logger)
|
|
388
397
|
this.logger.debug("Calling operation VulnerabilityScanningClient#changeHostCisBenchmarkScanResultCompartment.");
|
|
398
|
+
const operationName = "changeHostCisBenchmarkScanResultCompartment";
|
|
399
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostCisBenchmarkScanResult/ChangeHostCisBenchmarkScanResultCompartment";
|
|
389
400
|
const pathParams = {
|
|
390
401
|
"{hostCisBenchmarkScanResultId}": changeHostCisBenchmarkScanResultCompartmentRequest.hostCisBenchmarkScanResultId
|
|
391
402
|
};
|
|
@@ -411,7 +422,7 @@ class VulnerabilityScanningClient {
|
|
|
411
422
|
queryParams: queryParams
|
|
412
423
|
});
|
|
413
424
|
try {
|
|
414
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
425
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
415
426
|
const sdkResponse = oci_common_1.composeResponse({
|
|
416
427
|
responseObject: {},
|
|
417
428
|
responseHeaders: [
|
|
@@ -436,12 +447,14 @@ class VulnerabilityScanningClient {
|
|
|
436
447
|
* @param ChangeHostEndpointProtectionScanResultCompartmentRequest
|
|
437
448
|
* @return ChangeHostEndpointProtectionScanResultCompartmentResponse
|
|
438
449
|
* @throws OciError when an error occurs
|
|
439
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
450
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/ChangeHostEndpointProtectionScanResultCompartment.ts.html |here} to see how to use ChangeHostEndpointProtectionScanResultCompartment API.
|
|
440
451
|
*/
|
|
441
452
|
changeHostEndpointProtectionScanResultCompartment(changeHostEndpointProtectionScanResultCompartmentRequest) {
|
|
442
453
|
return __awaiter(this, void 0, void 0, function* () {
|
|
443
454
|
if (this.logger)
|
|
444
455
|
this.logger.debug("Calling operation VulnerabilityScanningClient#changeHostEndpointProtectionScanResultCompartment.");
|
|
456
|
+
const operationName = "changeHostEndpointProtectionScanResultCompartment";
|
|
457
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostEndpointProtectionScanResult/ChangeHostEndpointProtectionScanResultCompartment";
|
|
445
458
|
const pathParams = {
|
|
446
459
|
"{hostEndpointProtectionScanResultId}": changeHostEndpointProtectionScanResultCompartmentRequest.hostEndpointProtectionScanResultId
|
|
447
460
|
};
|
|
@@ -467,7 +480,7 @@ class VulnerabilityScanningClient {
|
|
|
467
480
|
queryParams: queryParams
|
|
468
481
|
});
|
|
469
482
|
try {
|
|
470
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
483
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
471
484
|
const sdkResponse = oci_common_1.composeResponse({
|
|
472
485
|
responseObject: {},
|
|
473
486
|
responseHeaders: [
|
|
@@ -492,12 +505,14 @@ class VulnerabilityScanningClient {
|
|
|
492
505
|
* @param ChangeHostPortScanResultCompartmentRequest
|
|
493
506
|
* @return ChangeHostPortScanResultCompartmentResponse
|
|
494
507
|
* @throws OciError when an error occurs
|
|
495
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
508
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/ChangeHostPortScanResultCompartment.ts.html |here} to see how to use ChangeHostPortScanResultCompartment API.
|
|
496
509
|
*/
|
|
497
510
|
changeHostPortScanResultCompartment(changeHostPortScanResultCompartmentRequest) {
|
|
498
511
|
return __awaiter(this, void 0, void 0, function* () {
|
|
499
512
|
if (this.logger)
|
|
500
513
|
this.logger.debug("Calling operation VulnerabilityScanningClient#changeHostPortScanResultCompartment.");
|
|
514
|
+
const operationName = "changeHostPortScanResultCompartment";
|
|
515
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostPortScanResult/ChangeHostPortScanResultCompartment";
|
|
501
516
|
const pathParams = {
|
|
502
517
|
"{hostPortScanResultId}": changeHostPortScanResultCompartmentRequest.hostPortScanResultId
|
|
503
518
|
};
|
|
@@ -523,7 +538,7 @@ class VulnerabilityScanningClient {
|
|
|
523
538
|
queryParams: queryParams
|
|
524
539
|
});
|
|
525
540
|
try {
|
|
526
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
541
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
527
542
|
const sdkResponse = oci_common_1.composeResponse({
|
|
528
543
|
responseObject: {},
|
|
529
544
|
responseHeaders: [
|
|
@@ -548,12 +563,14 @@ class VulnerabilityScanningClient {
|
|
|
548
563
|
* @param ChangeHostScanRecipeCompartmentRequest
|
|
549
564
|
* @return ChangeHostScanRecipeCompartmentResponse
|
|
550
565
|
* @throws OciError when an error occurs
|
|
551
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
566
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/ChangeHostScanRecipeCompartment.ts.html |here} to see how to use ChangeHostScanRecipeCompartment API.
|
|
552
567
|
*/
|
|
553
568
|
changeHostScanRecipeCompartment(changeHostScanRecipeCompartmentRequest) {
|
|
554
569
|
return __awaiter(this, void 0, void 0, function* () {
|
|
555
570
|
if (this.logger)
|
|
556
571
|
this.logger.debug("Calling operation VulnerabilityScanningClient#changeHostScanRecipeCompartment.");
|
|
572
|
+
const operationName = "changeHostScanRecipeCompartment";
|
|
573
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostScanRecipe/ChangeHostScanRecipeCompartment";
|
|
557
574
|
const pathParams = {
|
|
558
575
|
"{hostScanRecipeId}": changeHostScanRecipeCompartmentRequest.hostScanRecipeId
|
|
559
576
|
};
|
|
@@ -579,7 +596,7 @@ class VulnerabilityScanningClient {
|
|
|
579
596
|
queryParams: queryParams
|
|
580
597
|
});
|
|
581
598
|
try {
|
|
582
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
599
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
583
600
|
const sdkResponse = oci_common_1.composeResponse({
|
|
584
601
|
responseObject: {},
|
|
585
602
|
responseHeaders: [
|
|
@@ -604,12 +621,14 @@ class VulnerabilityScanningClient {
|
|
|
604
621
|
* @param ChangeHostScanTargetCompartmentRequest
|
|
605
622
|
* @return ChangeHostScanTargetCompartmentResponse
|
|
606
623
|
* @throws OciError when an error occurs
|
|
607
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
624
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/ChangeHostScanTargetCompartment.ts.html |here} to see how to use ChangeHostScanTargetCompartment API.
|
|
608
625
|
*/
|
|
609
626
|
changeHostScanTargetCompartment(changeHostScanTargetCompartmentRequest) {
|
|
610
627
|
return __awaiter(this, void 0, void 0, function* () {
|
|
611
628
|
if (this.logger)
|
|
612
629
|
this.logger.debug("Calling operation VulnerabilityScanningClient#changeHostScanTargetCompartment.");
|
|
630
|
+
const operationName = "changeHostScanTargetCompartment";
|
|
631
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostScanTarget/ChangeHostScanTargetCompartment";
|
|
613
632
|
const pathParams = {
|
|
614
633
|
"{hostScanTargetId}": changeHostScanTargetCompartmentRequest.hostScanTargetId
|
|
615
634
|
};
|
|
@@ -635,7 +654,7 @@ class VulnerabilityScanningClient {
|
|
|
635
654
|
queryParams: queryParams
|
|
636
655
|
});
|
|
637
656
|
try {
|
|
638
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
657
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
639
658
|
const sdkResponse = oci_common_1.composeResponse({
|
|
640
659
|
responseObject: {},
|
|
641
660
|
responseHeaders: [
|
|
@@ -660,12 +679,14 @@ class VulnerabilityScanningClient {
|
|
|
660
679
|
* @param CreateContainerScanRecipeRequest
|
|
661
680
|
* @return CreateContainerScanRecipeResponse
|
|
662
681
|
* @throws OciError when an error occurs
|
|
663
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
682
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/CreateContainerScanRecipe.ts.html |here} to see how to use CreateContainerScanRecipe API.
|
|
664
683
|
*/
|
|
665
684
|
createContainerScanRecipe(createContainerScanRecipeRequest) {
|
|
666
685
|
return __awaiter(this, void 0, void 0, function* () {
|
|
667
686
|
if (this.logger)
|
|
668
687
|
this.logger.debug("Calling operation VulnerabilityScanningClient#createContainerScanRecipe.");
|
|
688
|
+
const operationName = "createContainerScanRecipe";
|
|
689
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/ContainerScanRecipe/CreateContainerScanRecipe";
|
|
669
690
|
const pathParams = {};
|
|
670
691
|
const queryParams = {};
|
|
671
692
|
let headerParams = {
|
|
@@ -688,7 +709,7 @@ class VulnerabilityScanningClient {
|
|
|
688
709
|
queryParams: queryParams
|
|
689
710
|
});
|
|
690
711
|
try {
|
|
691
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
712
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
692
713
|
const sdkResponse = oci_common_1.composeResponse({
|
|
693
714
|
responseObject: {},
|
|
694
715
|
body: yield response.json(),
|
|
@@ -727,12 +748,14 @@ class VulnerabilityScanningClient {
|
|
|
727
748
|
* @param CreateContainerScanTargetRequest
|
|
728
749
|
* @return CreateContainerScanTargetResponse
|
|
729
750
|
* @throws OciError when an error occurs
|
|
730
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
751
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/CreateContainerScanTarget.ts.html |here} to see how to use CreateContainerScanTarget API.
|
|
731
752
|
*/
|
|
732
753
|
createContainerScanTarget(createContainerScanTargetRequest) {
|
|
733
754
|
return __awaiter(this, void 0, void 0, function* () {
|
|
734
755
|
if (this.logger)
|
|
735
756
|
this.logger.debug("Calling operation VulnerabilityScanningClient#createContainerScanTarget.");
|
|
757
|
+
const operationName = "createContainerScanTarget";
|
|
758
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/ContainerScanTarget/CreateContainerScanTarget";
|
|
736
759
|
const pathParams = {};
|
|
737
760
|
const queryParams = {};
|
|
738
761
|
let headerParams = {
|
|
@@ -755,7 +778,7 @@ class VulnerabilityScanningClient {
|
|
|
755
778
|
queryParams: queryParams
|
|
756
779
|
});
|
|
757
780
|
try {
|
|
758
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
781
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
759
782
|
const sdkResponse = oci_common_1.composeResponse({
|
|
760
783
|
responseObject: {},
|
|
761
784
|
body: yield response.json(),
|
|
@@ -794,12 +817,14 @@ class VulnerabilityScanningClient {
|
|
|
794
817
|
* @param CreateHostScanRecipeRequest
|
|
795
818
|
* @return CreateHostScanRecipeResponse
|
|
796
819
|
* @throws OciError when an error occurs
|
|
797
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
820
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/CreateHostScanRecipe.ts.html |here} to see how to use CreateHostScanRecipe API.
|
|
798
821
|
*/
|
|
799
822
|
createHostScanRecipe(createHostScanRecipeRequest) {
|
|
800
823
|
return __awaiter(this, void 0, void 0, function* () {
|
|
801
824
|
if (this.logger)
|
|
802
825
|
this.logger.debug("Calling operation VulnerabilityScanningClient#createHostScanRecipe.");
|
|
826
|
+
const operationName = "createHostScanRecipe";
|
|
827
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostScanRecipe/CreateHostScanRecipe";
|
|
803
828
|
const pathParams = {};
|
|
804
829
|
const queryParams = {};
|
|
805
830
|
let headerParams = {
|
|
@@ -822,7 +847,7 @@ class VulnerabilityScanningClient {
|
|
|
822
847
|
queryParams: queryParams
|
|
823
848
|
});
|
|
824
849
|
try {
|
|
825
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
850
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
826
851
|
const sdkResponse = oci_common_1.composeResponse({
|
|
827
852
|
responseObject: {},
|
|
828
853
|
body: yield response.json(),
|
|
@@ -861,12 +886,14 @@ class VulnerabilityScanningClient {
|
|
|
861
886
|
* @param CreateHostScanTargetRequest
|
|
862
887
|
* @return CreateHostScanTargetResponse
|
|
863
888
|
* @throws OciError when an error occurs
|
|
864
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
889
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/CreateHostScanTarget.ts.html |here} to see how to use CreateHostScanTarget API.
|
|
865
890
|
*/
|
|
866
891
|
createHostScanTarget(createHostScanTargetRequest) {
|
|
867
892
|
return __awaiter(this, void 0, void 0, function* () {
|
|
868
893
|
if (this.logger)
|
|
869
894
|
this.logger.debug("Calling operation VulnerabilityScanningClient#createHostScanTarget.");
|
|
895
|
+
const operationName = "createHostScanTarget";
|
|
896
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostScanTarget/CreateHostScanTarget";
|
|
870
897
|
const pathParams = {};
|
|
871
898
|
const queryParams = {};
|
|
872
899
|
let headerParams = {
|
|
@@ -889,7 +916,7 @@ class VulnerabilityScanningClient {
|
|
|
889
916
|
queryParams: queryParams
|
|
890
917
|
});
|
|
891
918
|
try {
|
|
892
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
919
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
893
920
|
const sdkResponse = oci_common_1.composeResponse({
|
|
894
921
|
responseObject: {},
|
|
895
922
|
body: yield response.json(),
|
|
@@ -928,12 +955,14 @@ class VulnerabilityScanningClient {
|
|
|
928
955
|
* @param DeleteContainerScanRecipeRequest
|
|
929
956
|
* @return DeleteContainerScanRecipeResponse
|
|
930
957
|
* @throws OciError when an error occurs
|
|
931
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
958
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/DeleteContainerScanRecipe.ts.html |here} to see how to use DeleteContainerScanRecipe API.
|
|
932
959
|
*/
|
|
933
960
|
deleteContainerScanRecipe(deleteContainerScanRecipeRequest) {
|
|
934
961
|
return __awaiter(this, void 0, void 0, function* () {
|
|
935
962
|
if (this.logger)
|
|
936
963
|
this.logger.debug("Calling operation VulnerabilityScanningClient#deleteContainerScanRecipe.");
|
|
964
|
+
const operationName = "deleteContainerScanRecipe";
|
|
965
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/ContainerScanRecipe/DeleteContainerScanRecipe";
|
|
937
966
|
const pathParams = {
|
|
938
967
|
"{containerScanRecipeId}": deleteContainerScanRecipeRequest.containerScanRecipeId
|
|
939
968
|
};
|
|
@@ -957,7 +986,7 @@ class VulnerabilityScanningClient {
|
|
|
957
986
|
queryParams: queryParams
|
|
958
987
|
});
|
|
959
988
|
try {
|
|
960
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
989
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
961
990
|
const sdkResponse = oci_common_1.composeResponse({
|
|
962
991
|
responseObject: {},
|
|
963
992
|
responseHeaders: [
|
|
@@ -987,12 +1016,14 @@ class VulnerabilityScanningClient {
|
|
|
987
1016
|
* @param DeleteContainerScanResultRequest
|
|
988
1017
|
* @return DeleteContainerScanResultResponse
|
|
989
1018
|
* @throws OciError when an error occurs
|
|
990
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1019
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/DeleteContainerScanResult.ts.html |here} to see how to use DeleteContainerScanResult API.
|
|
991
1020
|
*/
|
|
992
1021
|
deleteContainerScanResult(deleteContainerScanResultRequest) {
|
|
993
1022
|
return __awaiter(this, void 0, void 0, function* () {
|
|
994
1023
|
if (this.logger)
|
|
995
1024
|
this.logger.debug("Calling operation VulnerabilityScanningClient#deleteContainerScanResult.");
|
|
1025
|
+
const operationName = "deleteContainerScanResult";
|
|
1026
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/ContainerScanResult/DeleteContainerScanResult";
|
|
996
1027
|
const pathParams = {
|
|
997
1028
|
"{containerScanResultId}": deleteContainerScanResultRequest.containerScanResultId
|
|
998
1029
|
};
|
|
@@ -1016,7 +1047,7 @@ class VulnerabilityScanningClient {
|
|
|
1016
1047
|
queryParams: queryParams
|
|
1017
1048
|
});
|
|
1018
1049
|
try {
|
|
1019
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1050
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1020
1051
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1021
1052
|
responseObject: {},
|
|
1022
1053
|
responseHeaders: [
|
|
@@ -1046,12 +1077,14 @@ class VulnerabilityScanningClient {
|
|
|
1046
1077
|
* @param DeleteContainerScanTargetRequest
|
|
1047
1078
|
* @return DeleteContainerScanTargetResponse
|
|
1048
1079
|
* @throws OciError when an error occurs
|
|
1049
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1080
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/DeleteContainerScanTarget.ts.html |here} to see how to use DeleteContainerScanTarget API.
|
|
1050
1081
|
*/
|
|
1051
1082
|
deleteContainerScanTarget(deleteContainerScanTargetRequest) {
|
|
1052
1083
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1053
1084
|
if (this.logger)
|
|
1054
1085
|
this.logger.debug("Calling operation VulnerabilityScanningClient#deleteContainerScanTarget.");
|
|
1086
|
+
const operationName = "deleteContainerScanTarget";
|
|
1087
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/ContainerScanTarget/DeleteContainerScanTarget";
|
|
1055
1088
|
const pathParams = {
|
|
1056
1089
|
"{containerScanTargetId}": deleteContainerScanTargetRequest.containerScanTargetId
|
|
1057
1090
|
};
|
|
@@ -1075,7 +1108,7 @@ class VulnerabilityScanningClient {
|
|
|
1075
1108
|
queryParams: queryParams
|
|
1076
1109
|
});
|
|
1077
1110
|
try {
|
|
1078
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1111
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1079
1112
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1080
1113
|
responseObject: {},
|
|
1081
1114
|
responseHeaders: [
|
|
@@ -1105,12 +1138,14 @@ class VulnerabilityScanningClient {
|
|
|
1105
1138
|
* @param DeleteHostAgentScanResultRequest
|
|
1106
1139
|
* @return DeleteHostAgentScanResultResponse
|
|
1107
1140
|
* @throws OciError when an error occurs
|
|
1108
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1141
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/DeleteHostAgentScanResult.ts.html |here} to see how to use DeleteHostAgentScanResult API.
|
|
1109
1142
|
*/
|
|
1110
1143
|
deleteHostAgentScanResult(deleteHostAgentScanResultRequest) {
|
|
1111
1144
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1112
1145
|
if (this.logger)
|
|
1113
1146
|
this.logger.debug("Calling operation VulnerabilityScanningClient#deleteHostAgentScanResult.");
|
|
1147
|
+
const operationName = "deleteHostAgentScanResult";
|
|
1148
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostAgentScanResult/DeleteHostAgentScanResult";
|
|
1114
1149
|
const pathParams = {
|
|
1115
1150
|
"{hostAgentScanResultId}": deleteHostAgentScanResultRequest.hostAgentScanResultId
|
|
1116
1151
|
};
|
|
@@ -1134,7 +1169,7 @@ class VulnerabilityScanningClient {
|
|
|
1134
1169
|
queryParams: queryParams
|
|
1135
1170
|
});
|
|
1136
1171
|
try {
|
|
1137
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1172
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1138
1173
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1139
1174
|
responseObject: {},
|
|
1140
1175
|
responseHeaders: [
|
|
@@ -1164,12 +1199,14 @@ class VulnerabilityScanningClient {
|
|
|
1164
1199
|
* @param DeleteHostCisBenchmarkScanResultRequest
|
|
1165
1200
|
* @return DeleteHostCisBenchmarkScanResultResponse
|
|
1166
1201
|
* @throws OciError when an error occurs
|
|
1167
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1202
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/DeleteHostCisBenchmarkScanResult.ts.html |here} to see how to use DeleteHostCisBenchmarkScanResult API.
|
|
1168
1203
|
*/
|
|
1169
1204
|
deleteHostCisBenchmarkScanResult(deleteHostCisBenchmarkScanResultRequest) {
|
|
1170
1205
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1171
1206
|
if (this.logger)
|
|
1172
1207
|
this.logger.debug("Calling operation VulnerabilityScanningClient#deleteHostCisBenchmarkScanResult.");
|
|
1208
|
+
const operationName = "deleteHostCisBenchmarkScanResult";
|
|
1209
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostCisBenchmarkScanResult/DeleteHostCisBenchmarkScanResult";
|
|
1173
1210
|
const pathParams = {
|
|
1174
1211
|
"{hostCisBenchmarkScanResultId}": deleteHostCisBenchmarkScanResultRequest.hostCisBenchmarkScanResultId
|
|
1175
1212
|
};
|
|
@@ -1193,7 +1230,7 @@ class VulnerabilityScanningClient {
|
|
|
1193
1230
|
queryParams: queryParams
|
|
1194
1231
|
});
|
|
1195
1232
|
try {
|
|
1196
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1233
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1197
1234
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1198
1235
|
responseObject: {},
|
|
1199
1236
|
responseHeaders: [
|
|
@@ -1223,12 +1260,14 @@ class VulnerabilityScanningClient {
|
|
|
1223
1260
|
* @param DeleteHostEndpointProtectionScanResultRequest
|
|
1224
1261
|
* @return DeleteHostEndpointProtectionScanResultResponse
|
|
1225
1262
|
* @throws OciError when an error occurs
|
|
1226
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1263
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/DeleteHostEndpointProtectionScanResult.ts.html |here} to see how to use DeleteHostEndpointProtectionScanResult API.
|
|
1227
1264
|
*/
|
|
1228
1265
|
deleteHostEndpointProtectionScanResult(deleteHostEndpointProtectionScanResultRequest) {
|
|
1229
1266
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1230
1267
|
if (this.logger)
|
|
1231
1268
|
this.logger.debug("Calling operation VulnerabilityScanningClient#deleteHostEndpointProtectionScanResult.");
|
|
1269
|
+
const operationName = "deleteHostEndpointProtectionScanResult";
|
|
1270
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostEndpointProtectionScanResult/DeleteHostEndpointProtectionScanResult";
|
|
1232
1271
|
const pathParams = {
|
|
1233
1272
|
"{hostEndpointProtectionScanResultId}": deleteHostEndpointProtectionScanResultRequest.hostEndpointProtectionScanResultId
|
|
1234
1273
|
};
|
|
@@ -1252,7 +1291,7 @@ class VulnerabilityScanningClient {
|
|
|
1252
1291
|
queryParams: queryParams
|
|
1253
1292
|
});
|
|
1254
1293
|
try {
|
|
1255
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1294
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1256
1295
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1257
1296
|
responseObject: {},
|
|
1258
1297
|
responseHeaders: [
|
|
@@ -1282,12 +1321,14 @@ class VulnerabilityScanningClient {
|
|
|
1282
1321
|
* @param DeleteHostPortScanResultRequest
|
|
1283
1322
|
* @return DeleteHostPortScanResultResponse
|
|
1284
1323
|
* @throws OciError when an error occurs
|
|
1285
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1324
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/DeleteHostPortScanResult.ts.html |here} to see how to use DeleteHostPortScanResult API.
|
|
1286
1325
|
*/
|
|
1287
1326
|
deleteHostPortScanResult(deleteHostPortScanResultRequest) {
|
|
1288
1327
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1289
1328
|
if (this.logger)
|
|
1290
1329
|
this.logger.debug("Calling operation VulnerabilityScanningClient#deleteHostPortScanResult.");
|
|
1330
|
+
const operationName = "deleteHostPortScanResult";
|
|
1331
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostPortScanResult/DeleteHostPortScanResult";
|
|
1291
1332
|
const pathParams = {
|
|
1292
1333
|
"{hostPortScanResultId}": deleteHostPortScanResultRequest.hostPortScanResultId
|
|
1293
1334
|
};
|
|
@@ -1311,7 +1352,7 @@ class VulnerabilityScanningClient {
|
|
|
1311
1352
|
queryParams: queryParams
|
|
1312
1353
|
});
|
|
1313
1354
|
try {
|
|
1314
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1355
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1315
1356
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1316
1357
|
responseObject: {},
|
|
1317
1358
|
responseHeaders: [
|
|
@@ -1341,12 +1382,14 @@ class VulnerabilityScanningClient {
|
|
|
1341
1382
|
* @param DeleteHostScanRecipeRequest
|
|
1342
1383
|
* @return DeleteHostScanRecipeResponse
|
|
1343
1384
|
* @throws OciError when an error occurs
|
|
1344
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1385
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/DeleteHostScanRecipe.ts.html |here} to see how to use DeleteHostScanRecipe API.
|
|
1345
1386
|
*/
|
|
1346
1387
|
deleteHostScanRecipe(deleteHostScanRecipeRequest) {
|
|
1347
1388
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1348
1389
|
if (this.logger)
|
|
1349
1390
|
this.logger.debug("Calling operation VulnerabilityScanningClient#deleteHostScanRecipe.");
|
|
1391
|
+
const operationName = "deleteHostScanRecipe";
|
|
1392
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostScanRecipe/DeleteHostScanRecipe";
|
|
1350
1393
|
const pathParams = {
|
|
1351
1394
|
"{hostScanRecipeId}": deleteHostScanRecipeRequest.hostScanRecipeId
|
|
1352
1395
|
};
|
|
@@ -1370,7 +1413,7 @@ class VulnerabilityScanningClient {
|
|
|
1370
1413
|
queryParams: queryParams
|
|
1371
1414
|
});
|
|
1372
1415
|
try {
|
|
1373
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1416
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1374
1417
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1375
1418
|
responseObject: {},
|
|
1376
1419
|
responseHeaders: [
|
|
@@ -1400,12 +1443,14 @@ class VulnerabilityScanningClient {
|
|
|
1400
1443
|
* @param DeleteHostScanTargetRequest
|
|
1401
1444
|
* @return DeleteHostScanTargetResponse
|
|
1402
1445
|
* @throws OciError when an error occurs
|
|
1403
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1446
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/DeleteHostScanTarget.ts.html |here} to see how to use DeleteHostScanTarget API.
|
|
1404
1447
|
*/
|
|
1405
1448
|
deleteHostScanTarget(deleteHostScanTargetRequest) {
|
|
1406
1449
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1407
1450
|
if (this.logger)
|
|
1408
1451
|
this.logger.debug("Calling operation VulnerabilityScanningClient#deleteHostScanTarget.");
|
|
1452
|
+
const operationName = "deleteHostScanTarget";
|
|
1453
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostScanTarget/DeleteHostScanTarget";
|
|
1409
1454
|
const pathParams = {
|
|
1410
1455
|
"{hostScanTargetId}": deleteHostScanTargetRequest.hostScanTargetId
|
|
1411
1456
|
};
|
|
@@ -1429,7 +1474,7 @@ class VulnerabilityScanningClient {
|
|
|
1429
1474
|
queryParams: queryParams
|
|
1430
1475
|
});
|
|
1431
1476
|
try {
|
|
1432
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1477
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1433
1478
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1434
1479
|
responseObject: {},
|
|
1435
1480
|
responseHeaders: [
|
|
@@ -1459,12 +1504,14 @@ class VulnerabilityScanningClient {
|
|
|
1459
1504
|
* @param ExportHostAgentScanResultCsvRequest
|
|
1460
1505
|
* @return ExportHostAgentScanResultCsvResponse
|
|
1461
1506
|
* @throws OciError when an error occurs
|
|
1462
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1507
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/ExportHostAgentScanResultCsv.ts.html |here} to see how to use ExportHostAgentScanResultCsv API.
|
|
1463
1508
|
*/
|
|
1464
1509
|
exportHostAgentScanResultCsv(exportHostAgentScanResultCsvRequest) {
|
|
1465
1510
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1466
1511
|
if (this.logger)
|
|
1467
1512
|
this.logger.debug("Calling operation VulnerabilityScanningClient#exportHostAgentScanResultCsv.");
|
|
1513
|
+
const operationName = "exportHostAgentScanResultCsv";
|
|
1514
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostAgentScanResult/ExportHostAgentScanResultCsv";
|
|
1468
1515
|
const pathParams = {};
|
|
1469
1516
|
const queryParams = {};
|
|
1470
1517
|
let headerParams = {
|
|
@@ -1486,7 +1533,7 @@ class VulnerabilityScanningClient {
|
|
|
1486
1533
|
queryParams: queryParams
|
|
1487
1534
|
});
|
|
1488
1535
|
try {
|
|
1489
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1536
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1490
1537
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1491
1538
|
responseObject: {},
|
|
1492
1539
|
body: response.body,
|
|
@@ -1514,12 +1561,14 @@ class VulnerabilityScanningClient {
|
|
|
1514
1561
|
* @param ExportHostVulnerabilityCsvRequest
|
|
1515
1562
|
* @return ExportHostVulnerabilityCsvResponse
|
|
1516
1563
|
* @throws OciError when an error occurs
|
|
1517
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1564
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/ExportHostVulnerabilityCsv.ts.html |here} to see how to use ExportHostVulnerabilityCsv API.
|
|
1518
1565
|
*/
|
|
1519
1566
|
exportHostVulnerabilityCsv(exportHostVulnerabilityCsvRequest) {
|
|
1520
1567
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1521
1568
|
if (this.logger)
|
|
1522
1569
|
this.logger.debug("Calling operation VulnerabilityScanningClient#exportHostVulnerabilityCsv.");
|
|
1570
|
+
const operationName = "exportHostVulnerabilityCsv";
|
|
1571
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostVulnerability/ExportHostVulnerabilityCsv";
|
|
1523
1572
|
const pathParams = {};
|
|
1524
1573
|
const queryParams = {};
|
|
1525
1574
|
let headerParams = {
|
|
@@ -1541,7 +1590,7 @@ class VulnerabilityScanningClient {
|
|
|
1541
1590
|
queryParams: queryParams
|
|
1542
1591
|
});
|
|
1543
1592
|
try {
|
|
1544
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1593
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1545
1594
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1546
1595
|
responseObject: {},
|
|
1547
1596
|
body: response.body,
|
|
@@ -1569,12 +1618,14 @@ class VulnerabilityScanningClient {
|
|
|
1569
1618
|
* @param GetContainerScanRecipeRequest
|
|
1570
1619
|
* @return GetContainerScanRecipeResponse
|
|
1571
1620
|
* @throws OciError when an error occurs
|
|
1572
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1621
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/GetContainerScanRecipe.ts.html |here} to see how to use GetContainerScanRecipe API.
|
|
1573
1622
|
*/
|
|
1574
1623
|
getContainerScanRecipe(getContainerScanRecipeRequest) {
|
|
1575
1624
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1576
1625
|
if (this.logger)
|
|
1577
1626
|
this.logger.debug("Calling operation VulnerabilityScanningClient#getContainerScanRecipe.");
|
|
1627
|
+
const operationName = "getContainerScanRecipe";
|
|
1628
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/ContainerScanRecipe/GetContainerScanRecipe";
|
|
1578
1629
|
const pathParams = {
|
|
1579
1630
|
"{containerScanRecipeId}": getContainerScanRecipeRequest.containerScanRecipeId
|
|
1580
1631
|
};
|
|
@@ -1597,7 +1648,7 @@ class VulnerabilityScanningClient {
|
|
|
1597
1648
|
queryParams: queryParams
|
|
1598
1649
|
});
|
|
1599
1650
|
try {
|
|
1600
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1651
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1601
1652
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1602
1653
|
responseObject: {},
|
|
1603
1654
|
body: yield response.json(),
|
|
@@ -1631,12 +1682,14 @@ class VulnerabilityScanningClient {
|
|
|
1631
1682
|
* @param GetContainerScanResultRequest
|
|
1632
1683
|
* @return GetContainerScanResultResponse
|
|
1633
1684
|
* @throws OciError when an error occurs
|
|
1634
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1685
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/GetContainerScanResult.ts.html |here} to see how to use GetContainerScanResult API.
|
|
1635
1686
|
*/
|
|
1636
1687
|
getContainerScanResult(getContainerScanResultRequest) {
|
|
1637
1688
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1638
1689
|
if (this.logger)
|
|
1639
1690
|
this.logger.debug("Calling operation VulnerabilityScanningClient#getContainerScanResult.");
|
|
1691
|
+
const operationName = "getContainerScanResult";
|
|
1692
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/ContainerScanResult/GetContainerScanResult";
|
|
1640
1693
|
const pathParams = {
|
|
1641
1694
|
"{containerScanResultId}": getContainerScanResultRequest.containerScanResultId
|
|
1642
1695
|
};
|
|
@@ -1659,7 +1712,7 @@ class VulnerabilityScanningClient {
|
|
|
1659
1712
|
queryParams: queryParams
|
|
1660
1713
|
});
|
|
1661
1714
|
try {
|
|
1662
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1715
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1663
1716
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1664
1717
|
responseObject: {},
|
|
1665
1718
|
body: yield response.json(),
|
|
@@ -1693,12 +1746,14 @@ class VulnerabilityScanningClient {
|
|
|
1693
1746
|
* @param GetContainerScanTargetRequest
|
|
1694
1747
|
* @return GetContainerScanTargetResponse
|
|
1695
1748
|
* @throws OciError when an error occurs
|
|
1696
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1749
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/GetContainerScanTarget.ts.html |here} to see how to use GetContainerScanTarget API.
|
|
1697
1750
|
*/
|
|
1698
1751
|
getContainerScanTarget(getContainerScanTargetRequest) {
|
|
1699
1752
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1700
1753
|
if (this.logger)
|
|
1701
1754
|
this.logger.debug("Calling operation VulnerabilityScanningClient#getContainerScanTarget.");
|
|
1755
|
+
const operationName = "getContainerScanTarget";
|
|
1756
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/ContainerScanTarget/GetContainerScanTarget";
|
|
1702
1757
|
const pathParams = {
|
|
1703
1758
|
"{containerScanTargetId}": getContainerScanTargetRequest.containerScanTargetId
|
|
1704
1759
|
};
|
|
@@ -1721,7 +1776,7 @@ class VulnerabilityScanningClient {
|
|
|
1721
1776
|
queryParams: queryParams
|
|
1722
1777
|
});
|
|
1723
1778
|
try {
|
|
1724
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1779
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1725
1780
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1726
1781
|
responseObject: {},
|
|
1727
1782
|
body: yield response.json(),
|
|
@@ -1755,12 +1810,14 @@ class VulnerabilityScanningClient {
|
|
|
1755
1810
|
* @param GetHostAgentScanResultRequest
|
|
1756
1811
|
* @return GetHostAgentScanResultResponse
|
|
1757
1812
|
* @throws OciError when an error occurs
|
|
1758
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1813
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/GetHostAgentScanResult.ts.html |here} to see how to use GetHostAgentScanResult API.
|
|
1759
1814
|
*/
|
|
1760
1815
|
getHostAgentScanResult(getHostAgentScanResultRequest) {
|
|
1761
1816
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1762
1817
|
if (this.logger)
|
|
1763
1818
|
this.logger.debug("Calling operation VulnerabilityScanningClient#getHostAgentScanResult.");
|
|
1819
|
+
const operationName = "getHostAgentScanResult";
|
|
1820
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostAgentScanResult/GetHostAgentScanResult";
|
|
1764
1821
|
const pathParams = {
|
|
1765
1822
|
"{hostAgentScanResultId}": getHostAgentScanResultRequest.hostAgentScanResultId
|
|
1766
1823
|
};
|
|
@@ -1783,7 +1840,7 @@ class VulnerabilityScanningClient {
|
|
|
1783
1840
|
queryParams: queryParams
|
|
1784
1841
|
});
|
|
1785
1842
|
try {
|
|
1786
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1843
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1787
1844
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1788
1845
|
responseObject: {},
|
|
1789
1846
|
body: yield response.json(),
|
|
@@ -1817,12 +1874,14 @@ class VulnerabilityScanningClient {
|
|
|
1817
1874
|
* @param GetHostCisBenchmarkScanResultRequest
|
|
1818
1875
|
* @return GetHostCisBenchmarkScanResultResponse
|
|
1819
1876
|
* @throws OciError when an error occurs
|
|
1820
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1877
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/GetHostCisBenchmarkScanResult.ts.html |here} to see how to use GetHostCisBenchmarkScanResult API.
|
|
1821
1878
|
*/
|
|
1822
1879
|
getHostCisBenchmarkScanResult(getHostCisBenchmarkScanResultRequest) {
|
|
1823
1880
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1824
1881
|
if (this.logger)
|
|
1825
1882
|
this.logger.debug("Calling operation VulnerabilityScanningClient#getHostCisBenchmarkScanResult.");
|
|
1883
|
+
const operationName = "getHostCisBenchmarkScanResult";
|
|
1884
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostCisBenchmarkScanResult/GetHostCisBenchmarkScanResult";
|
|
1826
1885
|
const pathParams = {
|
|
1827
1886
|
"{hostCisBenchmarkScanResultId}": getHostCisBenchmarkScanResultRequest.hostCisBenchmarkScanResultId
|
|
1828
1887
|
};
|
|
@@ -1845,7 +1904,7 @@ class VulnerabilityScanningClient {
|
|
|
1845
1904
|
queryParams: queryParams
|
|
1846
1905
|
});
|
|
1847
1906
|
try {
|
|
1848
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1907
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1849
1908
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1850
1909
|
responseObject: {},
|
|
1851
1910
|
body: yield response.json(),
|
|
@@ -1879,12 +1938,14 @@ class VulnerabilityScanningClient {
|
|
|
1879
1938
|
* @param GetHostEndpointProtectionScanResultRequest
|
|
1880
1939
|
* @return GetHostEndpointProtectionScanResultResponse
|
|
1881
1940
|
* @throws OciError when an error occurs
|
|
1882
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1941
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/GetHostEndpointProtectionScanResult.ts.html |here} to see how to use GetHostEndpointProtectionScanResult API.
|
|
1883
1942
|
*/
|
|
1884
1943
|
getHostEndpointProtectionScanResult(getHostEndpointProtectionScanResultRequest) {
|
|
1885
1944
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1886
1945
|
if (this.logger)
|
|
1887
1946
|
this.logger.debug("Calling operation VulnerabilityScanningClient#getHostEndpointProtectionScanResult.");
|
|
1947
|
+
const operationName = "getHostEndpointProtectionScanResult";
|
|
1948
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostEndpointProtectionScanResult/GetHostEndpointProtectionScanResult";
|
|
1888
1949
|
const pathParams = {
|
|
1889
1950
|
"{hostEndpointProtectionScanResultId}": getHostEndpointProtectionScanResultRequest.hostEndpointProtectionScanResultId
|
|
1890
1951
|
};
|
|
@@ -1907,7 +1968,7 @@ class VulnerabilityScanningClient {
|
|
|
1907
1968
|
queryParams: queryParams
|
|
1908
1969
|
});
|
|
1909
1970
|
try {
|
|
1910
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1971
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1911
1972
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1912
1973
|
responseObject: {},
|
|
1913
1974
|
body: yield response.json(),
|
|
@@ -1941,12 +2002,14 @@ class VulnerabilityScanningClient {
|
|
|
1941
2002
|
* @param GetHostPortScanResultRequest
|
|
1942
2003
|
* @return GetHostPortScanResultResponse
|
|
1943
2004
|
* @throws OciError when an error occurs
|
|
1944
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2005
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/GetHostPortScanResult.ts.html |here} to see how to use GetHostPortScanResult API.
|
|
1945
2006
|
*/
|
|
1946
2007
|
getHostPortScanResult(getHostPortScanResultRequest) {
|
|
1947
2008
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1948
2009
|
if (this.logger)
|
|
1949
2010
|
this.logger.debug("Calling operation VulnerabilityScanningClient#getHostPortScanResult.");
|
|
2011
|
+
const operationName = "getHostPortScanResult";
|
|
2012
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostPortScanResult/GetHostPortScanResult";
|
|
1950
2013
|
const pathParams = {
|
|
1951
2014
|
"{hostPortScanResultId}": getHostPortScanResultRequest.hostPortScanResultId
|
|
1952
2015
|
};
|
|
@@ -1969,7 +2032,7 @@ class VulnerabilityScanningClient {
|
|
|
1969
2032
|
queryParams: queryParams
|
|
1970
2033
|
});
|
|
1971
2034
|
try {
|
|
1972
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2035
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1973
2036
|
const sdkResponse = oci_common_1.composeResponse({
|
|
1974
2037
|
responseObject: {},
|
|
1975
2038
|
body: yield response.json(),
|
|
@@ -2003,12 +2066,14 @@ class VulnerabilityScanningClient {
|
|
|
2003
2066
|
* @param GetHostScanRecipeRequest
|
|
2004
2067
|
* @return GetHostScanRecipeResponse
|
|
2005
2068
|
* @throws OciError when an error occurs
|
|
2006
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2069
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/GetHostScanRecipe.ts.html |here} to see how to use GetHostScanRecipe API.
|
|
2007
2070
|
*/
|
|
2008
2071
|
getHostScanRecipe(getHostScanRecipeRequest) {
|
|
2009
2072
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2010
2073
|
if (this.logger)
|
|
2011
2074
|
this.logger.debug("Calling operation VulnerabilityScanningClient#getHostScanRecipe.");
|
|
2075
|
+
const operationName = "getHostScanRecipe";
|
|
2076
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostScanRecipe/GetHostScanRecipe";
|
|
2012
2077
|
const pathParams = {
|
|
2013
2078
|
"{hostScanRecipeId}": getHostScanRecipeRequest.hostScanRecipeId
|
|
2014
2079
|
};
|
|
@@ -2031,7 +2096,7 @@ class VulnerabilityScanningClient {
|
|
|
2031
2096
|
queryParams: queryParams
|
|
2032
2097
|
});
|
|
2033
2098
|
try {
|
|
2034
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2099
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2035
2100
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2036
2101
|
responseObject: {},
|
|
2037
2102
|
body: yield response.json(),
|
|
@@ -2065,12 +2130,14 @@ class VulnerabilityScanningClient {
|
|
|
2065
2130
|
* @param GetHostScanTargetRequest
|
|
2066
2131
|
* @return GetHostScanTargetResponse
|
|
2067
2132
|
* @throws OciError when an error occurs
|
|
2068
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2133
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/GetHostScanTarget.ts.html |here} to see how to use GetHostScanTarget API.
|
|
2069
2134
|
*/
|
|
2070
2135
|
getHostScanTarget(getHostScanTargetRequest) {
|
|
2071
2136
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2072
2137
|
if (this.logger)
|
|
2073
2138
|
this.logger.debug("Calling operation VulnerabilityScanningClient#getHostScanTarget.");
|
|
2139
|
+
const operationName = "getHostScanTarget";
|
|
2140
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostScanTarget/GetHostScanTarget";
|
|
2074
2141
|
const pathParams = {
|
|
2075
2142
|
"{hostScanTargetId}": getHostScanTargetRequest.hostScanTargetId
|
|
2076
2143
|
};
|
|
@@ -2093,7 +2160,7 @@ class VulnerabilityScanningClient {
|
|
|
2093
2160
|
queryParams: queryParams
|
|
2094
2161
|
});
|
|
2095
2162
|
try {
|
|
2096
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2163
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2097
2164
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2098
2165
|
responseObject: {},
|
|
2099
2166
|
body: yield response.json(),
|
|
@@ -2127,12 +2194,14 @@ class VulnerabilityScanningClient {
|
|
|
2127
2194
|
* @param GetHostVulnerabilityRequest
|
|
2128
2195
|
* @return GetHostVulnerabilityResponse
|
|
2129
2196
|
* @throws OciError when an error occurs
|
|
2130
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2197
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/GetHostVulnerability.ts.html |here} to see how to use GetHostVulnerability API.
|
|
2131
2198
|
*/
|
|
2132
2199
|
getHostVulnerability(getHostVulnerabilityRequest) {
|
|
2133
2200
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2134
2201
|
if (this.logger)
|
|
2135
2202
|
this.logger.debug("Calling operation VulnerabilityScanningClient#getHostVulnerability.");
|
|
2203
|
+
const operationName = "getHostVulnerability";
|
|
2204
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostVulnerability/GetHostVulnerability";
|
|
2136
2205
|
const pathParams = {
|
|
2137
2206
|
"{hostVulnerabilityId}": getHostVulnerabilityRequest.hostVulnerabilityId
|
|
2138
2207
|
};
|
|
@@ -2155,7 +2224,7 @@ class VulnerabilityScanningClient {
|
|
|
2155
2224
|
queryParams: queryParams
|
|
2156
2225
|
});
|
|
2157
2226
|
try {
|
|
2158
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2227
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2159
2228
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2160
2229
|
responseObject: {},
|
|
2161
2230
|
body: yield response.json(),
|
|
@@ -2189,12 +2258,14 @@ class VulnerabilityScanningClient {
|
|
|
2189
2258
|
* @param GetVulnerabilityRequest
|
|
2190
2259
|
* @return GetVulnerabilityResponse
|
|
2191
2260
|
* @throws OciError when an error occurs
|
|
2192
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2261
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/GetVulnerability.ts.html |here} to see how to use GetVulnerability API.
|
|
2193
2262
|
*/
|
|
2194
2263
|
getVulnerability(getVulnerabilityRequest) {
|
|
2195
2264
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2196
2265
|
if (this.logger)
|
|
2197
2266
|
this.logger.debug("Calling operation VulnerabilityScanningClient#getVulnerability.");
|
|
2267
|
+
const operationName = "getVulnerability";
|
|
2268
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/Vulnerability/GetVulnerability";
|
|
2198
2269
|
const pathParams = {
|
|
2199
2270
|
"{vulnerabilityId}": getVulnerabilityRequest.vulnerabilityId
|
|
2200
2271
|
};
|
|
@@ -2217,7 +2288,7 @@ class VulnerabilityScanningClient {
|
|
|
2217
2288
|
queryParams: queryParams
|
|
2218
2289
|
});
|
|
2219
2290
|
try {
|
|
2220
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2291
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2221
2292
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2222
2293
|
responseObject: {},
|
|
2223
2294
|
body: yield response.json(),
|
|
@@ -2251,12 +2322,14 @@ class VulnerabilityScanningClient {
|
|
|
2251
2322
|
* @param GetWorkRequestRequest
|
|
2252
2323
|
* @return GetWorkRequestResponse
|
|
2253
2324
|
* @throws OciError when an error occurs
|
|
2254
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2325
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
2255
2326
|
*/
|
|
2256
2327
|
getWorkRequest(getWorkRequestRequest) {
|
|
2257
2328
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2258
2329
|
if (this.logger)
|
|
2259
2330
|
this.logger.debug("Calling operation VulnerabilityScanningClient#getWorkRequest.");
|
|
2331
|
+
const operationName = "getWorkRequest";
|
|
2332
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/WorkRequest/GetWorkRequest";
|
|
2260
2333
|
const pathParams = {
|
|
2261
2334
|
"{workRequestId}": getWorkRequestRequest.workRequestId
|
|
2262
2335
|
};
|
|
@@ -2279,7 +2352,7 @@ class VulnerabilityScanningClient {
|
|
|
2279
2352
|
queryParams: queryParams
|
|
2280
2353
|
});
|
|
2281
2354
|
try {
|
|
2282
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2355
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2283
2356
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2284
2357
|
responseObject: {},
|
|
2285
2358
|
body: yield response.json(),
|
|
@@ -2313,12 +2386,14 @@ class VulnerabilityScanningClient {
|
|
|
2313
2386
|
* @param ListContainerScanRecipesRequest
|
|
2314
2387
|
* @return ListContainerScanRecipesResponse
|
|
2315
2388
|
* @throws OciError when an error occurs
|
|
2316
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2389
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/ListContainerScanRecipes.ts.html |here} to see how to use ListContainerScanRecipes API.
|
|
2317
2390
|
*/
|
|
2318
2391
|
listContainerScanRecipes(listContainerScanRecipesRequest) {
|
|
2319
2392
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2320
2393
|
if (this.logger)
|
|
2321
2394
|
this.logger.debug("Calling operation VulnerabilityScanningClient#listContainerScanRecipes.");
|
|
2395
|
+
const operationName = "listContainerScanRecipes";
|
|
2396
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/ContainerScanRecipe/ListContainerScanRecipes";
|
|
2322
2397
|
const pathParams = {};
|
|
2323
2398
|
const queryParams = {
|
|
2324
2399
|
"compartmentId": listContainerScanRecipesRequest.compartmentId,
|
|
@@ -2347,7 +2422,7 @@ class VulnerabilityScanningClient {
|
|
|
2347
2422
|
queryParams: queryParams
|
|
2348
2423
|
});
|
|
2349
2424
|
try {
|
|
2350
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2425
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2351
2426
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2352
2427
|
responseObject: {},
|
|
2353
2428
|
body: yield response.json(),
|
|
@@ -2381,12 +2456,14 @@ class VulnerabilityScanningClient {
|
|
|
2381
2456
|
* @param ListContainerScanResultsRequest
|
|
2382
2457
|
* @return ListContainerScanResultsResponse
|
|
2383
2458
|
* @throws OciError when an error occurs
|
|
2384
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2459
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/ListContainerScanResults.ts.html |here} to see how to use ListContainerScanResults API.
|
|
2385
2460
|
*/
|
|
2386
2461
|
listContainerScanResults(listContainerScanResultsRequest) {
|
|
2387
2462
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2388
2463
|
if (this.logger)
|
|
2389
2464
|
this.logger.debug("Calling operation VulnerabilityScanningClient#listContainerScanResults.");
|
|
2465
|
+
const operationName = "listContainerScanResults";
|
|
2466
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/ContainerScanResult/ListContainerScanResults";
|
|
2390
2467
|
const pathParams = {};
|
|
2391
2468
|
const queryParams = {
|
|
2392
2469
|
"compartmentId": listContainerScanResultsRequest.compartmentId,
|
|
@@ -2419,7 +2496,7 @@ class VulnerabilityScanningClient {
|
|
|
2419
2496
|
queryParams: queryParams
|
|
2420
2497
|
});
|
|
2421
2498
|
try {
|
|
2422
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2499
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2423
2500
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2424
2501
|
responseObject: {},
|
|
2425
2502
|
body: yield response.json(),
|
|
@@ -2453,12 +2530,14 @@ class VulnerabilityScanningClient {
|
|
|
2453
2530
|
* @param ListContainerScanTargetsRequest
|
|
2454
2531
|
* @return ListContainerScanTargetsResponse
|
|
2455
2532
|
* @throws OciError when an error occurs
|
|
2456
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2533
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/ListContainerScanTargets.ts.html |here} to see how to use ListContainerScanTargets API.
|
|
2457
2534
|
*/
|
|
2458
2535
|
listContainerScanTargets(listContainerScanTargetsRequest) {
|
|
2459
2536
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2460
2537
|
if (this.logger)
|
|
2461
2538
|
this.logger.debug("Calling operation VulnerabilityScanningClient#listContainerScanTargets.");
|
|
2539
|
+
const operationName = "listContainerScanTargets";
|
|
2540
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/ContainerScanTarget/ListContainerScanTargets";
|
|
2462
2541
|
const pathParams = {};
|
|
2463
2542
|
const queryParams = {
|
|
2464
2543
|
"compartmentId": listContainerScanTargetsRequest.compartmentId,
|
|
@@ -2487,7 +2566,7 @@ class VulnerabilityScanningClient {
|
|
|
2487
2566
|
queryParams: queryParams
|
|
2488
2567
|
});
|
|
2489
2568
|
try {
|
|
2490
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2569
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2491
2570
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2492
2571
|
responseObject: {},
|
|
2493
2572
|
body: yield response.json(),
|
|
@@ -2521,12 +2600,14 @@ class VulnerabilityScanningClient {
|
|
|
2521
2600
|
* @param ListHostAgentScanResultsRequest
|
|
2522
2601
|
* @return ListHostAgentScanResultsResponse
|
|
2523
2602
|
* @throws OciError when an error occurs
|
|
2524
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2603
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/ListHostAgentScanResults.ts.html |here} to see how to use ListHostAgentScanResults API.
|
|
2525
2604
|
*/
|
|
2526
2605
|
listHostAgentScanResults(listHostAgentScanResultsRequest) {
|
|
2527
2606
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2528
2607
|
if (this.logger)
|
|
2529
2608
|
this.logger.debug("Calling operation VulnerabilityScanningClient#listHostAgentScanResults.");
|
|
2609
|
+
const operationName = "listHostAgentScanResults";
|
|
2610
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostAgentScanResult/ListHostAgentScanResults";
|
|
2530
2611
|
const pathParams = {};
|
|
2531
2612
|
const queryParams = {
|
|
2532
2613
|
"compartmentId": listHostAgentScanResultsRequest.compartmentId,
|
|
@@ -2560,7 +2641,7 @@ class VulnerabilityScanningClient {
|
|
|
2560
2641
|
queryParams: queryParams
|
|
2561
2642
|
});
|
|
2562
2643
|
try {
|
|
2563
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2644
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2564
2645
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2565
2646
|
responseObject: {},
|
|
2566
2647
|
body: yield response.json(),
|
|
@@ -2594,12 +2675,14 @@ class VulnerabilityScanningClient {
|
|
|
2594
2675
|
* @param ListHostCisBenchmarkScanResultsRequest
|
|
2595
2676
|
* @return ListHostCisBenchmarkScanResultsResponse
|
|
2596
2677
|
* @throws OciError when an error occurs
|
|
2597
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2678
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/ListHostCisBenchmarkScanResults.ts.html |here} to see how to use ListHostCisBenchmarkScanResults API.
|
|
2598
2679
|
*/
|
|
2599
2680
|
listHostCisBenchmarkScanResults(listHostCisBenchmarkScanResultsRequest) {
|
|
2600
2681
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2601
2682
|
if (this.logger)
|
|
2602
2683
|
this.logger.debug("Calling operation VulnerabilityScanningClient#listHostCisBenchmarkScanResults.");
|
|
2684
|
+
const operationName = "listHostCisBenchmarkScanResults";
|
|
2685
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostCisBenchmarkScanResult/ListHostCisBenchmarkScanResults";
|
|
2603
2686
|
const pathParams = {};
|
|
2604
2687
|
const queryParams = {
|
|
2605
2688
|
"compartmentId": listHostCisBenchmarkScanResultsRequest.compartmentId,
|
|
@@ -2632,7 +2715,7 @@ class VulnerabilityScanningClient {
|
|
|
2632
2715
|
queryParams: queryParams
|
|
2633
2716
|
});
|
|
2634
2717
|
try {
|
|
2635
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2718
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2636
2719
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2637
2720
|
responseObject: {},
|
|
2638
2721
|
body: yield response.json(),
|
|
@@ -2666,12 +2749,14 @@ class VulnerabilityScanningClient {
|
|
|
2666
2749
|
* @param ListHostEndpointProtectionScanResultsRequest
|
|
2667
2750
|
* @return ListHostEndpointProtectionScanResultsResponse
|
|
2668
2751
|
* @throws OciError when an error occurs
|
|
2669
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2752
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/ListHostEndpointProtectionScanResults.ts.html |here} to see how to use ListHostEndpointProtectionScanResults API.
|
|
2670
2753
|
*/
|
|
2671
2754
|
listHostEndpointProtectionScanResults(listHostEndpointProtectionScanResultsRequest) {
|
|
2672
2755
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2673
2756
|
if (this.logger)
|
|
2674
2757
|
this.logger.debug("Calling operation VulnerabilityScanningClient#listHostEndpointProtectionScanResults.");
|
|
2758
|
+
const operationName = "listHostEndpointProtectionScanResults";
|
|
2759
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostEndpointProtectionScanResult/ListHostEndpointProtectionScanResults";
|
|
2675
2760
|
const pathParams = {};
|
|
2676
2761
|
const queryParams = {
|
|
2677
2762
|
"compartmentId": listHostEndpointProtectionScanResultsRequest.compartmentId,
|
|
@@ -2704,7 +2789,7 @@ class VulnerabilityScanningClient {
|
|
|
2704
2789
|
queryParams: queryParams
|
|
2705
2790
|
});
|
|
2706
2791
|
try {
|
|
2707
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2792
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2708
2793
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2709
2794
|
responseObject: {},
|
|
2710
2795
|
body: yield response.json(),
|
|
@@ -2738,12 +2823,14 @@ class VulnerabilityScanningClient {
|
|
|
2738
2823
|
* @param ListHostPortScanResultsRequest
|
|
2739
2824
|
* @return ListHostPortScanResultsResponse
|
|
2740
2825
|
* @throws OciError when an error occurs
|
|
2741
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2826
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/ListHostPortScanResults.ts.html |here} to see how to use ListHostPortScanResults API.
|
|
2742
2827
|
*/
|
|
2743
2828
|
listHostPortScanResults(listHostPortScanResultsRequest) {
|
|
2744
2829
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2745
2830
|
if (this.logger)
|
|
2746
2831
|
this.logger.debug("Calling operation VulnerabilityScanningClient#listHostPortScanResults.");
|
|
2832
|
+
const operationName = "listHostPortScanResults";
|
|
2833
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostPortScanResult/ListHostPortScanResults";
|
|
2747
2834
|
const pathParams = {};
|
|
2748
2835
|
const queryParams = {
|
|
2749
2836
|
"compartmentId": listHostPortScanResultsRequest.compartmentId,
|
|
@@ -2776,7 +2863,7 @@ class VulnerabilityScanningClient {
|
|
|
2776
2863
|
queryParams: queryParams
|
|
2777
2864
|
});
|
|
2778
2865
|
try {
|
|
2779
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2866
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2780
2867
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2781
2868
|
responseObject: {},
|
|
2782
2869
|
body: yield response.json(),
|
|
@@ -2810,12 +2897,14 @@ class VulnerabilityScanningClient {
|
|
|
2810
2897
|
* @param ListHostScanRecipesRequest
|
|
2811
2898
|
* @return ListHostScanRecipesResponse
|
|
2812
2899
|
* @throws OciError when an error occurs
|
|
2813
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2900
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/ListHostScanRecipes.ts.html |here} to see how to use ListHostScanRecipes API.
|
|
2814
2901
|
*/
|
|
2815
2902
|
listHostScanRecipes(listHostScanRecipesRequest) {
|
|
2816
2903
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2817
2904
|
if (this.logger)
|
|
2818
2905
|
this.logger.debug("Calling operation VulnerabilityScanningClient#listHostScanRecipes.");
|
|
2906
|
+
const operationName = "listHostScanRecipes";
|
|
2907
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostScanRecipe/ListHostScanRecipes";
|
|
2819
2908
|
const pathParams = {};
|
|
2820
2909
|
const queryParams = {
|
|
2821
2910
|
"compartmentId": listHostScanRecipesRequest.compartmentId,
|
|
@@ -2844,7 +2933,7 @@ class VulnerabilityScanningClient {
|
|
|
2844
2933
|
queryParams: queryParams
|
|
2845
2934
|
});
|
|
2846
2935
|
try {
|
|
2847
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2936
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2848
2937
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2849
2938
|
responseObject: {},
|
|
2850
2939
|
body: yield response.json(),
|
|
@@ -2878,12 +2967,14 @@ class VulnerabilityScanningClient {
|
|
|
2878
2967
|
* @param ListHostScanTargetsRequest
|
|
2879
2968
|
* @return ListHostScanTargetsResponse
|
|
2880
2969
|
* @throws OciError when an error occurs
|
|
2881
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2970
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/ListHostScanTargets.ts.html |here} to see how to use ListHostScanTargets API.
|
|
2882
2971
|
*/
|
|
2883
2972
|
listHostScanTargets(listHostScanTargetsRequest) {
|
|
2884
2973
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2885
2974
|
if (this.logger)
|
|
2886
2975
|
this.logger.debug("Calling operation VulnerabilityScanningClient#listHostScanTargets.");
|
|
2976
|
+
const operationName = "listHostScanTargets";
|
|
2977
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostScanTarget/ListHostScanTargets";
|
|
2887
2978
|
const pathParams = {};
|
|
2888
2979
|
const queryParams = {
|
|
2889
2980
|
"compartmentId": listHostScanTargetsRequest.compartmentId,
|
|
@@ -2912,7 +3003,7 @@ class VulnerabilityScanningClient {
|
|
|
2912
3003
|
queryParams: queryParams
|
|
2913
3004
|
});
|
|
2914
3005
|
try {
|
|
2915
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3006
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2916
3007
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2917
3008
|
responseObject: {},
|
|
2918
3009
|
body: yield response.json(),
|
|
@@ -2946,12 +3037,14 @@ class VulnerabilityScanningClient {
|
|
|
2946
3037
|
* @param ListHostVulnerabilitiesRequest
|
|
2947
3038
|
* @return ListHostVulnerabilitiesResponse
|
|
2948
3039
|
* @throws OciError when an error occurs
|
|
2949
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3040
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/ListHostVulnerabilities.ts.html |here} to see how to use ListHostVulnerabilities API.
|
|
2950
3041
|
*/
|
|
2951
3042
|
listHostVulnerabilities(listHostVulnerabilitiesRequest) {
|
|
2952
3043
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2953
3044
|
if (this.logger)
|
|
2954
3045
|
this.logger.debug("Calling operation VulnerabilityScanningClient#listHostVulnerabilities.");
|
|
3046
|
+
const operationName = "listHostVulnerabilities";
|
|
3047
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostVulnerability/ListHostVulnerabilities";
|
|
2955
3048
|
const pathParams = {};
|
|
2956
3049
|
const queryParams = {
|
|
2957
3050
|
"compartmentId": listHostVulnerabilitiesRequest.compartmentId,
|
|
@@ -2982,7 +3075,7 @@ class VulnerabilityScanningClient {
|
|
|
2982
3075
|
queryParams: queryParams
|
|
2983
3076
|
});
|
|
2984
3077
|
try {
|
|
2985
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3078
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2986
3079
|
const sdkResponse = oci_common_1.composeResponse({
|
|
2987
3080
|
responseObject: {},
|
|
2988
3081
|
body: yield response.json(),
|
|
@@ -3016,12 +3109,14 @@ class VulnerabilityScanningClient {
|
|
|
3016
3109
|
* @param ListHostVulnerabilityImpactedHostsRequest
|
|
3017
3110
|
* @return ListHostVulnerabilityImpactedHostsResponse
|
|
3018
3111
|
* @throws OciError when an error occurs
|
|
3019
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3112
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/ListHostVulnerabilityImpactedHosts.ts.html |here} to see how to use ListHostVulnerabilityImpactedHosts API.
|
|
3020
3113
|
*/
|
|
3021
3114
|
listHostVulnerabilityImpactedHosts(listHostVulnerabilityImpactedHostsRequest) {
|
|
3022
3115
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3023
3116
|
if (this.logger)
|
|
3024
3117
|
this.logger.debug("Calling operation VulnerabilityScanningClient#listHostVulnerabilityImpactedHosts.");
|
|
3118
|
+
const operationName = "listHostVulnerabilityImpactedHosts";
|
|
3119
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostVulnerability/ListHostVulnerabilityImpactedHosts";
|
|
3025
3120
|
const pathParams = {
|
|
3026
3121
|
"{hostVulnerabilityId}": listHostVulnerabilityImpactedHostsRequest.hostVulnerabilityId
|
|
3027
3122
|
};
|
|
@@ -3049,7 +3144,7 @@ class VulnerabilityScanningClient {
|
|
|
3049
3144
|
queryParams: queryParams
|
|
3050
3145
|
});
|
|
3051
3146
|
try {
|
|
3052
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3147
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3053
3148
|
const sdkResponse = oci_common_1.composeResponse({
|
|
3054
3149
|
responseObject: {},
|
|
3055
3150
|
body: yield response.json(),
|
|
@@ -3083,12 +3178,14 @@ class VulnerabilityScanningClient {
|
|
|
3083
3178
|
* @param ListVulnerabilitiesRequest
|
|
3084
3179
|
* @return ListVulnerabilitiesResponse
|
|
3085
3180
|
* @throws OciError when an error occurs
|
|
3086
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3181
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/ListVulnerabilities.ts.html |here} to see how to use ListVulnerabilities API.
|
|
3087
3182
|
*/
|
|
3088
3183
|
listVulnerabilities(listVulnerabilitiesRequest) {
|
|
3089
3184
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3090
3185
|
if (this.logger)
|
|
3091
3186
|
this.logger.debug("Calling operation VulnerabilityScanningClient#listVulnerabilities.");
|
|
3187
|
+
const operationName = "listVulnerabilities";
|
|
3188
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/Vulnerability/ListVulnerabilities";
|
|
3092
3189
|
const pathParams = {};
|
|
3093
3190
|
const queryParams = {
|
|
3094
3191
|
"compartmentId": listVulnerabilitiesRequest.compartmentId,
|
|
@@ -3119,7 +3216,7 @@ class VulnerabilityScanningClient {
|
|
|
3119
3216
|
queryParams: queryParams
|
|
3120
3217
|
});
|
|
3121
3218
|
try {
|
|
3122
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3219
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3123
3220
|
const sdkResponse = oci_common_1.composeResponse({
|
|
3124
3221
|
responseObject: {},
|
|
3125
3222
|
body: yield response.json(),
|
|
@@ -3153,12 +3250,14 @@ class VulnerabilityScanningClient {
|
|
|
3153
3250
|
* @param ListVulnerabilityImpactedContainersRequest
|
|
3154
3251
|
* @return ListVulnerabilityImpactedContainersResponse
|
|
3155
3252
|
* @throws OciError when an error occurs
|
|
3156
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3253
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/ListVulnerabilityImpactedContainers.ts.html |here} to see how to use ListVulnerabilityImpactedContainers API.
|
|
3157
3254
|
*/
|
|
3158
3255
|
listVulnerabilityImpactedContainers(listVulnerabilityImpactedContainersRequest) {
|
|
3159
3256
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3160
3257
|
if (this.logger)
|
|
3161
3258
|
this.logger.debug("Calling operation VulnerabilityScanningClient#listVulnerabilityImpactedContainers.");
|
|
3259
|
+
const operationName = "listVulnerabilityImpactedContainers";
|
|
3260
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/Vulnerability/ListVulnerabilityImpactedContainers";
|
|
3162
3261
|
const pathParams = {
|
|
3163
3262
|
"{vulnerabilityId}": listVulnerabilityImpactedContainersRequest.vulnerabilityId
|
|
3164
3263
|
};
|
|
@@ -3186,7 +3285,7 @@ class VulnerabilityScanningClient {
|
|
|
3186
3285
|
queryParams: queryParams
|
|
3187
3286
|
});
|
|
3188
3287
|
try {
|
|
3189
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3288
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3190
3289
|
const sdkResponse = oci_common_1.composeResponse({
|
|
3191
3290
|
responseObject: {},
|
|
3192
3291
|
body: yield response.json(),
|
|
@@ -3220,12 +3319,14 @@ class VulnerabilityScanningClient {
|
|
|
3220
3319
|
* @param ListVulnerabilityImpactedHostsRequest
|
|
3221
3320
|
* @return ListVulnerabilityImpactedHostsResponse
|
|
3222
3321
|
* @throws OciError when an error occurs
|
|
3223
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3322
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/ListVulnerabilityImpactedHosts.ts.html |here} to see how to use ListVulnerabilityImpactedHosts API.
|
|
3224
3323
|
*/
|
|
3225
3324
|
listVulnerabilityImpactedHosts(listVulnerabilityImpactedHostsRequest) {
|
|
3226
3325
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3227
3326
|
if (this.logger)
|
|
3228
3327
|
this.logger.debug("Calling operation VulnerabilityScanningClient#listVulnerabilityImpactedHosts.");
|
|
3328
|
+
const operationName = "listVulnerabilityImpactedHosts";
|
|
3329
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/Vulnerability/ListVulnerabilityImpactedHosts";
|
|
3229
3330
|
const pathParams = {
|
|
3230
3331
|
"{vulnerabilityId}": listVulnerabilityImpactedHostsRequest.vulnerabilityId
|
|
3231
3332
|
};
|
|
@@ -3253,7 +3354,7 @@ class VulnerabilityScanningClient {
|
|
|
3253
3354
|
queryParams: queryParams
|
|
3254
3355
|
});
|
|
3255
3356
|
try {
|
|
3256
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3357
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3257
3358
|
const sdkResponse = oci_common_1.composeResponse({
|
|
3258
3359
|
responseObject: {},
|
|
3259
3360
|
body: yield response.json(),
|
|
@@ -3287,12 +3388,14 @@ class VulnerabilityScanningClient {
|
|
|
3287
3388
|
* @param ListWorkRequestErrorsRequest
|
|
3288
3389
|
* @return ListWorkRequestErrorsResponse
|
|
3289
3390
|
* @throws OciError when an error occurs
|
|
3290
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3391
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
3291
3392
|
*/
|
|
3292
3393
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
3293
3394
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3294
3395
|
if (this.logger)
|
|
3295
3396
|
this.logger.debug("Calling operation VulnerabilityScanningClient#listWorkRequestErrors.");
|
|
3397
|
+
const operationName = "listWorkRequestErrors";
|
|
3398
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/WorkRequestError/ListWorkRequestErrors";
|
|
3296
3399
|
const pathParams = {
|
|
3297
3400
|
"{workRequestId}": listWorkRequestErrorsRequest.workRequestId
|
|
3298
3401
|
};
|
|
@@ -3318,7 +3421,7 @@ class VulnerabilityScanningClient {
|
|
|
3318
3421
|
queryParams: queryParams
|
|
3319
3422
|
});
|
|
3320
3423
|
try {
|
|
3321
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3424
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3322
3425
|
const sdkResponse = oci_common_1.composeResponse({
|
|
3323
3426
|
responseObject: {},
|
|
3324
3427
|
body: yield response.json(),
|
|
@@ -3352,12 +3455,14 @@ class VulnerabilityScanningClient {
|
|
|
3352
3455
|
* @param ListWorkRequestLogsRequest
|
|
3353
3456
|
* @return ListWorkRequestLogsResponse
|
|
3354
3457
|
* @throws OciError when an error occurs
|
|
3355
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3458
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
3356
3459
|
*/
|
|
3357
3460
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
3358
3461
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3359
3462
|
if (this.logger)
|
|
3360
3463
|
this.logger.debug("Calling operation VulnerabilityScanningClient#listWorkRequestLogs.");
|
|
3464
|
+
const operationName = "listWorkRequestLogs";
|
|
3465
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/WorkRequestLogEntry/ListWorkRequestLogs";
|
|
3361
3466
|
const pathParams = {
|
|
3362
3467
|
"{workRequestId}": listWorkRequestLogsRequest.workRequestId
|
|
3363
3468
|
};
|
|
@@ -3383,7 +3488,7 @@ class VulnerabilityScanningClient {
|
|
|
3383
3488
|
queryParams: queryParams
|
|
3384
3489
|
});
|
|
3385
3490
|
try {
|
|
3386
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3491
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3387
3492
|
const sdkResponse = oci_common_1.composeResponse({
|
|
3388
3493
|
responseObject: {},
|
|
3389
3494
|
body: yield response.json(),
|
|
@@ -3417,12 +3522,14 @@ class VulnerabilityScanningClient {
|
|
|
3417
3522
|
* @param ListWorkRequestsRequest
|
|
3418
3523
|
* @return ListWorkRequestsResponse
|
|
3419
3524
|
* @throws OciError when an error occurs
|
|
3420
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3525
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
3421
3526
|
*/
|
|
3422
3527
|
listWorkRequests(listWorkRequestsRequest) {
|
|
3423
3528
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3424
3529
|
if (this.logger)
|
|
3425
3530
|
this.logger.debug("Calling operation VulnerabilityScanningClient#listWorkRequests.");
|
|
3531
|
+
const operationName = "listWorkRequests";
|
|
3532
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/WorkRequest/ListWorkRequests";
|
|
3426
3533
|
const pathParams = {};
|
|
3427
3534
|
const queryParams = {
|
|
3428
3535
|
"compartmentId": listWorkRequestsRequest.compartmentId,
|
|
@@ -3447,7 +3554,7 @@ class VulnerabilityScanningClient {
|
|
|
3447
3554
|
queryParams: queryParams
|
|
3448
3555
|
});
|
|
3449
3556
|
try {
|
|
3450
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3557
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3451
3558
|
const sdkResponse = oci_common_1.composeResponse({
|
|
3452
3559
|
responseObject: {},
|
|
3453
3560
|
body: yield response.json(),
|
|
@@ -3481,12 +3588,14 @@ class VulnerabilityScanningClient {
|
|
|
3481
3588
|
* @param UpdateContainerScanRecipeRequest
|
|
3482
3589
|
* @return UpdateContainerScanRecipeResponse
|
|
3483
3590
|
* @throws OciError when an error occurs
|
|
3484
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3591
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/UpdateContainerScanRecipe.ts.html |here} to see how to use UpdateContainerScanRecipe API.
|
|
3485
3592
|
*/
|
|
3486
3593
|
updateContainerScanRecipe(updateContainerScanRecipeRequest) {
|
|
3487
3594
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3488
3595
|
if (this.logger)
|
|
3489
3596
|
this.logger.debug("Calling operation VulnerabilityScanningClient#updateContainerScanRecipe.");
|
|
3597
|
+
const operationName = "updateContainerScanRecipe";
|
|
3598
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/ContainerScanRecipe/UpdateContainerScanRecipe";
|
|
3490
3599
|
const pathParams = {
|
|
3491
3600
|
"{containerScanRecipeId}": updateContainerScanRecipeRequest.containerScanRecipeId
|
|
3492
3601
|
};
|
|
@@ -3511,7 +3620,7 @@ class VulnerabilityScanningClient {
|
|
|
3511
3620
|
queryParams: queryParams
|
|
3512
3621
|
});
|
|
3513
3622
|
try {
|
|
3514
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3623
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3515
3624
|
const sdkResponse = oci_common_1.composeResponse({
|
|
3516
3625
|
responseObject: {},
|
|
3517
3626
|
responseHeaders: [
|
|
@@ -3541,12 +3650,14 @@ class VulnerabilityScanningClient {
|
|
|
3541
3650
|
* @param UpdateContainerScanTargetRequest
|
|
3542
3651
|
* @return UpdateContainerScanTargetResponse
|
|
3543
3652
|
* @throws OciError when an error occurs
|
|
3544
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3653
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/UpdateContainerScanTarget.ts.html |here} to see how to use UpdateContainerScanTarget API.
|
|
3545
3654
|
*/
|
|
3546
3655
|
updateContainerScanTarget(updateContainerScanTargetRequest) {
|
|
3547
3656
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3548
3657
|
if (this.logger)
|
|
3549
3658
|
this.logger.debug("Calling operation VulnerabilityScanningClient#updateContainerScanTarget.");
|
|
3659
|
+
const operationName = "updateContainerScanTarget";
|
|
3660
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/ContainerScanTarget/UpdateContainerScanTarget";
|
|
3550
3661
|
const pathParams = {
|
|
3551
3662
|
"{containerScanTargetId}": updateContainerScanTargetRequest.containerScanTargetId
|
|
3552
3663
|
};
|
|
@@ -3571,7 +3682,7 @@ class VulnerabilityScanningClient {
|
|
|
3571
3682
|
queryParams: queryParams
|
|
3572
3683
|
});
|
|
3573
3684
|
try {
|
|
3574
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3685
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3575
3686
|
const sdkResponse = oci_common_1.composeResponse({
|
|
3576
3687
|
responseObject: {},
|
|
3577
3688
|
responseHeaders: [
|
|
@@ -3601,12 +3712,14 @@ class VulnerabilityScanningClient {
|
|
|
3601
3712
|
* @param UpdateHostScanRecipeRequest
|
|
3602
3713
|
* @return UpdateHostScanRecipeResponse
|
|
3603
3714
|
* @throws OciError when an error occurs
|
|
3604
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3715
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/UpdateHostScanRecipe.ts.html |here} to see how to use UpdateHostScanRecipe API.
|
|
3605
3716
|
*/
|
|
3606
3717
|
updateHostScanRecipe(updateHostScanRecipeRequest) {
|
|
3607
3718
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3608
3719
|
if (this.logger)
|
|
3609
3720
|
this.logger.debug("Calling operation VulnerabilityScanningClient#updateHostScanRecipe.");
|
|
3721
|
+
const operationName = "updateHostScanRecipe";
|
|
3722
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostScanRecipe/UpdateHostScanRecipe";
|
|
3610
3723
|
const pathParams = {
|
|
3611
3724
|
"{hostScanRecipeId}": updateHostScanRecipeRequest.hostScanRecipeId
|
|
3612
3725
|
};
|
|
@@ -3631,7 +3744,7 @@ class VulnerabilityScanningClient {
|
|
|
3631
3744
|
queryParams: queryParams
|
|
3632
3745
|
});
|
|
3633
3746
|
try {
|
|
3634
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3747
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3635
3748
|
const sdkResponse = oci_common_1.composeResponse({
|
|
3636
3749
|
responseObject: {},
|
|
3637
3750
|
responseHeaders: [
|
|
@@ -3661,12 +3774,14 @@ class VulnerabilityScanningClient {
|
|
|
3661
3774
|
* @param UpdateHostScanTargetRequest
|
|
3662
3775
|
* @return UpdateHostScanTargetResponse
|
|
3663
3776
|
* @throws OciError when an error occurs
|
|
3664
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3777
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.28.0/vulnerabilityscanning/UpdateHostScanTarget.ts.html |here} to see how to use UpdateHostScanTarget API.
|
|
3665
3778
|
*/
|
|
3666
3779
|
updateHostScanTarget(updateHostScanTargetRequest) {
|
|
3667
3780
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3668
3781
|
if (this.logger)
|
|
3669
3782
|
this.logger.debug("Calling operation VulnerabilityScanningClient#updateHostScanTarget.");
|
|
3783
|
+
const operationName = "updateHostScanTarget";
|
|
3784
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostScanTarget/UpdateHostScanTarget";
|
|
3670
3785
|
const pathParams = {
|
|
3671
3786
|
"{hostScanTargetId}": updateHostScanTargetRequest.hostScanTargetId
|
|
3672
3787
|
};
|
|
@@ -3691,7 +3806,7 @@ class VulnerabilityScanningClient {
|
|
|
3691
3806
|
queryParams: queryParams
|
|
3692
3807
|
});
|
|
3693
3808
|
try {
|
|
3694
|
-
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3809
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3695
3810
|
const sdkResponse = oci_common_1.composeResponse({
|
|
3696
3811
|
responseObject: {},
|
|
3697
3812
|
responseHeaders: [
|