oci-adm 2.71.0 → 2.73.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.ChangeRemediationRecipeCompartmentDetails = void 0;
16
+ var ChangeRemediationRecipeCompartmentDetails;
17
+ (function (ChangeRemediationRecipeCompartmentDetails) {
18
+ function getJsonObj(obj) {
19
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
20
+ return jsonObj;
21
+ }
22
+ ChangeRemediationRecipeCompartmentDetails.getJsonObj = getJsonObj;
23
+ function getDeserializedJsonObj(obj) {
24
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
25
+ return jsonObj;
26
+ }
27
+ ChangeRemediationRecipeCompartmentDetails.getDeserializedJsonObj = getDeserializedJsonObj;
28
+ })(ChangeRemediationRecipeCompartmentDetails = exports.ChangeRemediationRecipeCompartmentDetails || (exports.ChangeRemediationRecipeCompartmentDetails = {}));
29
+ //# sourceMappingURL=change-remediation-recipe-compartment-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"change-remediation-recipe-compartment-details.js","sourceRoot":"","sources":["../../../../../lib/adm/lib/model/change-remediation-recipe-compartment-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAeH,IAAiB,yCAAyC,CAWzD;AAXD,WAAiB,yCAAyC;IACxD,SAAgB,UAAU,CAAC,GAA8C;QACvE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,oDAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA8C;QACnF,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,gEAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,yCAAyC,GAAzC,iDAAyC,KAAzC,iDAAyC,QAWzD"}
@@ -0,0 +1,25 @@
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
+ * Details for moving remediation run resources.
15
+ */
16
+ export interface ChangeRemediationRunCompartmentDetails {
17
+ /**
18
+ * The compartment Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) to which the resource must be moved.
19
+ */
20
+ "compartmentId": string;
21
+ }
22
+ export declare namespace ChangeRemediationRunCompartmentDetails {
23
+ function getJsonObj(obj: ChangeRemediationRunCompartmentDetails): object;
24
+ function getDeserializedJsonObj(obj: ChangeRemediationRunCompartmentDetails): object;
25
+ }
@@ -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.ChangeRemediationRunCompartmentDetails = void 0;
16
+ var ChangeRemediationRunCompartmentDetails;
17
+ (function (ChangeRemediationRunCompartmentDetails) {
18
+ function getJsonObj(obj) {
19
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
20
+ return jsonObj;
21
+ }
22
+ ChangeRemediationRunCompartmentDetails.getJsonObj = getJsonObj;
23
+ function getDeserializedJsonObj(obj) {
24
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
25
+ return jsonObj;
26
+ }
27
+ ChangeRemediationRunCompartmentDetails.getDeserializedJsonObj = getDeserializedJsonObj;
28
+ })(ChangeRemediationRunCompartmentDetails = exports.ChangeRemediationRunCompartmentDetails || (exports.ChangeRemediationRunCompartmentDetails = {}));
29
+ //# sourceMappingURL=change-remediation-run-compartment-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"change-remediation-run-compartment-details.js","sourceRoot":"","sources":["../../../../../lib/adm/lib/model/change-remediation-run-compartment-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAeH,IAAiB,sCAAsC,CAWtD;AAXD,WAAiB,sCAAsC;IACrD,SAAgB,UAAU,CAAC,GAA2C;QACpE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,iDAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA2C;QAChF,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,6DAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,sCAAsC,GAAtC,8CAAsC,KAAtC,8CAAsC,QAWtD"}
@@ -11,7 +11,7 @@
11
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
12
  */
13
13
  /**
14
- * Details for moving a Vulnerability Audit resource.
14
+ * Details for moving a vulnerability audit resource.
15
15
  */
16
16
  export interface ChangeVulnerabilityAuditCompartmentDetails {
17
17
  /**
@@ -11,15 +11,15 @@
11
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
12
  */
13
13
  /**
14
- * Details to create a new Knowledge Base.
14
+ * Details to create a new knowledge base.
15
15
  */
16
16
  export interface CreateKnowledgeBaseDetails {
17
17
  /**
18
- * The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the Knowledge Base's compartment.
18
+ * The compartment Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the knowledge base.
19
19
  */
20
20
  "compartmentId": string;
21
21
  /**
22
- * The name of the Knowledge Base.
22
+ * The name of the knowledge base.
23
23
  */
24
24
  "displayName"?: string;
25
25
  /**
@@ -0,0 +1,60 @@
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
+ * Details to create a new Remediation Recipe.
16
+ */
17
+ export interface CreateRemediationRecipeDetails {
18
+ /**
19
+ * The compartment Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the remediation recipe.
20
+ */
21
+ "compartmentId": string;
22
+ /**
23
+ * The name of the remediation recipe.
24
+ */
25
+ "displayName"?: string;
26
+ "scmConfiguration": model.OciCodeRepositoryConfiguration | model.ExternalScmConfiguration;
27
+ "verifyConfiguration": model.JenkinsPipelineConfiguration | model.NoneVerifyConfiguration | model.OciDevOpsBuildConfiguration | model.GitHubActionsConfiguration | model.GitLabPipelineConfiguration;
28
+ "detectConfiguration": model.DetectConfiguration;
29
+ "networkConfiguration": model.NetworkConfiguration;
30
+ /**
31
+ * The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the knowledge base.
32
+ */
33
+ "knowledgeBaseId": string;
34
+ /**
35
+ * Boolean indicating if a run should be automatically triggered once the knowledge base is updated.
36
+ */
37
+ "isRunTriggeredOnKbChange": boolean;
38
+ /**
39
+ * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
40
+ * Example: `{\"bar-key\": \"value\"}`
41
+ *
42
+ */
43
+ "freeformTags"?: {
44
+ [key: string]: string;
45
+ };
46
+ /**
47
+ * Defined tags for this resource. Each key is predefined and scoped to a namespace.
48
+ * Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
49
+ *
50
+ */
51
+ "definedTags"?: {
52
+ [key: string]: {
53
+ [key: string]: any;
54
+ };
55
+ };
56
+ }
57
+ export declare namespace CreateRemediationRecipeDetails {
58
+ function getJsonObj(obj: CreateRemediationRecipeDetails): object;
59
+ function getDeserializedJsonObj(obj: CreateRemediationRecipeDetails): object;
60
+ }
@@ -0,0 +1,75 @@
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.CreateRemediationRecipeDetails = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var CreateRemediationRecipeDetails;
37
+ (function (CreateRemediationRecipeDetails) {
38
+ function getJsonObj(obj) {
39
+ const jsonObj = Object.assign(Object.assign({}, obj), {
40
+ "scmConfiguration": obj.scmConfiguration
41
+ ? model.ScmConfiguration.getJsonObj(obj.scmConfiguration)
42
+ : undefined,
43
+ "verifyConfiguration": obj.verifyConfiguration
44
+ ? model.VerifyConfiguration.getJsonObj(obj.verifyConfiguration)
45
+ : undefined,
46
+ "detectConfiguration": obj.detectConfiguration
47
+ ? model.DetectConfiguration.getJsonObj(obj.detectConfiguration)
48
+ : undefined,
49
+ "networkConfiguration": obj.networkConfiguration
50
+ ? model.NetworkConfiguration.getJsonObj(obj.networkConfiguration)
51
+ : undefined
52
+ });
53
+ return jsonObj;
54
+ }
55
+ CreateRemediationRecipeDetails.getJsonObj = getJsonObj;
56
+ function getDeserializedJsonObj(obj) {
57
+ const jsonObj = Object.assign(Object.assign({}, obj), {
58
+ "scmConfiguration": obj.scmConfiguration
59
+ ? model.ScmConfiguration.getDeserializedJsonObj(obj.scmConfiguration)
60
+ : undefined,
61
+ "verifyConfiguration": obj.verifyConfiguration
62
+ ? model.VerifyConfiguration.getDeserializedJsonObj(obj.verifyConfiguration)
63
+ : undefined,
64
+ "detectConfiguration": obj.detectConfiguration
65
+ ? model.DetectConfiguration.getDeserializedJsonObj(obj.detectConfiguration)
66
+ : undefined,
67
+ "networkConfiguration": obj.networkConfiguration
68
+ ? model.NetworkConfiguration.getDeserializedJsonObj(obj.networkConfiguration)
69
+ : undefined
70
+ });
71
+ return jsonObj;
72
+ }
73
+ CreateRemediationRecipeDetails.getDeserializedJsonObj = getDeserializedJsonObj;
74
+ })(CreateRemediationRecipeDetails = exports.CreateRemediationRecipeDetails || (exports.CreateRemediationRecipeDetails = {}));
75
+ //# sourceMappingURL=create-remediation-recipe-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-remediation-recipe-details.js","sourceRoot":"","sources":["../../../../../lib/adm/lib/model/create-remediation-recipe-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AA8ClC,IAAiB,8BAA8B,CA2C9C;AA3CD,WAAiB,8BAA8B;IAC7C,SAAgB,UAAU,CAAC,GAAmC;QAC5D,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,yCAAU,aAoBzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAmC;QACxE,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,qDAAsB,yBAoBrC,CAAA;AACH,CAAC,EA3CgB,8BAA8B,GAA9B,sCAA8B,KAA9B,sCAA8B,QA2C9C"}
@@ -0,0 +1,47 @@
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
+ * Details to create a new remediation run.
15
+ */
16
+ export interface CreateRemediationRunDetails {
17
+ /**
18
+ * The Oracle Cloud identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the Remediation Recipe.
19
+ */
20
+ "remediationRecipeId": string;
21
+ /**
22
+ * The name of the remediation run.
23
+ */
24
+ "displayName"?: string;
25
+ /**
26
+ * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
27
+ * Example: `{\"bar-key\": \"value\"}`
28
+ *
29
+ */
30
+ "freeformTags"?: {
31
+ [key: string]: string;
32
+ };
33
+ /**
34
+ * Defined tags for this resource. Each key is predefined and scoped to a namespace.
35
+ * Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
36
+ *
37
+ */
38
+ "definedTags"?: {
39
+ [key: string]: {
40
+ [key: string]: any;
41
+ };
42
+ };
43
+ }
44
+ export declare namespace CreateRemediationRunDetails {
45
+ function getJsonObj(obj: CreateRemediationRunDetails): object;
46
+ function getDeserializedJsonObj(obj: CreateRemediationRunDetails): object;
47
+ }
@@ -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.CreateRemediationRunDetails = void 0;
16
+ var CreateRemediationRunDetails;
17
+ (function (CreateRemediationRunDetails) {
18
+ function getJsonObj(obj) {
19
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
20
+ return jsonObj;
21
+ }
22
+ CreateRemediationRunDetails.getJsonObj = getJsonObj;
23
+ function getDeserializedJsonObj(obj) {
24
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
25
+ return jsonObj;
26
+ }
27
+ CreateRemediationRunDetails.getDeserializedJsonObj = getDeserializedJsonObj;
28
+ })(CreateRemediationRunDetails = exports.CreateRemediationRunDetails || (exports.CreateRemediationRunDetails = {}));
29
+ //# sourceMappingURL=create-remediation-run-details.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-remediation-run-details.js","sourceRoot":"","sources":["../../../../../lib/adm/lib/model/create-remediation-run-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AA+BH,IAAiB,2BAA2B,CAW3C;AAXD,WAAiB,2BAA2B;IAC1C,SAAgB,UAAU,CAAC,GAAgC;QACzD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,sCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAgC;QACrE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,kDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAW3C"}
@@ -12,21 +12,21 @@
12
12
  */
13
13
  import * as model from "../model";
14
14
  /**
15
- * Details to create a Vulnerability Audit.
15
+ * Details to create a vulnerability audit.
16
16
  */
17
17
  export interface CreateVulnerabilityAuditDetails {
18
18
  /**
19
- * The Oracle Cloud identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the Knowledge Base.
19
+ * The Oracle Cloud identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the knowledge base.
20
20
  */
21
21
  "knowledgeBaseId": string;
22
22
  /**
23
- * The Oracle Cloud identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the compartment associated with the Vulnerability Audit.
24
- * If compartment identifier is not provided the compartment of the associated Knowledge Base will be used instead.
23
+ * The compartment Oracle Cloud identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the vulnerability audit.
24
+ * If compartment identifier is not provided the compartment of the associated knowledge base will be used instead.
25
25
  *
26
26
  */
27
27
  "compartmentId"?: string;
28
28
  /**
29
- * List of Application Dependencies (without vulnerabilities).
29
+ * List of application dependencies (without vulnerabilities).
30
30
  */
31
31
  "applicationDependencies"?: Array<model.ApplicationDependency>;
32
32
  /**
@@ -35,7 +35,7 @@ export interface CreateVulnerabilityAuditDetails {
35
35
  "buildType": string;
36
36
  "configuration"?: model.VulnerabilityAuditConfiguration;
37
37
  /**
38
- * The name of the Vulnerability Audit.
38
+ * The name of the vulnerability audit.
39
39
  */
40
40
  "displayName"?: string;
41
41
  "source"?: model.UnknownSourceVulnerabilityAuditSource | model.OciResourceVulnerabilityAuditSource | model.ExternalResourceVulnerabilityAuditSource;
@@ -0,0 +1,50 @@
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
+ * A configuration to define the constraints when detecting vulnerable dependencies.
15
+ *
16
+ */
17
+ export interface DetectConfiguration {
18
+ /**
19
+ * The list of dependencies to be ignored by the recommendation algorithm. The dependency pattern is matched against the 'group:artifact:version' or the purl of a dependency.
20
+ * An asterisk (*) at the end in the dependency pattern acts as a wildcard and matches zero or more characters.
21
+ *
22
+ */
23
+ "exclusions"?: Array<string>;
24
+ /**
25
+ * The upgrade policy for recommendations.
26
+ * The `Nearest` upgrade policy upgrades a dependency to the oldest version that meets both of the following criteria: it is newer than the current version and it is not affected by a vulnerability.
27
+ *
28
+ */
29
+ "upgradePolicy"?: DetectConfiguration.UpgradePolicy;
30
+ /**
31
+ * The maximum Common Vulnerability Scoring System Version 2 (CVSS V2) score. An artifact with a CVSS V2 score below this value is not considered for patching. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
32
+ */
33
+ "maxPermissibleCvssV2Score"?: number;
34
+ /**
35
+ * The maximum Common Vulnerability Scoring System Version 3 (CVSS V3) score. An artifact with a CVSS V3 score below this value is not considered for patching. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
36
+ */
37
+ "maxPermissibleCvssV3Score"?: number;
38
+ }
39
+ export declare namespace DetectConfiguration {
40
+ enum UpgradePolicy {
41
+ Nearest = "NEAREST",
42
+ /**
43
+ * This value is used if a service returns a value for this enum that is not recognized by this
44
+ * version of the SDK.
45
+ */
46
+ UnknownValue = "UNKNOWN_VALUE"
47
+ }
48
+ function getJsonObj(obj: DetectConfiguration): object;
49
+ function getDeserializedJsonObj(obj: DetectConfiguration): object;
50
+ }
@@ -0,0 +1,38 @@
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.DetectConfiguration = void 0;
16
+ var DetectConfiguration;
17
+ (function (DetectConfiguration) {
18
+ let UpgradePolicy;
19
+ (function (UpgradePolicy) {
20
+ UpgradePolicy["Nearest"] = "NEAREST";
21
+ /**
22
+ * This value is used if a service returns a value for this enum that is not recognized by this
23
+ * version of the SDK.
24
+ */
25
+ UpgradePolicy["UnknownValue"] = "UNKNOWN_VALUE";
26
+ })(UpgradePolicy = DetectConfiguration.UpgradePolicy || (DetectConfiguration.UpgradePolicy = {}));
27
+ function getJsonObj(obj) {
28
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
29
+ return jsonObj;
30
+ }
31
+ DetectConfiguration.getJsonObj = getJsonObj;
32
+ function getDeserializedJsonObj(obj) {
33
+ const jsonObj = Object.assign(Object.assign({}, obj), {});
34
+ return jsonObj;
35
+ }
36
+ DetectConfiguration.getDeserializedJsonObj = getDeserializedJsonObj;
37
+ })(DetectConfiguration = exports.DetectConfiguration || (exports.DetectConfiguration = {}));
38
+ //# sourceMappingURL=detect-configuration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"detect-configuration.js","sourceRoot":"","sources":["../../../../../lib/adm/lib/model/detect-configuration.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAgCH,IAAiB,mBAAmB,CAoBnC;AApBD,WAAiB,mBAAmB;IAClC,IAAY,aAOX;IAPD,WAAY,aAAa;QACvB,oCAAmB,CAAA;QACnB;;;WAGG;QACH,+CAA8B,CAAA;IAChC,CAAC,EAPW,aAAa,GAAb,iCAAa,KAAb,iCAAa,QAOxB;IAED,SAAgB,UAAU,CAAC,GAAwB;QACjD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,8BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAwB;QAC7D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,0CAAsB,yBAIrC,CAAA;AACH,CAAC,EApBgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAoBnC"}
@@ -0,0 +1,29 @@
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 detect stage performs a Vulnerability Audit and determines if the remediation run should proceed to remediation stage.
16
+ *
17
+ */
18
+ export interface DetectStage extends model.RemediationRunStage {
19
+ /**
20
+ * The Oracle Cloud identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the vulnerability audit.
21
+ */
22
+ "auditId"?: string;
23
+ "type": string;
24
+ }
25
+ export declare namespace DetectStage {
26
+ function getJsonObj(obj: DetectStage, isParentJsonObj?: boolean): object;
27
+ const type = "DETECT";
28
+ function getDeserializedJsonObj(obj: DetectStage, isParentJsonObj?: boolean): object;
29
+ }
@@ -0,0 +1,52 @@
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.DetectStage = void 0;
35
+ const model = __importStar(require("../model"));
36
+ var DetectStage;
37
+ (function (DetectStage) {
38
+ function getJsonObj(obj, isParentJsonObj) {
39
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.RemediationRunStage.getJsonObj(obj))), {});
40
+ return jsonObj;
41
+ }
42
+ DetectStage.getJsonObj = getJsonObj;
43
+ DetectStage.type = "DETECT";
44
+ function getDeserializedJsonObj(obj, isParentJsonObj) {
45
+ const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj
46
+ ? obj
47
+ : model.RemediationRunStage.getDeserializedJsonObj(obj))), {});
48
+ return jsonObj;
49
+ }
50
+ DetectStage.getDeserializedJsonObj = getDeserializedJsonObj;
51
+ })(DetectStage = exports.DetectStage || (exports.DetectStage = {}));
52
+ //# sourceMappingURL=detect-stage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"detect-stage.js","sourceRoot":"","sources":["../../../../../lib/adm/lib/model/detect-stage.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgBlC,IAAiB,WAAW,CAoB3B;AApBD,WAAiB,WAAW;IAC1B,SAAgB,UAAU,CAAC,GAAgB,EAAE,eAAyB;QACpE,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,mBAAmB,CAAC,UAAU,CAAC,GAAG,CAAiB,CAAC,GACpF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAPe,sBAAU,aAOzB,CAAA;IACY,gBAAI,GAAG,QAAQ,CAAC;IAC7B,SAAgB,sBAAsB,CAAC,GAAgB,EAAE,eAAyB;QAChF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,GAAG,CAAiB,CAAC,GACxE,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,kCAAsB,yBASrC,CAAA;AACH,CAAC,EApBgB,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAoB3B"}
@@ -12,7 +12,7 @@
12
12
  */
13
13
  import * as model from "../model";
14
14
  /**
15
- * External source for the Vulnerability Audit.
15
+ * External source for the vulnerability audit.
16
16
  */
17
17
  export interface ExternalResourceVulnerabilityAuditSource extends model.VulnerabilityAuditSource {
18
18
  /**
@@ -0,0 +1,57 @@
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 external SCM configuration extends a SCM Configuration with necessary data to reach and use the Source Code Management tool/platform used by a Remediation Recipe.
16
+ * An external SCM in ADM refers to GitHub, or GitLab.
17
+ *
18
+ */
19
+ export interface ExternalScmConfiguration extends model.ScmConfiguration {
20
+ /**
21
+ * The type of External Source Code Management.
22
+ */
23
+ "externalScmType": ExternalScmConfiguration.ExternalScmType;
24
+ /**
25
+ * The repository URL for the SCM.
26
+ * For Non-Enterprise GitHub the expected format is https://github.com/[owner]/[repoName]
27
+ * For Enterprise GitHub the expected format is http(s)://[hostname]/api/v3/repos/[owner]/[repoName]
28
+ * For GitLab the expected format is https://gitlab.com/[groupName]/[repoName]
29
+ *
30
+ */
31
+ "repositoryUrl": string;
32
+ /**
33
+ * The username for the SCM (to perform operations such as cloning or pushing via HTTP).
34
+ */
35
+ "username"?: string;
36
+ /**
37
+ * The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the Private Access Token (PAT) Secret.
38
+ * The secret provides the credentials necessary to authenticate against the SCM.
39
+ *
40
+ */
41
+ "patSecretId": string;
42
+ "scmType": string;
43
+ }
44
+ export declare namespace ExternalScmConfiguration {
45
+ enum ExternalScmType {
46
+ Github = "GITHUB",
47
+ Gitlab = "GITLAB",
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
+ UnknownValue = "UNKNOWN_VALUE"
53
+ }
54
+ function getJsonObj(obj: ExternalScmConfiguration, isParentJsonObj?: boolean): object;
55
+ const scmType = "EXTERNAL_SCM";
56
+ function getDeserializedJsonObj(obj: ExternalScmConfiguration, isParentJsonObj?: boolean): object;
57
+ }