oci-vulnerabilityscanning 2.79.1 → 2.81.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 +60 -59
- package/lib/client.js +298 -119
- package/lib/client.js.map +1 -1
- package/lib/model/container-scan-registry.js +4 -2
- package/lib/model/container-scan-registry.js.map +1 -1
- package/lib/model/create-container-scan-registry-details.js +4 -2
- package/lib/model/create-container-scan-registry-details.js.map +1 -1
- package/lib/model/host-scan-agent-configuration.js +4 -2
- package/lib/model/host-scan-agent-configuration.js.map +1 -1
- package/lib/model/update-container-scan-registry-details.js +4 -2
- package/lib/model/update-container-scan-registry-details.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-target-errors-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
|
@@ -57,7 +57,7 @@ var VulnerabilityScanningApiKeys;
|
|
|
57
57
|
*/
|
|
58
58
|
class VulnerabilityScanningClient {
|
|
59
59
|
constructor(params, clientConfiguration) {
|
|
60
|
-
this["_realmSpecificEndpointTemplateEnabled"] =
|
|
60
|
+
this["_realmSpecificEndpointTemplateEnabled"] = undefined;
|
|
61
61
|
this["_endpoint"] = "";
|
|
62
62
|
this["_defaultHeaders"] = {};
|
|
63
63
|
this._circuitBreaker = null;
|
|
@@ -116,7 +116,11 @@ class VulnerabilityScanningClient {
|
|
|
116
116
|
set endpoint(endpoint) {
|
|
117
117
|
this._endpoint = endpoint;
|
|
118
118
|
this._endpoint = this._endpoint + "/20210215";
|
|
119
|
-
|
|
119
|
+
if (this.logger)
|
|
120
|
+
this.logger.info(`VulnerabilityScanningClient endpoint set to ${this._endpoint}`);
|
|
121
|
+
}
|
|
122
|
+
get logger() {
|
|
123
|
+
return common.LOG.logger;
|
|
120
124
|
}
|
|
121
125
|
/**
|
|
122
126
|
* Determines whether realm specific endpoint should be used or not.
|
|
@@ -125,7 +129,8 @@ class VulnerabilityScanningClient {
|
|
|
125
129
|
*/
|
|
126
130
|
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
127
131
|
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
128
|
-
|
|
132
|
+
if (this.logger)
|
|
133
|
+
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
129
134
|
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
130
135
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(VulnerabilityScanningClient.serviceEndpointTemplate, this._region, VulnerabilityScanningClient.endpointServiceName);
|
|
131
136
|
}
|
|
@@ -192,11 +197,12 @@ class VulnerabilityScanningClient {
|
|
|
192
197
|
* @param ChangeContainerScanRecipeCompartmentRequest
|
|
193
198
|
* @return ChangeContainerScanRecipeCompartmentResponse
|
|
194
199
|
* @throws OciError when an error occurs
|
|
195
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
200
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/ChangeContainerScanRecipeCompartment.ts.html |here} to see how to use ChangeContainerScanRecipeCompartment API.
|
|
196
201
|
*/
|
|
197
202
|
changeContainerScanRecipeCompartment(changeContainerScanRecipeCompartmentRequest) {
|
|
198
203
|
return __awaiter(this, void 0, void 0, function* () {
|
|
199
|
-
|
|
204
|
+
if (this.logger)
|
|
205
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#changeContainerScanRecipeCompartment.");
|
|
200
206
|
const operationName = "changeContainerScanRecipeCompartment";
|
|
201
207
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/ContainerScanRecipe/ChangeContainerScanRecipeCompartment";
|
|
202
208
|
const pathParams = {
|
|
@@ -211,6 +217,8 @@ class VulnerabilityScanningClient {
|
|
|
211
217
|
};
|
|
212
218
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
213
219
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeContainerScanRecipeCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
220
|
+
if (this.logger)
|
|
221
|
+
retrier.logger = this.logger;
|
|
214
222
|
const request = yield oci_common_1.composeRequest({
|
|
215
223
|
baseEndpoint: this._endpoint,
|
|
216
224
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -247,11 +255,12 @@ class VulnerabilityScanningClient {
|
|
|
247
255
|
* @param ChangeContainerScanResultCompartmentRequest
|
|
248
256
|
* @return ChangeContainerScanResultCompartmentResponse
|
|
249
257
|
* @throws OciError when an error occurs
|
|
250
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
258
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/ChangeContainerScanResultCompartment.ts.html |here} to see how to use ChangeContainerScanResultCompartment API.
|
|
251
259
|
*/
|
|
252
260
|
changeContainerScanResultCompartment(changeContainerScanResultCompartmentRequest) {
|
|
253
261
|
return __awaiter(this, void 0, void 0, function* () {
|
|
254
|
-
|
|
262
|
+
if (this.logger)
|
|
263
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#changeContainerScanResultCompartment.");
|
|
255
264
|
const operationName = "changeContainerScanResultCompartment";
|
|
256
265
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/ContainerScanResult/ChangeContainerScanResultCompartment";
|
|
257
266
|
const pathParams = {
|
|
@@ -266,6 +275,8 @@ class VulnerabilityScanningClient {
|
|
|
266
275
|
};
|
|
267
276
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
268
277
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeContainerScanResultCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
278
|
+
if (this.logger)
|
|
279
|
+
retrier.logger = this.logger;
|
|
269
280
|
const request = yield oci_common_1.composeRequest({
|
|
270
281
|
baseEndpoint: this._endpoint,
|
|
271
282
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -302,11 +313,12 @@ class VulnerabilityScanningClient {
|
|
|
302
313
|
* @param ChangeContainerScanTargetCompartmentRequest
|
|
303
314
|
* @return ChangeContainerScanTargetCompartmentResponse
|
|
304
315
|
* @throws OciError when an error occurs
|
|
305
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
316
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/ChangeContainerScanTargetCompartment.ts.html |here} to see how to use ChangeContainerScanTargetCompartment API.
|
|
306
317
|
*/
|
|
307
318
|
changeContainerScanTargetCompartment(changeContainerScanTargetCompartmentRequest) {
|
|
308
319
|
return __awaiter(this, void 0, void 0, function* () {
|
|
309
|
-
|
|
320
|
+
if (this.logger)
|
|
321
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#changeContainerScanTargetCompartment.");
|
|
310
322
|
const operationName = "changeContainerScanTargetCompartment";
|
|
311
323
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/ContainerScanTarget/ChangeContainerScanTargetCompartment";
|
|
312
324
|
const pathParams = {
|
|
@@ -321,6 +333,8 @@ class VulnerabilityScanningClient {
|
|
|
321
333
|
};
|
|
322
334
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
323
335
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeContainerScanTargetCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
336
|
+
if (this.logger)
|
|
337
|
+
retrier.logger = this.logger;
|
|
324
338
|
const request = yield oci_common_1.composeRequest({
|
|
325
339
|
baseEndpoint: this._endpoint,
|
|
326
340
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -357,11 +371,12 @@ class VulnerabilityScanningClient {
|
|
|
357
371
|
* @param ChangeHostAgentScanResultCompartmentRequest
|
|
358
372
|
* @return ChangeHostAgentScanResultCompartmentResponse
|
|
359
373
|
* @throws OciError when an error occurs
|
|
360
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
374
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/ChangeHostAgentScanResultCompartment.ts.html |here} to see how to use ChangeHostAgentScanResultCompartment API.
|
|
361
375
|
*/
|
|
362
376
|
changeHostAgentScanResultCompartment(changeHostAgentScanResultCompartmentRequest) {
|
|
363
377
|
return __awaiter(this, void 0, void 0, function* () {
|
|
364
|
-
|
|
378
|
+
if (this.logger)
|
|
379
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#changeHostAgentScanResultCompartment.");
|
|
365
380
|
const operationName = "changeHostAgentScanResultCompartment";
|
|
366
381
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostAgentScanResult/ChangeHostAgentScanResultCompartment";
|
|
367
382
|
const pathParams = {
|
|
@@ -376,6 +391,8 @@ class VulnerabilityScanningClient {
|
|
|
376
391
|
};
|
|
377
392
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
378
393
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeHostAgentScanResultCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
394
|
+
if (this.logger)
|
|
395
|
+
retrier.logger = this.logger;
|
|
379
396
|
const request = yield oci_common_1.composeRequest({
|
|
380
397
|
baseEndpoint: this._endpoint,
|
|
381
398
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -412,11 +429,12 @@ class VulnerabilityScanningClient {
|
|
|
412
429
|
* @param ChangeHostCisBenchmarkScanResultCompartmentRequest
|
|
413
430
|
* @return ChangeHostCisBenchmarkScanResultCompartmentResponse
|
|
414
431
|
* @throws OciError when an error occurs
|
|
415
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
432
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/ChangeHostCisBenchmarkScanResultCompartment.ts.html |here} to see how to use ChangeHostCisBenchmarkScanResultCompartment API.
|
|
416
433
|
*/
|
|
417
434
|
changeHostCisBenchmarkScanResultCompartment(changeHostCisBenchmarkScanResultCompartmentRequest) {
|
|
418
435
|
return __awaiter(this, void 0, void 0, function* () {
|
|
419
|
-
|
|
436
|
+
if (this.logger)
|
|
437
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#changeHostCisBenchmarkScanResultCompartment.");
|
|
420
438
|
const operationName = "changeHostCisBenchmarkScanResultCompartment";
|
|
421
439
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostCisBenchmarkScanResult/ChangeHostCisBenchmarkScanResultCompartment";
|
|
422
440
|
const pathParams = {
|
|
@@ -431,6 +449,8 @@ class VulnerabilityScanningClient {
|
|
|
431
449
|
};
|
|
432
450
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
433
451
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeHostCisBenchmarkScanResultCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
452
|
+
if (this.logger)
|
|
453
|
+
retrier.logger = this.logger;
|
|
434
454
|
const request = yield oci_common_1.composeRequest({
|
|
435
455
|
baseEndpoint: this._endpoint,
|
|
436
456
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -467,11 +487,12 @@ class VulnerabilityScanningClient {
|
|
|
467
487
|
* @param ChangeHostEndpointProtectionScanResultCompartmentRequest
|
|
468
488
|
* @return ChangeHostEndpointProtectionScanResultCompartmentResponse
|
|
469
489
|
* @throws OciError when an error occurs
|
|
470
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
490
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/ChangeHostEndpointProtectionScanResultCompartment.ts.html |here} to see how to use ChangeHostEndpointProtectionScanResultCompartment API.
|
|
471
491
|
*/
|
|
472
492
|
changeHostEndpointProtectionScanResultCompartment(changeHostEndpointProtectionScanResultCompartmentRequest) {
|
|
473
493
|
return __awaiter(this, void 0, void 0, function* () {
|
|
474
|
-
|
|
494
|
+
if (this.logger)
|
|
495
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#changeHostEndpointProtectionScanResultCompartment.");
|
|
475
496
|
const operationName = "changeHostEndpointProtectionScanResultCompartment";
|
|
476
497
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostEndpointProtectionScanResult/ChangeHostEndpointProtectionScanResultCompartment";
|
|
477
498
|
const pathParams = {
|
|
@@ -486,6 +507,8 @@ class VulnerabilityScanningClient {
|
|
|
486
507
|
};
|
|
487
508
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
488
509
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeHostEndpointProtectionScanResultCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
510
|
+
if (this.logger)
|
|
511
|
+
retrier.logger = this.logger;
|
|
489
512
|
const request = yield oci_common_1.composeRequest({
|
|
490
513
|
baseEndpoint: this._endpoint,
|
|
491
514
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -522,11 +545,12 @@ class VulnerabilityScanningClient {
|
|
|
522
545
|
* @param ChangeHostPortScanResultCompartmentRequest
|
|
523
546
|
* @return ChangeHostPortScanResultCompartmentResponse
|
|
524
547
|
* @throws OciError when an error occurs
|
|
525
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
548
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/ChangeHostPortScanResultCompartment.ts.html |here} to see how to use ChangeHostPortScanResultCompartment API.
|
|
526
549
|
*/
|
|
527
550
|
changeHostPortScanResultCompartment(changeHostPortScanResultCompartmentRequest) {
|
|
528
551
|
return __awaiter(this, void 0, void 0, function* () {
|
|
529
|
-
|
|
552
|
+
if (this.logger)
|
|
553
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#changeHostPortScanResultCompartment.");
|
|
530
554
|
const operationName = "changeHostPortScanResultCompartment";
|
|
531
555
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostPortScanResult/ChangeHostPortScanResultCompartment";
|
|
532
556
|
const pathParams = {
|
|
@@ -541,6 +565,8 @@ class VulnerabilityScanningClient {
|
|
|
541
565
|
};
|
|
542
566
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
543
567
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeHostPortScanResultCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
568
|
+
if (this.logger)
|
|
569
|
+
retrier.logger = this.logger;
|
|
544
570
|
const request = yield oci_common_1.composeRequest({
|
|
545
571
|
baseEndpoint: this._endpoint,
|
|
546
572
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -577,11 +603,12 @@ class VulnerabilityScanningClient {
|
|
|
577
603
|
* @param ChangeHostScanRecipeCompartmentRequest
|
|
578
604
|
* @return ChangeHostScanRecipeCompartmentResponse
|
|
579
605
|
* @throws OciError when an error occurs
|
|
580
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
606
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/ChangeHostScanRecipeCompartment.ts.html |here} to see how to use ChangeHostScanRecipeCompartment API.
|
|
581
607
|
*/
|
|
582
608
|
changeHostScanRecipeCompartment(changeHostScanRecipeCompartmentRequest) {
|
|
583
609
|
return __awaiter(this, void 0, void 0, function* () {
|
|
584
|
-
|
|
610
|
+
if (this.logger)
|
|
611
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#changeHostScanRecipeCompartment.");
|
|
585
612
|
const operationName = "changeHostScanRecipeCompartment";
|
|
586
613
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostScanRecipe/ChangeHostScanRecipeCompartment";
|
|
587
614
|
const pathParams = {
|
|
@@ -596,6 +623,8 @@ class VulnerabilityScanningClient {
|
|
|
596
623
|
};
|
|
597
624
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
598
625
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeHostScanRecipeCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
626
|
+
if (this.logger)
|
|
627
|
+
retrier.logger = this.logger;
|
|
599
628
|
const request = yield oci_common_1.composeRequest({
|
|
600
629
|
baseEndpoint: this._endpoint,
|
|
601
630
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -632,11 +661,12 @@ class VulnerabilityScanningClient {
|
|
|
632
661
|
* @param ChangeHostScanTargetCompartmentRequest
|
|
633
662
|
* @return ChangeHostScanTargetCompartmentResponse
|
|
634
663
|
* @throws OciError when an error occurs
|
|
635
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
664
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/ChangeHostScanTargetCompartment.ts.html |here} to see how to use ChangeHostScanTargetCompartment API.
|
|
636
665
|
*/
|
|
637
666
|
changeHostScanTargetCompartment(changeHostScanTargetCompartmentRequest) {
|
|
638
667
|
return __awaiter(this, void 0, void 0, function* () {
|
|
639
|
-
|
|
668
|
+
if (this.logger)
|
|
669
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#changeHostScanTargetCompartment.");
|
|
640
670
|
const operationName = "changeHostScanTargetCompartment";
|
|
641
671
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostScanTarget/ChangeHostScanTargetCompartment";
|
|
642
672
|
const pathParams = {
|
|
@@ -651,6 +681,8 @@ class VulnerabilityScanningClient {
|
|
|
651
681
|
};
|
|
652
682
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
653
683
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeHostScanTargetCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
684
|
+
if (this.logger)
|
|
685
|
+
retrier.logger = this.logger;
|
|
654
686
|
const request = yield oci_common_1.composeRequest({
|
|
655
687
|
baseEndpoint: this._endpoint,
|
|
656
688
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -687,11 +719,12 @@ class VulnerabilityScanningClient {
|
|
|
687
719
|
* @param CreateContainerScanRecipeRequest
|
|
688
720
|
* @return CreateContainerScanRecipeResponse
|
|
689
721
|
* @throws OciError when an error occurs
|
|
690
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
722
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/CreateContainerScanRecipe.ts.html |here} to see how to use CreateContainerScanRecipe API.
|
|
691
723
|
*/
|
|
692
724
|
createContainerScanRecipe(createContainerScanRecipeRequest) {
|
|
693
725
|
return __awaiter(this, void 0, void 0, function* () {
|
|
694
|
-
|
|
726
|
+
if (this.logger)
|
|
727
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#createContainerScanRecipe.");
|
|
695
728
|
const operationName = "createContainerScanRecipe";
|
|
696
729
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/ContainerScanRecipe/CreateContainerScanRecipe";
|
|
697
730
|
const pathParams = {};
|
|
@@ -703,6 +736,8 @@ class VulnerabilityScanningClient {
|
|
|
703
736
|
};
|
|
704
737
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
705
738
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createContainerScanRecipeRequest.retryConfiguration, specRetryConfiguration);
|
|
739
|
+
if (this.logger)
|
|
740
|
+
retrier.logger = this.logger;
|
|
706
741
|
const request = yield oci_common_1.composeRequest({
|
|
707
742
|
baseEndpoint: this._endpoint,
|
|
708
743
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -753,11 +788,12 @@ class VulnerabilityScanningClient {
|
|
|
753
788
|
* @param CreateContainerScanTargetRequest
|
|
754
789
|
* @return CreateContainerScanTargetResponse
|
|
755
790
|
* @throws OciError when an error occurs
|
|
756
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
791
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/CreateContainerScanTarget.ts.html |here} to see how to use CreateContainerScanTarget API.
|
|
757
792
|
*/
|
|
758
793
|
createContainerScanTarget(createContainerScanTargetRequest) {
|
|
759
794
|
return __awaiter(this, void 0, void 0, function* () {
|
|
760
|
-
|
|
795
|
+
if (this.logger)
|
|
796
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#createContainerScanTarget.");
|
|
761
797
|
const operationName = "createContainerScanTarget";
|
|
762
798
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/ContainerScanTarget/CreateContainerScanTarget";
|
|
763
799
|
const pathParams = {};
|
|
@@ -769,6 +805,8 @@ class VulnerabilityScanningClient {
|
|
|
769
805
|
};
|
|
770
806
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
771
807
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createContainerScanTargetRequest.retryConfiguration, specRetryConfiguration);
|
|
808
|
+
if (this.logger)
|
|
809
|
+
retrier.logger = this.logger;
|
|
772
810
|
const request = yield oci_common_1.composeRequest({
|
|
773
811
|
baseEndpoint: this._endpoint,
|
|
774
812
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -819,11 +857,12 @@ class VulnerabilityScanningClient {
|
|
|
819
857
|
* @param CreateHostScanRecipeRequest
|
|
820
858
|
* @return CreateHostScanRecipeResponse
|
|
821
859
|
* @throws OciError when an error occurs
|
|
822
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
860
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/CreateHostScanRecipe.ts.html |here} to see how to use CreateHostScanRecipe API.
|
|
823
861
|
*/
|
|
824
862
|
createHostScanRecipe(createHostScanRecipeRequest) {
|
|
825
863
|
return __awaiter(this, void 0, void 0, function* () {
|
|
826
|
-
|
|
864
|
+
if (this.logger)
|
|
865
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#createHostScanRecipe.");
|
|
827
866
|
const operationName = "createHostScanRecipe";
|
|
828
867
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostScanRecipe/CreateHostScanRecipe";
|
|
829
868
|
const pathParams = {};
|
|
@@ -835,6 +874,8 @@ class VulnerabilityScanningClient {
|
|
|
835
874
|
};
|
|
836
875
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
837
876
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createHostScanRecipeRequest.retryConfiguration, specRetryConfiguration);
|
|
877
|
+
if (this.logger)
|
|
878
|
+
retrier.logger = this.logger;
|
|
838
879
|
const request = yield oci_common_1.composeRequest({
|
|
839
880
|
baseEndpoint: this._endpoint,
|
|
840
881
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -885,11 +926,12 @@ class VulnerabilityScanningClient {
|
|
|
885
926
|
* @param CreateHostScanTargetRequest
|
|
886
927
|
* @return CreateHostScanTargetResponse
|
|
887
928
|
* @throws OciError when an error occurs
|
|
888
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
929
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/CreateHostScanTarget.ts.html |here} to see how to use CreateHostScanTarget API.
|
|
889
930
|
*/
|
|
890
931
|
createHostScanTarget(createHostScanTargetRequest) {
|
|
891
932
|
return __awaiter(this, void 0, void 0, function* () {
|
|
892
|
-
|
|
933
|
+
if (this.logger)
|
|
934
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#createHostScanTarget.");
|
|
893
935
|
const operationName = "createHostScanTarget";
|
|
894
936
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostScanTarget/CreateHostScanTarget";
|
|
895
937
|
const pathParams = {};
|
|
@@ -901,6 +943,8 @@ class VulnerabilityScanningClient {
|
|
|
901
943
|
};
|
|
902
944
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
903
945
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createHostScanTargetRequest.retryConfiguration, specRetryConfiguration);
|
|
946
|
+
if (this.logger)
|
|
947
|
+
retrier.logger = this.logger;
|
|
904
948
|
const request = yield oci_common_1.composeRequest({
|
|
905
949
|
baseEndpoint: this._endpoint,
|
|
906
950
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -951,11 +995,12 @@ class VulnerabilityScanningClient {
|
|
|
951
995
|
* @param DeleteContainerScanRecipeRequest
|
|
952
996
|
* @return DeleteContainerScanRecipeResponse
|
|
953
997
|
* @throws OciError when an error occurs
|
|
954
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
998
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/DeleteContainerScanRecipe.ts.html |here} to see how to use DeleteContainerScanRecipe API.
|
|
955
999
|
*/
|
|
956
1000
|
deleteContainerScanRecipe(deleteContainerScanRecipeRequest) {
|
|
957
1001
|
return __awaiter(this, void 0, void 0, function* () {
|
|
958
|
-
|
|
1002
|
+
if (this.logger)
|
|
1003
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#deleteContainerScanRecipe.");
|
|
959
1004
|
const operationName = "deleteContainerScanRecipe";
|
|
960
1005
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/ContainerScanRecipe/DeleteContainerScanRecipe";
|
|
961
1006
|
const pathParams = {
|
|
@@ -969,6 +1014,8 @@ class VulnerabilityScanningClient {
|
|
|
969
1014
|
};
|
|
970
1015
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
971
1016
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteContainerScanRecipeRequest.retryConfiguration, specRetryConfiguration);
|
|
1017
|
+
if (this.logger)
|
|
1018
|
+
retrier.logger = this.logger;
|
|
972
1019
|
const request = yield oci_common_1.composeRequest({
|
|
973
1020
|
baseEndpoint: this._endpoint,
|
|
974
1021
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1009,11 +1056,12 @@ class VulnerabilityScanningClient {
|
|
|
1009
1056
|
* @param DeleteContainerScanResultRequest
|
|
1010
1057
|
* @return DeleteContainerScanResultResponse
|
|
1011
1058
|
* @throws OciError when an error occurs
|
|
1012
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1059
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/DeleteContainerScanResult.ts.html |here} to see how to use DeleteContainerScanResult API.
|
|
1013
1060
|
*/
|
|
1014
1061
|
deleteContainerScanResult(deleteContainerScanResultRequest) {
|
|
1015
1062
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1016
|
-
|
|
1063
|
+
if (this.logger)
|
|
1064
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#deleteContainerScanResult.");
|
|
1017
1065
|
const operationName = "deleteContainerScanResult";
|
|
1018
1066
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/ContainerScanResult/DeleteContainerScanResult";
|
|
1019
1067
|
const pathParams = {
|
|
@@ -1027,6 +1075,8 @@ class VulnerabilityScanningClient {
|
|
|
1027
1075
|
};
|
|
1028
1076
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1029
1077
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteContainerScanResultRequest.retryConfiguration, specRetryConfiguration);
|
|
1078
|
+
if (this.logger)
|
|
1079
|
+
retrier.logger = this.logger;
|
|
1030
1080
|
const request = yield oci_common_1.composeRequest({
|
|
1031
1081
|
baseEndpoint: this._endpoint,
|
|
1032
1082
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1067,11 +1117,12 @@ class VulnerabilityScanningClient {
|
|
|
1067
1117
|
* @param DeleteContainerScanTargetRequest
|
|
1068
1118
|
* @return DeleteContainerScanTargetResponse
|
|
1069
1119
|
* @throws OciError when an error occurs
|
|
1070
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1120
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/DeleteContainerScanTarget.ts.html |here} to see how to use DeleteContainerScanTarget API.
|
|
1071
1121
|
*/
|
|
1072
1122
|
deleteContainerScanTarget(deleteContainerScanTargetRequest) {
|
|
1073
1123
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1074
|
-
|
|
1124
|
+
if (this.logger)
|
|
1125
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#deleteContainerScanTarget.");
|
|
1075
1126
|
const operationName = "deleteContainerScanTarget";
|
|
1076
1127
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/ContainerScanTarget/DeleteContainerScanTarget";
|
|
1077
1128
|
const pathParams = {
|
|
@@ -1085,6 +1136,8 @@ class VulnerabilityScanningClient {
|
|
|
1085
1136
|
};
|
|
1086
1137
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1087
1138
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteContainerScanTargetRequest.retryConfiguration, specRetryConfiguration);
|
|
1139
|
+
if (this.logger)
|
|
1140
|
+
retrier.logger = this.logger;
|
|
1088
1141
|
const request = yield oci_common_1.composeRequest({
|
|
1089
1142
|
baseEndpoint: this._endpoint,
|
|
1090
1143
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1125,11 +1178,12 @@ class VulnerabilityScanningClient {
|
|
|
1125
1178
|
* @param DeleteHostAgentScanResultRequest
|
|
1126
1179
|
* @return DeleteHostAgentScanResultResponse
|
|
1127
1180
|
* @throws OciError when an error occurs
|
|
1128
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1181
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/DeleteHostAgentScanResult.ts.html |here} to see how to use DeleteHostAgentScanResult API.
|
|
1129
1182
|
*/
|
|
1130
1183
|
deleteHostAgentScanResult(deleteHostAgentScanResultRequest) {
|
|
1131
1184
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1132
|
-
|
|
1185
|
+
if (this.logger)
|
|
1186
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#deleteHostAgentScanResult.");
|
|
1133
1187
|
const operationName = "deleteHostAgentScanResult";
|
|
1134
1188
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostAgentScanResult/DeleteHostAgentScanResult";
|
|
1135
1189
|
const pathParams = {
|
|
@@ -1143,6 +1197,8 @@ class VulnerabilityScanningClient {
|
|
|
1143
1197
|
};
|
|
1144
1198
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1145
1199
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteHostAgentScanResultRequest.retryConfiguration, specRetryConfiguration);
|
|
1200
|
+
if (this.logger)
|
|
1201
|
+
retrier.logger = this.logger;
|
|
1146
1202
|
const request = yield oci_common_1.composeRequest({
|
|
1147
1203
|
baseEndpoint: this._endpoint,
|
|
1148
1204
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1183,11 +1239,12 @@ class VulnerabilityScanningClient {
|
|
|
1183
1239
|
* @param DeleteHostCisBenchmarkScanResultRequest
|
|
1184
1240
|
* @return DeleteHostCisBenchmarkScanResultResponse
|
|
1185
1241
|
* @throws OciError when an error occurs
|
|
1186
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1242
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/DeleteHostCisBenchmarkScanResult.ts.html |here} to see how to use DeleteHostCisBenchmarkScanResult API.
|
|
1187
1243
|
*/
|
|
1188
1244
|
deleteHostCisBenchmarkScanResult(deleteHostCisBenchmarkScanResultRequest) {
|
|
1189
1245
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1190
|
-
|
|
1246
|
+
if (this.logger)
|
|
1247
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#deleteHostCisBenchmarkScanResult.");
|
|
1191
1248
|
const operationName = "deleteHostCisBenchmarkScanResult";
|
|
1192
1249
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostCisBenchmarkScanResult/DeleteHostCisBenchmarkScanResult";
|
|
1193
1250
|
const pathParams = {
|
|
@@ -1201,6 +1258,8 @@ class VulnerabilityScanningClient {
|
|
|
1201
1258
|
};
|
|
1202
1259
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1203
1260
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteHostCisBenchmarkScanResultRequest.retryConfiguration, specRetryConfiguration);
|
|
1261
|
+
if (this.logger)
|
|
1262
|
+
retrier.logger = this.logger;
|
|
1204
1263
|
const request = yield oci_common_1.composeRequest({
|
|
1205
1264
|
baseEndpoint: this._endpoint,
|
|
1206
1265
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1241,11 +1300,12 @@ class VulnerabilityScanningClient {
|
|
|
1241
1300
|
* @param DeleteHostEndpointProtectionScanResultRequest
|
|
1242
1301
|
* @return DeleteHostEndpointProtectionScanResultResponse
|
|
1243
1302
|
* @throws OciError when an error occurs
|
|
1244
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1303
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/DeleteHostEndpointProtectionScanResult.ts.html |here} to see how to use DeleteHostEndpointProtectionScanResult API.
|
|
1245
1304
|
*/
|
|
1246
1305
|
deleteHostEndpointProtectionScanResult(deleteHostEndpointProtectionScanResultRequest) {
|
|
1247
1306
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1248
|
-
|
|
1307
|
+
if (this.logger)
|
|
1308
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#deleteHostEndpointProtectionScanResult.");
|
|
1249
1309
|
const operationName = "deleteHostEndpointProtectionScanResult";
|
|
1250
1310
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostEndpointProtectionScanResult/DeleteHostEndpointProtectionScanResult";
|
|
1251
1311
|
const pathParams = {
|
|
@@ -1259,6 +1319,8 @@ class VulnerabilityScanningClient {
|
|
|
1259
1319
|
};
|
|
1260
1320
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1261
1321
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteHostEndpointProtectionScanResultRequest.retryConfiguration, specRetryConfiguration);
|
|
1322
|
+
if (this.logger)
|
|
1323
|
+
retrier.logger = this.logger;
|
|
1262
1324
|
const request = yield oci_common_1.composeRequest({
|
|
1263
1325
|
baseEndpoint: this._endpoint,
|
|
1264
1326
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1299,11 +1361,12 @@ class VulnerabilityScanningClient {
|
|
|
1299
1361
|
* @param DeleteHostPortScanResultRequest
|
|
1300
1362
|
* @return DeleteHostPortScanResultResponse
|
|
1301
1363
|
* @throws OciError when an error occurs
|
|
1302
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1364
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/DeleteHostPortScanResult.ts.html |here} to see how to use DeleteHostPortScanResult API.
|
|
1303
1365
|
*/
|
|
1304
1366
|
deleteHostPortScanResult(deleteHostPortScanResultRequest) {
|
|
1305
1367
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1306
|
-
|
|
1368
|
+
if (this.logger)
|
|
1369
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#deleteHostPortScanResult.");
|
|
1307
1370
|
const operationName = "deleteHostPortScanResult";
|
|
1308
1371
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostPortScanResult/DeleteHostPortScanResult";
|
|
1309
1372
|
const pathParams = {
|
|
@@ -1317,6 +1380,8 @@ class VulnerabilityScanningClient {
|
|
|
1317
1380
|
};
|
|
1318
1381
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1319
1382
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteHostPortScanResultRequest.retryConfiguration, specRetryConfiguration);
|
|
1383
|
+
if (this.logger)
|
|
1384
|
+
retrier.logger = this.logger;
|
|
1320
1385
|
const request = yield oci_common_1.composeRequest({
|
|
1321
1386
|
baseEndpoint: this._endpoint,
|
|
1322
1387
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1357,11 +1422,12 @@ class VulnerabilityScanningClient {
|
|
|
1357
1422
|
* @param DeleteHostScanRecipeRequest
|
|
1358
1423
|
* @return DeleteHostScanRecipeResponse
|
|
1359
1424
|
* @throws OciError when an error occurs
|
|
1360
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1425
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/DeleteHostScanRecipe.ts.html |here} to see how to use DeleteHostScanRecipe API.
|
|
1361
1426
|
*/
|
|
1362
1427
|
deleteHostScanRecipe(deleteHostScanRecipeRequest) {
|
|
1363
1428
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1364
|
-
|
|
1429
|
+
if (this.logger)
|
|
1430
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#deleteHostScanRecipe.");
|
|
1365
1431
|
const operationName = "deleteHostScanRecipe";
|
|
1366
1432
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostScanRecipe/DeleteHostScanRecipe";
|
|
1367
1433
|
const pathParams = {
|
|
@@ -1375,6 +1441,8 @@ class VulnerabilityScanningClient {
|
|
|
1375
1441
|
};
|
|
1376
1442
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1377
1443
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteHostScanRecipeRequest.retryConfiguration, specRetryConfiguration);
|
|
1444
|
+
if (this.logger)
|
|
1445
|
+
retrier.logger = this.logger;
|
|
1378
1446
|
const request = yield oci_common_1.composeRequest({
|
|
1379
1447
|
baseEndpoint: this._endpoint,
|
|
1380
1448
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1415,11 +1483,12 @@ class VulnerabilityScanningClient {
|
|
|
1415
1483
|
* @param DeleteHostScanTargetRequest
|
|
1416
1484
|
* @return DeleteHostScanTargetResponse
|
|
1417
1485
|
* @throws OciError when an error occurs
|
|
1418
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1486
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/DeleteHostScanTarget.ts.html |here} to see how to use DeleteHostScanTarget API.
|
|
1419
1487
|
*/
|
|
1420
1488
|
deleteHostScanTarget(deleteHostScanTargetRequest) {
|
|
1421
1489
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1422
|
-
|
|
1490
|
+
if (this.logger)
|
|
1491
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#deleteHostScanTarget.");
|
|
1423
1492
|
const operationName = "deleteHostScanTarget";
|
|
1424
1493
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostScanTarget/DeleteHostScanTarget";
|
|
1425
1494
|
const pathParams = {
|
|
@@ -1433,6 +1502,8 @@ class VulnerabilityScanningClient {
|
|
|
1433
1502
|
};
|
|
1434
1503
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1435
1504
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteHostScanTargetRequest.retryConfiguration, specRetryConfiguration);
|
|
1505
|
+
if (this.logger)
|
|
1506
|
+
retrier.logger = this.logger;
|
|
1436
1507
|
const request = yield oci_common_1.composeRequest({
|
|
1437
1508
|
baseEndpoint: this._endpoint,
|
|
1438
1509
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1473,11 +1544,12 @@ class VulnerabilityScanningClient {
|
|
|
1473
1544
|
* @param ExportHostAgentScanResultCsvRequest
|
|
1474
1545
|
* @return ExportHostAgentScanResultCsvResponse
|
|
1475
1546
|
* @throws OciError when an error occurs
|
|
1476
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1547
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/ExportHostAgentScanResultCsv.ts.html |here} to see how to use ExportHostAgentScanResultCsv API.
|
|
1477
1548
|
*/
|
|
1478
1549
|
exportHostAgentScanResultCsv(exportHostAgentScanResultCsvRequest) {
|
|
1479
1550
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1480
|
-
|
|
1551
|
+
if (this.logger)
|
|
1552
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#exportHostAgentScanResultCsv.");
|
|
1481
1553
|
const operationName = "exportHostAgentScanResultCsv";
|
|
1482
1554
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostAgentScanResult/ExportHostAgentScanResultCsv";
|
|
1483
1555
|
const pathParams = {};
|
|
@@ -1488,6 +1560,8 @@ class VulnerabilityScanningClient {
|
|
|
1488
1560
|
};
|
|
1489
1561
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1490
1562
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, exportHostAgentScanResultCsvRequest.retryConfiguration, specRetryConfiguration);
|
|
1563
|
+
if (this.logger)
|
|
1564
|
+
retrier.logger = this.logger;
|
|
1491
1565
|
const request = yield oci_common_1.composeRequest({
|
|
1492
1566
|
baseEndpoint: this._endpoint,
|
|
1493
1567
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1527,11 +1601,12 @@ class VulnerabilityScanningClient {
|
|
|
1527
1601
|
* @param ExportHostVulnerabilityCsvRequest
|
|
1528
1602
|
* @return ExportHostVulnerabilityCsvResponse
|
|
1529
1603
|
* @throws OciError when an error occurs
|
|
1530
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1604
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/ExportHostVulnerabilityCsv.ts.html |here} to see how to use ExportHostVulnerabilityCsv API.
|
|
1531
1605
|
*/
|
|
1532
1606
|
exportHostVulnerabilityCsv(exportHostVulnerabilityCsvRequest) {
|
|
1533
1607
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1534
|
-
|
|
1608
|
+
if (this.logger)
|
|
1609
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#exportHostVulnerabilityCsv.");
|
|
1535
1610
|
const operationName = "exportHostVulnerabilityCsv";
|
|
1536
1611
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostVulnerability/ExportHostVulnerabilityCsv";
|
|
1537
1612
|
const pathParams = {};
|
|
@@ -1542,6 +1617,8 @@ class VulnerabilityScanningClient {
|
|
|
1542
1617
|
};
|
|
1543
1618
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1544
1619
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, exportHostVulnerabilityCsvRequest.retryConfiguration, specRetryConfiguration);
|
|
1620
|
+
if (this.logger)
|
|
1621
|
+
retrier.logger = this.logger;
|
|
1545
1622
|
const request = yield oci_common_1.composeRequest({
|
|
1546
1623
|
baseEndpoint: this._endpoint,
|
|
1547
1624
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1581,11 +1658,12 @@ class VulnerabilityScanningClient {
|
|
|
1581
1658
|
* @param GetContainerScanRecipeRequest
|
|
1582
1659
|
* @return GetContainerScanRecipeResponse
|
|
1583
1660
|
* @throws OciError when an error occurs
|
|
1584
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1661
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/GetContainerScanRecipe.ts.html |here} to see how to use GetContainerScanRecipe API.
|
|
1585
1662
|
*/
|
|
1586
1663
|
getContainerScanRecipe(getContainerScanRecipeRequest) {
|
|
1587
1664
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1588
|
-
|
|
1665
|
+
if (this.logger)
|
|
1666
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#getContainerScanRecipe.");
|
|
1589
1667
|
const operationName = "getContainerScanRecipe";
|
|
1590
1668
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/ContainerScanRecipe/GetContainerScanRecipe";
|
|
1591
1669
|
const pathParams = {
|
|
@@ -1598,6 +1676,8 @@ class VulnerabilityScanningClient {
|
|
|
1598
1676
|
};
|
|
1599
1677
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1600
1678
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getContainerScanRecipeRequest.retryConfiguration, specRetryConfiguration);
|
|
1679
|
+
if (this.logger)
|
|
1680
|
+
retrier.logger = this.logger;
|
|
1601
1681
|
const request = yield oci_common_1.composeRequest({
|
|
1602
1682
|
baseEndpoint: this._endpoint,
|
|
1603
1683
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1642,11 +1722,12 @@ class VulnerabilityScanningClient {
|
|
|
1642
1722
|
* @param GetContainerScanResultRequest
|
|
1643
1723
|
* @return GetContainerScanResultResponse
|
|
1644
1724
|
* @throws OciError when an error occurs
|
|
1645
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1725
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/GetContainerScanResult.ts.html |here} to see how to use GetContainerScanResult API.
|
|
1646
1726
|
*/
|
|
1647
1727
|
getContainerScanResult(getContainerScanResultRequest) {
|
|
1648
1728
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1649
|
-
|
|
1729
|
+
if (this.logger)
|
|
1730
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#getContainerScanResult.");
|
|
1650
1731
|
const operationName = "getContainerScanResult";
|
|
1651
1732
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/ContainerScanResult/GetContainerScanResult";
|
|
1652
1733
|
const pathParams = {
|
|
@@ -1659,6 +1740,8 @@ class VulnerabilityScanningClient {
|
|
|
1659
1740
|
};
|
|
1660
1741
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1661
1742
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getContainerScanResultRequest.retryConfiguration, specRetryConfiguration);
|
|
1743
|
+
if (this.logger)
|
|
1744
|
+
retrier.logger = this.logger;
|
|
1662
1745
|
const request = yield oci_common_1.composeRequest({
|
|
1663
1746
|
baseEndpoint: this._endpoint,
|
|
1664
1747
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1703,11 +1786,12 @@ class VulnerabilityScanningClient {
|
|
|
1703
1786
|
* @param GetContainerScanTargetRequest
|
|
1704
1787
|
* @return GetContainerScanTargetResponse
|
|
1705
1788
|
* @throws OciError when an error occurs
|
|
1706
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1789
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/GetContainerScanTarget.ts.html |here} to see how to use GetContainerScanTarget API.
|
|
1707
1790
|
*/
|
|
1708
1791
|
getContainerScanTarget(getContainerScanTargetRequest) {
|
|
1709
1792
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1710
|
-
|
|
1793
|
+
if (this.logger)
|
|
1794
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#getContainerScanTarget.");
|
|
1711
1795
|
const operationName = "getContainerScanTarget";
|
|
1712
1796
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/ContainerScanTarget/GetContainerScanTarget";
|
|
1713
1797
|
const pathParams = {
|
|
@@ -1720,6 +1804,8 @@ class VulnerabilityScanningClient {
|
|
|
1720
1804
|
};
|
|
1721
1805
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1722
1806
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getContainerScanTargetRequest.retryConfiguration, specRetryConfiguration);
|
|
1807
|
+
if (this.logger)
|
|
1808
|
+
retrier.logger = this.logger;
|
|
1723
1809
|
const request = yield oci_common_1.composeRequest({
|
|
1724
1810
|
baseEndpoint: this._endpoint,
|
|
1725
1811
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1764,11 +1850,12 @@ class VulnerabilityScanningClient {
|
|
|
1764
1850
|
* @param GetHostAgentScanResultRequest
|
|
1765
1851
|
* @return GetHostAgentScanResultResponse
|
|
1766
1852
|
* @throws OciError when an error occurs
|
|
1767
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1853
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/GetHostAgentScanResult.ts.html |here} to see how to use GetHostAgentScanResult API.
|
|
1768
1854
|
*/
|
|
1769
1855
|
getHostAgentScanResult(getHostAgentScanResultRequest) {
|
|
1770
1856
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1771
|
-
|
|
1857
|
+
if (this.logger)
|
|
1858
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#getHostAgentScanResult.");
|
|
1772
1859
|
const operationName = "getHostAgentScanResult";
|
|
1773
1860
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostAgentScanResult/GetHostAgentScanResult";
|
|
1774
1861
|
const pathParams = {
|
|
@@ -1781,6 +1868,8 @@ class VulnerabilityScanningClient {
|
|
|
1781
1868
|
};
|
|
1782
1869
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1783
1870
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getHostAgentScanResultRequest.retryConfiguration, specRetryConfiguration);
|
|
1871
|
+
if (this.logger)
|
|
1872
|
+
retrier.logger = this.logger;
|
|
1784
1873
|
const request = yield oci_common_1.composeRequest({
|
|
1785
1874
|
baseEndpoint: this._endpoint,
|
|
1786
1875
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1825,11 +1914,12 @@ class VulnerabilityScanningClient {
|
|
|
1825
1914
|
* @param GetHostCisBenchmarkScanResultRequest
|
|
1826
1915
|
* @return GetHostCisBenchmarkScanResultResponse
|
|
1827
1916
|
* @throws OciError when an error occurs
|
|
1828
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1917
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/GetHostCisBenchmarkScanResult.ts.html |here} to see how to use GetHostCisBenchmarkScanResult API.
|
|
1829
1918
|
*/
|
|
1830
1919
|
getHostCisBenchmarkScanResult(getHostCisBenchmarkScanResultRequest) {
|
|
1831
1920
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1832
|
-
|
|
1921
|
+
if (this.logger)
|
|
1922
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#getHostCisBenchmarkScanResult.");
|
|
1833
1923
|
const operationName = "getHostCisBenchmarkScanResult";
|
|
1834
1924
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostCisBenchmarkScanResult/GetHostCisBenchmarkScanResult";
|
|
1835
1925
|
const pathParams = {
|
|
@@ -1842,6 +1932,8 @@ class VulnerabilityScanningClient {
|
|
|
1842
1932
|
};
|
|
1843
1933
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1844
1934
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getHostCisBenchmarkScanResultRequest.retryConfiguration, specRetryConfiguration);
|
|
1935
|
+
if (this.logger)
|
|
1936
|
+
retrier.logger = this.logger;
|
|
1845
1937
|
const request = yield oci_common_1.composeRequest({
|
|
1846
1938
|
baseEndpoint: this._endpoint,
|
|
1847
1939
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1886,11 +1978,12 @@ class VulnerabilityScanningClient {
|
|
|
1886
1978
|
* @param GetHostEndpointProtectionScanResultRequest
|
|
1887
1979
|
* @return GetHostEndpointProtectionScanResultResponse
|
|
1888
1980
|
* @throws OciError when an error occurs
|
|
1889
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1981
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/GetHostEndpointProtectionScanResult.ts.html |here} to see how to use GetHostEndpointProtectionScanResult API.
|
|
1890
1982
|
*/
|
|
1891
1983
|
getHostEndpointProtectionScanResult(getHostEndpointProtectionScanResultRequest) {
|
|
1892
1984
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1893
|
-
|
|
1985
|
+
if (this.logger)
|
|
1986
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#getHostEndpointProtectionScanResult.");
|
|
1894
1987
|
const operationName = "getHostEndpointProtectionScanResult";
|
|
1895
1988
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostEndpointProtectionScanResult/GetHostEndpointProtectionScanResult";
|
|
1896
1989
|
const pathParams = {
|
|
@@ -1903,6 +1996,8 @@ class VulnerabilityScanningClient {
|
|
|
1903
1996
|
};
|
|
1904
1997
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1905
1998
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getHostEndpointProtectionScanResultRequest.retryConfiguration, specRetryConfiguration);
|
|
1999
|
+
if (this.logger)
|
|
2000
|
+
retrier.logger = this.logger;
|
|
1906
2001
|
const request = yield oci_common_1.composeRequest({
|
|
1907
2002
|
baseEndpoint: this._endpoint,
|
|
1908
2003
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -1947,11 +2042,12 @@ class VulnerabilityScanningClient {
|
|
|
1947
2042
|
* @param GetHostPortScanResultRequest
|
|
1948
2043
|
* @return GetHostPortScanResultResponse
|
|
1949
2044
|
* @throws OciError when an error occurs
|
|
1950
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2045
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/GetHostPortScanResult.ts.html |here} to see how to use GetHostPortScanResult API.
|
|
1951
2046
|
*/
|
|
1952
2047
|
getHostPortScanResult(getHostPortScanResultRequest) {
|
|
1953
2048
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1954
|
-
|
|
2049
|
+
if (this.logger)
|
|
2050
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#getHostPortScanResult.");
|
|
1955
2051
|
const operationName = "getHostPortScanResult";
|
|
1956
2052
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostPortScanResult/GetHostPortScanResult";
|
|
1957
2053
|
const pathParams = {
|
|
@@ -1964,6 +2060,8 @@ class VulnerabilityScanningClient {
|
|
|
1964
2060
|
};
|
|
1965
2061
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1966
2062
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getHostPortScanResultRequest.retryConfiguration, specRetryConfiguration);
|
|
2063
|
+
if (this.logger)
|
|
2064
|
+
retrier.logger = this.logger;
|
|
1967
2065
|
const request = yield oci_common_1.composeRequest({
|
|
1968
2066
|
baseEndpoint: this._endpoint,
|
|
1969
2067
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2008,11 +2106,12 @@ class VulnerabilityScanningClient {
|
|
|
2008
2106
|
* @param GetHostScanRecipeRequest
|
|
2009
2107
|
* @return GetHostScanRecipeResponse
|
|
2010
2108
|
* @throws OciError when an error occurs
|
|
2011
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2109
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/GetHostScanRecipe.ts.html |here} to see how to use GetHostScanRecipe API.
|
|
2012
2110
|
*/
|
|
2013
2111
|
getHostScanRecipe(getHostScanRecipeRequest) {
|
|
2014
2112
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2015
|
-
|
|
2113
|
+
if (this.logger)
|
|
2114
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#getHostScanRecipe.");
|
|
2016
2115
|
const operationName = "getHostScanRecipe";
|
|
2017
2116
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostScanRecipe/GetHostScanRecipe";
|
|
2018
2117
|
const pathParams = {
|
|
@@ -2025,6 +2124,8 @@ class VulnerabilityScanningClient {
|
|
|
2025
2124
|
};
|
|
2026
2125
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2027
2126
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getHostScanRecipeRequest.retryConfiguration, specRetryConfiguration);
|
|
2127
|
+
if (this.logger)
|
|
2128
|
+
retrier.logger = this.logger;
|
|
2028
2129
|
const request = yield oci_common_1.composeRequest({
|
|
2029
2130
|
baseEndpoint: this._endpoint,
|
|
2030
2131
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2069,11 +2170,12 @@ class VulnerabilityScanningClient {
|
|
|
2069
2170
|
* @param GetHostScanTargetRequest
|
|
2070
2171
|
* @return GetHostScanTargetResponse
|
|
2071
2172
|
* @throws OciError when an error occurs
|
|
2072
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2173
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/GetHostScanTarget.ts.html |here} to see how to use GetHostScanTarget API.
|
|
2073
2174
|
*/
|
|
2074
2175
|
getHostScanTarget(getHostScanTargetRequest) {
|
|
2075
2176
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2076
|
-
|
|
2177
|
+
if (this.logger)
|
|
2178
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#getHostScanTarget.");
|
|
2077
2179
|
const operationName = "getHostScanTarget";
|
|
2078
2180
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostScanTarget/GetHostScanTarget";
|
|
2079
2181
|
const pathParams = {
|
|
@@ -2086,6 +2188,8 @@ class VulnerabilityScanningClient {
|
|
|
2086
2188
|
};
|
|
2087
2189
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2088
2190
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getHostScanTargetRequest.retryConfiguration, specRetryConfiguration);
|
|
2191
|
+
if (this.logger)
|
|
2192
|
+
retrier.logger = this.logger;
|
|
2089
2193
|
const request = yield oci_common_1.composeRequest({
|
|
2090
2194
|
baseEndpoint: this._endpoint,
|
|
2091
2195
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2130,11 +2234,12 @@ class VulnerabilityScanningClient {
|
|
|
2130
2234
|
* @param GetHostVulnerabilityRequest
|
|
2131
2235
|
* @return GetHostVulnerabilityResponse
|
|
2132
2236
|
* @throws OciError when an error occurs
|
|
2133
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2237
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/GetHostVulnerability.ts.html |here} to see how to use GetHostVulnerability API.
|
|
2134
2238
|
*/
|
|
2135
2239
|
getHostVulnerability(getHostVulnerabilityRequest) {
|
|
2136
2240
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2137
|
-
|
|
2241
|
+
if (this.logger)
|
|
2242
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#getHostVulnerability.");
|
|
2138
2243
|
const operationName = "getHostVulnerability";
|
|
2139
2244
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostVulnerability/GetHostVulnerability";
|
|
2140
2245
|
const pathParams = {
|
|
@@ -2147,6 +2252,8 @@ class VulnerabilityScanningClient {
|
|
|
2147
2252
|
};
|
|
2148
2253
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2149
2254
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getHostVulnerabilityRequest.retryConfiguration, specRetryConfiguration);
|
|
2255
|
+
if (this.logger)
|
|
2256
|
+
retrier.logger = this.logger;
|
|
2150
2257
|
const request = yield oci_common_1.composeRequest({
|
|
2151
2258
|
baseEndpoint: this._endpoint,
|
|
2152
2259
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2191,11 +2298,12 @@ class VulnerabilityScanningClient {
|
|
|
2191
2298
|
* @param GetVulnerabilityRequest
|
|
2192
2299
|
* @return GetVulnerabilityResponse
|
|
2193
2300
|
* @throws OciError when an error occurs
|
|
2194
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2301
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/GetVulnerability.ts.html |here} to see how to use GetVulnerability API.
|
|
2195
2302
|
*/
|
|
2196
2303
|
getVulnerability(getVulnerabilityRequest) {
|
|
2197
2304
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2198
|
-
|
|
2305
|
+
if (this.logger)
|
|
2306
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#getVulnerability.");
|
|
2199
2307
|
const operationName = "getVulnerability";
|
|
2200
2308
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/Vulnerability/GetVulnerability";
|
|
2201
2309
|
const pathParams = {
|
|
@@ -2208,6 +2316,8 @@ class VulnerabilityScanningClient {
|
|
|
2208
2316
|
};
|
|
2209
2317
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2210
2318
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getVulnerabilityRequest.retryConfiguration, specRetryConfiguration);
|
|
2319
|
+
if (this.logger)
|
|
2320
|
+
retrier.logger = this.logger;
|
|
2211
2321
|
const request = yield oci_common_1.composeRequest({
|
|
2212
2322
|
baseEndpoint: this._endpoint,
|
|
2213
2323
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2252,11 +2362,12 @@ class VulnerabilityScanningClient {
|
|
|
2252
2362
|
* @param GetWorkRequestRequest
|
|
2253
2363
|
* @return GetWorkRequestResponse
|
|
2254
2364
|
* @throws OciError when an error occurs
|
|
2255
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2365
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
2256
2366
|
*/
|
|
2257
2367
|
getWorkRequest(getWorkRequestRequest) {
|
|
2258
2368
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2259
|
-
|
|
2369
|
+
if (this.logger)
|
|
2370
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#getWorkRequest.");
|
|
2260
2371
|
const operationName = "getWorkRequest";
|
|
2261
2372
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/WorkRequest/GetWorkRequest";
|
|
2262
2373
|
const pathParams = {
|
|
@@ -2269,6 +2380,8 @@ class VulnerabilityScanningClient {
|
|
|
2269
2380
|
};
|
|
2270
2381
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2271
2382
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
2383
|
+
if (this.logger)
|
|
2384
|
+
retrier.logger = this.logger;
|
|
2272
2385
|
const request = yield oci_common_1.composeRequest({
|
|
2273
2386
|
baseEndpoint: this._endpoint,
|
|
2274
2387
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2313,11 +2426,12 @@ class VulnerabilityScanningClient {
|
|
|
2313
2426
|
* @param ListContainerScanRecipesRequest
|
|
2314
2427
|
* @return ListContainerScanRecipesResponse
|
|
2315
2428
|
* @throws OciError when an error occurs
|
|
2316
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2429
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/ListContainerScanRecipes.ts.html |here} to see how to use ListContainerScanRecipes API.
|
|
2317
2430
|
*/
|
|
2318
2431
|
listContainerScanRecipes(listContainerScanRecipesRequest) {
|
|
2319
2432
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2320
|
-
|
|
2433
|
+
if (this.logger)
|
|
2434
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#listContainerScanRecipes.");
|
|
2321
2435
|
const operationName = "listContainerScanRecipes";
|
|
2322
2436
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/ContainerScanRecipe/ListContainerScanRecipes";
|
|
2323
2437
|
const pathParams = {};
|
|
@@ -2336,6 +2450,8 @@ class VulnerabilityScanningClient {
|
|
|
2336
2450
|
};
|
|
2337
2451
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2338
2452
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listContainerScanRecipesRequest.retryConfiguration, specRetryConfiguration);
|
|
2453
|
+
if (this.logger)
|
|
2454
|
+
retrier.logger = this.logger;
|
|
2339
2455
|
const request = yield oci_common_1.composeRequest({
|
|
2340
2456
|
baseEndpoint: this._endpoint,
|
|
2341
2457
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2380,11 +2496,12 @@ class VulnerabilityScanningClient {
|
|
|
2380
2496
|
* @param ListContainerScanResultsRequest
|
|
2381
2497
|
* @return ListContainerScanResultsResponse
|
|
2382
2498
|
* @throws OciError when an error occurs
|
|
2383
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2499
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/ListContainerScanResults.ts.html |here} to see how to use ListContainerScanResults API.
|
|
2384
2500
|
*/
|
|
2385
2501
|
listContainerScanResults(listContainerScanResultsRequest) {
|
|
2386
2502
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2387
|
-
|
|
2503
|
+
if (this.logger)
|
|
2504
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#listContainerScanResults.");
|
|
2388
2505
|
const operationName = "listContainerScanResults";
|
|
2389
2506
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/ContainerScanResult/ListContainerScanResults";
|
|
2390
2507
|
const pathParams = {};
|
|
@@ -2408,6 +2525,8 @@ class VulnerabilityScanningClient {
|
|
|
2408
2525
|
};
|
|
2409
2526
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2410
2527
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listContainerScanResultsRequest.retryConfiguration, specRetryConfiguration);
|
|
2528
|
+
if (this.logger)
|
|
2529
|
+
retrier.logger = this.logger;
|
|
2411
2530
|
const request = yield oci_common_1.composeRequest({
|
|
2412
2531
|
baseEndpoint: this._endpoint,
|
|
2413
2532
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2452,11 +2571,12 @@ class VulnerabilityScanningClient {
|
|
|
2452
2571
|
* @param ListContainerScanTargetsRequest
|
|
2453
2572
|
* @return ListContainerScanTargetsResponse
|
|
2454
2573
|
* @throws OciError when an error occurs
|
|
2455
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2574
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/ListContainerScanTargets.ts.html |here} to see how to use ListContainerScanTargets API.
|
|
2456
2575
|
*/
|
|
2457
2576
|
listContainerScanTargets(listContainerScanTargetsRequest) {
|
|
2458
2577
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2459
|
-
|
|
2578
|
+
if (this.logger)
|
|
2579
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#listContainerScanTargets.");
|
|
2460
2580
|
const operationName = "listContainerScanTargets";
|
|
2461
2581
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/ContainerScanTarget/ListContainerScanTargets";
|
|
2462
2582
|
const pathParams = {};
|
|
@@ -2475,6 +2595,8 @@ class VulnerabilityScanningClient {
|
|
|
2475
2595
|
};
|
|
2476
2596
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2477
2597
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listContainerScanTargetsRequest.retryConfiguration, specRetryConfiguration);
|
|
2598
|
+
if (this.logger)
|
|
2599
|
+
retrier.logger = this.logger;
|
|
2478
2600
|
const request = yield oci_common_1.composeRequest({
|
|
2479
2601
|
baseEndpoint: this._endpoint,
|
|
2480
2602
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2519,11 +2641,12 @@ class VulnerabilityScanningClient {
|
|
|
2519
2641
|
* @param ListHostAgentScanResultsRequest
|
|
2520
2642
|
* @return ListHostAgentScanResultsResponse
|
|
2521
2643
|
* @throws OciError when an error occurs
|
|
2522
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2644
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/ListHostAgentScanResults.ts.html |here} to see how to use ListHostAgentScanResults API.
|
|
2523
2645
|
*/
|
|
2524
2646
|
listHostAgentScanResults(listHostAgentScanResultsRequest) {
|
|
2525
2647
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2526
|
-
|
|
2648
|
+
if (this.logger)
|
|
2649
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#listHostAgentScanResults.");
|
|
2527
2650
|
const operationName = "listHostAgentScanResults";
|
|
2528
2651
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostAgentScanResult/ListHostAgentScanResults";
|
|
2529
2652
|
const pathParams = {};
|
|
@@ -2547,6 +2670,8 @@ class VulnerabilityScanningClient {
|
|
|
2547
2670
|
};
|
|
2548
2671
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2549
2672
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listHostAgentScanResultsRequest.retryConfiguration, specRetryConfiguration);
|
|
2673
|
+
if (this.logger)
|
|
2674
|
+
retrier.logger = this.logger;
|
|
2550
2675
|
const request = yield oci_common_1.composeRequest({
|
|
2551
2676
|
baseEndpoint: this._endpoint,
|
|
2552
2677
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2591,11 +2716,12 @@ class VulnerabilityScanningClient {
|
|
|
2591
2716
|
* @param ListHostCisBenchmarkScanResultsRequest
|
|
2592
2717
|
* @return ListHostCisBenchmarkScanResultsResponse
|
|
2593
2718
|
* @throws OciError when an error occurs
|
|
2594
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2719
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/ListHostCisBenchmarkScanResults.ts.html |here} to see how to use ListHostCisBenchmarkScanResults API.
|
|
2595
2720
|
*/
|
|
2596
2721
|
listHostCisBenchmarkScanResults(listHostCisBenchmarkScanResultsRequest) {
|
|
2597
2722
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2598
|
-
|
|
2723
|
+
if (this.logger)
|
|
2724
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#listHostCisBenchmarkScanResults.");
|
|
2599
2725
|
const operationName = "listHostCisBenchmarkScanResults";
|
|
2600
2726
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostCisBenchmarkScanResult/ListHostCisBenchmarkScanResults";
|
|
2601
2727
|
const pathParams = {};
|
|
@@ -2618,6 +2744,8 @@ class VulnerabilityScanningClient {
|
|
|
2618
2744
|
};
|
|
2619
2745
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2620
2746
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listHostCisBenchmarkScanResultsRequest.retryConfiguration, specRetryConfiguration);
|
|
2747
|
+
if (this.logger)
|
|
2748
|
+
retrier.logger = this.logger;
|
|
2621
2749
|
const request = yield oci_common_1.composeRequest({
|
|
2622
2750
|
baseEndpoint: this._endpoint,
|
|
2623
2751
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2662,11 +2790,12 @@ class VulnerabilityScanningClient {
|
|
|
2662
2790
|
* @param ListHostEndpointProtectionScanResultsRequest
|
|
2663
2791
|
* @return ListHostEndpointProtectionScanResultsResponse
|
|
2664
2792
|
* @throws OciError when an error occurs
|
|
2665
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2793
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/ListHostEndpointProtectionScanResults.ts.html |here} to see how to use ListHostEndpointProtectionScanResults API.
|
|
2666
2794
|
*/
|
|
2667
2795
|
listHostEndpointProtectionScanResults(listHostEndpointProtectionScanResultsRequest) {
|
|
2668
2796
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2669
|
-
|
|
2797
|
+
if (this.logger)
|
|
2798
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#listHostEndpointProtectionScanResults.");
|
|
2670
2799
|
const operationName = "listHostEndpointProtectionScanResults";
|
|
2671
2800
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostEndpointProtectionScanResult/ListHostEndpointProtectionScanResults";
|
|
2672
2801
|
const pathParams = {};
|
|
@@ -2689,6 +2818,8 @@ class VulnerabilityScanningClient {
|
|
|
2689
2818
|
};
|
|
2690
2819
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2691
2820
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listHostEndpointProtectionScanResultsRequest.retryConfiguration, specRetryConfiguration);
|
|
2821
|
+
if (this.logger)
|
|
2822
|
+
retrier.logger = this.logger;
|
|
2692
2823
|
const request = yield oci_common_1.composeRequest({
|
|
2693
2824
|
baseEndpoint: this._endpoint,
|
|
2694
2825
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2733,11 +2864,12 @@ class VulnerabilityScanningClient {
|
|
|
2733
2864
|
* @param ListHostPortScanResultsRequest
|
|
2734
2865
|
* @return ListHostPortScanResultsResponse
|
|
2735
2866
|
* @throws OciError when an error occurs
|
|
2736
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2867
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/ListHostPortScanResults.ts.html |here} to see how to use ListHostPortScanResults API.
|
|
2737
2868
|
*/
|
|
2738
2869
|
listHostPortScanResults(listHostPortScanResultsRequest) {
|
|
2739
2870
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2740
|
-
|
|
2871
|
+
if (this.logger)
|
|
2872
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#listHostPortScanResults.");
|
|
2741
2873
|
const operationName = "listHostPortScanResults";
|
|
2742
2874
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostPortScanResult/ListHostPortScanResults";
|
|
2743
2875
|
const pathParams = {};
|
|
@@ -2760,6 +2892,8 @@ class VulnerabilityScanningClient {
|
|
|
2760
2892
|
};
|
|
2761
2893
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2762
2894
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listHostPortScanResultsRequest.retryConfiguration, specRetryConfiguration);
|
|
2895
|
+
if (this.logger)
|
|
2896
|
+
retrier.logger = this.logger;
|
|
2763
2897
|
const request = yield oci_common_1.composeRequest({
|
|
2764
2898
|
baseEndpoint: this._endpoint,
|
|
2765
2899
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2804,11 +2938,12 @@ class VulnerabilityScanningClient {
|
|
|
2804
2938
|
* @param ListHostScanRecipesRequest
|
|
2805
2939
|
* @return ListHostScanRecipesResponse
|
|
2806
2940
|
* @throws OciError when an error occurs
|
|
2807
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2941
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/ListHostScanRecipes.ts.html |here} to see how to use ListHostScanRecipes API.
|
|
2808
2942
|
*/
|
|
2809
2943
|
listHostScanRecipes(listHostScanRecipesRequest) {
|
|
2810
2944
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2811
|
-
|
|
2945
|
+
if (this.logger)
|
|
2946
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#listHostScanRecipes.");
|
|
2812
2947
|
const operationName = "listHostScanRecipes";
|
|
2813
2948
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostScanRecipe/ListHostScanRecipes";
|
|
2814
2949
|
const pathParams = {};
|
|
@@ -2827,6 +2962,8 @@ class VulnerabilityScanningClient {
|
|
|
2827
2962
|
};
|
|
2828
2963
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2829
2964
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listHostScanRecipesRequest.retryConfiguration, specRetryConfiguration);
|
|
2965
|
+
if (this.logger)
|
|
2966
|
+
retrier.logger = this.logger;
|
|
2830
2967
|
const request = yield oci_common_1.composeRequest({
|
|
2831
2968
|
baseEndpoint: this._endpoint,
|
|
2832
2969
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2871,11 +3008,12 @@ class VulnerabilityScanningClient {
|
|
|
2871
3008
|
* @param ListHostScanTargetErrorsRequest
|
|
2872
3009
|
* @return ListHostScanTargetErrorsResponse
|
|
2873
3010
|
* @throws OciError when an error occurs
|
|
2874
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3011
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/ListHostScanTargetErrors.ts.html |here} to see how to use ListHostScanTargetErrors API.
|
|
2875
3012
|
*/
|
|
2876
3013
|
listHostScanTargetErrors(listHostScanTargetErrorsRequest) {
|
|
2877
3014
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2878
|
-
|
|
3015
|
+
if (this.logger)
|
|
3016
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#listHostScanTargetErrors.");
|
|
2879
3017
|
const operationName = "listHostScanTargetErrors";
|
|
2880
3018
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostScanTargetErrorSummaryCollection/ListHostScanTargetErrors";
|
|
2881
3019
|
const pathParams = {
|
|
@@ -2895,6 +3033,8 @@ class VulnerabilityScanningClient {
|
|
|
2895
3033
|
};
|
|
2896
3034
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2897
3035
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listHostScanTargetErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
3036
|
+
if (this.logger)
|
|
3037
|
+
retrier.logger = this.logger;
|
|
2898
3038
|
const request = yield oci_common_1.composeRequest({
|
|
2899
3039
|
baseEndpoint: this._endpoint,
|
|
2900
3040
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -2939,11 +3079,12 @@ class VulnerabilityScanningClient {
|
|
|
2939
3079
|
* @param ListHostScanTargetsRequest
|
|
2940
3080
|
* @return ListHostScanTargetsResponse
|
|
2941
3081
|
* @throws OciError when an error occurs
|
|
2942
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3082
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/ListHostScanTargets.ts.html |here} to see how to use ListHostScanTargets API.
|
|
2943
3083
|
*/
|
|
2944
3084
|
listHostScanTargets(listHostScanTargetsRequest) {
|
|
2945
3085
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2946
|
-
|
|
3086
|
+
if (this.logger)
|
|
3087
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#listHostScanTargets.");
|
|
2947
3088
|
const operationName = "listHostScanTargets";
|
|
2948
3089
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostScanTarget/ListHostScanTargets";
|
|
2949
3090
|
const pathParams = {};
|
|
@@ -2962,6 +3103,8 @@ class VulnerabilityScanningClient {
|
|
|
2962
3103
|
};
|
|
2963
3104
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2964
3105
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listHostScanTargetsRequest.retryConfiguration, specRetryConfiguration);
|
|
3106
|
+
if (this.logger)
|
|
3107
|
+
retrier.logger = this.logger;
|
|
2965
3108
|
const request = yield oci_common_1.composeRequest({
|
|
2966
3109
|
baseEndpoint: this._endpoint,
|
|
2967
3110
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3006,11 +3149,12 @@ class VulnerabilityScanningClient {
|
|
|
3006
3149
|
* @param ListHostVulnerabilitiesRequest
|
|
3007
3150
|
* @return ListHostVulnerabilitiesResponse
|
|
3008
3151
|
* @throws OciError when an error occurs
|
|
3009
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3152
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/ListHostVulnerabilities.ts.html |here} to see how to use ListHostVulnerabilities API.
|
|
3010
3153
|
*/
|
|
3011
3154
|
listHostVulnerabilities(listHostVulnerabilitiesRequest) {
|
|
3012
3155
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3013
|
-
|
|
3156
|
+
if (this.logger)
|
|
3157
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#listHostVulnerabilities.");
|
|
3014
3158
|
const operationName = "listHostVulnerabilities";
|
|
3015
3159
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostVulnerability/ListHostVulnerabilities";
|
|
3016
3160
|
const pathParams = {};
|
|
@@ -3031,6 +3175,8 @@ class VulnerabilityScanningClient {
|
|
|
3031
3175
|
};
|
|
3032
3176
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3033
3177
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listHostVulnerabilitiesRequest.retryConfiguration, specRetryConfiguration);
|
|
3178
|
+
if (this.logger)
|
|
3179
|
+
retrier.logger = this.logger;
|
|
3034
3180
|
const request = yield oci_common_1.composeRequest({
|
|
3035
3181
|
baseEndpoint: this._endpoint,
|
|
3036
3182
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3075,11 +3221,12 @@ class VulnerabilityScanningClient {
|
|
|
3075
3221
|
* @param ListHostVulnerabilityImpactedHostsRequest
|
|
3076
3222
|
* @return ListHostVulnerabilityImpactedHostsResponse
|
|
3077
3223
|
* @throws OciError when an error occurs
|
|
3078
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3224
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/ListHostVulnerabilityImpactedHosts.ts.html |here} to see how to use ListHostVulnerabilityImpactedHosts API.
|
|
3079
3225
|
*/
|
|
3080
3226
|
listHostVulnerabilityImpactedHosts(listHostVulnerabilityImpactedHostsRequest) {
|
|
3081
3227
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3082
|
-
|
|
3228
|
+
if (this.logger)
|
|
3229
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#listHostVulnerabilityImpactedHosts.");
|
|
3083
3230
|
const operationName = "listHostVulnerabilityImpactedHosts";
|
|
3084
3231
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostVulnerability/ListHostVulnerabilityImpactedHosts";
|
|
3085
3232
|
const pathParams = {
|
|
@@ -3097,6 +3244,8 @@ class VulnerabilityScanningClient {
|
|
|
3097
3244
|
};
|
|
3098
3245
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3099
3246
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listHostVulnerabilityImpactedHostsRequest.retryConfiguration, specRetryConfiguration);
|
|
3247
|
+
if (this.logger)
|
|
3248
|
+
retrier.logger = this.logger;
|
|
3100
3249
|
const request = yield oci_common_1.composeRequest({
|
|
3101
3250
|
baseEndpoint: this._endpoint,
|
|
3102
3251
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3141,11 +3290,12 @@ class VulnerabilityScanningClient {
|
|
|
3141
3290
|
* @param ListVulnerabilitiesRequest
|
|
3142
3291
|
* @return ListVulnerabilitiesResponse
|
|
3143
3292
|
* @throws OciError when an error occurs
|
|
3144
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3293
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/ListVulnerabilities.ts.html |here} to see how to use ListVulnerabilities API.
|
|
3145
3294
|
*/
|
|
3146
3295
|
listVulnerabilities(listVulnerabilitiesRequest) {
|
|
3147
3296
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3148
|
-
|
|
3297
|
+
if (this.logger)
|
|
3298
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#listVulnerabilities.");
|
|
3149
3299
|
const operationName = "listVulnerabilities";
|
|
3150
3300
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/Vulnerability/ListVulnerabilities";
|
|
3151
3301
|
const pathParams = {};
|
|
@@ -3166,6 +3316,8 @@ class VulnerabilityScanningClient {
|
|
|
3166
3316
|
};
|
|
3167
3317
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3168
3318
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listVulnerabilitiesRequest.retryConfiguration, specRetryConfiguration);
|
|
3319
|
+
if (this.logger)
|
|
3320
|
+
retrier.logger = this.logger;
|
|
3169
3321
|
const request = yield oci_common_1.composeRequest({
|
|
3170
3322
|
baseEndpoint: this._endpoint,
|
|
3171
3323
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3210,11 +3362,12 @@ class VulnerabilityScanningClient {
|
|
|
3210
3362
|
* @param ListVulnerabilityImpactedContainersRequest
|
|
3211
3363
|
* @return ListVulnerabilityImpactedContainersResponse
|
|
3212
3364
|
* @throws OciError when an error occurs
|
|
3213
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3365
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/ListVulnerabilityImpactedContainers.ts.html |here} to see how to use ListVulnerabilityImpactedContainers API.
|
|
3214
3366
|
*/
|
|
3215
3367
|
listVulnerabilityImpactedContainers(listVulnerabilityImpactedContainersRequest) {
|
|
3216
3368
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3217
|
-
|
|
3369
|
+
if (this.logger)
|
|
3370
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#listVulnerabilityImpactedContainers.");
|
|
3218
3371
|
const operationName = "listVulnerabilityImpactedContainers";
|
|
3219
3372
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/Vulnerability/ListVulnerabilityImpactedContainers";
|
|
3220
3373
|
const pathParams = {
|
|
@@ -3232,6 +3385,8 @@ class VulnerabilityScanningClient {
|
|
|
3232
3385
|
};
|
|
3233
3386
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3234
3387
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listVulnerabilityImpactedContainersRequest.retryConfiguration, specRetryConfiguration);
|
|
3388
|
+
if (this.logger)
|
|
3389
|
+
retrier.logger = this.logger;
|
|
3235
3390
|
const request = yield oci_common_1.composeRequest({
|
|
3236
3391
|
baseEndpoint: this._endpoint,
|
|
3237
3392
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3276,11 +3431,12 @@ class VulnerabilityScanningClient {
|
|
|
3276
3431
|
* @param ListVulnerabilityImpactedHostsRequest
|
|
3277
3432
|
* @return ListVulnerabilityImpactedHostsResponse
|
|
3278
3433
|
* @throws OciError when an error occurs
|
|
3279
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3434
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/ListVulnerabilityImpactedHosts.ts.html |here} to see how to use ListVulnerabilityImpactedHosts API.
|
|
3280
3435
|
*/
|
|
3281
3436
|
listVulnerabilityImpactedHosts(listVulnerabilityImpactedHostsRequest) {
|
|
3282
3437
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3283
|
-
|
|
3438
|
+
if (this.logger)
|
|
3439
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#listVulnerabilityImpactedHosts.");
|
|
3284
3440
|
const operationName = "listVulnerabilityImpactedHosts";
|
|
3285
3441
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/Vulnerability/ListVulnerabilityImpactedHosts";
|
|
3286
3442
|
const pathParams = {
|
|
@@ -3298,6 +3454,8 @@ class VulnerabilityScanningClient {
|
|
|
3298
3454
|
};
|
|
3299
3455
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3300
3456
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listVulnerabilityImpactedHostsRequest.retryConfiguration, specRetryConfiguration);
|
|
3457
|
+
if (this.logger)
|
|
3458
|
+
retrier.logger = this.logger;
|
|
3301
3459
|
const request = yield oci_common_1.composeRequest({
|
|
3302
3460
|
baseEndpoint: this._endpoint,
|
|
3303
3461
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3342,11 +3500,12 @@ class VulnerabilityScanningClient {
|
|
|
3342
3500
|
* @param ListWorkRequestErrorsRequest
|
|
3343
3501
|
* @return ListWorkRequestErrorsResponse
|
|
3344
3502
|
* @throws OciError when an error occurs
|
|
3345
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3503
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
3346
3504
|
*/
|
|
3347
3505
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
3348
3506
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3349
|
-
|
|
3507
|
+
if (this.logger)
|
|
3508
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#listWorkRequestErrors.");
|
|
3350
3509
|
const operationName = "listWorkRequestErrors";
|
|
3351
3510
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/WorkRequestError/ListWorkRequestErrors";
|
|
3352
3511
|
const pathParams = {
|
|
@@ -3362,6 +3521,8 @@ class VulnerabilityScanningClient {
|
|
|
3362
3521
|
};
|
|
3363
3522
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3364
3523
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
3524
|
+
if (this.logger)
|
|
3525
|
+
retrier.logger = this.logger;
|
|
3365
3526
|
const request = yield oci_common_1.composeRequest({
|
|
3366
3527
|
baseEndpoint: this._endpoint,
|
|
3367
3528
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3406,11 +3567,12 @@ class VulnerabilityScanningClient {
|
|
|
3406
3567
|
* @param ListWorkRequestLogsRequest
|
|
3407
3568
|
* @return ListWorkRequestLogsResponse
|
|
3408
3569
|
* @throws OciError when an error occurs
|
|
3409
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3570
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
3410
3571
|
*/
|
|
3411
3572
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
3412
3573
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3413
|
-
|
|
3574
|
+
if (this.logger)
|
|
3575
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#listWorkRequestLogs.");
|
|
3414
3576
|
const operationName = "listWorkRequestLogs";
|
|
3415
3577
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/WorkRequestLogEntry/ListWorkRequestLogs";
|
|
3416
3578
|
const pathParams = {
|
|
@@ -3426,6 +3588,8 @@ class VulnerabilityScanningClient {
|
|
|
3426
3588
|
};
|
|
3427
3589
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3428
3590
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
3591
|
+
if (this.logger)
|
|
3592
|
+
retrier.logger = this.logger;
|
|
3429
3593
|
const request = yield oci_common_1.composeRequest({
|
|
3430
3594
|
baseEndpoint: this._endpoint,
|
|
3431
3595
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3470,11 +3634,12 @@ class VulnerabilityScanningClient {
|
|
|
3470
3634
|
* @param ListWorkRequestsRequest
|
|
3471
3635
|
* @return ListWorkRequestsResponse
|
|
3472
3636
|
* @throws OciError when an error occurs
|
|
3473
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3637
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
3474
3638
|
*/
|
|
3475
3639
|
listWorkRequests(listWorkRequestsRequest) {
|
|
3476
3640
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3477
|
-
|
|
3641
|
+
if (this.logger)
|
|
3642
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#listWorkRequests.");
|
|
3478
3643
|
const operationName = "listWorkRequests";
|
|
3479
3644
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/WorkRequest/ListWorkRequests";
|
|
3480
3645
|
const pathParams = {};
|
|
@@ -3489,6 +3654,8 @@ class VulnerabilityScanningClient {
|
|
|
3489
3654
|
};
|
|
3490
3655
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3491
3656
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
3657
|
+
if (this.logger)
|
|
3658
|
+
retrier.logger = this.logger;
|
|
3492
3659
|
const request = yield oci_common_1.composeRequest({
|
|
3493
3660
|
baseEndpoint: this._endpoint,
|
|
3494
3661
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3533,11 +3700,12 @@ class VulnerabilityScanningClient {
|
|
|
3533
3700
|
* @param UpdateContainerScanRecipeRequest
|
|
3534
3701
|
* @return UpdateContainerScanRecipeResponse
|
|
3535
3702
|
* @throws OciError when an error occurs
|
|
3536
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3703
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/UpdateContainerScanRecipe.ts.html |here} to see how to use UpdateContainerScanRecipe API.
|
|
3537
3704
|
*/
|
|
3538
3705
|
updateContainerScanRecipe(updateContainerScanRecipeRequest) {
|
|
3539
3706
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3540
|
-
|
|
3707
|
+
if (this.logger)
|
|
3708
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#updateContainerScanRecipe.");
|
|
3541
3709
|
const operationName = "updateContainerScanRecipe";
|
|
3542
3710
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/ContainerScanRecipe/UpdateContainerScanRecipe";
|
|
3543
3711
|
const pathParams = {
|
|
@@ -3551,6 +3719,8 @@ class VulnerabilityScanningClient {
|
|
|
3551
3719
|
};
|
|
3552
3720
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3553
3721
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateContainerScanRecipeRequest.retryConfiguration, specRetryConfiguration);
|
|
3722
|
+
if (this.logger)
|
|
3723
|
+
retrier.logger = this.logger;
|
|
3554
3724
|
const request = yield oci_common_1.composeRequest({
|
|
3555
3725
|
baseEndpoint: this._endpoint,
|
|
3556
3726
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3592,11 +3762,12 @@ class VulnerabilityScanningClient {
|
|
|
3592
3762
|
* @param UpdateContainerScanTargetRequest
|
|
3593
3763
|
* @return UpdateContainerScanTargetResponse
|
|
3594
3764
|
* @throws OciError when an error occurs
|
|
3595
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3765
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/UpdateContainerScanTarget.ts.html |here} to see how to use UpdateContainerScanTarget API.
|
|
3596
3766
|
*/
|
|
3597
3767
|
updateContainerScanTarget(updateContainerScanTargetRequest) {
|
|
3598
3768
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3599
|
-
|
|
3769
|
+
if (this.logger)
|
|
3770
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#updateContainerScanTarget.");
|
|
3600
3771
|
const operationName = "updateContainerScanTarget";
|
|
3601
3772
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/ContainerScanTarget/UpdateContainerScanTarget";
|
|
3602
3773
|
const pathParams = {
|
|
@@ -3610,6 +3781,8 @@ class VulnerabilityScanningClient {
|
|
|
3610
3781
|
};
|
|
3611
3782
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3612
3783
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateContainerScanTargetRequest.retryConfiguration, specRetryConfiguration);
|
|
3784
|
+
if (this.logger)
|
|
3785
|
+
retrier.logger = this.logger;
|
|
3613
3786
|
const request = yield oci_common_1.composeRequest({
|
|
3614
3787
|
baseEndpoint: this._endpoint,
|
|
3615
3788
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3651,11 +3824,12 @@ class VulnerabilityScanningClient {
|
|
|
3651
3824
|
* @param UpdateHostScanRecipeRequest
|
|
3652
3825
|
* @return UpdateHostScanRecipeResponse
|
|
3653
3826
|
* @throws OciError when an error occurs
|
|
3654
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3827
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/UpdateHostScanRecipe.ts.html |here} to see how to use UpdateHostScanRecipe API.
|
|
3655
3828
|
*/
|
|
3656
3829
|
updateHostScanRecipe(updateHostScanRecipeRequest) {
|
|
3657
3830
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3658
|
-
|
|
3831
|
+
if (this.logger)
|
|
3832
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#updateHostScanRecipe.");
|
|
3659
3833
|
const operationName = "updateHostScanRecipe";
|
|
3660
3834
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostScanRecipe/UpdateHostScanRecipe";
|
|
3661
3835
|
const pathParams = {
|
|
@@ -3669,6 +3843,8 @@ class VulnerabilityScanningClient {
|
|
|
3669
3843
|
};
|
|
3670
3844
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3671
3845
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateHostScanRecipeRequest.retryConfiguration, specRetryConfiguration);
|
|
3846
|
+
if (this.logger)
|
|
3847
|
+
retrier.logger = this.logger;
|
|
3672
3848
|
const request = yield oci_common_1.composeRequest({
|
|
3673
3849
|
baseEndpoint: this._endpoint,
|
|
3674
3850
|
defaultHeaders: this._defaultHeaders,
|
|
@@ -3710,11 +3886,12 @@ class VulnerabilityScanningClient {
|
|
|
3710
3886
|
* @param UpdateHostScanTargetRequest
|
|
3711
3887
|
* @return UpdateHostScanTargetResponse
|
|
3712
3888
|
* @throws OciError when an error occurs
|
|
3713
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3889
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.81.0/vulnerabilityscanning/UpdateHostScanTarget.ts.html |here} to see how to use UpdateHostScanTarget API.
|
|
3714
3890
|
*/
|
|
3715
3891
|
updateHostScanTarget(updateHostScanTargetRequest) {
|
|
3716
3892
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3717
|
-
|
|
3893
|
+
if (this.logger)
|
|
3894
|
+
this.logger.debug("Calling operation VulnerabilityScanningClient#updateHostScanTarget.");
|
|
3718
3895
|
const operationName = "updateHostScanTarget";
|
|
3719
3896
|
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/scanning/20210215/HostScanTarget/UpdateHostScanTarget";
|
|
3720
3897
|
const pathParams = {
|
|
@@ -3728,6 +3905,8 @@ class VulnerabilityScanningClient {
|
|
|
3728
3905
|
};
|
|
3729
3906
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3730
3907
|
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateHostScanTargetRequest.retryConfiguration, specRetryConfiguration);
|
|
3908
|
+
if (this.logger)
|
|
3909
|
+
retrier.logger = this.logger;
|
|
3731
3910
|
const request = yield oci_common_1.composeRequest({
|
|
3732
3911
|
baseEndpoint: this._endpoint,
|
|
3733
3912
|
defaultHeaders: this._defaultHeaders,
|