oci-vulnerabilityscanning 2.17.0 → 2.18.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.
Files changed (130) hide show
  1. package/lib/client.d.ts +115 -75
  2. package/lib/client.js +341 -75
  3. package/lib/client.js.map +1 -1
  4. package/lib/model/container-scan-recipe.d.ts +4 -0
  5. package/lib/model/container-scan-recipe.js.map +1 -1
  6. package/lib/model/container-scan-result-problem.d.ts +8 -0
  7. package/lib/model/container-scan-result-problem.js.map +1 -1
  8. package/lib/model/container-scan-result-summary.d.ts +4 -0
  9. package/lib/model/container-scan-result-summary.js.map +1 -1
  10. package/lib/model/container-scan-result.d.ts +8 -0
  11. package/lib/model/container-scan-result.js.map +1 -1
  12. package/lib/model/container-scan-target-summary.d.ts +1 -0
  13. package/lib/model/container-scan-target-summary.js +30 -2
  14. package/lib/model/container-scan-target-summary.js.map +1 -1
  15. package/lib/model/create-container-scan-recipe-details.d.ts +4 -0
  16. package/lib/model/create-container-scan-recipe-details.js.map +1 -1
  17. package/lib/model/impacted-resources-count.d.ts +29 -0
  18. package/lib/model/impacted-resources-count.js +29 -0
  19. package/lib/model/impacted-resources-count.js.map +1 -0
  20. package/lib/model/index.d.ts +16 -0
  21. package/lib/model/index.js +18 -2
  22. package/lib/model/index.js.map +1 -1
  23. package/lib/model/update-container-scan-recipe-details.d.ts +4 -0
  24. package/lib/model/update-container-scan-recipe-details.js.map +1 -1
  25. package/lib/model/vulnerability-impacted-container-summary-collection.d.ts +26 -0
  26. package/lib/model/vulnerability-impacted-container-summary-collection.js +61 -0
  27. package/lib/model/vulnerability-impacted-container-summary-collection.js.map +1 -0
  28. package/lib/model/vulnerability-impacted-container-summary.d.ts +45 -0
  29. package/lib/model/vulnerability-impacted-container-summary.js +29 -0
  30. package/lib/model/vulnerability-impacted-container-summary.js.map +1 -0
  31. package/lib/model/vulnerability-impacted-host-summary-collection.d.ts +26 -0
  32. package/lib/model/vulnerability-impacted-host-summary-collection.js +61 -0
  33. package/lib/model/vulnerability-impacted-host-summary-collection.js.map +1 -0
  34. package/lib/model/vulnerability-impacted-host-summary.d.ts +33 -0
  35. package/lib/model/vulnerability-impacted-host-summary.js +29 -0
  36. package/lib/model/vulnerability-impacted-host-summary.js.map +1 -0
  37. package/lib/model/vulnerability-summary-collection.d.ts +26 -0
  38. package/lib/model/vulnerability-summary-collection.js +61 -0
  39. package/lib/model/vulnerability-summary-collection.js.map +1 -0
  40. package/lib/model/vulnerability-summary.d.ts +63 -0
  41. package/lib/model/vulnerability-summary.js +57 -0
  42. package/lib/model/vulnerability-summary.js.map +1 -0
  43. package/lib/model/vulnerability.d.ts +68 -0
  44. package/lib/model/vulnerability.js +61 -0
  45. package/lib/model/vulnerability.js.map +1 -0
  46. package/lib/request/change-container-scan-recipe-compartment-request.d.ts +1 -1
  47. package/lib/request/change-container-scan-result-compartment-request.d.ts +1 -1
  48. package/lib/request/change-container-scan-target-compartment-request.d.ts +1 -1
  49. package/lib/request/change-host-agent-scan-result-compartment-request.d.ts +1 -1
  50. package/lib/request/change-host-cis-benchmark-scan-result-compartment-request.d.ts +1 -1
  51. package/lib/request/change-host-endpoint-protection-scan-result-compartment-request.d.ts +1 -1
  52. package/lib/request/change-host-port-scan-result-compartment-request.d.ts +1 -1
  53. package/lib/request/change-host-scan-recipe-compartment-request.d.ts +1 -1
  54. package/lib/request/change-host-scan-target-compartment-request.d.ts +1 -1
  55. package/lib/request/create-container-scan-recipe-request.d.ts +1 -1
  56. package/lib/request/create-container-scan-target-request.d.ts +1 -1
  57. package/lib/request/create-host-scan-recipe-request.d.ts +1 -1
  58. package/lib/request/create-host-scan-target-request.d.ts +1 -1
  59. package/lib/request/delete-container-scan-recipe-request.d.ts +1 -1
  60. package/lib/request/delete-container-scan-result-request.d.ts +1 -1
  61. package/lib/request/delete-container-scan-target-request.d.ts +1 -1
  62. package/lib/request/delete-host-agent-scan-result-request.d.ts +1 -1
  63. package/lib/request/delete-host-cis-benchmark-scan-result-request.d.ts +1 -1
  64. package/lib/request/delete-host-endpoint-protection-scan-result-request.d.ts +1 -1
  65. package/lib/request/delete-host-port-scan-result-request.d.ts +1 -1
  66. package/lib/request/delete-host-scan-recipe-request.d.ts +1 -1
  67. package/lib/request/delete-host-scan-target-request.d.ts +1 -1
  68. package/lib/request/export-host-agent-scan-result-csv-request.d.ts +1 -1
  69. package/lib/request/export-host-vulnerability-csv-request.d.ts +1 -1
  70. package/lib/request/get-container-scan-recipe-request.d.ts +1 -1
  71. package/lib/request/get-container-scan-result-request.d.ts +1 -1
  72. package/lib/request/get-container-scan-target-request.d.ts +1 -1
  73. package/lib/request/get-host-agent-scan-result-request.d.ts +1 -1
  74. package/lib/request/get-host-cis-benchmark-scan-result-request.d.ts +1 -1
  75. package/lib/request/get-host-endpoint-protection-scan-result-request.d.ts +1 -1
  76. package/lib/request/get-host-port-scan-result-request.d.ts +1 -1
  77. package/lib/request/get-host-scan-recipe-request.d.ts +1 -1
  78. package/lib/request/get-host-scan-target-request.d.ts +1 -1
  79. package/lib/request/get-host-vulnerability-request.d.ts +1 -1
  80. package/lib/request/get-vulnerability-request.d.ts +26 -0
  81. package/lib/request/get-vulnerability-request.js +15 -0
  82. package/lib/request/get-vulnerability-request.js.map +1 -0
  83. package/lib/request/get-work-request-request.d.ts +1 -1
  84. package/lib/request/index.d.ts +8 -0
  85. package/lib/request/index.js +24 -0
  86. package/lib/request/index.js.map +1 -1
  87. package/lib/request/list-container-scan-recipes-request.d.ts +1 -1
  88. package/lib/request/list-container-scan-results-request.d.ts +1 -1
  89. package/lib/request/list-container-scan-targets-request.d.ts +1 -1
  90. package/lib/request/list-host-agent-scan-results-request.d.ts +1 -1
  91. package/lib/request/list-host-cis-benchmark-scan-results-request.d.ts +1 -1
  92. package/lib/request/list-host-endpoint-protection-scan-results-request.d.ts +1 -1
  93. package/lib/request/list-host-port-scan-results-request.d.ts +1 -1
  94. package/lib/request/list-host-scan-recipes-request.d.ts +1 -1
  95. package/lib/request/list-host-scan-targets-request.d.ts +1 -1
  96. package/lib/request/list-host-vulnerabilities-request.d.ts +1 -1
  97. package/lib/request/list-host-vulnerability-impacted-hosts-request.d.ts +1 -1
  98. package/lib/request/list-vulnerabilities-request.d.ts +72 -0
  99. package/lib/request/list-vulnerabilities-request.js +29 -0
  100. package/lib/request/list-vulnerabilities-request.js.map +1 -0
  101. package/lib/request/list-vulnerability-impacted-containers-request.d.ts +51 -0
  102. package/lib/request/list-vulnerability-impacted-containers-request.js +25 -0
  103. package/lib/request/list-vulnerability-impacted-containers-request.js.map +1 -0
  104. package/lib/request/list-vulnerability-impacted-hosts-request.d.ts +44 -0
  105. package/lib/request/list-vulnerability-impacted-hosts-request.js +15 -0
  106. package/lib/request/list-vulnerability-impacted-hosts-request.js.map +1 -0
  107. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  108. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  109. package/lib/request/list-work-requests-request.d.ts +1 -1
  110. package/lib/request/update-container-scan-recipe-request.d.ts +1 -1
  111. package/lib/request/update-container-scan-target-request.d.ts +1 -1
  112. package/lib/request/update-host-scan-recipe-request.d.ts +1 -1
  113. package/lib/request/update-host-scan-target-request.d.ts +1 -1
  114. package/lib/response/get-vulnerability-response.d.ts +30 -0
  115. package/lib/response/get-vulnerability-response.js +15 -0
  116. package/lib/response/get-vulnerability-response.js.map +1 -0
  117. package/lib/response/index.d.ts +8 -0
  118. package/lib/response/list-vulnerabilities-response.d.ts +32 -0
  119. package/lib/response/list-vulnerabilities-response.js +15 -0
  120. package/lib/response/list-vulnerabilities-response.js.map +1 -0
  121. package/lib/response/list-vulnerability-impacted-containers-response.d.ts +32 -0
  122. package/lib/response/list-vulnerability-impacted-containers-response.js +15 -0
  123. package/lib/response/list-vulnerability-impacted-containers-response.js.map +1 -0
  124. package/lib/response/list-vulnerability-impacted-hosts-response.d.ts +32 -0
  125. package/lib/response/list-vulnerability-impacted-hosts-response.js +15 -0
  126. package/lib/response/list-vulnerability-impacted-hosts-response.js.map +1 -0
  127. package/lib/vulnerabilityscanning-waiter.d.ts +8 -0
  128. package/lib/vulnerabilityscanning-waiter.js +12 -0
  129. package/lib/vulnerabilityscanning-waiter.js.map +1 -1
  130. package/package.json +3 -3
@@ -0,0 +1,26 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20210215
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import common = require("oci-common");
14
+ /**
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.18.0/vulnerabilityscanning/GetVulnerability.ts.html |here} to see how to use GetVulnerabilityRequest.
16
+ */
17
+ export interface GetVulnerabilityRequest extends common.BaseRequest {
18
+ /**
19
+ * unique vulnerability identifier
20
+ */
21
+ "vulnerabilityId": string;
22
+ /**
23
+ * The client request ID for tracing.
24
+ */
25
+ "opcRequestId"?: string;
26
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20210215
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ //# sourceMappingURL=get-vulnerability-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-vulnerability-request.js","sourceRoot":"","sources":["../../../../../lib/vulnerabilityscanning/lib/request/get-vulnerability-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -12,7 +12,7 @@
12
12
  */
13
13
  import common = require("oci-common");
14
14
  /**
15
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.17.0/vulnerabilityscanning/GetWorkRequest.ts.html |here} to see how to use GetWorkRequestRequest.
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.18.0/vulnerabilityscanning/GetWorkRequest.ts.html |here} to see how to use GetWorkRequestRequest.
16
16
  */
17
17
  export interface GetWorkRequestRequest extends common.BaseRequest {
18
18
  /**
@@ -78,6 +78,8 @@ import * as GetHostScanTargetRequest from "./get-host-scan-target-request";
78
78
  export import GetHostScanTargetRequest = GetHostScanTargetRequest.GetHostScanTargetRequest;
79
79
  import * as GetHostVulnerabilityRequest from "./get-host-vulnerability-request";
80
80
  export import GetHostVulnerabilityRequest = GetHostVulnerabilityRequest.GetHostVulnerabilityRequest;
81
+ import * as GetVulnerabilityRequest from "./get-vulnerability-request";
82
+ export import GetVulnerabilityRequest = GetVulnerabilityRequest.GetVulnerabilityRequest;
81
83
  import * as GetWorkRequestRequest from "./get-work-request-request";
82
84
  export import GetWorkRequestRequest = GetWorkRequestRequest.GetWorkRequestRequest;
83
85
  import * as ListContainerScanRecipesRequest from "./list-container-scan-recipes-request";
@@ -102,6 +104,12 @@ import * as ListHostVulnerabilitiesRequest from "./list-host-vulnerabilities-req
102
104
  export import ListHostVulnerabilitiesRequest = ListHostVulnerabilitiesRequest.ListHostVulnerabilitiesRequest;
103
105
  import * as ListHostVulnerabilityImpactedHostsRequest from "./list-host-vulnerability-impacted-hosts-request";
104
106
  export import ListHostVulnerabilityImpactedHostsRequest = ListHostVulnerabilityImpactedHostsRequest.ListHostVulnerabilityImpactedHostsRequest;
107
+ import * as ListVulnerabilitiesRequest from "./list-vulnerabilities-request";
108
+ export import ListVulnerabilitiesRequest = ListVulnerabilitiesRequest.ListVulnerabilitiesRequest;
109
+ import * as ListVulnerabilityImpactedContainersRequest from "./list-vulnerability-impacted-containers-request";
110
+ export import ListVulnerabilityImpactedContainersRequest = ListVulnerabilityImpactedContainersRequest.ListVulnerabilityImpactedContainersRequest;
111
+ import * as ListVulnerabilityImpactedHostsRequest from "./list-vulnerability-impacted-hosts-request";
112
+ export import ListVulnerabilityImpactedHostsRequest = ListVulnerabilityImpactedHostsRequest.ListVulnerabilityImpactedHostsRequest;
105
113
  import * as ListWorkRequestErrorsRequest from "./list-work-request-errors-request";
106
114
  export import ListWorkRequestErrorsRequest = ListWorkRequestErrorsRequest.ListWorkRequestErrorsRequest;
107
115
  import * as ListWorkRequestLogsRequest from "./list-work-request-logs-request";
@@ -11,5 +11,29 @@
11
11
  * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
12
12
  * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
13
  */
14
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
17
+ }) : (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ o[k2] = m[k];
20
+ }));
21
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
22
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
23
+ }) : function(o, v) {
24
+ o["default"] = v;
25
+ });
26
+ var __importStar = (this && this.__importStar) || function (mod) {
27
+ if (mod && mod.__esModule) return mod;
28
+ var result = {};
29
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
30
+ __setModuleDefault(result, mod);
31
+ return result;
32
+ };
14
33
  Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.ListVulnerabilityImpactedContainersRequest = exports.ListVulnerabilitiesRequest = void 0;
35
+ const ListVulnerabilitiesRequest = __importStar(require("./list-vulnerabilities-request"));
36
+ exports.ListVulnerabilitiesRequest = ListVulnerabilitiesRequest.ListVulnerabilitiesRequest;
37
+ const ListVulnerabilityImpactedContainersRequest = __importStar(require("./list-vulnerability-impacted-containers-request"));
38
+ exports.ListVulnerabilityImpactedContainersRequest = ListVulnerabilityImpactedContainersRequest.ListVulnerabilityImpactedContainersRequest;
15
39
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/vulnerabilityscanning/lib/request/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/vulnerabilityscanning/lib/request/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAgGH,2FAA6E;AAC/D,QAAA,0BAA0B,GAAG,0BAA0B,CAAC,0BAA0B,CAAC;AACjG,6HAA+G;AACjG,QAAA,0CAA0C,GAAG,0CAA0C,CAAC,0CAA0C,CAAC"}
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.17.0/vulnerabilityscanning/ListContainerScanRecipes.ts.html |here} to see how to use ListContainerScanRecipesRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.18.0/vulnerabilityscanning/ListContainerScanRecipes.ts.html |here} to see how to use ListContainerScanRecipesRequest.
17
17
  */
18
18
  export interface ListContainerScanRecipesRequest extends common.BaseRequest {
19
19
  /**
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.17.0/vulnerabilityscanning/ListContainerScanResults.ts.html |here} to see how to use ListContainerScanResultsRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.18.0/vulnerabilityscanning/ListContainerScanResults.ts.html |here} to see how to use ListContainerScanResultsRequest.
17
17
  */
18
18
  export interface ListContainerScanResultsRequest extends common.BaseRequest {
19
19
  /**
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.17.0/vulnerabilityscanning/ListContainerScanTargets.ts.html |here} to see how to use ListContainerScanTargetsRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.18.0/vulnerabilityscanning/ListContainerScanTargets.ts.html |here} to see how to use ListContainerScanTargetsRequest.
17
17
  */
18
18
  export interface ListContainerScanTargetsRequest extends common.BaseRequest {
19
19
  /**
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.17.0/vulnerabilityscanning/ListHostAgentScanResults.ts.html |here} to see how to use ListHostAgentScanResultsRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.18.0/vulnerabilityscanning/ListHostAgentScanResults.ts.html |here} to see how to use ListHostAgentScanResultsRequest.
17
17
  */
18
18
  export interface ListHostAgentScanResultsRequest extends common.BaseRequest {
19
19
  /**
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.17.0/vulnerabilityscanning/ListHostCisBenchmarkScanResults.ts.html |here} to see how to use ListHostCisBenchmarkScanResultsRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.18.0/vulnerabilityscanning/ListHostCisBenchmarkScanResults.ts.html |here} to see how to use ListHostCisBenchmarkScanResultsRequest.
17
17
  */
18
18
  export interface ListHostCisBenchmarkScanResultsRequest extends common.BaseRequest {
19
19
  /**
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.17.0/vulnerabilityscanning/ListHostEndpointProtectionScanResults.ts.html |here} to see how to use ListHostEndpointProtectionScanResultsRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.18.0/vulnerabilityscanning/ListHostEndpointProtectionScanResults.ts.html |here} to see how to use ListHostEndpointProtectionScanResultsRequest.
17
17
  */
18
18
  export interface ListHostEndpointProtectionScanResultsRequest extends common.BaseRequest {
19
19
  /**
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.17.0/vulnerabilityscanning/ListHostPortScanResults.ts.html |here} to see how to use ListHostPortScanResultsRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.18.0/vulnerabilityscanning/ListHostPortScanResults.ts.html |here} to see how to use ListHostPortScanResultsRequest.
17
17
  */
18
18
  export interface ListHostPortScanResultsRequest extends common.BaseRequest {
19
19
  /**
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.17.0/vulnerabilityscanning/ListHostScanRecipes.ts.html |here} to see how to use ListHostScanRecipesRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.18.0/vulnerabilityscanning/ListHostScanRecipes.ts.html |here} to see how to use ListHostScanRecipesRequest.
17
17
  */
18
18
  export interface ListHostScanRecipesRequest extends common.BaseRequest {
19
19
  /**
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.17.0/vulnerabilityscanning/ListHostScanTargets.ts.html |here} to see how to use ListHostScanTargetsRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.18.0/vulnerabilityscanning/ListHostScanTargets.ts.html |here} to see how to use ListHostScanTargetsRequest.
17
17
  */
18
18
  export interface ListHostScanTargetsRequest extends common.BaseRequest {
19
19
  /**
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.17.0/vulnerabilityscanning/ListHostVulnerabilities.ts.html |here} to see how to use ListHostVulnerabilitiesRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.18.0/vulnerabilityscanning/ListHostVulnerabilities.ts.html |here} to see how to use ListHostVulnerabilitiesRequest.
17
17
  */
18
18
  export interface ListHostVulnerabilitiesRequest extends common.BaseRequest {
19
19
  /**
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.17.0/vulnerabilityscanning/ListHostVulnerabilityImpactedHosts.ts.html |here} to see how to use ListHostVulnerabilityImpactedHostsRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.18.0/vulnerabilityscanning/ListHostVulnerabilityImpactedHosts.ts.html |here} to see how to use ListHostVulnerabilityImpactedHostsRequest.
17
17
  */
18
18
  export interface ListHostVulnerabilityImpactedHostsRequest extends common.BaseRequest {
19
19
  /**
@@ -0,0 +1,72 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20210215
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import * as model from "../model";
14
+ import common = require("oci-common");
15
+ /**
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.18.0/vulnerabilityscanning/ListVulnerabilities.ts.html |here} to see how to use ListVulnerabilitiesRequest.
17
+ */
18
+ export interface ListVulnerabilitiesRequest extends common.BaseRequest {
19
+ /**
20
+ * The ID of the compartment in which to list resources.
21
+ */
22
+ "compartmentId": string;
23
+ /**
24
+ * The maximum number of items to return.
25
+ */
26
+ "limit"?: number;
27
+ /**
28
+ * The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
29
+ */
30
+ "page"?: string;
31
+ /**
32
+ * A filter to return only resources that have a severity that matches the given severity
33
+ */
34
+ "severity"?: model.ScanResultProblemSeverity;
35
+ /**
36
+ * A filter to return only resources that match the entire name given.
37
+ */
38
+ "name"?: string;
39
+ /**
40
+ * Parameter to filter the vulnerability type's unique identifier. For CVE, this is the MITRE CVE ID
41
+ */
42
+ "vulnerabilityReference"?: string;
43
+ /**
44
+ * The field to filter vulnerabilities based on its type. Only one value can be provided.
45
+ *
46
+ */
47
+ "vulnerabilityType"?: model.VulnerabilityType;
48
+ /**
49
+ * The sort order to use, either 'ASC' or 'DESC'.
50
+ */
51
+ "sortOrder"?: model.SortOrder;
52
+ /**
53
+ * The field to sort by. Only one sort order may be provided. Default order for 'name' is Ascending. Default order for other values is descending. If no value is specified name is default.
54
+ *
55
+ */
56
+ "sortBy"?: ListVulnerabilitiesRequest.SortBy;
57
+ /**
58
+ * The client request ID for tracing.
59
+ */
60
+ "opcRequestId"?: string;
61
+ }
62
+ export declare namespace ListVulnerabilitiesRequest {
63
+ enum SortBy {
64
+ Name = "name",
65
+ Severity = "severity",
66
+ FirstDetected = "firstDetected",
67
+ LastDetected = "lastDetected",
68
+ ImpactedHosts = "impactedHosts",
69
+ ImpactedContainers = "impactedContainers",
70
+ ImpactedResources = "impactedResources"
71
+ }
72
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20210215
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.ListVulnerabilitiesRequest = void 0;
16
+ var ListVulnerabilitiesRequest;
17
+ (function (ListVulnerabilitiesRequest) {
18
+ let SortBy;
19
+ (function (SortBy) {
20
+ SortBy["Name"] = "name";
21
+ SortBy["Severity"] = "severity";
22
+ SortBy["FirstDetected"] = "firstDetected";
23
+ SortBy["LastDetected"] = "lastDetected";
24
+ SortBy["ImpactedHosts"] = "impactedHosts";
25
+ SortBy["ImpactedContainers"] = "impactedContainers";
26
+ SortBy["ImpactedResources"] = "impactedResources";
27
+ })(SortBy = ListVulnerabilitiesRequest.SortBy || (ListVulnerabilitiesRequest.SortBy = {}));
28
+ })(ListVulnerabilitiesRequest = exports.ListVulnerabilitiesRequest || (exports.ListVulnerabilitiesRequest = {}));
29
+ //# sourceMappingURL=list-vulnerabilities-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-vulnerabilities-request.js","sourceRoot":"","sources":["../../../../../lib/vulnerabilityscanning/lib/request/list-vulnerabilities-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAqDH,IAAiB,0BAA0B,CAU1C;AAVD,WAAiB,0BAA0B;IACzC,IAAY,MAQX;IARD,WAAY,MAAM;QAChB,uBAAa,CAAA;QACb,+BAAqB,CAAA;QACrB,yCAA+B,CAAA;QAC/B,uCAA6B,CAAA;QAC7B,yCAA+B,CAAA;QAC/B,mDAAyC,CAAA;QACzC,iDAAuC,CAAA;IACzC,CAAC,EARW,MAAM,GAAN,iCAAM,KAAN,iCAAM,QAQjB;AACH,CAAC,EAVgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAU1C"}
@@ -0,0 +1,51 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20210215
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import * as model from "../model";
14
+ import common = require("oci-common");
15
+ /**
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.18.0/vulnerabilityscanning/ListVulnerabilityImpactedContainers.ts.html |here} to see how to use ListVulnerabilityImpactedContainersRequest.
17
+ */
18
+ export interface ListVulnerabilityImpactedContainersRequest extends common.BaseRequest {
19
+ /**
20
+ * unique vulnerability identifier
21
+ */
22
+ "vulnerabilityId": string;
23
+ /**
24
+ * The sort order to use, either 'ASC' or 'DESC'.
25
+ */
26
+ "sortOrder"?: model.SortOrder;
27
+ /**
28
+ * The maximum number of items to return.
29
+ */
30
+ "limit"?: number;
31
+ /**
32
+ * The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
33
+ */
34
+ "page"?: string;
35
+ /**
36
+ * The client request ID for tracing.
37
+ */
38
+ "opcRequestId"?: string;
39
+ /**
40
+ * The field to sort by. Only one sort order may be provided. Default order is Ascending. If no value is specified image name is default.
41
+ *
42
+ */
43
+ "sortBy"?: ListVulnerabilityImpactedContainersRequest.SortBy;
44
+ }
45
+ export declare namespace ListVulnerabilityImpactedContainersRequest {
46
+ enum SortBy {
47
+ Image = "image",
48
+ Repository = "repository",
49
+ Registry = "registry"
50
+ }
51
+ }
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20210215
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.ListVulnerabilityImpactedContainersRequest = void 0;
16
+ var ListVulnerabilityImpactedContainersRequest;
17
+ (function (ListVulnerabilityImpactedContainersRequest) {
18
+ let SortBy;
19
+ (function (SortBy) {
20
+ SortBy["Image"] = "image";
21
+ SortBy["Repository"] = "repository";
22
+ SortBy["Registry"] = "registry";
23
+ })(SortBy = ListVulnerabilityImpactedContainersRequest.SortBy || (ListVulnerabilityImpactedContainersRequest.SortBy = {}));
24
+ })(ListVulnerabilityImpactedContainersRequest = exports.ListVulnerabilityImpactedContainersRequest || (exports.ListVulnerabilityImpactedContainersRequest = {}));
25
+ //# sourceMappingURL=list-vulnerability-impacted-containers-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-vulnerability-impacted-containers-request.js","sourceRoot":"","sources":["../../../../../lib/vulnerabilityscanning/lib/request/list-vulnerability-impacted-containers-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAoCH,IAAiB,0CAA0C,CAM1D;AAND,WAAiB,0CAA0C;IACzD,IAAY,MAIX;IAJD,WAAY,MAAM;QAChB,yBAAe,CAAA;QACf,mCAAyB,CAAA;QACzB,+BAAqB,CAAA;IACvB,CAAC,EAJW,MAAM,GAAN,iDAAM,KAAN,iDAAM,QAIjB;AACH,CAAC,EANgB,0CAA0C,GAA1C,kDAA0C,KAA1C,kDAA0C,QAM1D"}
@@ -0,0 +1,44 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20210215
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import * as model from "../model";
14
+ import common = require("oci-common");
15
+ /**
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.18.0/vulnerabilityscanning/ListVulnerabilityImpactedHosts.ts.html |here} to see how to use ListVulnerabilityImpactedHostsRequest.
17
+ */
18
+ export interface ListVulnerabilityImpactedHostsRequest extends common.BaseRequest {
19
+ /**
20
+ * unique vulnerability identifier
21
+ */
22
+ "vulnerabilityId": string;
23
+ /**
24
+ * The sort order to use, either 'ASC' or 'DESC'.
25
+ */
26
+ "sortOrder"?: model.SortOrder;
27
+ /**
28
+ * The field to sort by. Only one sort order may be provided. Default order is Ascending. If no value is specified instanceId is default.
29
+ *
30
+ */
31
+ "sortBy"?: model.ImpactedHostSortBy;
32
+ /**
33
+ * The maximum number of items to return.
34
+ */
35
+ "limit"?: number;
36
+ /**
37
+ * The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
38
+ */
39
+ "page"?: string;
40
+ /**
41
+ * The client request ID for tracing.
42
+ */
43
+ "opcRequestId"?: string;
44
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20210215
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ //# sourceMappingURL=list-vulnerability-impacted-hosts-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-vulnerability-impacted-hosts-request.js","sourceRoot":"","sources":["../../../../../lib/vulnerabilityscanning/lib/request/list-vulnerability-impacted-hosts-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
@@ -12,7 +12,7 @@
12
12
  */
13
13
  import common = require("oci-common");
14
14
  /**
15
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.17.0/vulnerabilityscanning/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrorsRequest.
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.18.0/vulnerabilityscanning/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrorsRequest.
16
16
  */
17
17
  export interface ListWorkRequestErrorsRequest extends common.BaseRequest {
18
18
  /**
@@ -12,7 +12,7 @@
12
12
  */
13
13
  import common = require("oci-common");
14
14
  /**
15
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.17.0/vulnerabilityscanning/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogsRequest.
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.18.0/vulnerabilityscanning/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogsRequest.
16
16
  */
17
17
  export interface ListWorkRequestLogsRequest extends common.BaseRequest {
18
18
  /**
@@ -12,7 +12,7 @@
12
12
  */
13
13
  import common = require("oci-common");
14
14
  /**
15
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.17.0/vulnerabilityscanning/ListWorkRequests.ts.html |here} to see how to use ListWorkRequestsRequest.
15
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.18.0/vulnerabilityscanning/ListWorkRequests.ts.html |here} to see how to use ListWorkRequestsRequest.
16
16
  */
17
17
  export interface ListWorkRequestsRequest extends common.BaseRequest {
18
18
  /**
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.17.0/vulnerabilityscanning/UpdateContainerScanRecipe.ts.html |here} to see how to use UpdateContainerScanRecipeRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.18.0/vulnerabilityscanning/UpdateContainerScanRecipe.ts.html |here} to see how to use UpdateContainerScanRecipeRequest.
17
17
  */
18
18
  export interface UpdateContainerScanRecipeRequest extends common.BaseRequest {
19
19
  /**
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.17.0/vulnerabilityscanning/UpdateContainerScanTarget.ts.html |here} to see how to use UpdateContainerScanTargetRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.18.0/vulnerabilityscanning/UpdateContainerScanTarget.ts.html |here} to see how to use UpdateContainerScanTargetRequest.
17
17
  */
18
18
  export interface UpdateContainerScanTargetRequest extends common.BaseRequest {
19
19
  /**
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.17.0/vulnerabilityscanning/UpdateHostScanRecipe.ts.html |here} to see how to use UpdateHostScanRecipeRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.18.0/vulnerabilityscanning/UpdateHostScanRecipe.ts.html |here} to see how to use UpdateHostScanRecipeRequest.
17
17
  */
18
18
  export interface UpdateHostScanRecipeRequest extends common.BaseRequest {
19
19
  /**
@@ -13,7 +13,7 @@
13
13
  import * as model from "../model";
14
14
  import common = require("oci-common");
15
15
  /**
16
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.17.0/vulnerabilityscanning/UpdateHostScanTarget.ts.html |here} to see how to use UpdateHostScanTargetRequest.
16
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.18.0/vulnerabilityscanning/UpdateHostScanTarget.ts.html |here} to see how to use UpdateHostScanTargetRequest.
17
17
  */
18
18
  export interface UpdateHostScanTargetRequest extends common.BaseRequest {
19
19
  /**
@@ -0,0 +1,30 @@
1
+ /**
2
+ *
3
+ *
4
+ * OpenAPI spec version: 20210215
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
11
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
12
+ */
13
+ import * as model from "../model";
14
+ export interface GetVulnerabilityResponse {
15
+ /**
16
+ * For optimistic concurrency control. See `if-match`.
17
+ *
18
+ */
19
+ "etag": string;
20
+ /**
21
+ * Unique Oracle-assigned identifier for the request. If you need to contact
22
+ * Oracle about a particular request, please provide the request ID.
23
+ *
24
+ */
25
+ "opcRequestId": string;
26
+ /**
27
+ * The returned model.Vulnerability instance.
28
+ */
29
+ "vulnerability": model.Vulnerability;
30
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ *
5
+ * OpenAPI spec version: 20210215
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
12
+ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
13
+ */
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ //# sourceMappingURL=get-vulnerability-response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-vulnerability-response.js","sourceRoot":"","sources":["../../../../../lib/vulnerabilityscanning/lib/response/get-vulnerability-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}