oci-adm 2.70.4 → 2.72.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 (275) hide show
  1. package/lib/applicationdependencymanagement-waiter.d.ts +16 -0
  2. package/lib/applicationdependencymanagement-waiter.js +24 -0
  3. package/lib/applicationdependencymanagement-waiter.js.map +1 -1
  4. package/lib/client.d.ts +184 -18
  5. package/lib/client.js +1312 -176
  6. package/lib/client.js.map +1 -1
  7. package/lib/model/application-dependency-recommendation-collection.d.ts +26 -0
  8. package/lib/model/application-dependency-recommendation-collection.js +61 -0
  9. package/lib/model/application-dependency-recommendation-collection.js.map +1 -0
  10. package/lib/model/application-dependency-recommendation-summary.d.ts +39 -0
  11. package/lib/model/application-dependency-recommendation-summary.js +29 -0
  12. package/lib/model/application-dependency-recommendation-summary.js.map +1 -0
  13. package/lib/model/application-dependency-vulnerability-collection.d.ts +3 -3
  14. package/lib/model/application-dependency-vulnerability-summary.d.ts +6 -6
  15. package/lib/model/application-dependency.d.ts +3 -3
  16. package/lib/model/apply-stage.d.ts +27 -0
  17. package/lib/model/apply-stage.js +66 -0
  18. package/lib/model/apply-stage.js.map +1 -0
  19. package/lib/model/change-knowledge-base-compartment-details.d.ts +2 -2
  20. package/lib/model/change-remediation-recipe-compartment-details.d.ts +25 -0
  21. package/lib/model/change-remediation-recipe-compartment-details.js +29 -0
  22. package/lib/model/change-remediation-recipe-compartment-details.js.map +1 -0
  23. package/lib/model/change-remediation-run-compartment-details.d.ts +25 -0
  24. package/lib/model/change-remediation-run-compartment-details.js +29 -0
  25. package/lib/model/change-remediation-run-compartment-details.js.map +1 -0
  26. package/lib/model/change-vulnerability-audit-compartment-details.d.ts +1 -1
  27. package/lib/model/create-knowledge-base-details.d.ts +3 -3
  28. package/lib/model/create-remediation-recipe-details.d.ts +60 -0
  29. package/lib/model/create-remediation-recipe-details.js +75 -0
  30. package/lib/model/create-remediation-recipe-details.js.map +1 -0
  31. package/lib/model/create-remediation-run-details.d.ts +47 -0
  32. package/lib/model/create-remediation-run-details.js +29 -0
  33. package/lib/model/create-remediation-run-details.js.map +1 -0
  34. package/lib/model/create-vulnerability-audit-details.d.ts +6 -6
  35. package/lib/model/detect-configuration.d.ts +50 -0
  36. package/lib/model/detect-configuration.js +38 -0
  37. package/lib/model/detect-configuration.js.map +1 -0
  38. package/lib/model/detect-stage.d.ts +29 -0
  39. package/lib/model/detect-stage.js +52 -0
  40. package/lib/model/detect-stage.js.map +1 -0
  41. package/lib/model/external-resource-vulnerability-audit-source.d.ts +1 -1
  42. package/lib/model/external-scm-configuration.d.ts +57 -0
  43. package/lib/model/external-scm-configuration.js +64 -0
  44. package/lib/model/external-scm-configuration.js.map +1 -0
  45. package/lib/model/git-hub-actions-configuration.d.ts +51 -0
  46. package/lib/model/git-hub-actions-configuration.js +54 -0
  47. package/lib/model/git-hub-actions-configuration.js.map +1 -0
  48. package/lib/model/git-lab-pipeline-configuration.d.ts +52 -0
  49. package/lib/model/git-lab-pipeline-configuration.js +54 -0
  50. package/lib/model/git-lab-pipeline-configuration.js.map +1 -0
  51. package/lib/model/index.d.ts +72 -0
  52. package/lib/model/index.js +74 -1
  53. package/lib/model/index.js.map +1 -1
  54. package/lib/model/jenkins-pipeline-configuration.d.ts +48 -0
  55. package/lib/model/jenkins-pipeline-configuration.js +54 -0
  56. package/lib/model/jenkins-pipeline-configuration.js.map +1 -0
  57. package/lib/model/knowledge-base-collection.d.ts +2 -2
  58. package/lib/model/knowledge-base-summary.d.ts +7 -7
  59. package/lib/model/knowledge-base.d.ts +7 -7
  60. package/lib/model/network-configuration.d.ts +31 -0
  61. package/lib/model/network-configuration.js +29 -0
  62. package/lib/model/network-configuration.js.map +1 -0
  63. package/lib/model/none-verify-configuration.d.ts +24 -0
  64. package/lib/model/none-verify-configuration.js +54 -0
  65. package/lib/model/none-verify-configuration.js.map +1 -0
  66. package/lib/model/oci-code-repository-configuration.d.ts +28 -0
  67. package/lib/model/oci-code-repository-configuration.js +54 -0
  68. package/lib/model/oci-code-repository-configuration.js.map +1 -0
  69. package/lib/model/oci-dev-ops-build-configuration.d.ts +34 -0
  70. package/lib/model/oci-dev-ops-build-configuration.js +54 -0
  71. package/lib/model/oci-dev-ops-build-configuration.js.map +1 -0
  72. package/lib/model/oci-resource-vulnerability-audit-source.d.ts +2 -2
  73. package/lib/model/operation-type.d.ts +6 -0
  74. package/lib/model/operation-type.js +6 -0
  75. package/lib/model/operation-type.js.map +1 -1
  76. package/lib/model/pipeline-properties.d.ts +29 -0
  77. package/lib/model/pipeline-properties.js +29 -0
  78. package/lib/model/pipeline-properties.js.map +1 -0
  79. package/lib/model/pull-request-properties.d.ts +29 -0
  80. package/lib/model/pull-request-properties.js +29 -0
  81. package/lib/model/pull-request-properties.js.map +1 -0
  82. package/lib/model/recommend-stage.d.ts +30 -0
  83. package/lib/model/recommend-stage.js +60 -0
  84. package/lib/model/recommend-stage.js.map +1 -0
  85. package/lib/model/remediation-recipe-collection.d.ts +26 -0
  86. package/lib/model/remediation-recipe-collection.js +61 -0
  87. package/lib/model/remediation-recipe-collection.js.map +1 -0
  88. package/lib/model/remediation-recipe-summary.d.ts +81 -0
  89. package/lib/model/remediation-recipe-summary.js +29 -0
  90. package/lib/model/remediation-recipe-summary.js.map +1 -0
  91. package/lib/model/remediation-recipe.d.ts +103 -0
  92. package/lib/model/remediation-recipe.js +91 -0
  93. package/lib/model/remediation-recipe.js.map +1 -0
  94. package/lib/model/remediation-run-collection.d.ts +26 -0
  95. package/lib/model/remediation-run-collection.js +61 -0
  96. package/lib/model/remediation-run-collection.js.map +1 -0
  97. package/lib/model/remediation-run-stage-collection.d.ts +26 -0
  98. package/lib/model/remediation-run-stage-collection.js +61 -0
  99. package/lib/model/remediation-run-stage-collection.js.map +1 -0
  100. package/lib/model/remediation-run-stage-summary.d.ts +50 -0
  101. package/lib/model/remediation-run-stage-summary.js +29 -0
  102. package/lib/model/remediation-run-stage-summary.js.map +1 -0
  103. package/lib/model/remediation-run-stage-type.d.ts +30 -0
  104. package/lib/model/remediation-run-stage-type.js +41 -0
  105. package/lib/model/remediation-run-stage-type.js.map +1 -0
  106. package/lib/model/remediation-run-stage.d.ts +70 -0
  107. package/lib/model/remediation-run-stage.js +94 -0
  108. package/lib/model/remediation-run-stage.js.map +1 -0
  109. package/lib/model/remediation-run-summary.d.ts +94 -0
  110. package/lib/model/remediation-run-summary.js +29 -0
  111. package/lib/model/remediation-run-summary.js.map +1 -0
  112. package/lib/model/remediation-run.d.ts +125 -0
  113. package/lib/model/remediation-run.js +87 -0
  114. package/lib/model/remediation-run.js.map +1 -0
  115. package/lib/model/scm-configuration.d.ts +38 -0
  116. package/lib/model/scm-configuration.js +72 -0
  117. package/lib/model/scm-configuration.js.map +1 -0
  118. package/lib/model/stage-summary.d.ts +42 -0
  119. package/lib/model/stage-summary.js +29 -0
  120. package/lib/model/stage-summary.js.map +1 -0
  121. package/lib/model/unknown-source-vulnerability-audit-source.d.ts +1 -1
  122. package/lib/model/update-knowledge-base-details.d.ts +2 -2
  123. package/lib/model/update-remediation-recipe-details.d.ts +56 -0
  124. package/lib/model/update-remediation-recipe-details.js +75 -0
  125. package/lib/model/update-remediation-recipe-details.js.map +1 -0
  126. package/lib/model/update-remediation-run-details.d.ts +43 -0
  127. package/lib/model/update-remediation-run-details.js +29 -0
  128. package/lib/model/update-remediation-run-details.js.map +1 -0
  129. package/lib/model/update-vulnerability-audit-details.d.ts +2 -2
  130. package/lib/model/verify-configuration.d.ts +25 -0
  131. package/lib/model/verify-configuration.js +84 -0
  132. package/lib/model/verify-configuration.js.map +1 -0
  133. package/lib/model/verify-stage.d.ts +27 -0
  134. package/lib/model/verify-stage.js +66 -0
  135. package/lib/model/verify-stage.js.map +1 -0
  136. package/lib/model/vulnerability-audit-collection.d.ts +2 -2
  137. package/lib/model/vulnerability-audit-configuration.d.ts +7 -5
  138. package/lib/model/vulnerability-audit-configuration.js.map +1 -1
  139. package/lib/model/vulnerability-audit-source.d.ts +1 -1
  140. package/lib/model/vulnerability-audit-summary.d.ts +14 -14
  141. package/lib/model/vulnerability-audit.d.ts +17 -17
  142. package/lib/request/activate-remediation-recipe-request.d.ts +35 -0
  143. package/lib/request/activate-remediation-recipe-request.js +15 -0
  144. package/lib/request/activate-remediation-recipe-request.js.map +1 -0
  145. package/lib/request/cancel-remediation-run-request.d.ts +44 -0
  146. package/lib/request/cancel-remediation-run-request.js +15 -0
  147. package/lib/request/cancel-remediation-run-request.js.map +1 -0
  148. package/lib/request/cancel-work-request-request.d.ts +1 -1
  149. package/lib/request/change-knowledge-base-compartment-request.d.ts +1 -1
  150. package/lib/request/change-remediation-recipe-compartment-request.d.ts +49 -0
  151. package/lib/request/change-remediation-recipe-compartment-request.js +15 -0
  152. package/lib/request/change-remediation-recipe-compartment-request.js.map +1 -0
  153. package/lib/request/change-remediation-run-compartment-request.d.ts +49 -0
  154. package/lib/request/change-remediation-run-compartment-request.js +15 -0
  155. package/lib/request/change-remediation-run-compartment-request.js.map +1 -0
  156. package/lib/request/change-vulnerability-audit-compartment-request.d.ts +1 -1
  157. package/lib/request/create-knowledge-base-request.d.ts +1 -1
  158. package/lib/request/create-remediation-recipe-request.d.ts +36 -0
  159. package/lib/request/create-remediation-recipe-request.js +15 -0
  160. package/lib/request/create-remediation-recipe-request.js.map +1 -0
  161. package/lib/request/create-remediation-run-request.d.ts +36 -0
  162. package/lib/request/create-remediation-run-request.js +15 -0
  163. package/lib/request/create-remediation-run-request.js.map +1 -0
  164. package/lib/request/create-vulnerability-audit-request.d.ts +1 -1
  165. package/lib/request/deactivate-remediation-recipe-request.d.ts +35 -0
  166. package/lib/request/deactivate-remediation-recipe-request.js +15 -0
  167. package/lib/request/deactivate-remediation-recipe-request.js.map +1 -0
  168. package/lib/request/delete-knowledge-base-request.d.ts +1 -1
  169. package/lib/request/delete-remediation-recipe-request.d.ts +35 -0
  170. package/lib/request/delete-remediation-recipe-request.js +15 -0
  171. package/lib/request/delete-remediation-recipe-request.js.map +1 -0
  172. package/lib/request/delete-remediation-run-request.d.ts +35 -0
  173. package/lib/request/delete-remediation-run-request.js +15 -0
  174. package/lib/request/delete-remediation-run-request.js.map +1 -0
  175. package/lib/request/delete-vulnerability-audit-request.d.ts +1 -1
  176. package/lib/request/get-knowledge-base-request.d.ts +1 -1
  177. package/lib/request/get-remediation-recipe-request.d.ts +26 -0
  178. package/lib/request/get-remediation-recipe-request.js +15 -0
  179. package/lib/request/get-remediation-recipe-request.js.map +1 -0
  180. package/lib/request/get-remediation-run-request.d.ts +26 -0
  181. package/lib/request/get-remediation-run-request.js +15 -0
  182. package/lib/request/get-remediation-run-request.js.map +1 -0
  183. package/lib/request/get-stage-request.d.ts +31 -0
  184. package/lib/request/get-stage-request.js +15 -0
  185. package/lib/request/get-stage-request.js.map +1 -0
  186. package/lib/request/get-vulnerability-audit-request.d.ts +1 -1
  187. package/lib/request/get-work-request-request.d.ts +1 -1
  188. package/lib/request/index.d.ts +36 -0
  189. package/lib/request/index.js +9 -1
  190. package/lib/request/index.js.map +1 -1
  191. package/lib/request/list-application-dependency-recommendations-request.d.ts +61 -0
  192. package/lib/request/list-application-dependency-recommendations-request.js +26 -0
  193. package/lib/request/list-application-dependency-recommendations-request.js.map +1 -0
  194. package/lib/request/list-application-dependency-vulnerabilities-request.d.ts +1 -1
  195. package/lib/request/list-knowledge-bases-request.d.ts +5 -1
  196. package/lib/request/list-knowledge-bases-request.js.map +1 -1
  197. package/lib/request/list-remediation-recipes-request.d.ts +74 -0
  198. package/lib/request/list-remediation-recipes-request.js +27 -0
  199. package/lib/request/list-remediation-recipes-request.js.map +1 -0
  200. package/lib/request/list-remediation-runs-request.d.ts +80 -0
  201. package/lib/request/list-remediation-runs-request.js +28 -0
  202. package/lib/request/list-remediation-runs-request.js.map +1 -0
  203. package/lib/request/list-stages-request.d.ts +66 -0
  204. package/lib/request/list-stages-request.js +27 -0
  205. package/lib/request/list-stages-request.js.map +1 -0
  206. package/lib/request/list-vulnerability-audits-request.d.ts +5 -1
  207. package/lib/request/list-vulnerability-audits-request.js.map +1 -1
  208. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  209. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  210. package/lib/request/list-work-requests-request.d.ts +3 -1
  211. package/lib/request/list-work-requests-request.js.map +1 -1
  212. package/lib/request/update-knowledge-base-request.d.ts +1 -1
  213. package/lib/request/update-remediation-recipe-request.d.ts +40 -0
  214. package/lib/request/update-remediation-recipe-request.js +15 -0
  215. package/lib/request/update-remediation-recipe-request.js.map +1 -0
  216. package/lib/request/update-remediation-run-request.d.ts +40 -0
  217. package/lib/request/update-remediation-run-request.js +15 -0
  218. package/lib/request/update-remediation-run-request.js.map +1 -0
  219. package/lib/request/update-vulnerability-audit-request.d.ts +1 -1
  220. package/lib/response/activate-remediation-recipe-response.d.ts +25 -0
  221. package/lib/response/activate-remediation-recipe-response.js +15 -0
  222. package/lib/response/activate-remediation-recipe-response.js.map +1 -0
  223. package/lib/response/cancel-remediation-run-response.d.ts +30 -0
  224. package/lib/response/cancel-remediation-run-response.js +15 -0
  225. package/lib/response/cancel-remediation-run-response.js.map +1 -0
  226. package/lib/response/change-remediation-recipe-compartment-response.d.ts +25 -0
  227. package/lib/response/change-remediation-recipe-compartment-response.js +15 -0
  228. package/lib/response/change-remediation-recipe-compartment-response.js.map +1 -0
  229. package/lib/response/change-remediation-run-compartment-response.d.ts +20 -0
  230. package/lib/response/change-remediation-run-compartment-response.js +15 -0
  231. package/lib/response/change-remediation-run-compartment-response.js.map +1 -0
  232. package/lib/response/create-remediation-recipe-response.d.ts +25 -0
  233. package/lib/response/create-remediation-recipe-response.js +15 -0
  234. package/lib/response/create-remediation-recipe-response.js.map +1 -0
  235. package/lib/response/create-remediation-run-response.d.ts +30 -0
  236. package/lib/response/create-remediation-run-response.js +15 -0
  237. package/lib/response/create-remediation-run-response.js.map +1 -0
  238. package/lib/response/deactivate-remediation-recipe-response.d.ts +25 -0
  239. package/lib/response/deactivate-remediation-recipe-response.js +15 -0
  240. package/lib/response/deactivate-remediation-recipe-response.js.map +1 -0
  241. package/lib/response/delete-remediation-recipe-response.d.ts +25 -0
  242. package/lib/response/delete-remediation-recipe-response.js +15 -0
  243. package/lib/response/delete-remediation-recipe-response.js.map +1 -0
  244. package/lib/response/delete-remediation-run-response.d.ts +20 -0
  245. package/lib/response/delete-remediation-run-response.js +15 -0
  246. package/lib/response/delete-remediation-run-response.js.map +1 -0
  247. package/lib/response/get-remediation-recipe-response.d.ts +30 -0
  248. package/lib/response/get-remediation-recipe-response.js +15 -0
  249. package/lib/response/get-remediation-recipe-response.js.map +1 -0
  250. package/lib/response/get-remediation-run-response.d.ts +30 -0
  251. package/lib/response/get-remediation-run-response.js +15 -0
  252. package/lib/response/get-remediation-run-response.js.map +1 -0
  253. package/lib/response/get-stage-response.d.ts +25 -0
  254. package/lib/response/get-stage-response.js +15 -0
  255. package/lib/response/get-stage-response.js.map +1 -0
  256. package/lib/response/index.d.ts +36 -0
  257. package/lib/response/list-application-dependency-recommendations-response.d.ts +32 -0
  258. package/lib/response/list-application-dependency-recommendations-response.js +15 -0
  259. package/lib/response/list-application-dependency-recommendations-response.js.map +1 -0
  260. package/lib/response/list-remediation-recipes-response.d.ts +32 -0
  261. package/lib/response/list-remediation-recipes-response.js +15 -0
  262. package/lib/response/list-remediation-recipes-response.js.map +1 -0
  263. package/lib/response/list-remediation-runs-response.d.ts +32 -0
  264. package/lib/response/list-remediation-runs-response.js +15 -0
  265. package/lib/response/list-remediation-runs-response.js.map +1 -0
  266. package/lib/response/list-stages-response.d.ts +32 -0
  267. package/lib/response/list-stages-response.js +15 -0
  268. package/lib/response/list-stages-response.js.map +1 -0
  269. package/lib/response/update-remediation-recipe-response.d.ts +25 -0
  270. package/lib/response/update-remediation-recipe-response.js +15 -0
  271. package/lib/response/update-remediation-recipe-response.js.map +1 -0
  272. package/lib/response/update-remediation-run-response.d.ts +30 -0
  273. package/lib/response/update-remediation-run-response.js +15 -0
  274. package/lib/response/update-remediation-run-response.js.map +1 -0
  275. package/package.json +3 -3
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ /**
3
+ * Application Dependency Management API
4
+ * Use the Application Dependency Management API to create knowledge bases and vulnerability audits. For more information, see [ADM](/Content/application-dependency-management/home.htm).
5
+ * OpenAPI spec version: 20220421
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2023, 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.PullRequestProperties = void 0;
16
+ var PullRequestProperties;
17
+ (function (PullRequestProperties) {
18
+ function getJsonObj(obj) {
19
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
20
+ return jsonObj;
21
+ }
22
+ PullRequestProperties.getJsonObj = getJsonObj;
23
+ function getDeserializedJsonObj(obj) {
24
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
25
+ return jsonObj;
26
+ }
27
+ PullRequestProperties.getDeserializedJsonObj = getDeserializedJsonObj;
28
+ })(PullRequestProperties = exports.PullRequestProperties || (exports.PullRequestProperties = {}));
29
+ //# sourceMappingURL=pull-request-properties.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pull-request-properties.js","sourceRoot":"","sources":["../../../../../lib/adm/lib/model/pull-request-properties.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAmBH,IAAiB,qBAAqB,CAWrC;AAXD,WAAiB,qBAAqB;IACpC,SAAgB,UAAU,CAAC,GAA0B;QACnD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,gCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA0B;QAC/D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,4CAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAWrC"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Application Dependency Management API
3
+ * Use the Application Dependency Management API to create knowledge bases and vulnerability audits. For more information, see [ADM](/Content/application-dependency-management/home.htm).
4
+ * OpenAPI spec version: 20220421
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2023, 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
+ /**
15
+ * A recommend stage determines the recommended third-party dependencies that the app should use and (if any) opens a pull request to propose these changes.
16
+ *
17
+ */
18
+ export interface RecommendStage extends model.RemediationRunStage {
19
+ /**
20
+ * Count of recommended application dependencies to update. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
21
+ */
22
+ "recommendedUpdatesCount"?: number;
23
+ "pullRequestProperties"?: model.PullRequestProperties;
24
+ "type": string;
25
+ }
26
+ export declare namespace RecommendStage {
27
+ function getJsonObj(obj: RecommendStage, isParentJsonObj?: boolean): object;
28
+ const type = "RECOMMEND";
29
+ function getDeserializedJsonObj(obj: RecommendStage, isParentJsonObj?: boolean): object;
30
+ }
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ /**
3
+ * Application Dependency Management API
4
+ * Use the Application Dependency Management API to create knowledge bases and vulnerability audits. For more information, see [ADM](/Content/application-dependency-management/home.htm).
5
+ * OpenAPI spec version: 20220421
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2023, 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
+ 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
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.RecommendStage = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var RecommendStage;
37
+ (function (RecommendStage) {
38
+ function getJsonObj(obj, isParentJsonObj) {
39
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.RemediationRunStage.getJsonObj(obj))), {
40
+ "pullRequestProperties": obj.pullRequestProperties
41
+ ? model.PullRequestProperties.getJsonObj(obj.pullRequestProperties)
42
+ : undefined
43
+ });
44
+ return jsonObj;
45
+ }
46
+ RecommendStage.getJsonObj = getJsonObj;
47
+ RecommendStage.type = "RECOMMEND";
48
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
49
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
50
+ ? obj
51
+ : model.RemediationRunStage.getDeserializedJsonObj(obj))), {
52
+ "pullRequestProperties": obj.pullRequestProperties
53
+ ? model.PullRequestProperties.getDeserializedJsonObj(obj.pullRequestProperties)
54
+ : undefined
55
+ });
56
+ return jsonObj;
57
+ }
58
+ RecommendStage.getDeserializedJsonObj = getDeserializedJsonObj;
59
+ })(RecommendStage = exports.RecommendStage || (exports.RecommendStage = {}));
60
+ //# sourceMappingURL=recommend-stage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recommend-stage.js","sourceRoot":"","sources":["../../../../../lib/adm/lib/model/recommend-stage.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAiBlC,IAAiB,cAAc,CA4B9B;AA5BD,WAAiB,cAAc;IAC7B,SAAgB,UAAU,CAAC,GAAmB,EAAE,eAAyB;QACvE,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,GAAG,CAAoB,CAAC,GACvF;YACD,uBAAuB,EAAE,GAAG,CAAC,qBAAqB;gBAChD,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,UAAU,CAAC,GAAG,CAAC,qBAAqB,CAAC;gBACnE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,yBAAU,aAWzB,CAAA;IACY,mBAAI,GAAG,WAAW,CAAC;IAChC,SAAgB,sBAAsB,CAAC,GAAmB,EAAE,eAAyB;QACnF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,GAAG,CAAoB,CAAC,GAC3E;YACD,uBAAuB,EAAE,GAAG,CAAC,qBAAqB;gBAChD,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,sBAAsB,CAAC,GAAG,CAAC,qBAAqB,CAAC;gBAC/E,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,qCAAsB,yBAarC,CAAA;AACH,CAAC,EA5BgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QA4B9B"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Application Dependency Management API
3
+ * Use the Application Dependency Management API to create knowledge bases and vulnerability audits. For more information, see [ADM](/Content/application-dependency-management/home.htm).
4
+ * OpenAPI spec version: 20220421
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2023, 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
+ /**
15
+ * Collection of remediation recipe summaries.
16
+ */
17
+ export interface RemediationRecipeCollection {
18
+ /**
19
+ * List of remediation recipe summaries.
20
+ */
21
+ "items": Array<model.RemediationRecipeSummary>;
22
+ }
23
+ export declare namespace RemediationRecipeCollection {
24
+ function getJsonObj(obj: RemediationRecipeCollection): object;
25
+ function getDeserializedJsonObj(obj: RemediationRecipeCollection): object;
26
+ }
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /**
3
+ * Application Dependency Management API
4
+ * Use the Application Dependency Management API to create knowledge bases and vulnerability audits. For more information, see [ADM](/Content/application-dependency-management/home.htm).
5
+ * OpenAPI spec version: 20220421
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2023, 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
+ 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
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.RemediationRecipeCollection = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var RemediationRecipeCollection;
37
+ (function (RemediationRecipeCollection) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "items": obj.items
41
+ ? obj.items.map(item => {
42
+ return model.RemediationRecipeSummary.getJsonObj(item);
43
+ })
44
+ : undefined
45
+ });
46
+ return jsonObj;
47
+ }
48
+ RemediationRecipeCollection.getJsonObj = getJsonObj;
49
+ function getDeserializedJsonObj(obj) {
50
+ const jsonObj = Object.assign(Object.assign({}, obj), {
51
+ "items": obj.items
52
+ ? obj.items.map(item => {
53
+ return model.RemediationRecipeSummary.getDeserializedJsonObj(item);
54
+ })
55
+ : undefined
56
+ });
57
+ return jsonObj;
58
+ }
59
+ RemediationRecipeCollection.getDeserializedJsonObj = getDeserializedJsonObj;
60
+ })(RemediationRecipeCollection = exports.RemediationRecipeCollection || (exports.RemediationRecipeCollection = {}));
61
+ //# sourceMappingURL=remediation-recipe-collection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remediation-recipe-collection.js","sourceRoot":"","sources":["../../../../../lib/adm/lib/model/remediation-recipe-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,2BAA2B,CA6B3C;AA7BD,WAAiB,2BAA2B;IAC1C,SAAgB,UAAU,CAAC,GAAgC;QACzD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,wBAAwB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACzD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,sCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAgC;QACrE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,wBAAwB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBACrE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,kDAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QA6B3C"}
@@ -0,0 +1,81 @@
1
+ /**
2
+ * Application Dependency Management API
3
+ * Use the Application Dependency Management API to create knowledge bases and vulnerability audits. For more information, see [ADM](/Content/application-dependency-management/home.htm).
4
+ * OpenAPI spec version: 20220421
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2023, 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
+ /**
14
+ * The summary of a Remediation Recipe.
15
+ */
16
+ export interface RemediationRecipeSummary {
17
+ /**
18
+ * The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the remediation recipe.
19
+ */
20
+ "id": string;
21
+ /**
22
+ * The name of the Remediation Recipe.
23
+ */
24
+ "displayName": string;
25
+ /**
26
+ * The creation date and time of the Remediation Recipe (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)).
27
+ */
28
+ "timeCreated": Date;
29
+ /**
30
+ * The date and time the Remediation Recipe was last updated (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)).
31
+ */
32
+ "timeUpdated": Date;
33
+ /**
34
+ * The compartment Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the remediation recipe.
35
+ */
36
+ "compartmentId": string;
37
+ /**
38
+ * The current lifecycle state of the Remediation Recipe.
39
+ */
40
+ "lifecycleState": string;
41
+ /**
42
+ * The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the knowledge base.
43
+ */
44
+ "knowledgeBaseId": string;
45
+ /**
46
+ * Boolean indicating if a run should be automatically triggered once the Knowledge Base is updated.
47
+ */
48
+ "isRunTriggeredOnKbChange": boolean;
49
+ /**
50
+ * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
51
+ * Example: `{\"bar-key\": \"value\"}`
52
+ *
53
+ */
54
+ "freeformTags": {
55
+ [key: string]: string;
56
+ };
57
+ /**
58
+ * Defined tags for this resource. Each key is predefined and scoped to a namespace.
59
+ * Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
60
+ *
61
+ */
62
+ "definedTags": {
63
+ [key: string]: {
64
+ [key: string]: any;
65
+ };
66
+ };
67
+ /**
68
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
69
+ * Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
70
+ *
71
+ */
72
+ "systemTags"?: {
73
+ [key: string]: {
74
+ [key: string]: any;
75
+ };
76
+ };
77
+ }
78
+ export declare namespace RemediationRecipeSummary {
79
+ function getJsonObj(obj: RemediationRecipeSummary): object;
80
+ function getDeserializedJsonObj(obj: RemediationRecipeSummary): object;
81
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ /**
3
+ * Application Dependency Management API
4
+ * Use the Application Dependency Management API to create knowledge bases and vulnerability audits. For more information, see [ADM](/Content/application-dependency-management/home.htm).
5
+ * OpenAPI spec version: 20220421
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2023, 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.RemediationRecipeSummary = void 0;
16
+ var RemediationRecipeSummary;
17
+ (function (RemediationRecipeSummary) {
18
+ function getJsonObj(obj) {
19
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
20
+ return jsonObj;
21
+ }
22
+ RemediationRecipeSummary.getJsonObj = getJsonObj;
23
+ function getDeserializedJsonObj(obj) {
24
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
25
+ return jsonObj;
26
+ }
27
+ RemediationRecipeSummary.getDeserializedJsonObj = getDeserializedJsonObj;
28
+ })(RemediationRecipeSummary = exports.RemediationRecipeSummary || (exports.RemediationRecipeSummary = {}));
29
+ //# sourceMappingURL=remediation-recipe-summary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remediation-recipe-summary.js","sourceRoot":"","sources":["../../../../../lib/adm/lib/model/remediation-recipe-summary.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA6DH,IAAiB,wBAAwB,CAWxC;AAXD,WAAiB,wBAAwB;IACvC,SAAgB,UAAU,CAAC,GAA6B;QACtD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,mCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA6B;QAClE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,+CAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAWxC"}
@@ -0,0 +1,103 @@
1
+ /**
2
+ * Application Dependency Management API
3
+ * Use the Application Dependency Management API to create knowledge bases and vulnerability audits. For more information, see [ADM](/Content/application-dependency-management/home.htm).
4
+ * OpenAPI spec version: 20220421
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2023, 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
+ /**
15
+ * An Application Dependency Management (ADM) remediation recipe contains the basic configuration and the
16
+ * details of each of the remediation stages (Detect, Recommend, Verify, and Apply).
17
+ *
18
+ */
19
+ export interface RemediationRecipe {
20
+ /**
21
+ * The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the remediation recipe.
22
+ */
23
+ "id": string;
24
+ /**
25
+ * The name of the Remediation Recipe.
26
+ */
27
+ "displayName": string;
28
+ /**
29
+ * The creation date and time of the Remediation Recipe (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)).
30
+ */
31
+ "timeCreated": Date;
32
+ /**
33
+ * The date and time the Remediation Recipe was last updated (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)).
34
+ */
35
+ "timeUpdated": Date;
36
+ /**
37
+ * The current lifecycle state of the Remediation Recipe.
38
+ */
39
+ "lifecycleState": RemediationRecipe.LifecycleState;
40
+ /**
41
+ * The compartment Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the remediation recipe.
42
+ */
43
+ "compartmentId": string;
44
+ /**
45
+ * The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the knowledge base.
46
+ */
47
+ "knowledgeBaseId": string;
48
+ /**
49
+ * Boolean indicating if a run should be automatically triggered once the Knowledge Base contents are updated.
50
+ */
51
+ "isRunTriggeredOnKbChange": boolean;
52
+ "scmConfiguration": model.OciCodeRepositoryConfiguration | model.ExternalScmConfiguration;
53
+ "verifyConfiguration": model.JenkinsPipelineConfiguration | model.NoneVerifyConfiguration | model.OciDevOpsBuildConfiguration | model.GitHubActionsConfiguration | model.GitLabPipelineConfiguration;
54
+ "detectConfiguration": model.DetectConfiguration;
55
+ "networkConfiguration": model.NetworkConfiguration;
56
+ /**
57
+ * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
58
+ * Example: `{\"bar-key\": \"value\"}`
59
+ *
60
+ */
61
+ "freeformTags": {
62
+ [key: string]: string;
63
+ };
64
+ /**
65
+ * Defined tags for this resource. Each key is predefined and scoped to a namespace.
66
+ * Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
67
+ *
68
+ */
69
+ "definedTags": {
70
+ [key: string]: {
71
+ [key: string]: any;
72
+ };
73
+ };
74
+ /**
75
+ * Usage of system tag keys. These predefined keys are scoped to namespaces.
76
+ * Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
77
+ *
78
+ */
79
+ "systemTags"?: {
80
+ [key: string]: {
81
+ [key: string]: any;
82
+ };
83
+ };
84
+ }
85
+ export declare namespace RemediationRecipe {
86
+ enum LifecycleState {
87
+ Creating = "CREATING",
88
+ Active = "ACTIVE",
89
+ Updating = "UPDATING",
90
+ Inactive = "INACTIVE",
91
+ Failed = "FAILED",
92
+ Deleting = "DELETING",
93
+ Deleted = "DELETED",
94
+ NeedsAttention = "NEEDS_ATTENTION",
95
+ /**
96
+ * This value is used if a service returns a value for this enum that is not recognized by this
97
+ * version of the SDK.
98
+ */
99
+ UnknownValue = "UNKNOWN_VALUE"
100
+ }
101
+ function getJsonObj(obj: RemediationRecipe): object;
102
+ function getDeserializedJsonObj(obj: RemediationRecipe): object;
103
+ }
@@ -0,0 +1,91 @@
1
+ "use strict";
2
+ /**
3
+ * Application Dependency Management API
4
+ * Use the Application Dependency Management API to create knowledge bases and vulnerability audits. For more information, see [ADM](/Content/application-dependency-management/home.htm).
5
+ * OpenAPI spec version: 20220421
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2023, 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
+ 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
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.RemediationRecipe = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var RemediationRecipe;
37
+ (function (RemediationRecipe) {
38
+ let LifecycleState;
39
+ (function (LifecycleState) {
40
+ LifecycleState["Creating"] = "CREATING";
41
+ LifecycleState["Active"] = "ACTIVE";
42
+ LifecycleState["Updating"] = "UPDATING";
43
+ LifecycleState["Inactive"] = "INACTIVE";
44
+ LifecycleState["Failed"] = "FAILED";
45
+ LifecycleState["Deleting"] = "DELETING";
46
+ LifecycleState["Deleted"] = "DELETED";
47
+ LifecycleState["NeedsAttention"] = "NEEDS_ATTENTION";
48
+ /**
49
+ * This value is used if a service returns a value for this enum that is not recognized by this
50
+ * version of the SDK.
51
+ */
52
+ LifecycleState["UnknownValue"] = "UNKNOWN_VALUE";
53
+ })(LifecycleState = RemediationRecipe.LifecycleState || (RemediationRecipe.LifecycleState = {}));
54
+ function getJsonObj(obj) {
55
+ const jsonObj = Object.assign(Object.assign({}, obj), {
56
+ "scmConfiguration": obj.scmConfiguration
57
+ ? model.ScmConfiguration.getJsonObj(obj.scmConfiguration)
58
+ : undefined,
59
+ "verifyConfiguration": obj.verifyConfiguration
60
+ ? model.VerifyConfiguration.getJsonObj(obj.verifyConfiguration)
61
+ : undefined,
62
+ "detectConfiguration": obj.detectConfiguration
63
+ ? model.DetectConfiguration.getJsonObj(obj.detectConfiguration)
64
+ : undefined,
65
+ "networkConfiguration": obj.networkConfiguration
66
+ ? model.NetworkConfiguration.getJsonObj(obj.networkConfiguration)
67
+ : undefined
68
+ });
69
+ return jsonObj;
70
+ }
71
+ RemediationRecipe.getJsonObj = getJsonObj;
72
+ function getDeserializedJsonObj(obj) {
73
+ const jsonObj = Object.assign(Object.assign({}, obj), {
74
+ "scmConfiguration": obj.scmConfiguration
75
+ ? model.ScmConfiguration.getDeserializedJsonObj(obj.scmConfiguration)
76
+ : undefined,
77
+ "verifyConfiguration": obj.verifyConfiguration
78
+ ? model.VerifyConfiguration.getDeserializedJsonObj(obj.verifyConfiguration)
79
+ : undefined,
80
+ "detectConfiguration": obj.detectConfiguration
81
+ ? model.DetectConfiguration.getDeserializedJsonObj(obj.detectConfiguration)
82
+ : undefined,
83
+ "networkConfiguration": obj.networkConfiguration
84
+ ? model.NetworkConfiguration.getDeserializedJsonObj(obj.networkConfiguration)
85
+ : undefined
86
+ });
87
+ return jsonObj;
88
+ }
89
+ RemediationRecipe.getDeserializedJsonObj = getDeserializedJsonObj;
90
+ })(RemediationRecipe = exports.RemediationRecipe || (exports.RemediationRecipe = {}));
91
+ //# sourceMappingURL=remediation-recipe.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remediation-recipe.js","sourceRoot":"","sources":["../../../../../lib/adm/lib/model/remediation-recipe.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAsElC,IAAiB,iBAAiB,CA2DjC;AA3DD,WAAiB,iBAAiB;IAChC,IAAY,cAcX;IAdD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB,oDAAkC,CAAA;QAClC;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAdW,cAAc,GAAd,gCAAc,KAAd,gCAAc,QAczB;IAED,SAAgB,UAAU,CAAC,GAAsB;QAC/C,MAAM,OAAO,mCACR,GAAG,GACH;YACD,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAC,GAAG,CAAC,gBAAgB,CAAC;gBACzD,CAAC,CAAC,SAAS;YACb,qBAAqB,EAAE,GAAG,CAAC,mBAAmB;gBAC5C,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,GAAG,CAAC,mBAAmB,CAAC;gBAC/D,CAAC,CAAC,SAAS;YACb,qBAAqB,EAAE,GAAG,CAAC,mBAAmB;gBAC5C,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,GAAG,CAAC,mBAAmB,CAAC;gBAC/D,CAAC,CAAC,SAAS;YACb,sBAAsB,EAAE,GAAG,CAAC,oBAAoB;gBAC9C,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,UAAU,CAAC,GAAG,CAAC,oBAAoB,CAAC;gBACjE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,4BAAU,aAoBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAsB;QAC3D,MAAM,OAAO,mCACR,GAAG,GACH;YACD,kBAAkB,EAAE,GAAG,CAAC,gBAAgB;gBACtC,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,GAAG,CAAC,gBAAgB,CAAC;gBACrE,CAAC,CAAC,SAAS;YACb,qBAAqB,EAAE,GAAG,CAAC,mBAAmB;gBAC5C,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,GAAG,CAAC,mBAAmB,CAAC;gBAC3E,CAAC,CAAC,SAAS;YACb,qBAAqB,EAAE,GAAG,CAAC,mBAAmB;gBAC5C,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,GAAG,CAAC,mBAAmB,CAAC;gBAC3E,CAAC,CAAC,SAAS;YACb,sBAAsB,EAAE,GAAG,CAAC,oBAAoB;gBAC9C,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,sBAAsB,CAAC,GAAG,CAAC,oBAAoB,CAAC;gBAC7E,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IApBe,wCAAsB,yBAoBrC,CAAA;AACH,CAAC,EA3DgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QA2DjC"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Application Dependency Management API
3
+ * Use the Application Dependency Management API to create knowledge bases and vulnerability audits. For more information, see [ADM](/Content/application-dependency-management/home.htm).
4
+ * OpenAPI spec version: 20220421
5
+ *
6
+ *
7
+ * NOTE: This class is auto generated by OracleSDKGenerator.
8
+ * Do not edit the class manually.
9
+ *
10
+ * Copyright (c) 2020, 2023, 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
+ /**
15
+ * Collection of remediation run summaries.
16
+ */
17
+ export interface RemediationRunCollection {
18
+ /**
19
+ * List of remediation run summaries.
20
+ */
21
+ "items": Array<model.RemediationRunSummary>;
22
+ }
23
+ export declare namespace RemediationRunCollection {
24
+ function getJsonObj(obj: RemediationRunCollection): object;
25
+ function getDeserializedJsonObj(obj: RemediationRunCollection): object;
26
+ }
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /**
3
+ * Application Dependency Management API
4
+ * Use the Application Dependency Management API to create knowledge bases and vulnerability audits. For more information, see [ADM](/Content/application-dependency-management/home.htm).
5
+ * OpenAPI spec version: 20220421
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OracleSDKGenerator.
9
+ * Do not edit the class manually.
10
+ *
11
+ * Copyright (c) 2020, 2023, 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
+ 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
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.RemediationRunCollection = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var RemediationRunCollection;
37
+ (function (RemediationRunCollection) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "items": obj.items
41
+ ? obj.items.map(item => {
42
+ return model.RemediationRunSummary.getJsonObj(item);
43
+ })
44
+ : undefined
45
+ });
46
+ return jsonObj;
47
+ }
48
+ RemediationRunCollection.getJsonObj = getJsonObj;
49
+ function getDeserializedJsonObj(obj) {
50
+ const jsonObj = Object.assign(Object.assign({}, obj), {
51
+ "items": obj.items
52
+ ? obj.items.map(item => {
53
+ return model.RemediationRunSummary.getDeserializedJsonObj(item);
54
+ })
55
+ : undefined
56
+ });
57
+ return jsonObj;
58
+ }
59
+ RemediationRunCollection.getDeserializedJsonObj = getDeserializedJsonObj;
60
+ })(RemediationRunCollection = exports.RemediationRunCollection || (exports.RemediationRunCollection = {}));
61
+ //# sourceMappingURL=remediation-run-collection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remediation-run-collection.js","sourceRoot":"","sources":["../../../../../lib/adm/lib/model/remediation-run-collection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAalC,IAAiB,wBAAwB,CA6BxC;AA7BD,WAAiB,wBAAwB;IACvC,SAAgB,UAAU,CAAC,GAA6B;QACtD,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,qBAAqB,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;gBACtD,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,mCAAU,aAazB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA6B;QAClE,MAAM,OAAO,mCACR,GAAG,GACH;YACD,OAAO,EAAE,GAAG,CAAC,KAAK;gBAChB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;oBACnB,OAAO,KAAK,CAAC,qBAAqB,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;gBAClE,CAAC,CAAC;gBACJ,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAbe,+CAAsB,yBAarC,CAAA;AACH,CAAC,EA7BgB,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QA6BxC"}