oci-cloudguard 2.84.2 → 2.85.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 (862) hide show
  1. package/lib/client.d.ts +658 -268
  2. package/lib/client.js +2005 -392
  3. package/lib/client.js.map +1 -1
  4. package/lib/cloudguard-waiter.d.ts +16 -0
  5. package/lib/cloudguard-waiter.js +24 -0
  6. package/lib/cloudguard-waiter.js.map +1 -1
  7. package/lib/model/absolute-time-start-policy.d.ts +2 -2
  8. package/lib/model/action-type.d.ts +1 -1
  9. package/lib/model/action-type.js +1 -1
  10. package/lib/model/activity-problem-aggregation-collection.d.ts +2 -2
  11. package/lib/model/activity-problem-aggregation.d.ts +2 -2
  12. package/lib/model/actor-type.d.ts +1 -1
  13. package/lib/model/actor-type.js +1 -1
  14. package/lib/model/add-compartment-details.d.ts +1 -1
  15. package/lib/model/adhoc-query-collection.d.ts +33 -0
  16. package/lib/model/adhoc-query-collection.js +74 -0
  17. package/lib/model/adhoc-query-collection.js.map +1 -0
  18. package/lib/model/adhoc-query-details.d.ts +33 -0
  19. package/lib/model/adhoc-query-details.js +64 -0
  20. package/lib/model/adhoc-query-details.js.map +1 -0
  21. package/lib/model/adhoc-query-regional-details.d.ts +53 -0
  22. package/lib/model/adhoc-query-regional-details.js +32 -0
  23. package/lib/model/adhoc-query-regional-details.js.map +1 -0
  24. package/lib/model/adhoc-query-resource.d.ts +36 -0
  25. package/lib/model/adhoc-query-resource.js +32 -0
  26. package/lib/model/adhoc-query-resource.js.map +1 -0
  27. package/lib/model/adhoc-query-result-collection.d.ts +29 -0
  28. package/lib/model/adhoc-query-result-collection.js +64 -0
  29. package/lib/model/adhoc-query-result-collection.js.map +1 -0
  30. package/lib/model/adhoc-query-result-state.d.ts +36 -0
  31. package/lib/model/adhoc-query-result-state.js +47 -0
  32. package/lib/model/adhoc-query-result-state.js.map +1 -0
  33. package/lib/model/adhoc-query-result-summary.d.ts +88 -0
  34. package/lib/model/adhoc-query-result-summary.js +32 -0
  35. package/lib/model/adhoc-query-result-summary.js.map +1 -0
  36. package/lib/model/adhoc-query-status.d.ts +36 -0
  37. package/lib/model/adhoc-query-status.js +47 -0
  38. package/lib/model/adhoc-query-status.js.map +1 -0
  39. package/lib/model/adhoc-query-summary.d.ts +95 -0
  40. package/lib/model/adhoc-query-summary.js +70 -0
  41. package/lib/model/adhoc-query-summary.js.map +1 -0
  42. package/lib/model/adhoc-query.d.ts +95 -0
  43. package/lib/model/adhoc-query.js +80 -0
  44. package/lib/model/adhoc-query.js.map +1 -0
  45. package/lib/model/all-targets-selected.d.ts +1 -1
  46. package/lib/model/attach-target-detector-recipe-details.d.ts +5 -2
  47. package/lib/model/attach-target-detector-recipe-details.js.map +1 -1
  48. package/lib/model/attach-target-responder-recipe-details.d.ts +5 -2
  49. package/lib/model/attach-target-responder-recipe-details.js.map +1 -1
  50. package/lib/model/candidate-responder-rule.d.ts +4 -4
  51. package/lib/model/change-data-source-compartment-details.d.ts +2 -2
  52. package/lib/model/change-detector-recipe-compartment-details.d.ts +2 -2
  53. package/lib/model/change-managed-list-compartment-details.d.ts +2 -2
  54. package/lib/model/change-responder-recipe-compartment-details.d.ts +2 -2
  55. package/lib/model/change-saved-query-compartment-details.d.ts +28 -0
  56. package/lib/model/change-saved-query-compartment-details.js +32 -0
  57. package/lib/model/change-saved-query-compartment-details.js.map +1 -0
  58. package/lib/model/change-security-policy-compartment-details.d.ts +1 -1
  59. package/lib/model/change-security-recipe-compartment-details.d.ts +1 -1
  60. package/lib/model/change-security-zone-compartment-details.d.ts +1 -1
  61. package/lib/model/classification-status.d.ts +1 -1
  62. package/lib/model/classification-status.js +1 -1
  63. package/lib/model/cloud-guard-status.d.ts +1 -1
  64. package/lib/model/cloud-guard-status.js +1 -1
  65. package/lib/model/composite-condition.d.ts +4 -1
  66. package/lib/model/composite-condition.js.map +1 -1
  67. package/lib/model/condition-filter-type.d.ts +1 -1
  68. package/lib/model/condition-filter-type.js +1 -1
  69. package/lib/model/condition-group.d.ts +2 -2
  70. package/lib/model/condition-metadata-type-collection.d.ts +6 -2
  71. package/lib/model/condition-metadata-type-collection.js +10 -0
  72. package/lib/model/condition-metadata-type-collection.js.map +1 -1
  73. package/lib/model/condition-metadata-type-summary.d.ts +7 -3
  74. package/lib/model/condition-metadata-type-summary.js +34 -2
  75. package/lib/model/condition-metadata-type-summary.js.map +1 -1
  76. package/lib/model/condition-metadata-type.d.ts +6 -2
  77. package/lib/model/condition-metadata-type.js +10 -0
  78. package/lib/model/condition-metadata-type.js.map +1 -1
  79. package/lib/model/condition-operator-name.d.ts +1 -1
  80. package/lib/model/condition-operator-name.js +1 -1
  81. package/lib/model/condition-operator.d.ts +3 -3
  82. package/lib/model/condition-type-enum.d.ts +1 -0
  83. package/lib/model/condition-type-enum.js +1 -0
  84. package/lib/model/condition-type-enum.js.map +1 -1
  85. package/lib/model/condition-value-type.d.ts +1 -1
  86. package/lib/model/condition-value-type.js +1 -1
  87. package/lib/model/condition.d.ts +1 -1
  88. package/lib/model/confidence.d.ts +1 -1
  89. package/lib/model/confidence.js +1 -1
  90. package/lib/model/config-value.d.ts +4 -4
  91. package/lib/model/configuration-lifecycle-state.d.ts +31 -0
  92. package/lib/model/configuration-lifecycle-state.js +42 -0
  93. package/lib/model/configuration-lifecycle-state.js.map +1 -0
  94. package/lib/model/configuration-list-item-type.d.ts +1 -1
  95. package/lib/model/configuration-list-item-type.js +1 -1
  96. package/lib/model/configuration.d.ts +7 -3
  97. package/lib/model/configuration.js +34 -2
  98. package/lib/model/configuration.js.map +1 -1
  99. package/lib/model/continuous-query-start-policy.d.ts +1 -1
  100. package/lib/model/create-adhoc-query-details.d.ts +50 -0
  101. package/lib/model/create-adhoc-query-details.js +60 -0
  102. package/lib/model/create-adhoc-query-details.js.map +1 -0
  103. package/lib/model/create-data-mask-rule-details.d.ts +8 -8
  104. package/lib/model/create-data-source-details.d.ts +6 -6
  105. package/lib/model/create-data-source-details.js.map +1 -1
  106. package/lib/model/create-detector-recipe-details.d.ts +5 -5
  107. package/lib/model/create-detector-recipe-detector-rule-details.d.ts +1 -1
  108. package/lib/model/create-detector-rule-details.d.ts +9 -9
  109. package/lib/model/create-managed-list-details.d.ts +6 -6
  110. package/lib/model/create-responder-recipe-details.d.ts +4 -4
  111. package/lib/model/create-saved-query-details.d.ts +60 -0
  112. package/lib/model/create-saved-query-details.js +32 -0
  113. package/lib/model/create-saved-query-details.js.map +1 -0
  114. package/lib/model/create-security-policy-details.d.ts +6 -6
  115. package/lib/model/create-security-recipe-details.d.ts +8 -5
  116. package/lib/model/create-security-recipe-details.js.map +1 -1
  117. package/lib/model/create-security-zone-details.d.ts +3 -3
  118. package/lib/model/create-target-details.d.ts +7 -7
  119. package/lib/model/create-target-detector-recipe-details.d.ts +3 -3
  120. package/lib/model/create-target-responder-recipe-details.d.ts +5 -3
  121. package/lib/model/create-target-responder-recipe-details.js.map +1 -1
  122. package/lib/model/create-wlp-agent-details.d.ts +64 -0
  123. package/lib/model/create-wlp-agent-details.js +32 -0
  124. package/lib/model/create-wlp-agent-details.js.map +1 -0
  125. package/lib/model/cve-risk-level.d.ts +35 -0
  126. package/lib/model/cve-risk-level.js +46 -0
  127. package/lib/model/cve-risk-level.js.map +1 -0
  128. package/lib/model/data-mask-category.d.ts +1 -1
  129. package/lib/model/data-mask-category.js +1 -1
  130. package/lib/model/data-mask-rule-collection.d.ts +6 -2
  131. package/lib/model/data-mask-rule-collection.js +10 -0
  132. package/lib/model/data-mask-rule-collection.js.map +1 -1
  133. package/lib/model/data-mask-rule-status.d.ts +1 -1
  134. package/lib/model/data-mask-rule-status.js +1 -1
  135. package/lib/model/data-mask-rule-summary.d.ts +10 -10
  136. package/lib/model/data-mask-rule.d.ts +14 -10
  137. package/lib/model/data-mask-rule.js +10 -0
  138. package/lib/model/data-mask-rule.js.map +1 -1
  139. package/lib/model/data-source-collection.d.ts +6 -2
  140. package/lib/model/data-source-collection.js +10 -0
  141. package/lib/model/data-source-collection.js.map +1 -1
  142. package/lib/model/data-source-details.js +4 -0
  143. package/lib/model/data-source-details.js.map +1 -1
  144. package/lib/model/data-source-event-collection.d.ts +6 -2
  145. package/lib/model/data-source-event-collection.js +10 -0
  146. package/lib/model/data-source-event-collection.js.map +1 -1
  147. package/lib/model/data-source-event-info-status.d.ts +1 -1
  148. package/lib/model/data-source-event-info-status.js +1 -1
  149. package/lib/model/data-source-event-info.d.ts +4 -1
  150. package/lib/model/data-source-event-info.js.map +1 -1
  151. package/lib/model/data-source-event-summary.d.ts +4 -4
  152. package/lib/model/data-source-feed-provider.d.ts +2 -1
  153. package/lib/model/data-source-feed-provider.js +2 -1
  154. package/lib/model/data-source-feed-provider.js.map +1 -1
  155. package/lib/model/data-source-mapping-info.d.ts +3 -3
  156. package/lib/model/data-source-status.d.ts +1 -1
  157. package/lib/model/data-source-status.js +1 -1
  158. package/lib/model/data-source-summary-details.d.ts +1 -1
  159. package/lib/model/data-source-summary-details.js +4 -0
  160. package/lib/model/data-source-summary-details.js.map +1 -1
  161. package/lib/model/data-source-summary.d.ts +8 -8
  162. package/lib/model/data-source-summary.js.map +1 -1
  163. package/lib/model/data-source.d.ts +12 -8
  164. package/lib/model/data-source.js +10 -0
  165. package/lib/model/data-source.js.map +1 -1
  166. package/lib/model/detector-collection.d.ts +2 -2
  167. package/lib/model/detector-configuration.d.ts +13 -5
  168. package/lib/model/detector-configuration.js +10 -0
  169. package/lib/model/detector-configuration.js.map +1 -1
  170. package/lib/model/detector-details.d.ts +23 -7
  171. package/lib/model/detector-details.js +10 -0
  172. package/lib/model/detector-details.js.map +1 -1
  173. package/lib/model/detector-enum.d.ts +1 -0
  174. package/lib/model/detector-enum.js +1 -0
  175. package/lib/model/detector-enum.js.map +1 -1
  176. package/lib/model/detector-recipe-collection.d.ts +6 -2
  177. package/lib/model/detector-recipe-collection.js +10 -0
  178. package/lib/model/detector-recipe-collection.js.map +1 -1
  179. package/lib/model/detector-recipe-detector-rule-collection.d.ts +6 -2
  180. package/lib/model/detector-recipe-detector-rule-collection.js +10 -0
  181. package/lib/model/detector-recipe-detector-rule-collection.js.map +1 -1
  182. package/lib/model/detector-recipe-detector-rule-summary.d.ts +13 -13
  183. package/lib/model/detector-recipe-detector-rule.d.ts +17 -13
  184. package/lib/model/detector-recipe-detector-rule.js +10 -0
  185. package/lib/model/detector-recipe-detector-rule.js.map +1 -1
  186. package/lib/model/detector-recipe-enum.d.ts +33 -0
  187. package/lib/model/detector-recipe-enum.js +44 -0
  188. package/lib/model/detector-recipe-enum.js.map +1 -0
  189. package/lib/model/detector-recipe-summary.d.ts +13 -9
  190. package/lib/model/detector-recipe-summary.js.map +1 -1
  191. package/lib/model/detector-recipe.d.ts +14 -10
  192. package/lib/model/detector-recipe.js.map +1 -1
  193. package/lib/model/detector-rule-collection.d.ts +2 -2
  194. package/lib/model/detector-rule-summary.d.ts +12 -12
  195. package/lib/model/detector-rule.d.ts +14 -10
  196. package/lib/model/detector-rule.js +10 -0
  197. package/lib/model/detector-rule.js.map +1 -1
  198. package/lib/model/detector-summary.d.ts +8 -4
  199. package/lib/model/detector-summary.js +34 -2
  200. package/lib/model/detector-summary.js.map +1 -1
  201. package/lib/model/detector.d.ts +3 -3
  202. package/lib/model/entities-mapping.d.ts +3 -3
  203. package/lib/model/entity-details.d.ts +1 -1
  204. package/lib/model/entity-type.d.ts +1 -1
  205. package/lib/model/entity-type.js +1 -1
  206. package/lib/model/execute-responder-execution-details.d.ts +2 -2
  207. package/lib/model/feed-provider-type.d.ts +1 -1
  208. package/lib/model/feed-provider-type.js +1 -1
  209. package/lib/model/geographical-location.d.ts +3 -3
  210. package/lib/model/impacted-resource-collection.d.ts +6 -2
  211. package/lib/model/impacted-resource-collection.js +10 -0
  212. package/lib/model/impacted-resource-collection.js.map +1 -1
  213. package/lib/model/impacted-resource-summary.d.ts +9 -9
  214. package/lib/model/index.d.ts +86 -0
  215. package/lib/model/index.js +93 -6
  216. package/lib/model/index.js.map +1 -1
  217. package/lib/model/insight-type-logging-query-details.d.ts +1 -1
  218. package/lib/model/instance-security-service-configuration.d.ts +31 -0
  219. package/lib/model/instance-security-service-configuration.js +57 -0
  220. package/lib/model/instance-security-service-configuration.js.map +1 -0
  221. package/lib/model/lifecycle-state.d.ts +1 -1
  222. package/lib/model/lifecycle-state.js +1 -1
  223. package/lib/model/logging-event-info.d.ts +13 -1
  224. package/lib/model/logging-event-info.js.map +1 -1
  225. package/lib/model/logging-query-data-source-details.d.ts +7 -7
  226. package/lib/model/logging-query-data-source-summary-details.d.ts +4 -4
  227. package/lib/model/logging-query-details.d.ts +1 -1
  228. package/lib/model/logging-query-type.d.ts +1 -1
  229. package/lib/model/logging-query-type.js +1 -1
  230. package/lib/model/managed-list-collection.d.ts +6 -2
  231. package/lib/model/managed-list-collection.js +10 -0
  232. package/lib/model/managed-list-collection.js.map +1 -1
  233. package/lib/model/managed-list-summary.d.ts +13 -13
  234. package/lib/model/managed-list-type-collection.d.ts +6 -2
  235. package/lib/model/managed-list-type-collection.js +10 -0
  236. package/lib/model/managed-list-type-collection.js.map +1 -1
  237. package/lib/model/managed-list-type-summary.d.ts +7 -3
  238. package/lib/model/managed-list-type-summary.js +34 -2
  239. package/lib/model/managed-list-type-summary.js.map +1 -1
  240. package/lib/model/managed-list-type.d.ts +1 -1
  241. package/lib/model/managed-list-type.js +1 -1
  242. package/lib/model/managed-list.d.ts +13 -13
  243. package/lib/model/monitoring-service.d.ts +30 -0
  244. package/lib/model/monitoring-service.js +41 -0
  245. package/lib/model/monitoring-service.js.map +1 -0
  246. package/lib/model/no-delay-start-policy.d.ts +1 -1
  247. package/lib/model/operation-status.d.ts +1 -1
  248. package/lib/model/operation-status.js +1 -1
  249. package/lib/model/operation-type.d.ts +1 -1
  250. package/lib/model/operation-type.js +1 -1
  251. package/lib/model/operator-summary.d.ts +7 -7
  252. package/lib/model/operator-type.d.ts +1 -1
  253. package/lib/model/operator-type.js +1 -1
  254. package/lib/model/owner-type.d.ts +1 -1
  255. package/lib/model/owner-type.js +1 -1
  256. package/lib/model/package-detail.d.ts +48 -0
  257. package/lib/model/package-detail.js +32 -0
  258. package/lib/model/package-detail.js.map +1 -0
  259. package/lib/model/policy-collection.d.ts +5 -1
  260. package/lib/model/policy-collection.js +10 -0
  261. package/lib/model/policy-collection.js.map +1 -1
  262. package/lib/model/political-location.d.ts +4 -4
  263. package/lib/model/problem-aggregation-collection.d.ts +2 -2
  264. package/lib/model/problem-aggregation.d.ts +2 -2
  265. package/lib/model/problem-category-enum.d.ts +1 -1
  266. package/lib/model/problem-category-enum.js +1 -1
  267. package/lib/model/problem-collection.d.ts +6 -2
  268. package/lib/model/problem-collection.js +10 -0
  269. package/lib/model/problem-collection.js.map +1 -1
  270. package/lib/model/problem-dimension.d.ts +1 -1
  271. package/lib/model/problem-dimension.js +1 -1
  272. package/lib/model/problem-endpoint-collection.d.ts +6 -2
  273. package/lib/model/problem-endpoint-collection.js +10 -0
  274. package/lib/model/problem-endpoint-collection.js.map +1 -1
  275. package/lib/model/problem-endpoint-summary.d.ts +9 -9
  276. package/lib/model/problem-entity-collection.d.ts +5 -1
  277. package/lib/model/problem-entity-collection.js +10 -0
  278. package/lib/model/problem-entity-collection.js.map +1 -1
  279. package/lib/model/problem-entity-summary.d.ts +4 -4
  280. package/lib/model/problem-history-collection.d.ts +6 -2
  281. package/lib/model/problem-history-collection.js +10 -0
  282. package/lib/model/problem-history-collection.js.map +1 -1
  283. package/lib/model/problem-history-summary.d.ts +12 -8
  284. package/lib/model/problem-history-summary.js +34 -2
  285. package/lib/model/problem-history-summary.js.map +1 -1
  286. package/lib/model/problem-summary.d.ts +19 -15
  287. package/lib/model/problem-summary.js +34 -2
  288. package/lib/model/problem-summary.js.map +1 -1
  289. package/lib/model/problem-trend-aggregation-collection.d.ts +2 -2
  290. package/lib/model/problem-trend-aggregation.d.ts +3 -3
  291. package/lib/model/problem.d.ts +24 -20
  292. package/lib/model/problem.js +34 -2
  293. package/lib/model/problem.js.map +1 -1
  294. package/lib/model/property-tuple.d.ts +32 -0
  295. package/lib/model/property-tuple.js +32 -0
  296. package/lib/model/property-tuple.js.map +1 -0
  297. package/lib/model/query-replication-status.d.ts +1 -1
  298. package/lib/model/query-replication-status.js +1 -1
  299. package/lib/model/recommendation-summary-collection.d.ts +6 -2
  300. package/lib/model/recommendation-summary-collection.js +10 -0
  301. package/lib/model/recommendation-summary-collection.js.map +1 -1
  302. package/lib/model/recommendation-summary.d.ts +12 -12
  303. package/lib/model/recommendation-type.d.ts +1 -1
  304. package/lib/model/recommendation-type.js +1 -1
  305. package/lib/model/region-status-detail.d.ts +3 -3
  306. package/lib/model/remove-compartment-details.d.ts +1 -1
  307. package/lib/model/request-summarized-trend-resource-risk-scores-details.d.ts +3 -3
  308. package/lib/model/resource-additional-details.d.ts +28 -0
  309. package/lib/model/resource-additional-details.js +32 -0
  310. package/lib/model/resource-additional-details.js.map +1 -0
  311. package/lib/model/resource-collection.d.ts +29 -0
  312. package/lib/model/resource-collection.js +64 -0
  313. package/lib/model/resource-collection.js.map +1 -0
  314. package/lib/model/resource-lock.d.ts +55 -0
  315. package/lib/model/resource-lock.js +42 -0
  316. package/lib/model/resource-lock.js.map +1 -0
  317. package/lib/model/resource-port-collection.d.ts +29 -0
  318. package/lib/model/resource-port-collection.js +64 -0
  319. package/lib/model/resource-port-collection.js.map +1 -0
  320. package/lib/model/resource-port-summary.d.ts +69 -0
  321. package/lib/model/resource-port-summary.js +32 -0
  322. package/lib/model/resource-port-summary.js.map +1 -0
  323. package/lib/model/resource-profile-collection.d.ts +6 -2
  324. package/lib/model/resource-profile-collection.js +10 -0
  325. package/lib/model/resource-profile-collection.js.map +1 -1
  326. package/lib/model/resource-profile-endpoint-collection.d.ts +2 -2
  327. package/lib/model/resource-profile-endpoint-summary.d.ts +15 -15
  328. package/lib/model/resource-profile-impacted-resource-collection.d.ts +5 -1
  329. package/lib/model/resource-profile-impacted-resource-collection.js +10 -0
  330. package/lib/model/resource-profile-impacted-resource-collection.js.map +1 -1
  331. package/lib/model/resource-profile-impacted-resource-summary.d.ts +10 -10
  332. package/lib/model/resource-profile-risk-score-aggregation-summary-collection.d.ts +2 -2
  333. package/lib/model/resource-profile-risk-score-aggregation-summary.d.ts +3 -3
  334. package/lib/model/resource-profile-summary.d.ts +8 -8
  335. package/lib/model/resource-profile.d.ts +18 -14
  336. package/lib/model/resource-profile.js +10 -0
  337. package/lib/model/resource-profile.js.map +1 -1
  338. package/lib/model/resource-risk-score-aggregation-collection.d.ts +5 -5
  339. package/lib/model/resource-risk-score-aggregation.d.ts +3 -3
  340. package/lib/model/resource-summary.d.ts +102 -0
  341. package/lib/model/resource-summary.js +32 -0
  342. package/lib/model/resource-summary.js.map +1 -0
  343. package/lib/model/resource-type-collection.d.ts +6 -2
  344. package/lib/model/resource-type-collection.js +10 -0
  345. package/lib/model/resource-type-collection.js.map +1 -1
  346. package/lib/model/resource-type-summary.d.ts +7 -3
  347. package/lib/model/resource-type-summary.js +10 -0
  348. package/lib/model/resource-type-summary.js.map +1 -1
  349. package/lib/model/resource-vulnerability-collection.d.ts +29 -0
  350. package/lib/model/resource-vulnerability-collection.js +64 -0
  351. package/lib/model/resource-vulnerability-collection.js.map +1 -0
  352. package/lib/model/resource-vulnerability-summary.d.ts +70 -0
  353. package/lib/model/resource-vulnerability-summary.js +32 -0
  354. package/lib/model/resource-vulnerability-summary.js.map +1 -0
  355. package/lib/model/resource-vulnerability.d.ts +98 -0
  356. package/lib/model/resource-vulnerability.js +64 -0
  357. package/lib/model/resource-vulnerability.js.map +1 -0
  358. package/lib/model/resource.d.ts +111 -0
  359. package/lib/model/resource.js +60 -0
  360. package/lib/model/resource.js.map +1 -0
  361. package/lib/model/responder-activity-collection.d.ts +2 -2
  362. package/lib/model/responder-activity-summary.d.ts +10 -10
  363. package/lib/model/responder-activity-type.d.ts +1 -1
  364. package/lib/model/responder-activity-type.js +1 -1
  365. package/lib/model/responder-configuration.d.ts +4 -4
  366. package/lib/model/responder-dimension.d.ts +1 -1
  367. package/lib/model/responder-dimension.js +1 -1
  368. package/lib/model/responder-execution-aggregation-collection.d.ts +2 -2
  369. package/lib/model/responder-execution-aggregation.d.ts +1 -1
  370. package/lib/model/responder-execution-collection.d.ts +8 -2
  371. package/lib/model/responder-execution-collection.js +10 -0
  372. package/lib/model/responder-execution-collection.js.map +1 -1
  373. package/lib/model/responder-execution-summary.d.ts +9 -9
  374. package/lib/model/responder-execution-trend-aggregation-collection.d.ts +2 -2
  375. package/lib/model/responder-execution-trend-aggregation.d.ts +3 -3
  376. package/lib/model/responder-execution.d.ts +17 -13
  377. package/lib/model/responder-execution.js +10 -0
  378. package/lib/model/responder-execution.js.map +1 -1
  379. package/lib/model/responder-mode-types.d.ts +1 -1
  380. package/lib/model/responder-mode-types.js +1 -1
  381. package/lib/model/responder-recipe-collection.d.ts +6 -2
  382. package/lib/model/responder-recipe-collection.js +10 -0
  383. package/lib/model/responder-recipe-collection.js.map +1 -1
  384. package/lib/model/responder-recipe-responder-rule-collection.d.ts +2 -2
  385. package/lib/model/responder-recipe-responder-rule-summary.d.ts +10 -10
  386. package/lib/model/responder-recipe-responder-rule.d.ts +34 -11
  387. package/lib/model/responder-recipe-responder-rule.js +11 -1
  388. package/lib/model/responder-recipe-responder-rule.js.map +1 -1
  389. package/lib/model/responder-recipe-summary.d.ts +10 -10
  390. package/lib/model/responder-recipe.d.ts +27 -11
  391. package/lib/model/responder-recipe.js.map +1 -1
  392. package/lib/model/responder-rule-collection.d.ts +6 -2
  393. package/lib/model/responder-rule-collection.js +10 -0
  394. package/lib/model/responder-rule-collection.js.map +1 -1
  395. package/lib/model/responder-rule-details.d.ts +4 -4
  396. package/lib/model/responder-rule-execution-details.d.ts +2 -2
  397. package/lib/model/responder-rule-summary.d.ts +9 -9
  398. package/lib/model/responder-rule.d.ts +23 -10
  399. package/lib/model/responder-rule.js +11 -1
  400. package/lib/model/responder-rule.js.map +1 -1
  401. package/lib/model/risk-level.d.ts +1 -1
  402. package/lib/model/risk-level.js +1 -1
  403. package/lib/model/risk-score-aggregation-collection.d.ts +2 -2
  404. package/lib/model/risk-score-aggregation.d.ts +1 -1
  405. package/lib/model/rule-summary.d.ts +4 -4
  406. package/lib/model/saved-query-collection.d.ts +33 -0
  407. package/lib/model/saved-query-collection.js +74 -0
  408. package/lib/model/saved-query-collection.js.map +1 -0
  409. package/lib/model/saved-query-summary.d.ts +98 -0
  410. package/lib/model/saved-query-summary.js +64 -0
  411. package/lib/model/saved-query-summary.js.map +1 -0
  412. package/lib/model/saved-query.d.ts +90 -0
  413. package/lib/model/saved-query.js +32 -0
  414. package/lib/model/saved-query.js.map +1 -0
  415. package/lib/model/scheduled-query-data-source-obj-details.d.ts +43 -0
  416. package/lib/model/scheduled-query-data-source-obj-details.js +69 -0
  417. package/lib/model/scheduled-query-data-source-obj-details.js.map +1 -0
  418. package/lib/model/scheduled-query-data-source-summary-obj-details.d.ts +43 -0
  419. package/lib/model/scheduled-query-data-source-summary-obj-details.js +79 -0
  420. package/lib/model/scheduled-query-data-source-summary-obj-details.js.map +1 -0
  421. package/lib/model/scheduled-query-scope-detail.d.ts +36 -0
  422. package/lib/model/scheduled-query-scope-detail.js +32 -0
  423. package/lib/model/scheduled-query-scope-detail.js.map +1 -0
  424. package/lib/model/security-policy-collection.d.ts +6 -2
  425. package/lib/model/security-policy-collection.js +10 -0
  426. package/lib/model/security-policy-collection.js.map +1 -1
  427. package/lib/model/security-policy-summary.d.ts +10 -8
  428. package/lib/model/security-policy-summary.js.map +1 -1
  429. package/lib/model/security-policy.d.ts +14 -6
  430. package/lib/model/security-policy.js +34 -2
  431. package/lib/model/security-policy.js.map +1 -1
  432. package/lib/model/security-rating.d.ts +1 -1
  433. package/lib/model/security-rating.js +1 -1
  434. package/lib/model/security-recipe-collection.d.ts +41 -2
  435. package/lib/model/security-recipe-collection.js +10 -0
  436. package/lib/model/security-recipe-collection.js.map +1 -1
  437. package/lib/model/security-recipe-summary.d.ts +5 -5
  438. package/lib/model/security-recipe.d.ts +9 -6
  439. package/lib/model/security-recipe.js.map +1 -1
  440. package/lib/model/security-score-aggregation-collection.d.ts +2 -2
  441. package/lib/model/security-score-aggregation.d.ts +3 -3
  442. package/lib/model/security-score-trend-aggregation-collection.d.ts +2 -2
  443. package/lib/model/security-score-trend-aggregation.d.ts +2 -2
  444. package/lib/model/security-zone-collection.d.ts +6 -2
  445. package/lib/model/security-zone-collection.js +10 -0
  446. package/lib/model/security-zone-collection.js.map +1 -1
  447. package/lib/model/security-zone-summary.d.ts +7 -5
  448. package/lib/model/security-zone-summary.js.map +1 -1
  449. package/lib/model/security-zone-target-details.d.ts +4 -4
  450. package/lib/model/security-zone.d.ts +8 -5
  451. package/lib/model/security-zone.js.map +1 -1
  452. package/lib/model/service-configuration.d.ts +25 -0
  453. package/lib/model/service-configuration.js +71 -0
  454. package/lib/model/service-configuration.js.map +1 -0
  455. package/lib/model/service-type-summary.d.ts +3 -3
  456. package/lib/model/severity.d.ts +1 -1
  457. package/lib/model/severity.js +1 -1
  458. package/lib/model/sighting-collection.d.ts +6 -2
  459. package/lib/model/sighting-collection.js +10 -0
  460. package/lib/model/sighting-collection.js.map +1 -1
  461. package/lib/model/sighting-endpoint-collection.d.ts +2 -2
  462. package/lib/model/sighting-endpoint-summary.d.ts +13 -13
  463. package/lib/model/sighting-impacted-resource-collection.d.ts +6 -2
  464. package/lib/model/sighting-impacted-resource-collection.js +10 -0
  465. package/lib/model/sighting-impacted-resource-collection.js.map +1 -1
  466. package/lib/model/sighting-impacted-resource-summary.d.ts +7 -7
  467. package/lib/model/sighting-summary.d.ts +14 -14
  468. package/lib/model/sighting-type.d.ts +6 -6
  469. package/lib/model/sighting.d.ts +15 -11
  470. package/lib/model/sighting.js +34 -2
  471. package/lib/model/sighting.js.map +1 -1
  472. package/lib/model/simple-condition.d.ts +5 -5
  473. package/lib/model/skip-bulk-responder-execution-details.d.ts +2 -2
  474. package/lib/model/sort-orders.d.ts +1 -1
  475. package/lib/model/sort-orders.js +1 -1
  476. package/lib/model/tactic-collection.d.ts +6 -2
  477. package/lib/model/tactic-collection.js +10 -0
  478. package/lib/model/tactic-collection.js.map +1 -1
  479. package/lib/model/tactic-summary.d.ts +2 -2
  480. package/lib/model/target-collection.d.ts +6 -2
  481. package/lib/model/target-collection.js +10 -0
  482. package/lib/model/target-collection.js.map +1 -1
  483. package/lib/model/target-detector-details.d.ts +7 -7
  484. package/lib/model/target-detector-recipe-collection.d.ts +6 -2
  485. package/lib/model/target-detector-recipe-collection.js +10 -0
  486. package/lib/model/target-detector-recipe-collection.js.map +1 -1
  487. package/lib/model/target-detector-recipe-detector-rule-collection.d.ts +6 -2
  488. package/lib/model/target-detector-recipe-detector-rule-collection.js +10 -0
  489. package/lib/model/target-detector-recipe-detector-rule-collection.js.map +1 -1
  490. package/lib/model/target-detector-recipe-detector-rule-summary.d.ts +16 -12
  491. package/lib/model/target-detector-recipe-detector-rule-summary.js +10 -0
  492. package/lib/model/target-detector-recipe-detector-rule-summary.js.map +1 -1
  493. package/lib/model/target-detector-recipe-detector-rule.d.ts +42 -15
  494. package/lib/model/target-detector-recipe-detector-rule.js +10 -0
  495. package/lib/model/target-detector-recipe-detector-rule.js.map +1 -1
  496. package/lib/model/target-detector-recipe-summary.d.ts +17 -9
  497. package/lib/model/target-detector-recipe-summary.js +34 -2
  498. package/lib/model/target-detector-recipe-summary.js.map +1 -1
  499. package/lib/model/target-detector-recipe.d.ts +32 -11
  500. package/lib/model/target-detector-recipe.js +10 -0
  501. package/lib/model/target-detector-recipe.js.map +1 -1
  502. package/lib/model/target-ids-selected.d.ts +2 -2
  503. package/lib/model/target-resource-types-selected.d.ts +2 -2
  504. package/lib/model/target-responder-recipe-collection.d.ts +6 -2
  505. package/lib/model/target-responder-recipe-collection.js +10 -0
  506. package/lib/model/target-responder-recipe-collection.js.map +1 -1
  507. package/lib/model/target-responder-recipe-responder-rule-collection.d.ts +2 -2
  508. package/lib/model/target-responder-recipe-responder-rule-summary.d.ts +10 -10
  509. package/lib/model/target-responder-recipe-responder-rule.d.ts +25 -11
  510. package/lib/model/target-responder-recipe-responder-rule.js.map +1 -1
  511. package/lib/model/target-responder-recipe-summary.d.ts +13 -9
  512. package/lib/model/target-responder-recipe-summary.js +34 -2
  513. package/lib/model/target-responder-recipe-summary.js.map +1 -1
  514. package/lib/model/target-responder-recipe.d.ts +28 -10
  515. package/lib/model/target-responder-recipe.js +10 -0
  516. package/lib/model/target-responder-recipe.js.map +1 -1
  517. package/lib/model/target-selected.d.ts +1 -1
  518. package/lib/model/target-summary.d.ts +8 -8
  519. package/lib/model/target.d.ts +14 -11
  520. package/lib/model/target.js.map +1 -1
  521. package/lib/model/technique-collection.d.ts +6 -2
  522. package/lib/model/technique-collection.js +10 -0
  523. package/lib/model/technique-collection.js.map +1 -1
  524. package/lib/model/technique-summary.d.ts +2 -2
  525. package/lib/model/trigger-responder-details.d.ts +3 -3
  526. package/lib/model/update-bulk-problem-status-details.d.ts +3 -3
  527. package/lib/model/update-configuration-details.d.ts +7 -3
  528. package/lib/model/update-configuration-details.js +34 -2
  529. package/lib/model/update-configuration-details.js.map +1 -1
  530. package/lib/model/update-data-mask-rule-details.d.ts +6 -6
  531. package/lib/model/update-data-source-details.d.ts +4 -4
  532. package/lib/model/update-data-source-details.js.map +1 -1
  533. package/lib/model/update-detector-recipe-details.d.ts +4 -3
  534. package/lib/model/update-detector-recipe-details.js.map +1 -1
  535. package/lib/model/update-detector-recipe-detector-rule-details.d.ts +1 -1
  536. package/lib/model/update-detector-recipe-detector-rule.d.ts +2 -2
  537. package/lib/model/update-detector-rule-details.d.ts +9 -9
  538. package/lib/model/update-managed-list-details.d.ts +2 -2
  539. package/lib/model/update-problem-status-details.d.ts +2 -2
  540. package/lib/model/update-responder-recipe-details.d.ts +4 -4
  541. package/lib/model/update-responder-recipe-responder-rule-details.d.ts +1 -1
  542. package/lib/model/update-responder-recipe-responder-rule.d.ts +2 -2
  543. package/lib/model/update-responder-rule-details.d.ts +2 -2
  544. package/lib/model/update-saved-query-details.d.ts +56 -0
  545. package/lib/model/update-saved-query-details.js +32 -0
  546. package/lib/model/update-saved-query-details.js.map +1 -0
  547. package/lib/model/update-security-policy-details.d.ts +2 -2
  548. package/lib/model/update-security-recipe-details.d.ts +3 -3
  549. package/lib/model/update-security-zone-details.d.ts +3 -3
  550. package/lib/model/update-target-details.d.ts +4 -4
  551. package/lib/model/update-target-detector-recipe-details.d.ts +4 -4
  552. package/lib/model/update-target-detector-recipe-detector-rule-details.d.ts +1 -1
  553. package/lib/model/update-target-detector-recipe.d.ts +3 -3
  554. package/lib/model/update-target-detector-rule-details.d.ts +1 -1
  555. package/lib/model/update-target-recipe-detector-rule-details.d.ts +2 -2
  556. package/lib/model/update-target-recipe-responder-rule-details.d.ts +2 -2
  557. package/lib/model/update-target-responder-recipe-details.d.ts +7 -2
  558. package/lib/model/update-target-responder-recipe-details.js.map +1 -1
  559. package/lib/model/update-target-responder-recipe-responder-rule-details.d.ts +1 -1
  560. package/lib/model/update-target-responder-recipe.d.ts +3 -3
  561. package/lib/model/update-target-responder-rule-details.d.ts +7 -3
  562. package/lib/model/update-target-responder-rule-details.js.map +1 -1
  563. package/lib/model/update-wlp-agent-details.d.ts +50 -0
  564. package/lib/model/update-wlp-agent-details.js +32 -0
  565. package/lib/model/update-wlp-agent-details.js.map +1 -0
  566. package/lib/model/wlp-agent-collection.d.ts +33 -0
  567. package/lib/model/wlp-agent-collection.js +74 -0
  568. package/lib/model/wlp-agent-collection.js.map +1 -0
  569. package/lib/model/wlp-agent-summary.d.ts +94 -0
  570. package/lib/model/wlp-agent-summary.js +32 -0
  571. package/lib/model/wlp-agent-summary.js.map +1 -0
  572. package/lib/model/wlp-agent.d.ts +104 -0
  573. package/lib/model/wlp-agent.js +64 -0
  574. package/lib/model/wlp-agent.js.map +1 -0
  575. package/lib/model/work-request-error-collection.d.ts +5 -2
  576. package/lib/model/work-request-error-collection.js.map +1 -1
  577. package/lib/model/work-request-error.d.ts +6 -4
  578. package/lib/model/work-request-error.js.map +1 -1
  579. package/lib/model/work-request-log-entry-collection.d.ts +9 -2
  580. package/lib/model/work-request-log-entry-collection.js +10 -0
  581. package/lib/model/work-request-log-entry-collection.js.map +1 -1
  582. package/lib/model/work-request-log-entry.d.ts +2 -2
  583. package/lib/model/work-request-resource-metadata-key.d.ts +1 -1
  584. package/lib/model/work-request-resource-metadata-key.js +1 -1
  585. package/lib/model/work-request-resource.d.ts +4 -4
  586. package/lib/model/work-request-summary-collection.d.ts +6 -2
  587. package/lib/model/work-request-summary-collection.js +10 -0
  588. package/lib/model/work-request-summary-collection.js.map +1 -1
  589. package/lib/model/work-request-summary.d.ts +8 -8
  590. package/lib/model/work-request.d.ts +15 -11
  591. package/lib/model/work-request.js +10 -0
  592. package/lib/model/work-request.js.map +1 -1
  593. package/lib/request/add-compartment-request.d.ts +3 -3
  594. package/lib/request/cancel-work-request-request.d.ts +1 -1
  595. package/lib/request/change-data-source-compartment-request.d.ts +3 -3
  596. package/lib/request/change-detector-recipe-compartment-request.d.ts +3 -3
  597. package/lib/request/change-managed-list-compartment-request.d.ts +3 -3
  598. package/lib/request/change-responder-recipe-compartment-request.d.ts +3 -3
  599. package/lib/request/change-saved-query-compartment-request.d.ts +49 -0
  600. package/lib/request/change-saved-query-compartment-request.js +15 -0
  601. package/lib/request/change-saved-query-compartment-request.js.map +1 -0
  602. package/lib/request/change-security-recipe-compartment-request.d.ts +3 -3
  603. package/lib/request/change-security-zone-compartment-request.d.ts +3 -3
  604. package/lib/request/create-adhoc-query-request.d.ts +36 -0
  605. package/lib/request/create-adhoc-query-request.js +15 -0
  606. package/lib/request/create-adhoc-query-request.js.map +1 -0
  607. package/lib/request/create-data-mask-rule-request.d.ts +2 -2
  608. package/lib/request/create-data-source-request.d.ts +2 -2
  609. package/lib/request/create-detector-recipe-detector-rule-request.d.ts +3 -3
  610. package/lib/request/create-detector-recipe-request.d.ts +2 -2
  611. package/lib/request/create-managed-list-request.d.ts +2 -2
  612. package/lib/request/create-responder-recipe-request.d.ts +2 -2
  613. package/lib/request/create-saved-query-request.d.ts +36 -0
  614. package/lib/request/create-saved-query-request.js +15 -0
  615. package/lib/request/create-saved-query-request.js.map +1 -0
  616. package/lib/request/create-security-recipe-request.d.ts +2 -2
  617. package/lib/request/create-security-zone-request.d.ts +2 -2
  618. package/lib/request/create-target-detector-recipe-request.d.ts +3 -3
  619. package/lib/request/create-target-request.d.ts +2 -2
  620. package/lib/request/create-target-responder-recipe-request.d.ts +3 -3
  621. package/lib/request/create-wlp-agent-request.d.ts +36 -0
  622. package/lib/request/create-wlp-agent-request.js +15 -0
  623. package/lib/request/create-wlp-agent-request.js.map +1 -0
  624. package/lib/request/delete-adhoc-query-request.d.ts +44 -0
  625. package/lib/request/delete-adhoc-query-request.js +15 -0
  626. package/lib/request/delete-adhoc-query-request.js.map +1 -0
  627. package/lib/request/delete-data-mask-rule-request.d.ts +2 -2
  628. package/lib/request/delete-data-source-request.d.ts +2 -2
  629. package/lib/request/delete-detector-recipe-detector-rule-data-source-request.d.ts +4 -4
  630. package/lib/request/delete-detector-recipe-detector-rule-request.d.ts +3 -3
  631. package/lib/request/delete-detector-recipe-request.d.ts +2 -2
  632. package/lib/request/delete-managed-list-request.d.ts +2 -2
  633. package/lib/request/delete-responder-recipe-request.d.ts +2 -2
  634. package/lib/request/delete-saved-query-request.d.ts +44 -0
  635. package/lib/request/delete-saved-query-request.js +15 -0
  636. package/lib/request/delete-saved-query-request.js.map +1 -0
  637. package/lib/request/delete-security-recipe-request.d.ts +2 -2
  638. package/lib/request/delete-security-zone-request.d.ts +2 -2
  639. package/lib/request/delete-target-detector-recipe-request.d.ts +3 -3
  640. package/lib/request/delete-target-request.d.ts +2 -2
  641. package/lib/request/delete-target-responder-recipe-request.d.ts +3 -3
  642. package/lib/request/delete-wlp-agent-request.d.ts +44 -0
  643. package/lib/request/delete-wlp-agent-request.js +15 -0
  644. package/lib/request/delete-wlp-agent-request.js.map +1 -0
  645. package/lib/request/execute-responder-execution-request.d.ts +4 -4
  646. package/lib/request/get-adhoc-query-request.d.ts +26 -0
  647. package/lib/request/get-adhoc-query-request.js +15 -0
  648. package/lib/request/get-adhoc-query-request.js.map +1 -0
  649. package/lib/request/get-adhoc-query-result-content-request.d.ts +26 -0
  650. package/lib/request/get-adhoc-query-result-content-request.js +15 -0
  651. package/lib/request/get-adhoc-query-result-content-request.js.map +1 -0
  652. package/lib/request/get-condition-metadata-type-request.d.ts +4 -4
  653. package/lib/request/get-configuration-request.d.ts +2 -2
  654. package/lib/request/get-data-mask-rule-request.d.ts +2 -2
  655. package/lib/request/get-data-source-request.d.ts +2 -2
  656. package/lib/request/get-detector-recipe-detector-rule-request.d.ts +3 -3
  657. package/lib/request/get-detector-recipe-request.d.ts +2 -2
  658. package/lib/request/get-detector-request.d.ts +2 -2
  659. package/lib/request/get-detector-rule-request.d.ts +3 -3
  660. package/lib/request/get-managed-list-request.d.ts +2 -2
  661. package/lib/request/get-problem-request.d.ts +2 -2
  662. package/lib/request/get-resource-profile-request.d.ts +1 -1
  663. package/lib/request/get-resource-request.d.ts +26 -0
  664. package/lib/request/get-resource-request.js +15 -0
  665. package/lib/request/get-resource-request.js.map +1 -0
  666. package/lib/request/get-resource-vulnerability-request.d.ts +30 -0
  667. package/lib/request/get-resource-vulnerability-request.js +15 -0
  668. package/lib/request/get-resource-vulnerability-request.js.map +1 -0
  669. package/lib/request/get-responder-execution-request.d.ts +2 -2
  670. package/lib/request/get-responder-recipe-request.d.ts +2 -2
  671. package/lib/request/get-responder-recipe-responder-rule-request.d.ts +3 -3
  672. package/lib/request/get-responder-rule-request.d.ts +2 -2
  673. package/lib/request/get-saved-query-request.d.ts +26 -0
  674. package/lib/request/get-saved-query-request.js +15 -0
  675. package/lib/request/get-saved-query-request.js.map +1 -0
  676. package/lib/request/get-security-policy-request.d.ts +2 -2
  677. package/lib/request/get-security-recipe-request.d.ts +2 -2
  678. package/lib/request/get-security-zone-request.d.ts +2 -2
  679. package/lib/request/get-sighting-request.d.ts +1 -1
  680. package/lib/request/get-target-detector-recipe-detector-rule-request.d.ts +4 -4
  681. package/lib/request/get-target-detector-recipe-request.d.ts +3 -3
  682. package/lib/request/get-target-request.d.ts +2 -2
  683. package/lib/request/get-target-responder-recipe-request.d.ts +3 -3
  684. package/lib/request/get-target-responder-recipe-responder-rule-request.d.ts +4 -4
  685. package/lib/request/get-wlp-agent-request.d.ts +26 -0
  686. package/lib/request/get-wlp-agent-request.js +15 -0
  687. package/lib/request/get-wlp-agent-request.js.map +1 -0
  688. package/lib/request/get-work-request-request.d.ts +1 -1
  689. package/lib/request/index.d.ts +44 -0
  690. package/lib/request/index.js +16 -1
  691. package/lib/request/index.js.map +1 -1
  692. package/lib/request/list-adhoc-queries-request.d.ts +83 -0
  693. package/lib/request/list-adhoc-queries-request.js +29 -0
  694. package/lib/request/list-adhoc-queries-request.js.map +1 -0
  695. package/lib/request/list-adhoc-query-results-request.d.ts +54 -0
  696. package/lib/request/list-adhoc-query-results-request.js +24 -0
  697. package/lib/request/list-adhoc-query-results-request.js.map +1 -0
  698. package/lib/request/list-condition-metadata-types-request.d.ts +5 -5
  699. package/lib/request/list-data-mask-rules-request.d.ts +8 -8
  700. package/lib/request/list-data-source-events-request.d.ts +5 -5
  701. package/lib/request/list-data-sources-request.d.ts +8 -8
  702. package/lib/request/list-detector-recipe-detector-rules-request.d.ts +6 -6
  703. package/lib/request/list-detector-recipes-request.d.ts +8 -8
  704. package/lib/request/list-detector-rules-request.d.ts +6 -6
  705. package/lib/request/list-detectors-request.d.ts +5 -5
  706. package/lib/request/list-impacted-resources-request.d.ts +4 -4
  707. package/lib/request/list-managed-list-types-request.d.ts +5 -5
  708. package/lib/request/list-managed-lists-request.d.ts +9 -9
  709. package/lib/request/list-policies-request.d.ts +4 -4
  710. package/lib/request/list-problem-endpoints-request.d.ts +4 -4
  711. package/lib/request/list-problem-entities-request.d.ts +4 -4
  712. package/lib/request/list-problem-histories-request.d.ts +5 -5
  713. package/lib/request/list-problems-request.d.ts +15 -15
  714. package/lib/request/list-recommendations-request.d.ts +7 -7
  715. package/lib/request/list-resource-ports-request.d.ts +54 -0
  716. package/lib/request/list-resource-ports-request.js +24 -0
  717. package/lib/request/list-resource-ports-request.js.map +1 -0
  718. package/lib/request/list-resource-profile-endpoints-request.d.ts +3 -3
  719. package/lib/request/list-resource-profile-impacted-resources-request.d.ts +3 -3
  720. package/lib/request/list-resource-profiles-request.d.ts +9 -9
  721. package/lib/request/list-resource-types-request.d.ts +6 -6
  722. package/lib/request/list-resource-vulnerabilities-request.d.ts +58 -0
  723. package/lib/request/list-resource-vulnerabilities-request.js +24 -0
  724. package/lib/request/list-resource-vulnerabilities-request.js.map +1 -0
  725. package/lib/request/list-resources-request.d.ts +116 -0
  726. package/lib/request/list-resources-request.js +29 -0
  727. package/lib/request/list-resources-request.js.map +1 -0
  728. package/lib/request/list-responder-activities-request.d.ts +4 -4
  729. package/lib/request/list-responder-executions-request.d.ts +12 -12
  730. package/lib/request/list-responder-recipe-responder-rules-request.d.ts +6 -6
  731. package/lib/request/list-responder-recipes-request.d.ts +8 -8
  732. package/lib/request/list-responder-rules-request.d.ts +5 -5
  733. package/lib/request/list-saved-queries-request.d.ts +75 -0
  734. package/lib/request/list-saved-queries-request.js +29 -0
  735. package/lib/request/list-saved-queries-request.js.map +1 -0
  736. package/lib/request/list-security-policies-request.d.ts +6 -6
  737. package/lib/request/list-security-recipes-request.d.ts +6 -6
  738. package/lib/request/list-security-zones-request.d.ts +8 -8
  739. package/lib/request/list-sighting-endpoints-request.d.ts +3 -3
  740. package/lib/request/list-sighting-impacted-resources-request.d.ts +3 -3
  741. package/lib/request/list-sightings-request.d.ts +5 -5
  742. package/lib/request/list-tactics-request.d.ts +5 -5
  743. package/lib/request/list-target-detector-recipe-detector-rules-request.d.ts +7 -7
  744. package/lib/request/list-target-detector-recipes-request.d.ts +6 -6
  745. package/lib/request/list-target-responder-recipe-responder-rules-request.d.ts +7 -7
  746. package/lib/request/list-target-responder-recipes-request.d.ts +6 -6
  747. package/lib/request/list-targets-request.d.ts +6 -6
  748. package/lib/request/list-techniques-request.d.ts +5 -5
  749. package/lib/request/list-wlp-agents-request.d.ts +50 -0
  750. package/lib/request/list-wlp-agents-request.js +24 -0
  751. package/lib/request/list-wlp-agents-request.js.map +1 -0
  752. package/lib/request/list-work-request-errors-request.d.ts +3 -3
  753. package/lib/request/list-work-request-logs-request.d.ts +3 -3
  754. package/lib/request/list-work-requests-request.d.ts +5 -5
  755. package/lib/request/remove-compartment-request.d.ts +3 -3
  756. package/lib/request/request-risk-scores-request.d.ts +3 -3
  757. package/lib/request/request-security-score-summarized-trend-request.d.ts +3 -3
  758. package/lib/request/request-security-scores-request.d.ts +3 -3
  759. package/lib/request/request-summarized-activity-problems-request.d.ts +4 -4
  760. package/lib/request/request-summarized-problems-request.d.ts +4 -4
  761. package/lib/request/request-summarized-responder-executions-request.d.ts +9 -9
  762. package/lib/request/request-summarized-risk-scores-request.d.ts +3 -3
  763. package/lib/request/request-summarized-security-scores-request.d.ts +3 -3
  764. package/lib/request/request-summarized-top-trend-resource-profile-risk-scores-request.d.ts +4 -4
  765. package/lib/request/request-summarized-trend-problems-request.d.ts +4 -4
  766. package/lib/request/request-summarized-trend-resource-risk-scores-request.d.ts +5 -5
  767. package/lib/request/request-summarized-trend-responder-executions-request.d.ts +6 -6
  768. package/lib/request/request-summarized-trend-security-scores-request.d.ts +3 -3
  769. package/lib/request/skip-bulk-responder-execution-request.d.ts +2 -2
  770. package/lib/request/skip-responder-execution-request.d.ts +3 -3
  771. package/lib/request/trigger-responder-request.d.ts +3 -3
  772. package/lib/request/update-bulk-problem-status-request.d.ts +2 -2
  773. package/lib/request/update-configuration-request.d.ts +3 -3
  774. package/lib/request/update-data-mask-rule-request.d.ts +3 -3
  775. package/lib/request/update-data-source-request.d.ts +3 -3
  776. package/lib/request/update-detector-recipe-detector-rule-request.d.ts +4 -4
  777. package/lib/request/update-detector-recipe-request.d.ts +2 -2
  778. package/lib/request/update-managed-list-request.d.ts +3 -3
  779. package/lib/request/update-problem-status-request.d.ts +3 -3
  780. package/lib/request/update-responder-recipe-request.d.ts +3 -3
  781. package/lib/request/update-responder-recipe-responder-rule-request.d.ts +4 -4
  782. package/lib/request/update-saved-query-request.d.ts +49 -0
  783. package/lib/request/update-saved-query-request.js +15 -0
  784. package/lib/request/update-saved-query-request.js.map +1 -0
  785. package/lib/request/update-security-recipe-request.d.ts +3 -3
  786. package/lib/request/update-security-zone-request.d.ts +3 -3
  787. package/lib/request/update-target-detector-recipe-detector-rule-request.d.ts +5 -5
  788. package/lib/request/update-target-detector-recipe-request.d.ts +4 -4
  789. package/lib/request/update-target-request.d.ts +3 -3
  790. package/lib/request/update-target-responder-recipe-request.d.ts +4 -4
  791. package/lib/request/update-target-responder-recipe-responder-rule-request.d.ts +5 -5
  792. package/lib/request/update-wlp-agent-request.d.ts +49 -0
  793. package/lib/request/update-wlp-agent-request.js +15 -0
  794. package/lib/request/update-wlp-agent-request.js.map +1 -0
  795. package/lib/response/change-saved-query-compartment-response.d.ts +20 -0
  796. package/lib/response/change-saved-query-compartment-response.js +15 -0
  797. package/lib/response/change-saved-query-compartment-response.js.map +1 -0
  798. package/lib/response/create-adhoc-query-response.d.ts +30 -0
  799. package/lib/response/create-adhoc-query-response.js +15 -0
  800. package/lib/response/create-adhoc-query-response.js.map +1 -0
  801. package/lib/response/create-saved-query-response.d.ts +30 -0
  802. package/lib/response/create-saved-query-response.js +15 -0
  803. package/lib/response/create-saved-query-response.js.map +1 -0
  804. package/lib/response/create-wlp-agent-response.d.ts +30 -0
  805. package/lib/response/create-wlp-agent-response.js +15 -0
  806. package/lib/response/create-wlp-agent-response.js.map +1 -0
  807. package/lib/response/delete-adhoc-query-response.d.ts +20 -0
  808. package/lib/response/delete-adhoc-query-response.js +15 -0
  809. package/lib/response/delete-adhoc-query-response.js.map +1 -0
  810. package/lib/response/delete-saved-query-response.d.ts +20 -0
  811. package/lib/response/delete-saved-query-response.js +15 -0
  812. package/lib/response/delete-saved-query-response.js.map +1 -0
  813. package/lib/response/delete-wlp-agent-response.d.ts +20 -0
  814. package/lib/response/delete-wlp-agent-response.js +15 -0
  815. package/lib/response/delete-wlp-agent-response.js.map +1 -0
  816. package/lib/response/get-adhoc-query-response.d.ts +30 -0
  817. package/lib/response/get-adhoc-query-response.js +15 -0
  818. package/lib/response/get-adhoc-query-response.js.map +1 -0
  819. package/lib/response/get-adhoc-query-result-content-response.d.ts +31 -0
  820. package/lib/response/get-adhoc-query-result-content-response.js +15 -0
  821. package/lib/response/get-adhoc-query-result-content-response.js.map +1 -0
  822. package/lib/response/get-resource-response.d.ts +30 -0
  823. package/lib/response/get-resource-response.js +15 -0
  824. package/lib/response/get-resource-response.js.map +1 -0
  825. package/lib/response/get-resource-vulnerability-response.d.ts +32 -0
  826. package/lib/response/get-resource-vulnerability-response.js +15 -0
  827. package/lib/response/get-resource-vulnerability-response.js.map +1 -0
  828. package/lib/response/get-saved-query-response.d.ts +30 -0
  829. package/lib/response/get-saved-query-response.js +15 -0
  830. package/lib/response/get-saved-query-response.js.map +1 -0
  831. package/lib/response/get-wlp-agent-response.d.ts +30 -0
  832. package/lib/response/get-wlp-agent-response.js +15 -0
  833. package/lib/response/get-wlp-agent-response.js.map +1 -0
  834. package/lib/response/index.d.ts +44 -0
  835. package/lib/response/list-adhoc-queries-response.d.ts +32 -0
  836. package/lib/response/list-adhoc-queries-response.js +15 -0
  837. package/lib/response/list-adhoc-queries-response.js.map +1 -0
  838. package/lib/response/list-adhoc-query-results-response.d.ts +32 -0
  839. package/lib/response/list-adhoc-query-results-response.js +15 -0
  840. package/lib/response/list-adhoc-query-results-response.js.map +1 -0
  841. package/lib/response/list-resource-ports-response.d.ts +32 -0
  842. package/lib/response/list-resource-ports-response.js +15 -0
  843. package/lib/response/list-resource-ports-response.js.map +1 -0
  844. package/lib/response/list-resource-vulnerabilities-response.d.ts +32 -0
  845. package/lib/response/list-resource-vulnerabilities-response.js +15 -0
  846. package/lib/response/list-resource-vulnerabilities-response.js.map +1 -0
  847. package/lib/response/list-resources-response.d.ts +32 -0
  848. package/lib/response/list-resources-response.js +15 -0
  849. package/lib/response/list-resources-response.js.map +1 -0
  850. package/lib/response/list-saved-queries-response.d.ts +32 -0
  851. package/lib/response/list-saved-queries-response.js +15 -0
  852. package/lib/response/list-saved-queries-response.js.map +1 -0
  853. package/lib/response/list-wlp-agents-response.d.ts +32 -0
  854. package/lib/response/list-wlp-agents-response.js +15 -0
  855. package/lib/response/list-wlp-agents-response.js.map +1 -0
  856. package/lib/response/update-saved-query-response.d.ts +30 -0
  857. package/lib/response/update-saved-query-response.js +15 -0
  858. package/lib/response/update-saved-query-response.js.map +1 -0
  859. package/lib/response/update-wlp-agent-response.d.ts +30 -0
  860. package/lib/response/update-wlp-agent-response.js +15 -0
  861. package/lib/response/update-wlp-agent-response.js.map +1 -0
  862. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -200,12 +200,17 @@ class CloudGuardClient {
200
200
  this.shutdownCircuitBreaker();
201
201
  }
202
202
  /**
203
- * Add an existing compartment to a security zone. If you previously removed a subcompartment from a security zone, you can add it back to the same security zone. The security zone ensures that resources in the subcompartment comply with the security zone's policies.
203
+ * Adds a compartment to an existing security zone (SecurityZone resource), identified by
204
+ * securityZoneId. Specify parameters in an AddCompartmentDetails resource that you pass.
205
+ * If you previously removed a subcompartment from a security zone, you can add it back to the
206
+ * same security zone. The security zone ensures that resources in the subcompartment comply with
207
+ * the security zone's policies.
208
+ *
204
209
  * This operation does not retry by default if the user has not defined a retry configuration.
205
210
  * @param AddCompartmentRequest
206
211
  * @return AddCompartmentResponse
207
212
  * @throws OciError when an error occurs
208
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/AddCompartment.ts.html |here} to see how to use AddCompartment API.
213
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/AddCompartment.ts.html |here} to see how to use AddCompartment API.
209
214
  */
210
215
  addCompartment(addCompartmentRequest) {
211
216
  return __awaiter(this, void 0, void 0, function* () {
@@ -266,12 +271,12 @@ class CloudGuardClient {
266
271
  });
267
272
  }
268
273
  /**
269
- * Cancels the work request with the given ID.
274
+ * Cancels a work request identified by workRequestId.
270
275
  * This operation does not retry by default if the user has not defined a retry configuration.
271
276
  * @param CancelWorkRequestRequest
272
277
  * @return CancelWorkRequestResponse
273
278
  * @throws OciError when an error occurs
274
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
279
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
275
280
  */
276
281
  cancelWorkRequest(cancelWorkRequestRequest) {
277
282
  return __awaiter(this, void 0, void 0, function* () {
@@ -321,12 +326,15 @@ class CloudGuardClient {
321
326
  });
322
327
  }
323
328
  /**
324
- * Moves the DataSource from current compartment to another.
329
+ * Moves a data source (DataSource resource), identified by parameters
330
+ * passed in a ChangeDataSourceCompartmentDetails resource, from the current
331
+ * compartment to another.
332
+ *
325
333
  * This operation does not retry by default if the user has not defined a retry configuration.
326
334
  * @param ChangeDataSourceCompartmentRequest
327
335
  * @return ChangeDataSourceCompartmentResponse
328
336
  * @throws OciError when an error occurs
329
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ChangeDataSourceCompartment.ts.html |here} to see how to use ChangeDataSourceCompartment API.
337
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ChangeDataSourceCompartment.ts.html |here} to see how to use ChangeDataSourceCompartment API.
330
338
  */
331
339
  changeDataSourceCompartment(changeDataSourceCompartmentRequest) {
332
340
  return __awaiter(this, void 0, void 0, function* () {
@@ -383,12 +391,16 @@ class CloudGuardClient {
383
391
  });
384
392
  }
385
393
  /**
386
- * Moves the detector recipe (DetectorRecipe object), identified by detectorRecipeId, from the current compartment to another compartment.
394
+ * Moves the detector recipe (DetectorRecipe resource),
395
+ * identified by detectorRecipeId, from the current compartment to
396
+ * another compartment. When provided, If-Match is checked against
397
+ * etag values of the resource.
398
+ *
387
399
  * This operation does not retry by default if the user has not defined a retry configuration.
388
400
  * @param ChangeDetectorRecipeCompartmentRequest
389
401
  * @return ChangeDetectorRecipeCompartmentResponse
390
402
  * @throws OciError when an error occurs
391
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ChangeDetectorRecipeCompartment.ts.html |here} to see how to use ChangeDetectorRecipeCompartment API.
403
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ChangeDetectorRecipeCompartment.ts.html |here} to see how to use ChangeDetectorRecipeCompartment API.
392
404
  */
393
405
  changeDetectorRecipeCompartment(changeDetectorRecipeCompartmentRequest) {
394
406
  return __awaiter(this, void 0, void 0, function* () {
@@ -440,12 +452,12 @@ class CloudGuardClient {
440
452
  });
441
453
  }
442
454
  /**
443
- * Moves the managed list (ManagedList object), identified by managedListId, from the current compartment to another compartment.
455
+ * Moves the managed list (ManagedList resource), identified by managedListId, from the current compartment to another compartment.
444
456
  * This operation does not retry by default if the user has not defined a retry configuration.
445
457
  * @param ChangeManagedListCompartmentRequest
446
458
  * @return ChangeManagedListCompartmentResponse
447
459
  * @throws OciError when an error occurs
448
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ChangeManagedListCompartment.ts.html |here} to see how to use ChangeManagedListCompartment API.
460
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ChangeManagedListCompartment.ts.html |here} to see how to use ChangeManagedListCompartment API.
449
461
  */
450
462
  changeManagedListCompartment(changeManagedListCompartmentRequest) {
451
463
  return __awaiter(this, void 0, void 0, function* () {
@@ -497,12 +509,15 @@ class CloudGuardClient {
497
509
  });
498
510
  }
499
511
  /**
500
- * Moves the ResponderRecipe from current compartment to another.
512
+ * Moves the responder recipe (ResponderRecipe resource), identified by responderRecipeId
513
+ * in a ChangeResponderRecipeCompartmentDetails resource, from the current compartment to another compartment.
514
+ * When provided, if-match is checked against etag values of the resource.
515
+ *
501
516
  * This operation does not retry by default if the user has not defined a retry configuration.
502
517
  * @param ChangeResponderRecipeCompartmentRequest
503
518
  * @return ChangeResponderRecipeCompartmentResponse
504
519
  * @throws OciError when an error occurs
505
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ChangeResponderRecipeCompartment.ts.html |here} to see how to use ChangeResponderRecipeCompartment API.
520
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ChangeResponderRecipeCompartment.ts.html |here} to see how to use ChangeResponderRecipeCompartment API.
506
521
  */
507
522
  changeResponderRecipeCompartment(changeResponderRecipeCompartmentRequest) {
508
523
  return __awaiter(this, void 0, void 0, function* () {
@@ -554,12 +569,72 @@ class CloudGuardClient {
554
569
  });
555
570
  }
556
571
  /**
557
- * Moves a security zone recipe to a different compartment. When provided, `If-Match` is checked against `ETag` values of the resource.
572
+ * Moves the SavedQuery resource into a different compartment. When provided, If-Match is checked against etag values of the resource.
573
+ * This operation does not retry by default if the user has not defined a retry configuration.
574
+ * @param ChangeSavedQueryCompartmentRequest
575
+ * @return ChangeSavedQueryCompartmentResponse
576
+ * @throws OciError when an error occurs
577
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ChangeSavedQueryCompartment.ts.html |here} to see how to use ChangeSavedQueryCompartment API.
578
+ */
579
+ changeSavedQueryCompartment(changeSavedQueryCompartmentRequest) {
580
+ return __awaiter(this, void 0, void 0, function* () {
581
+ if (this.logger)
582
+ this.logger.debug("Calling operation CloudGuardClient#changeSavedQueryCompartment.");
583
+ const operationName = "changeSavedQueryCompartment";
584
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SavedQuery/ChangeSavedQueryCompartment";
585
+ const pathParams = {
586
+ "{savedQueryId}": changeSavedQueryCompartmentRequest.savedQueryId
587
+ };
588
+ const queryParams = {};
589
+ let headerParams = {
590
+ "Content-Type": common.Constants.APPLICATION_JSON,
591
+ "if-match": changeSavedQueryCompartmentRequest.ifMatch,
592
+ "opc-request-id": changeSavedQueryCompartmentRequest.opcRequestId,
593
+ "opc-retry-token": changeSavedQueryCompartmentRequest.opcRetryToken
594
+ };
595
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
596
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeSavedQueryCompartmentRequest.retryConfiguration, specRetryConfiguration);
597
+ if (this.logger)
598
+ retrier.logger = this.logger;
599
+ const request = yield oci_common_1.composeRequest({
600
+ baseEndpoint: this._endpoint,
601
+ defaultHeaders: this._defaultHeaders,
602
+ path: "/savedQueries/{savedQueryId}/actions/changeCompartment",
603
+ method: "POST",
604
+ bodyContent: common.ObjectSerializer.serialize(changeSavedQueryCompartmentRequest.changeSavedQueryCompartmentDetails, "ChangeSavedQueryCompartmentDetails", model.ChangeSavedQueryCompartmentDetails.getJsonObj),
605
+ pathParams: pathParams,
606
+ headerParams: headerParams,
607
+ queryParams: queryParams
608
+ });
609
+ try {
610
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
611
+ const sdkResponse = oci_common_1.composeResponse({
612
+ responseObject: {},
613
+ responseHeaders: [
614
+ {
615
+ value: response.headers.get("opc-request-id"),
616
+ key: "opcRequestId",
617
+ dataType: "string"
618
+ }
619
+ ]
620
+ });
621
+ return sdkResponse;
622
+ }
623
+ catch (err) {
624
+ throw err;
625
+ }
626
+ });
627
+ }
628
+ /**
629
+ * Moves the security recipe (SecurityRecipe resource), identified by securityRecipeId,
630
+ * from the current compartment to another compartment. When provided, `if-match` is checked
631
+ * against `etag` values of the resource.
632
+ *
558
633
  * This operation does not retry by default if the user has not defined a retry configuration.
559
634
  * @param ChangeSecurityRecipeCompartmentRequest
560
635
  * @return ChangeSecurityRecipeCompartmentResponse
561
636
  * @throws OciError when an error occurs
562
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ChangeSecurityRecipeCompartment.ts.html |here} to see how to use ChangeSecurityRecipeCompartment API.
637
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ChangeSecurityRecipeCompartment.ts.html |here} to see how to use ChangeSecurityRecipeCompartment API.
563
638
  */
564
639
  changeSecurityRecipeCompartment(changeSecurityRecipeCompartmentRequest) {
565
640
  return __awaiter(this, void 0, void 0, function* () {
@@ -611,12 +686,15 @@ class CloudGuardClient {
611
686
  });
612
687
  }
613
688
  /**
614
- * Moves a security zone to a different compartment. When provided, `If-Match` is checked against `ETag` values of the resource.
689
+ * Moves a security zone, identified by securityZoneId, to a different compartment.
690
+ * Pass parameters through a ChangeSecurityZoneCompartmentDetails resource.
691
+ * When provided, `if-match` is checked against `etag` values of the resource.
692
+ *
615
693
  * This operation does not retry by default if the user has not defined a retry configuration.
616
694
  * @param ChangeSecurityZoneCompartmentRequest
617
695
  * @return ChangeSecurityZoneCompartmentResponse
618
696
  * @throws OciError when an error occurs
619
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ChangeSecurityZoneCompartment.ts.html |here} to see how to use ChangeSecurityZoneCompartment API.
697
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ChangeSecurityZoneCompartment.ts.html |here} to see how to use ChangeSecurityZoneCompartment API.
620
698
  */
621
699
  changeSecurityZoneCompartment(changeSecurityZoneCompartmentRequest) {
622
700
  return __awaiter(this, void 0, void 0, function* () {
@@ -668,13 +746,77 @@ class CloudGuardClient {
668
746
  });
669
747
  }
670
748
  /**
671
- * Creates a new DataMaskRule object definition.
749
+ * Creates a AdhocQuery resource.
750
+ *
751
+ * This operation does not retry by default if the user has not defined a retry configuration.
752
+ * @param CreateAdhocQueryRequest
753
+ * @return CreateAdhocQueryResponse
754
+ * @throws OciError when an error occurs
755
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/CreateAdhocQuery.ts.html |here} to see how to use CreateAdhocQuery API.
756
+ */
757
+ createAdhocQuery(createAdhocQueryRequest) {
758
+ return __awaiter(this, void 0, void 0, function* () {
759
+ if (this.logger)
760
+ this.logger.debug("Calling operation CloudGuardClient#createAdhocQuery.");
761
+ const operationName = "createAdhocQuery";
762
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/AdhocQuery/CreateAdhocQuery";
763
+ const pathParams = {};
764
+ const queryParams = {};
765
+ let headerParams = {
766
+ "Content-Type": common.Constants.APPLICATION_JSON,
767
+ "opc-retry-token": createAdhocQueryRequest.opcRetryToken,
768
+ "opc-request-id": createAdhocQueryRequest.opcRequestId
769
+ };
770
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
771
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createAdhocQueryRequest.retryConfiguration, specRetryConfiguration);
772
+ if (this.logger)
773
+ retrier.logger = this.logger;
774
+ const request = yield oci_common_1.composeRequest({
775
+ baseEndpoint: this._endpoint,
776
+ defaultHeaders: this._defaultHeaders,
777
+ path: "/adhocQueries",
778
+ method: "POST",
779
+ bodyContent: common.ObjectSerializer.serialize(createAdhocQueryRequest.createAdhocQueryDetails, "CreateAdhocQueryDetails", model.CreateAdhocQueryDetails.getJsonObj),
780
+ pathParams: pathParams,
781
+ headerParams: headerParams,
782
+ queryParams: queryParams
783
+ });
784
+ try {
785
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
786
+ const sdkResponse = oci_common_1.composeResponse({
787
+ responseObject: {},
788
+ body: yield response.json(),
789
+ bodyKey: "adhocQuery",
790
+ bodyModel: model.AdhocQuery,
791
+ type: "model.AdhocQuery",
792
+ responseHeaders: [
793
+ {
794
+ value: response.headers.get("opc-request-id"),
795
+ key: "opcRequestId",
796
+ dataType: "string"
797
+ },
798
+ {
799
+ value: response.headers.get("etag"),
800
+ key: "etag",
801
+ dataType: "string"
802
+ }
803
+ ]
804
+ });
805
+ return sdkResponse;
806
+ }
807
+ catch (err) {
808
+ throw err;
809
+ }
810
+ });
811
+ }
812
+ /**
813
+ * Creates a new DataMaskRule resource definition.
672
814
  *
673
815
  * This operation does not retry by default if the user has not defined a retry configuration.
674
816
  * @param CreateDataMaskRuleRequest
675
817
  * @return CreateDataMaskRuleResponse
676
818
  * @throws OciError when an error occurs
677
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/CreateDataMaskRule.ts.html |here} to see how to use CreateDataMaskRule API.
819
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/CreateDataMaskRule.ts.html |here} to see how to use CreateDataMaskRule API.
678
820
  */
679
821
  createDataMaskRule(createDataMaskRuleRequest) {
680
822
  return __awaiter(this, void 0, void 0, function* () {
@@ -732,13 +874,14 @@ class CloudGuardClient {
732
874
  });
733
875
  }
734
876
  /**
735
- * Creates a DataSource
877
+ * Creates a data source (DataSource resource), using parameters passed
878
+ * through a CreateDataSourceDetails resource.
736
879
  *
737
880
  * This operation does not retry by default if the user has not defined a retry configuration.
738
881
  * @param CreateDataSourceRequest
739
882
  * @return CreateDataSourceResponse
740
883
  * @throws OciError when an error occurs
741
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/CreateDataSource.ts.html |here} to see how to use CreateDataSource API.
884
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/CreateDataSource.ts.html |here} to see how to use CreateDataSource API.
742
885
  */
743
886
  createDataSource(createDataSourceRequest) {
744
887
  return __awaiter(this, void 0, void 0, function* () {
@@ -792,13 +935,13 @@ class CloudGuardClient {
792
935
  });
793
936
  }
794
937
  /**
795
- * Creates a new DetectorRecipe object.
938
+ * Creates a new DetectorRecipe resource.
796
939
  *
797
940
  * This operation does not retry by default if the user has not defined a retry configuration.
798
941
  * @param CreateDetectorRecipeRequest
799
942
  * @return CreateDetectorRecipeResponse
800
943
  * @throws OciError when an error occurs
801
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/CreateDetectorRecipe.ts.html |here} to see how to use CreateDetectorRecipe API.
944
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/CreateDetectorRecipe.ts.html |here} to see how to use CreateDetectorRecipe API.
802
945
  */
803
946
  createDetectorRecipe(createDetectorRecipeRequest) {
804
947
  return __awaiter(this, void 0, void 0, function* () {
@@ -856,12 +999,12 @@ class CloudGuardClient {
856
999
  });
857
1000
  }
858
1001
  /**
859
- * Create the DetectorRule
1002
+ * Creates a detector rule.
860
1003
  * This operation does not retry by default if the user has not defined a retry configuration.
861
1004
  * @param CreateDetectorRecipeDetectorRuleRequest
862
1005
  * @return CreateDetectorRecipeDetectorRuleResponse
863
1006
  * @throws OciError when an error occurs
864
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/CreateDetectorRecipeDetectorRule.ts.html |here} to see how to use CreateDetectorRecipeDetectorRule API.
1007
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/CreateDetectorRecipeDetectorRule.ts.html |here} to see how to use CreateDetectorRecipeDetectorRule API.
865
1008
  */
866
1009
  createDetectorRecipeDetectorRule(createDetectorRecipeDetectorRuleRequest) {
867
1010
  return __awaiter(this, void 0, void 0, function* () {
@@ -921,13 +1064,13 @@ class CloudGuardClient {
921
1064
  });
922
1065
  }
923
1066
  /**
924
- * Creates a new ManagedList object.
1067
+ * Creates a new ManagedList resource.
925
1068
  *
926
1069
  * This operation does not retry by default if the user has not defined a retry configuration.
927
1070
  * @param CreateManagedListRequest
928
1071
  * @return CreateManagedListResponse
929
1072
  * @throws OciError when an error occurs
930
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/CreateManagedList.ts.html |here} to see how to use CreateManagedList API.
1073
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/CreateManagedList.ts.html |here} to see how to use CreateManagedList API.
931
1074
  */
932
1075
  createManagedList(createManagedListRequest) {
933
1076
  return __awaiter(this, void 0, void 0, function* () {
@@ -985,13 +1128,14 @@ class CloudGuardClient {
985
1128
  });
986
1129
  }
987
1130
  /**
988
- * Create a ResponderRecipe.
1131
+ * Creates a responder recipe (ResponderRecipe resource), from values passed in a
1132
+ * CreateResponderRecipeDetails resource.
989
1133
  *
990
1134
  * This operation does not retry by default if the user has not defined a retry configuration.
991
1135
  * @param CreateResponderRecipeRequest
992
1136
  * @return CreateResponderRecipeResponse
993
1137
  * @throws OciError when an error occurs
994
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/CreateResponderRecipe.ts.html |here} to see how to use CreateResponderRecipe API.
1138
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/CreateResponderRecipe.ts.html |here} to see how to use CreateResponderRecipe API.
995
1139
  */
996
1140
  createResponderRecipe(createResponderRecipeRequest) {
997
1141
  return __awaiter(this, void 0, void 0, function* () {
@@ -1049,13 +1193,78 @@ class CloudGuardClient {
1049
1193
  });
1050
1194
  }
1051
1195
  /**
1052
- * Creates a security zone recipe. A security zone recipe is a collection of security zone policies.
1196
+ * Creates a SavedQuery resource.
1197
+ *
1198
+ * This operation does not retry by default if the user has not defined a retry configuration.
1199
+ * @param CreateSavedQueryRequest
1200
+ * @return CreateSavedQueryResponse
1201
+ * @throws OciError when an error occurs
1202
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/CreateSavedQuery.ts.html |here} to see how to use CreateSavedQuery API.
1203
+ */
1204
+ createSavedQuery(createSavedQueryRequest) {
1205
+ return __awaiter(this, void 0, void 0, function* () {
1206
+ if (this.logger)
1207
+ this.logger.debug("Calling operation CloudGuardClient#createSavedQuery.");
1208
+ const operationName = "createSavedQuery";
1209
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SavedQuery/CreateSavedQuery";
1210
+ const pathParams = {};
1211
+ const queryParams = {};
1212
+ let headerParams = {
1213
+ "Content-Type": common.Constants.APPLICATION_JSON,
1214
+ "opc-retry-token": createSavedQueryRequest.opcRetryToken,
1215
+ "opc-request-id": createSavedQueryRequest.opcRequestId
1216
+ };
1217
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1218
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createSavedQueryRequest.retryConfiguration, specRetryConfiguration);
1219
+ if (this.logger)
1220
+ retrier.logger = this.logger;
1221
+ const request = yield oci_common_1.composeRequest({
1222
+ baseEndpoint: this._endpoint,
1223
+ defaultHeaders: this._defaultHeaders,
1224
+ path: "/savedQueries",
1225
+ method: "POST",
1226
+ bodyContent: common.ObjectSerializer.serialize(createSavedQueryRequest.createSavedQueryDetails, "CreateSavedQueryDetails", model.CreateSavedQueryDetails.getJsonObj),
1227
+ pathParams: pathParams,
1228
+ headerParams: headerParams,
1229
+ queryParams: queryParams
1230
+ });
1231
+ try {
1232
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1233
+ const sdkResponse = oci_common_1.composeResponse({
1234
+ responseObject: {},
1235
+ body: yield response.json(),
1236
+ bodyKey: "savedQuery",
1237
+ bodyModel: model.SavedQuery,
1238
+ type: "model.SavedQuery",
1239
+ responseHeaders: [
1240
+ {
1241
+ value: response.headers.get("etag"),
1242
+ key: "etag",
1243
+ dataType: "string"
1244
+ },
1245
+ {
1246
+ value: response.headers.get("opc-request-id"),
1247
+ key: "opcRequestId",
1248
+ dataType: "string"
1249
+ }
1250
+ ]
1251
+ });
1252
+ return sdkResponse;
1253
+ }
1254
+ catch (err) {
1255
+ throw err;
1256
+ }
1257
+ });
1258
+ }
1259
+ /**
1260
+ * Creates a security zone recipe (SecurityRecipe resource), using parameters
1261
+ * passed in a CreateSecurityRecipeDetails resource.
1053
1262
  *
1054
1263
  * This operation does not retry by default if the user has not defined a retry configuration.
1055
1264
  * @param CreateSecurityRecipeRequest
1056
1265
  * @return CreateSecurityRecipeResponse
1057
1266
  * @throws OciError when an error occurs
1058
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/CreateSecurityRecipe.ts.html |here} to see how to use CreateSecurityRecipe API.
1267
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/CreateSecurityRecipe.ts.html |here} to see how to use CreateSecurityRecipe API.
1059
1268
  */
1060
1269
  createSecurityRecipe(createSecurityRecipeRequest) {
1061
1270
  return __awaiter(this, void 0, void 0, function* () {
@@ -1113,13 +1322,14 @@ class CloudGuardClient {
1113
1322
  });
1114
1323
  }
1115
1324
  /**
1116
- * Creates a security zone for a compartment. A security zone enforces all security zone policies in a given security zone recipe. Any actions that violate a policy are denied. By default, any subcompartments are also in the same security zone.
1325
+ * Creates a security zone (SecurityZone resource) for a compartment. Pass parameters
1326
+ * through a CreateSecurityZoneDetails resource.
1117
1327
  *
1118
1328
  * This operation does not retry by default if the user has not defined a retry configuration.
1119
1329
  * @param CreateSecurityZoneRequest
1120
1330
  * @return CreateSecurityZoneResponse
1121
1331
  * @throws OciError when an error occurs
1122
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/CreateSecurityZone.ts.html |here} to see how to use CreateSecurityZone API.
1332
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/CreateSecurityZone.ts.html |here} to see how to use CreateSecurityZone API.
1123
1333
  */
1124
1334
  createSecurityZone(createSecurityZoneRequest) {
1125
1335
  return __awaiter(this, void 0, void 0, function* () {
@@ -1177,13 +1387,13 @@ class CloudGuardClient {
1177
1387
  });
1178
1388
  }
1179
1389
  /**
1180
- * Creates a new Target
1390
+ * Creates a target (Target resource), using parameters passed in a CreateTargetDetails resource.
1181
1391
  *
1182
1392
  * This operation does not retry by default if the user has not defined a retry configuration.
1183
1393
  * @param CreateTargetRequest
1184
1394
  * @return CreateTargetResponse
1185
1395
  * @throws OciError when an error occurs
1186
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/CreateTarget.ts.html |here} to see how to use CreateTarget API.
1396
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/CreateTarget.ts.html |here} to see how to use CreateTarget API.
1187
1397
  */
1188
1398
  createTarget(createTargetRequest) {
1189
1399
  return __awaiter(this, void 0, void 0, function* () {
@@ -1241,13 +1451,15 @@ class CloudGuardClient {
1241
1451
  });
1242
1452
  }
1243
1453
  /**
1454
+ * Attaches a DetectorRecipe to a target (Target resource) identified by targetId,
1455
+ * using parameters passed in a TargetAttachTargetDetectorRecipeDetails resource.
1244
1456
  * Attach a DetectorRecipe with the Target
1245
1457
  *
1246
1458
  * This operation does not retry by default if the user has not defined a retry configuration.
1247
1459
  * @param CreateTargetDetectorRecipeRequest
1248
1460
  * @return CreateTargetDetectorRecipeResponse
1249
1461
  * @throws OciError when an error occurs
1250
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/CreateTargetDetectorRecipe.ts.html |here} to see how to use CreateTargetDetectorRecipe API.
1462
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/CreateTargetDetectorRecipe.ts.html |here} to see how to use CreateTargetDetectorRecipe API.
1251
1463
  */
1252
1464
  createTargetDetectorRecipe(createTargetDetectorRecipeRequest) {
1253
1465
  return __awaiter(this, void 0, void 0, function* () {
@@ -1307,13 +1519,13 @@ class CloudGuardClient {
1307
1519
  });
1308
1520
  }
1309
1521
  /**
1310
- * Attach a ResponderRecipe with the Target
1522
+ * Attaches a responder recipe to a target.
1311
1523
  *
1312
1524
  * This operation does not retry by default if the user has not defined a retry configuration.
1313
1525
  * @param CreateTargetResponderRecipeRequest
1314
1526
  * @return CreateTargetResponderRecipeResponse
1315
1527
  * @throws OciError when an error occurs
1316
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/CreateTargetResponderRecipe.ts.html |here} to see how to use CreateTargetResponderRecipe API.
1528
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/CreateTargetResponderRecipe.ts.html |here} to see how to use CreateTargetResponderRecipe API.
1317
1529
  */
1318
1530
  createTargetResponderRecipe(createTargetResponderRecipeRequest) {
1319
1531
  return __awaiter(this, void 0, void 0, function* () {
@@ -1373,12 +1585,133 @@ class CloudGuardClient {
1373
1585
  });
1374
1586
  }
1375
1587
  /**
1376
- * Deletes a DataMaskRule object, identified by dataMaskRuleId.
1588
+ * Creates and registers a WLP agent for an
1589
+ * on-premise resource.
1590
+ *
1591
+ * This operation does not retry by default if the user has not defined a retry configuration.
1592
+ * @param CreateWlpAgentRequest
1593
+ * @return CreateWlpAgentResponse
1594
+ * @throws OciError when an error occurs
1595
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/CreateWlpAgent.ts.html |here} to see how to use CreateWlpAgent API.
1596
+ */
1597
+ createWlpAgent(createWlpAgentRequest) {
1598
+ return __awaiter(this, void 0, void 0, function* () {
1599
+ if (this.logger)
1600
+ this.logger.debug("Calling operation CloudGuardClient#createWlpAgent.");
1601
+ const operationName = "createWlpAgent";
1602
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/WlpAgent/CreateWlpAgent";
1603
+ const pathParams = {};
1604
+ const queryParams = {};
1605
+ let headerParams = {
1606
+ "Content-Type": common.Constants.APPLICATION_JSON,
1607
+ "opc-retry-token": createWlpAgentRequest.opcRetryToken,
1608
+ "opc-request-id": createWlpAgentRequest.opcRequestId
1609
+ };
1610
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1611
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createWlpAgentRequest.retryConfiguration, specRetryConfiguration);
1612
+ if (this.logger)
1613
+ retrier.logger = this.logger;
1614
+ const request = yield oci_common_1.composeRequest({
1615
+ baseEndpoint: this._endpoint,
1616
+ defaultHeaders: this._defaultHeaders,
1617
+ path: "/wlpAgents",
1618
+ method: "POST",
1619
+ bodyContent: common.ObjectSerializer.serialize(createWlpAgentRequest.createWlpAgentDetails, "CreateWlpAgentDetails", model.CreateWlpAgentDetails.getJsonObj),
1620
+ pathParams: pathParams,
1621
+ headerParams: headerParams,
1622
+ queryParams: queryParams
1623
+ });
1624
+ try {
1625
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1626
+ const sdkResponse = oci_common_1.composeResponse({
1627
+ responseObject: {},
1628
+ body: yield response.json(),
1629
+ bodyKey: "wlpAgent",
1630
+ bodyModel: model.WlpAgent,
1631
+ type: "model.WlpAgent",
1632
+ responseHeaders: [
1633
+ {
1634
+ value: response.headers.get("etag"),
1635
+ key: "etag",
1636
+ dataType: "string"
1637
+ },
1638
+ {
1639
+ value: response.headers.get("opc-request-id"),
1640
+ key: "opcRequestId",
1641
+ dataType: "string"
1642
+ }
1643
+ ]
1644
+ });
1645
+ return sdkResponse;
1646
+ }
1647
+ catch (err) {
1648
+ throw err;
1649
+ }
1650
+ });
1651
+ }
1652
+ /**
1653
+ * Deletes a AdhocQuery resource identified by adhocQueryId.
1654
+ * This operation does not retry by default if the user has not defined a retry configuration.
1655
+ * @param DeleteAdhocQueryRequest
1656
+ * @return DeleteAdhocQueryResponse
1657
+ * @throws OciError when an error occurs
1658
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/DeleteAdhocQuery.ts.html |here} to see how to use DeleteAdhocQuery API.
1659
+ */
1660
+ deleteAdhocQuery(deleteAdhocQueryRequest) {
1661
+ return __awaiter(this, void 0, void 0, function* () {
1662
+ if (this.logger)
1663
+ this.logger.debug("Calling operation CloudGuardClient#deleteAdhocQuery.");
1664
+ const operationName = "deleteAdhocQuery";
1665
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/AdhocQuery/DeleteAdhocQuery";
1666
+ const pathParams = {
1667
+ "{adhocQueryId}": deleteAdhocQueryRequest.adhocQueryId
1668
+ };
1669
+ const queryParams = {};
1670
+ let headerParams = {
1671
+ "Content-Type": common.Constants.APPLICATION_JSON,
1672
+ "if-match": deleteAdhocQueryRequest.ifMatch,
1673
+ "opc-request-id": deleteAdhocQueryRequest.opcRequestId,
1674
+ "opc-retry-token": deleteAdhocQueryRequest.opcRetryToken
1675
+ };
1676
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
1677
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteAdhocQueryRequest.retryConfiguration, specRetryConfiguration);
1678
+ if (this.logger)
1679
+ retrier.logger = this.logger;
1680
+ const request = yield oci_common_1.composeRequest({
1681
+ baseEndpoint: this._endpoint,
1682
+ defaultHeaders: this._defaultHeaders,
1683
+ path: "/adhocQueries/{adhocQueryId}",
1684
+ method: "DELETE",
1685
+ pathParams: pathParams,
1686
+ headerParams: headerParams,
1687
+ queryParams: queryParams
1688
+ });
1689
+ try {
1690
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
1691
+ const sdkResponse = oci_common_1.composeResponse({
1692
+ responseObject: {},
1693
+ responseHeaders: [
1694
+ {
1695
+ value: response.headers.get("opc-request-id"),
1696
+ key: "opcRequestId",
1697
+ dataType: "string"
1698
+ }
1699
+ ]
1700
+ });
1701
+ return sdkResponse;
1702
+ }
1703
+ catch (err) {
1704
+ throw err;
1705
+ }
1706
+ });
1707
+ }
1708
+ /**
1709
+ * Deletes a DataMaskRule resource, identified by dataMaskRuleId.
1377
1710
  * This operation does not retry by default if the user has not defined a retry configuration.
1378
1711
  * @param DeleteDataMaskRuleRequest
1379
1712
  * @return DeleteDataMaskRuleResponse
1380
1713
  * @throws OciError when an error occurs
1381
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/DeleteDataMaskRule.ts.html |here} to see how to use DeleteDataMaskRule API.
1714
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/DeleteDataMaskRule.ts.html |here} to see how to use DeleteDataMaskRule API.
1382
1715
  */
1383
1716
  deleteDataMaskRule(deleteDataMaskRuleRequest) {
1384
1717
  return __awaiter(this, void 0, void 0, function* () {
@@ -1428,12 +1761,12 @@ class CloudGuardClient {
1428
1761
  });
1429
1762
  }
1430
1763
  /**
1431
- * Deletes a DataSource identified by dataSourceId
1764
+ * Deletes a data source (DataSource resource) identified by dataSourceId.
1432
1765
  * This operation does not retry by default if the user has not defined a retry configuration.
1433
1766
  * @param DeleteDataSourceRequest
1434
1767
  * @return DeleteDataSourceResponse
1435
1768
  * @throws OciError when an error occurs
1436
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/DeleteDataSource.ts.html |here} to see how to use DeleteDataSource API.
1769
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/DeleteDataSource.ts.html |here} to see how to use DeleteDataSource API.
1437
1770
  */
1438
1771
  deleteDataSource(deleteDataSourceRequest) {
1439
1772
  return __awaiter(this, void 0, void 0, function* () {
@@ -1489,12 +1822,12 @@ class CloudGuardClient {
1489
1822
  });
1490
1823
  }
1491
1824
  /**
1492
- * Deletes a detector recipe (DetectorRecipe object) identified by detectorRecipeId.
1825
+ * Deletes a detector recipe (DetectorRecipe resource) identified by detectorRecipeId.
1493
1826
  * This operation does not retry by default if the user has not defined a retry configuration.
1494
1827
  * @param DeleteDetectorRecipeRequest
1495
1828
  * @return DeleteDetectorRecipeResponse
1496
1829
  * @throws OciError when an error occurs
1497
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/DeleteDetectorRecipe.ts.html |here} to see how to use DeleteDetectorRecipe API.
1830
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/DeleteDetectorRecipe.ts.html |here} to see how to use DeleteDetectorRecipe API.
1498
1831
  */
1499
1832
  deleteDetectorRecipe(deleteDetectorRecipeRequest) {
1500
1833
  return __awaiter(this, void 0, void 0, function* () {
@@ -1545,12 +1878,12 @@ class CloudGuardClient {
1545
1878
  });
1546
1879
  }
1547
1880
  /**
1548
- * Deletes DetectorRecipeDetectorRule
1881
+ * Deletes the DetectorRecipeDetectorRule resource identified by detectorRuleId.
1549
1882
  * This operation does not retry by default if the user has not defined a retry configuration.
1550
1883
  * @param DeleteDetectorRecipeDetectorRuleRequest
1551
1884
  * @return DeleteDetectorRecipeDetectorRuleResponse
1552
1885
  * @throws OciError when an error occurs
1553
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/DeleteDetectorRecipeDetectorRule.ts.html |here} to see how to use DeleteDetectorRecipeDetectorRule API.
1886
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/DeleteDetectorRecipeDetectorRule.ts.html |here} to see how to use DeleteDetectorRecipeDetectorRule API.
1554
1887
  */
1555
1888
  deleteDetectorRecipeDetectorRule(deleteDetectorRecipeDetectorRuleRequest) {
1556
1889
  return __awaiter(this, void 0, void 0, function* () {
@@ -1601,12 +1934,12 @@ class CloudGuardClient {
1601
1934
  });
1602
1935
  }
1603
1936
  /**
1604
- * Delete the DetectorRecipeDetectorRuleDataSource resource by identifier
1937
+ * Deletes the DetectorRecipeDetectorRuleDataSource resource by identifier.
1605
1938
  * This operation does not retry by default if the user has not defined a retry configuration.
1606
1939
  * @param DeleteDetectorRecipeDetectorRuleDataSourceRequest
1607
1940
  * @return DeleteDetectorRecipeDetectorRuleDataSourceResponse
1608
1941
  * @throws OciError when an error occurs
1609
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/DeleteDetectorRecipeDetectorRuleDataSource.ts.html |here} to see how to use DeleteDetectorRecipeDetectorRuleDataSource API.
1942
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/DeleteDetectorRecipeDetectorRuleDataSource.ts.html |here} to see how to use DeleteDetectorRecipeDetectorRuleDataSource API.
1610
1943
  */
1611
1944
  deleteDetectorRecipeDetectorRuleDataSource(deleteDetectorRecipeDetectorRuleDataSourceRequest) {
1612
1945
  return __awaiter(this, void 0, void 0, function* () {
@@ -1663,7 +1996,7 @@ class CloudGuardClient {
1663
1996
  * @param DeleteManagedListRequest
1664
1997
  * @return DeleteManagedListResponse
1665
1998
  * @throws OciError when an error occurs
1666
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/DeleteManagedList.ts.html |here} to see how to use DeleteManagedList API.
1999
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/DeleteManagedList.ts.html |here} to see how to use DeleteManagedList API.
1667
2000
  */
1668
2001
  deleteManagedList(deleteManagedListRequest) {
1669
2002
  return __awaiter(this, void 0, void 0, function* () {
@@ -1714,12 +2047,12 @@ class CloudGuardClient {
1714
2047
  });
1715
2048
  }
1716
2049
  /**
1717
- * Delete the ResponderRecipe resource by identifier
2050
+ * Deletes a responder recipe (ResponderRecipe resource) identified by responderRecipeId.
1718
2051
  * This operation does not retry by default if the user has not defined a retry configuration.
1719
2052
  * @param DeleteResponderRecipeRequest
1720
2053
  * @return DeleteResponderRecipeResponse
1721
2054
  * @throws OciError when an error occurs
1722
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/DeleteResponderRecipe.ts.html |here} to see how to use DeleteResponderRecipe API.
2055
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/DeleteResponderRecipe.ts.html |here} to see how to use DeleteResponderRecipe API.
1723
2056
  */
1724
2057
  deleteResponderRecipe(deleteResponderRecipeRequest) {
1725
2058
  return __awaiter(this, void 0, void 0, function* () {
@@ -1769,36 +2102,37 @@ class CloudGuardClient {
1769
2102
  });
1770
2103
  }
1771
2104
  /**
1772
- * Deletes a security zone recipe. The recipe can't be associated with an existing security zone.
2105
+ * Deletes a SavedQuery resource identified by savedQueryId.
1773
2106
  * This operation does not retry by default if the user has not defined a retry configuration.
1774
- * @param DeleteSecurityRecipeRequest
1775
- * @return DeleteSecurityRecipeResponse
2107
+ * @param DeleteSavedQueryRequest
2108
+ * @return DeleteSavedQueryResponse
1776
2109
  * @throws OciError when an error occurs
1777
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/DeleteSecurityRecipe.ts.html |here} to see how to use DeleteSecurityRecipe API.
2110
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/DeleteSavedQuery.ts.html |here} to see how to use DeleteSavedQuery API.
1778
2111
  */
1779
- deleteSecurityRecipe(deleteSecurityRecipeRequest) {
2112
+ deleteSavedQuery(deleteSavedQueryRequest) {
1780
2113
  return __awaiter(this, void 0, void 0, function* () {
1781
2114
  if (this.logger)
1782
- this.logger.debug("Calling operation CloudGuardClient#deleteSecurityRecipe.");
1783
- const operationName = "deleteSecurityRecipe";
1784
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SecurityRecipe/DeleteSecurityRecipe";
2115
+ this.logger.debug("Calling operation CloudGuardClient#deleteSavedQuery.");
2116
+ const operationName = "deleteSavedQuery";
2117
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SavedQuery/DeleteSavedQuery";
1785
2118
  const pathParams = {
1786
- "{securityRecipeId}": deleteSecurityRecipeRequest.securityRecipeId
2119
+ "{savedQueryId}": deleteSavedQueryRequest.savedQueryId
1787
2120
  };
1788
2121
  const queryParams = {};
1789
2122
  let headerParams = {
1790
2123
  "Content-Type": common.Constants.APPLICATION_JSON,
1791
- "if-match": deleteSecurityRecipeRequest.ifMatch,
1792
- "opc-request-id": deleteSecurityRecipeRequest.opcRequestId
2124
+ "if-match": deleteSavedQueryRequest.ifMatch,
2125
+ "opc-request-id": deleteSavedQueryRequest.opcRequestId,
2126
+ "opc-retry-token": deleteSavedQueryRequest.opcRetryToken
1793
2127
  };
1794
2128
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1795
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteSecurityRecipeRequest.retryConfiguration, specRetryConfiguration);
2129
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteSavedQueryRequest.retryConfiguration, specRetryConfiguration);
1796
2130
  if (this.logger)
1797
2131
  retrier.logger = this.logger;
1798
2132
  const request = yield oci_common_1.composeRequest({
1799
2133
  baseEndpoint: this._endpoint,
1800
2134
  defaultHeaders: this._defaultHeaders,
1801
- path: "/securityRecipes/{securityRecipeId}",
2135
+ path: "/savedQueries/{savedQueryId}",
1802
2136
  method: "DELETE",
1803
2137
  pathParams: pathParams,
1804
2138
  headerParams: headerParams,
@@ -1824,21 +2158,76 @@ class CloudGuardClient {
1824
2158
  });
1825
2159
  }
1826
2160
  /**
1827
- * Deletes an existing security zone with a given identifier.
2161
+ * Deletes a security zone recipe, identified by securityRecipeId. The recipe can't be associated with an existing security zone.
1828
2162
  * This operation does not retry by default if the user has not defined a retry configuration.
1829
- * @param DeleteSecurityZoneRequest
1830
- * @return DeleteSecurityZoneResponse
2163
+ * @param DeleteSecurityRecipeRequest
2164
+ * @return DeleteSecurityRecipeResponse
1831
2165
  * @throws OciError when an error occurs
1832
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/DeleteSecurityZone.ts.html |here} to see how to use DeleteSecurityZone API.
2166
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/DeleteSecurityRecipe.ts.html |here} to see how to use DeleteSecurityRecipe API.
1833
2167
  */
1834
- deleteSecurityZone(deleteSecurityZoneRequest) {
2168
+ deleteSecurityRecipe(deleteSecurityRecipeRequest) {
1835
2169
  return __awaiter(this, void 0, void 0, function* () {
1836
2170
  if (this.logger)
1837
- this.logger.debug("Calling operation CloudGuardClient#deleteSecurityZone.");
1838
- const operationName = "deleteSecurityZone";
1839
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SecurityZone/DeleteSecurityZone";
1840
- const pathParams = {
1841
- "{securityZoneId}": deleteSecurityZoneRequest.securityZoneId
2171
+ this.logger.debug("Calling operation CloudGuardClient#deleteSecurityRecipe.");
2172
+ const operationName = "deleteSecurityRecipe";
2173
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SecurityRecipe/DeleteSecurityRecipe";
2174
+ const pathParams = {
2175
+ "{securityRecipeId}": deleteSecurityRecipeRequest.securityRecipeId
2176
+ };
2177
+ const queryParams = {};
2178
+ let headerParams = {
2179
+ "Content-Type": common.Constants.APPLICATION_JSON,
2180
+ "if-match": deleteSecurityRecipeRequest.ifMatch,
2181
+ "opc-request-id": deleteSecurityRecipeRequest.opcRequestId
2182
+ };
2183
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
2184
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteSecurityRecipeRequest.retryConfiguration, specRetryConfiguration);
2185
+ if (this.logger)
2186
+ retrier.logger = this.logger;
2187
+ const request = yield oci_common_1.composeRequest({
2188
+ baseEndpoint: this._endpoint,
2189
+ defaultHeaders: this._defaultHeaders,
2190
+ path: "/securityRecipes/{securityRecipeId}",
2191
+ method: "DELETE",
2192
+ pathParams: pathParams,
2193
+ headerParams: headerParams,
2194
+ queryParams: queryParams
2195
+ });
2196
+ try {
2197
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
2198
+ const sdkResponse = oci_common_1.composeResponse({
2199
+ responseObject: {},
2200
+ responseHeaders: [
2201
+ {
2202
+ value: response.headers.get("opc-request-id"),
2203
+ key: "opcRequestId",
2204
+ dataType: "string"
2205
+ }
2206
+ ]
2207
+ });
2208
+ return sdkResponse;
2209
+ }
2210
+ catch (err) {
2211
+ throw err;
2212
+ }
2213
+ });
2214
+ }
2215
+ /**
2216
+ * Deletes a security zone, identified by securityZoneId.
2217
+ * This operation does not retry by default if the user has not defined a retry configuration.
2218
+ * @param DeleteSecurityZoneRequest
2219
+ * @return DeleteSecurityZoneResponse
2220
+ * @throws OciError when an error occurs
2221
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/DeleteSecurityZone.ts.html |here} to see how to use DeleteSecurityZone API.
2222
+ */
2223
+ deleteSecurityZone(deleteSecurityZoneRequest) {
2224
+ return __awaiter(this, void 0, void 0, function* () {
2225
+ if (this.logger)
2226
+ this.logger.debug("Calling operation CloudGuardClient#deleteSecurityZone.");
2227
+ const operationName = "deleteSecurityZone";
2228
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SecurityZone/DeleteSecurityZone";
2229
+ const pathParams = {
2230
+ "{securityZoneId}": deleteSecurityZoneRequest.securityZoneId
1842
2231
  };
1843
2232
  const queryParams = {};
1844
2233
  let headerParams = {
@@ -1879,12 +2268,12 @@ class CloudGuardClient {
1879
2268
  });
1880
2269
  }
1881
2270
  /**
1882
- * Deletes a Target identified by targetId
2271
+ * Deletes a target (Target resource) identified by targetId.
1883
2272
  * This operation does not retry by default if the user has not defined a retry configuration.
1884
2273
  * @param DeleteTargetRequest
1885
2274
  * @return DeleteTargetResponse
1886
2275
  * @throws OciError when an error occurs
1887
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/DeleteTarget.ts.html |here} to see how to use DeleteTarget API.
2276
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/DeleteTarget.ts.html |here} to see how to use DeleteTarget API.
1888
2277
  */
1889
2278
  deleteTarget(deleteTargetRequest) {
1890
2279
  return __awaiter(this, void 0, void 0, function* () {
@@ -1934,12 +2323,14 @@ class CloudGuardClient {
1934
2323
  });
1935
2324
  }
1936
2325
  /**
1937
- * Delete the TargetDetectorRecipe resource by identifier
2326
+ * Deletes the target detector recipe (TargetDetectorRecipe resource) identified by
2327
+ * targetDetectorRecipeId, from a target (Target resource) identified by targetId.
2328
+ *
1938
2329
  * This operation does not retry by default if the user has not defined a retry configuration.
1939
2330
  * @param DeleteTargetDetectorRecipeRequest
1940
2331
  * @return DeleteTargetDetectorRecipeResponse
1941
2332
  * @throws OciError when an error occurs
1942
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/DeleteTargetDetectorRecipe.ts.html |here} to see how to use DeleteTargetDetectorRecipe API.
2333
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/DeleteTargetDetectorRecipe.ts.html |here} to see how to use DeleteTargetDetectorRecipe API.
1943
2334
  */
1944
2335
  deleteTargetDetectorRecipe(deleteTargetDetectorRecipeRequest) {
1945
2336
  return __awaiter(this, void 0, void 0, function* () {
@@ -1990,12 +2381,15 @@ class CloudGuardClient {
1990
2381
  });
1991
2382
  }
1992
2383
  /**
1993
- * Delete the TargetResponderRecipe resource by identifier
2384
+ * Detaches a target responder recipe (TargetResponderRecipe resource)
2385
+ * identified by targetResponderRecipeId, from a target (Target resource)
2386
+ * identified by targetId.
2387
+ *
1994
2388
  * This operation does not retry by default if the user has not defined a retry configuration.
1995
2389
  * @param DeleteTargetResponderRecipeRequest
1996
2390
  * @return DeleteTargetResponderRecipeResponse
1997
2391
  * @throws OciError when an error occurs
1998
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/DeleteTargetResponderRecipe.ts.html |here} to see how to use DeleteTargetResponderRecipe API.
2392
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/DeleteTargetResponderRecipe.ts.html |here} to see how to use DeleteTargetResponderRecipe API.
1999
2393
  */
2000
2394
  deleteTargetResponderRecipe(deleteTargetResponderRecipeRequest) {
2001
2395
  return __awaiter(this, void 0, void 0, function* () {
@@ -2046,12 +2440,103 @@ class CloudGuardClient {
2046
2440
  });
2047
2441
  }
2048
2442
  /**
2049
- * Executes the responder execution. When provided, If-Match is checked against ETag values of the resource.
2443
+ * Deletes and unregisters the WLP agent for an on-premise resource.
2444
+ * x-obmcs-splat:
2445
+ * routing:
2446
+ * strategy: route-to-any-ad
2447
+ * serviceList: [ 'cloudguard-cp-SPLAT_ENV' ]
2448
+ * resources:
2449
+ * wlpAgent:
2450
+ * serviceResourceName: WlpAgent
2451
+ * targetCompartmentId: downstream.getOr404('cloudguard-cp-SPLAT_ENV', 'GetWlpAgent', request.resourceId).compartmentId
2452
+ * actionKind: delete
2453
+ * resourceOcid: request.resourceId
2454
+ * reconciliationCanStartAfterSecs: 30
2455
+ * permissions: [ \"WLP_AGENT_DELETE\" ]
2456
+ * authorization:
2457
+ * mode: automated
2458
+ * check: resources['wlpAgent'].grantedPermissions.contains('WLP_AGENT_DELETE')
2459
+ * allowCrossTenancy: true
2460
+ * tagStore:
2461
+ * mode: automated
2462
+ * maximumAttemptCount: 3
2463
+ * throttling:
2464
+ * perUserLimit:
2465
+ * rpsLimit: 15
2466
+ * perTenantLimit:
2467
+ * rpsLimit: 30
2468
+ * quotas:
2469
+ * mode: automated
2470
+ * search:
2471
+ * mode: backfilling
2472
+ * operationResourceName: wlpAgent
2473
+ * lock:
2474
+ * mode: test
2475
+ * operationResourceName: wlpAgent
2476
+ *
2477
+ * This operation does not retry by default if the user has not defined a retry configuration.
2478
+ * @param DeleteWlpAgentRequest
2479
+ * @return DeleteWlpAgentResponse
2480
+ * @throws OciError when an error occurs
2481
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/DeleteWlpAgent.ts.html |here} to see how to use DeleteWlpAgent API.
2482
+ */
2483
+ deleteWlpAgent(deleteWlpAgentRequest) {
2484
+ return __awaiter(this, void 0, void 0, function* () {
2485
+ if (this.logger)
2486
+ this.logger.debug("Calling operation CloudGuardClient#deleteWlpAgent.");
2487
+ const operationName = "deleteWlpAgent";
2488
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/WlpAgent/DeleteWlpAgent";
2489
+ const pathParams = {
2490
+ "{wlpAgentId}": deleteWlpAgentRequest.wlpAgentId
2491
+ };
2492
+ const queryParams = {};
2493
+ let headerParams = {
2494
+ "Content-Type": common.Constants.APPLICATION_JSON,
2495
+ "if-match": deleteWlpAgentRequest.ifMatch,
2496
+ "opc-request-id": deleteWlpAgentRequest.opcRequestId,
2497
+ "opc-retry-token": deleteWlpAgentRequest.opcRetryToken
2498
+ };
2499
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
2500
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteWlpAgentRequest.retryConfiguration, specRetryConfiguration);
2501
+ if (this.logger)
2502
+ retrier.logger = this.logger;
2503
+ const request = yield oci_common_1.composeRequest({
2504
+ baseEndpoint: this._endpoint,
2505
+ defaultHeaders: this._defaultHeaders,
2506
+ path: "/wlpAgents/{wlpAgentId}",
2507
+ method: "DELETE",
2508
+ pathParams: pathParams,
2509
+ headerParams: headerParams,
2510
+ queryParams: queryParams
2511
+ });
2512
+ try {
2513
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
2514
+ const sdkResponse = oci_common_1.composeResponse({
2515
+ responseObject: {},
2516
+ responseHeaders: [
2517
+ {
2518
+ value: response.headers.get("opc-request-id"),
2519
+ key: "opcRequestId",
2520
+ dataType: "string"
2521
+ }
2522
+ ]
2523
+ });
2524
+ return sdkResponse;
2525
+ }
2526
+ catch (err) {
2527
+ throw err;
2528
+ }
2529
+ });
2530
+ }
2531
+ /**
2532
+ * Executes the responder execution. When provided, if-match is checked
2533
+ * against etag values of the resource.
2534
+ *
2050
2535
  * This operation does not retry by default if the user has not defined a retry configuration.
2051
2536
  * @param ExecuteResponderExecutionRequest
2052
2537
  * @return ExecuteResponderExecutionResponse
2053
2538
  * @throws OciError when an error occurs
2054
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ExecuteResponderExecution.ts.html |here} to see how to use ExecuteResponderExecution API.
2539
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ExecuteResponderExecution.ts.html |here} to see how to use ExecuteResponderExecution API.
2055
2540
  */
2056
2541
  executeResponderExecution(executeResponderExecutionRequest) {
2057
2542
  return __awaiter(this, void 0, void 0, function* () {
@@ -2105,13 +2590,138 @@ class CloudGuardClient {
2105
2590
  });
2106
2591
  }
2107
2592
  /**
2108
- * Returns a ConditionMetatDataType object with its details.
2593
+ * Returns an adhoc query identified by adhocQueryId.
2594
+ * This operation does not retry by default if the user has not defined a retry configuration.
2595
+ * @param GetAdhocQueryRequest
2596
+ * @return GetAdhocQueryResponse
2597
+ * @throws OciError when an error occurs
2598
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetAdhocQuery.ts.html |here} to see how to use GetAdhocQuery API.
2599
+ */
2600
+ getAdhocQuery(getAdhocQueryRequest) {
2601
+ return __awaiter(this, void 0, void 0, function* () {
2602
+ if (this.logger)
2603
+ this.logger.debug("Calling operation CloudGuardClient#getAdhocQuery.");
2604
+ const operationName = "getAdhocQuery";
2605
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/AdhocQuery/GetAdhocQuery";
2606
+ const pathParams = {
2607
+ "{adhocQueryId}": getAdhocQueryRequest.adhocQueryId
2608
+ };
2609
+ const queryParams = {};
2610
+ let headerParams = {
2611
+ "Content-Type": common.Constants.APPLICATION_JSON,
2612
+ "opc-request-id": getAdhocQueryRequest.opcRequestId
2613
+ };
2614
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
2615
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAdhocQueryRequest.retryConfiguration, specRetryConfiguration);
2616
+ if (this.logger)
2617
+ retrier.logger = this.logger;
2618
+ const request = yield oci_common_1.composeRequest({
2619
+ baseEndpoint: this._endpoint,
2620
+ defaultHeaders: this._defaultHeaders,
2621
+ path: "/adhocQueries/{adhocQueryId}",
2622
+ method: "GET",
2623
+ pathParams: pathParams,
2624
+ headerParams: headerParams,
2625
+ queryParams: queryParams
2626
+ });
2627
+ try {
2628
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
2629
+ const sdkResponse = oci_common_1.composeResponse({
2630
+ responseObject: {},
2631
+ body: yield response.json(),
2632
+ bodyKey: "adhocQuery",
2633
+ bodyModel: model.AdhocQuery,
2634
+ type: "model.AdhocQuery",
2635
+ responseHeaders: [
2636
+ {
2637
+ value: response.headers.get("etag"),
2638
+ key: "etag",
2639
+ dataType: "string"
2640
+ },
2641
+ {
2642
+ value: response.headers.get("opc-request-id"),
2643
+ key: "opcRequestId",
2644
+ dataType: "string"
2645
+ }
2646
+ ]
2647
+ });
2648
+ return sdkResponse;
2649
+ }
2650
+ catch (err) {
2651
+ throw err;
2652
+ }
2653
+ });
2654
+ }
2655
+ /**
2656
+ * Downloads the results for a given adhoc ID (from includes results from all monitoring regions).
2657
+ * This operation does not retry by default if the user has not defined a retry configuration.
2658
+ * @param GetAdhocQueryResultContentRequest
2659
+ * @return GetAdhocQueryResultContentResponse
2660
+ * @throws OciError when an error occurs
2661
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetAdhocQueryResultContent.ts.html |here} to see how to use GetAdhocQueryResultContent API.
2662
+ */
2663
+ getAdhocQueryResultContent(getAdhocQueryResultContentRequest) {
2664
+ return __awaiter(this, void 0, void 0, function* () {
2665
+ if (this.logger)
2666
+ this.logger.debug("Calling operation CloudGuardClient#getAdhocQueryResultContent.");
2667
+ const operationName = "getAdhocQueryResultContent";
2668
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/AdhocQueryResultCollection/GetAdhocQueryResultContent";
2669
+ const pathParams = {
2670
+ "{adhocQueryId}": getAdhocQueryResultContentRequest.adhocQueryId
2671
+ };
2672
+ const queryParams = {};
2673
+ let headerParams = {
2674
+ "Content-Type": common.Constants.APPLICATION_JSON,
2675
+ "opc-request-id": getAdhocQueryResultContentRequest.opcRequestId
2676
+ };
2677
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
2678
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAdhocQueryResultContentRequest.retryConfiguration, specRetryConfiguration);
2679
+ if (this.logger)
2680
+ retrier.logger = this.logger;
2681
+ const request = yield oci_common_1.composeRequest({
2682
+ baseEndpoint: this._endpoint,
2683
+ defaultHeaders: this._defaultHeaders,
2684
+ path: "/adhocQueries/{adhocQueryId}/results/content",
2685
+ method: "GET",
2686
+ pathParams: pathParams,
2687
+ headerParams: headerParams,
2688
+ queryParams: queryParams
2689
+ });
2690
+ try {
2691
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
2692
+ const sdkResponse = oci_common_1.composeResponse({
2693
+ responseObject: {},
2694
+ body: response.body,
2695
+ bodyKey: "value",
2696
+ bodyModel: "string",
2697
+ responseHeaders: [
2698
+ {
2699
+ value: response.headers.get("etag"),
2700
+ key: "etag",
2701
+ dataType: "string"
2702
+ },
2703
+ {
2704
+ value: response.headers.get("opc-request-id"),
2705
+ key: "opcRequestId",
2706
+ dataType: "string"
2707
+ }
2708
+ ]
2709
+ });
2710
+ return sdkResponse;
2711
+ }
2712
+ catch (err) {
2713
+ throw err;
2714
+ }
2715
+ });
2716
+ }
2717
+ /**
2718
+ * Returns a ConditionMetatDataType resource with its details.
2109
2719
  *
2110
2720
  * This operation does not retry by default if the user has not defined a retry configuration.
2111
2721
  * @param GetConditionMetadataTypeRequest
2112
2722
  * @return GetConditionMetadataTypeResponse
2113
2723
  * @throws OciError when an error occurs
2114
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/GetConditionMetadataType.ts.html |here} to see how to use GetConditionMetadataType API.
2724
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetConditionMetadataType.ts.html |here} to see how to use GetConditionMetadataType API.
2115
2725
  */
2116
2726
  getConditionMetadataType(getConditionMetadataTypeRequest) {
2117
2727
  return __awaiter(this, void 0, void 0, function* () {
@@ -2172,12 +2782,14 @@ class CloudGuardClient {
2172
2782
  });
2173
2783
  }
2174
2784
  /**
2175
- * Returns the configuration details for a Cloud Guard tenancy, identified by root compartment OCID.
2785
+ * Returns the configuration details for a Cloud Guard tenancy,
2786
+ * identified by root compartment OCID.
2787
+ *
2176
2788
  * This operation does not retry by default if the user has not defined a retry configuration.
2177
2789
  * @param GetConfigurationRequest
2178
2790
  * @return GetConfigurationResponse
2179
2791
  * @throws OciError when an error occurs
2180
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/GetConfiguration.ts.html |here} to see how to use GetConfiguration API.
2792
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetConfiguration.ts.html |here} to see how to use GetConfiguration API.
2181
2793
  */
2182
2794
  getConfiguration(getConfigurationRequest) {
2183
2795
  return __awaiter(this, void 0, void 0, function* () {
@@ -2240,12 +2852,12 @@ class CloudGuardClient {
2240
2852
  });
2241
2853
  }
2242
2854
  /**
2243
- * Returns a DataMaskRule object, identified by DataMaskRuleId.
2855
+ * Returns a DataMaskRule resource, identified by dataMaskRuleId.
2244
2856
  * This operation does not retry by default if the user has not defined a retry configuration.
2245
2857
  * @param GetDataMaskRuleRequest
2246
2858
  * @return GetDataMaskRuleResponse
2247
2859
  * @throws OciError when an error occurs
2248
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/GetDataMaskRule.ts.html |here} to see how to use GetDataMaskRule API.
2860
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetDataMaskRule.ts.html |here} to see how to use GetDataMaskRule API.
2249
2861
  */
2250
2862
  getDataMaskRule(getDataMaskRuleRequest) {
2251
2863
  return __awaiter(this, void 0, void 0, function* () {
@@ -2303,12 +2915,12 @@ class CloudGuardClient {
2303
2915
  });
2304
2916
  }
2305
2917
  /**
2306
- * Returns a DataSource identified by dataSourceId
2918
+ * Returns a data source (DataSource resource) identified by dataSourceId.
2307
2919
  * This operation does not retry by default if the user has not defined a retry configuration.
2308
2920
  * @param GetDataSourceRequest
2309
2921
  * @return GetDataSourceResponse
2310
2922
  * @throws OciError when an error occurs
2311
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/GetDataSource.ts.html |here} to see how to use GetDataSource API.
2923
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetDataSource.ts.html |here} to see how to use GetDataSource API.
2312
2924
  */
2313
2925
  getDataSource(getDataSourceRequest) {
2314
2926
  return __awaiter(this, void 0, void 0, function* () {
@@ -2366,13 +2978,13 @@ class CloudGuardClient {
2366
2978
  });
2367
2979
  }
2368
2980
  /**
2369
- * Returns a Detector object, identified by detectorId.
2981
+ * Returns a Detector resource, identified by detectorId.
2370
2982
  *
2371
2983
  * This operation does not retry by default if the user has not defined a retry configuration.
2372
2984
  * @param GetDetectorRequest
2373
2985
  * @return GetDetectorResponse
2374
2986
  * @throws OciError when an error occurs
2375
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/GetDetector.ts.html |here} to see how to use GetDetector API.
2987
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetDetector.ts.html |here} to see how to use GetDetector API.
2376
2988
  */
2377
2989
  getDetector(getDetectorRequest) {
2378
2990
  return __awaiter(this, void 0, void 0, function* () {
@@ -2430,12 +3042,12 @@ class CloudGuardClient {
2430
3042
  });
2431
3043
  }
2432
3044
  /**
2433
- * Returns a detector recipe (DetectorRecipe object) identified by detectorRecipeId.
3045
+ * Returns a detector recipe (DetectorRecipe resource) identified by detectorRecipeId.
2434
3046
  * This operation does not retry by default if the user has not defined a retry configuration.
2435
3047
  * @param GetDetectorRecipeRequest
2436
3048
  * @return GetDetectorRecipeResponse
2437
3049
  * @throws OciError when an error occurs
2438
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/GetDetectorRecipe.ts.html |here} to see how to use GetDetectorRecipe API.
3050
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetDetectorRecipe.ts.html |here} to see how to use GetDetectorRecipe API.
2439
3051
  */
2440
3052
  getDetectorRecipe(getDetectorRecipeRequest) {
2441
3053
  return __awaiter(this, void 0, void 0, function* () {
@@ -2493,12 +3105,12 @@ class CloudGuardClient {
2493
3105
  });
2494
3106
  }
2495
3107
  /**
2496
- * Returns a detector rule (DetectorRule object) identified by detectorRuleId.
3108
+ * Returns a detector rule (DetectorRule resource) identified by detectorRuleId.
2497
3109
  * This operation does not retry by default if the user has not defined a retry configuration.
2498
3110
  * @param GetDetectorRecipeDetectorRuleRequest
2499
3111
  * @return GetDetectorRecipeDetectorRuleResponse
2500
3112
  * @throws OciError when an error occurs
2501
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/GetDetectorRecipeDetectorRule.ts.html |here} to see how to use GetDetectorRecipeDetectorRule API.
3113
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetDetectorRecipeDetectorRule.ts.html |here} to see how to use GetDetectorRecipeDetectorRule API.
2502
3114
  */
2503
3115
  getDetectorRecipeDetectorRule(getDetectorRecipeDetectorRuleRequest) {
2504
3116
  return __awaiter(this, void 0, void 0, function* () {
@@ -2557,13 +3169,13 @@ class CloudGuardClient {
2557
3169
  });
2558
3170
  }
2559
3171
  /**
2560
- * Returns a detector rule (DetectorRule object) identified by detectorRuleId.
3172
+ * Returns a detector rule (DetectorRule resource) identified by detectorRuleId.
2561
3173
  *
2562
3174
  * This operation does not retry by default if the user has not defined a retry configuration.
2563
3175
  * @param GetDetectorRuleRequest
2564
3176
  * @return GetDetectorRuleResponse
2565
3177
  * @throws OciError when an error occurs
2566
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/GetDetectorRule.ts.html |here} to see how to use GetDetectorRule API.
3178
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetDetectorRule.ts.html |here} to see how to use GetDetectorRule API.
2567
3179
  */
2568
3180
  getDetectorRule(getDetectorRuleRequest) {
2569
3181
  return __awaiter(this, void 0, void 0, function* () {
@@ -2632,7 +3244,7 @@ class CloudGuardClient {
2632
3244
  * @param GetManagedListRequest
2633
3245
  * @return GetManagedListResponse
2634
3246
  * @throws OciError when an error occurs
2635
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/GetManagedList.ts.html |here} to see how to use GetManagedList API.
3247
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetManagedList.ts.html |here} to see how to use GetManagedList API.
2636
3248
  */
2637
3249
  getManagedList(getManagedListRequest) {
2638
3250
  return __awaiter(this, void 0, void 0, function* () {
@@ -2690,12 +3302,12 @@ class CloudGuardClient {
2690
3302
  });
2691
3303
  }
2692
3304
  /**
2693
- * Returns the Problem object identified by a problemId.
3305
+ * Returns the Problem resource identified by problemId.
2694
3306
  * This operation does not retry by default if the user has not defined a retry configuration.
2695
3307
  * @param GetProblemRequest
2696
3308
  * @return GetProblemResponse
2697
3309
  * @throws OciError when an error occurs
2698
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/GetProblem.ts.html |here} to see how to use GetProblem API.
3310
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetProblem.ts.html |here} to see how to use GetProblem API.
2699
3311
  */
2700
3312
  getProblem(getProblemRequest) {
2701
3313
  return __awaiter(this, void 0, void 0, function* () {
@@ -2753,35 +3365,35 @@ class CloudGuardClient {
2753
3365
  });
2754
3366
  }
2755
3367
  /**
2756
- * Returns resource profile details
3368
+ * Returns a resource identified by resourceId
2757
3369
  * This operation does not retry by default if the user has not defined a retry configuration.
2758
- * @param GetResourceProfileRequest
2759
- * @return GetResourceProfileResponse
3370
+ * @param GetResourceRequest
3371
+ * @return GetResourceResponse
2760
3372
  * @throws OciError when an error occurs
2761
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/GetResourceProfile.ts.html |here} to see how to use GetResourceProfile API.
3373
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetResource.ts.html |here} to see how to use GetResource API.
2762
3374
  */
2763
- getResourceProfile(getResourceProfileRequest) {
3375
+ getResource(getResourceRequest) {
2764
3376
  return __awaiter(this, void 0, void 0, function* () {
2765
3377
  if (this.logger)
2766
- this.logger.debug("Calling operation CloudGuardClient#getResourceProfile.");
2767
- const operationName = "getResourceProfile";
2768
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResourceProfile/GetResourceProfile";
3378
+ this.logger.debug("Calling operation CloudGuardClient#getResource.");
3379
+ const operationName = "getResource";
3380
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/Resource/GetResource";
2769
3381
  const pathParams = {
2770
- "{resourceProfileId}": getResourceProfileRequest.resourceProfileId
3382
+ "{resourceId}": getResourceRequest.resourceId
2771
3383
  };
2772
3384
  const queryParams = {};
2773
3385
  let headerParams = {
2774
3386
  "Content-Type": common.Constants.APPLICATION_JSON,
2775
- "opc-request-id": getResourceProfileRequest.opcRequestId
3387
+ "opc-request-id": getResourceRequest.opcRequestId
2776
3388
  };
2777
3389
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2778
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getResourceProfileRequest.retryConfiguration, specRetryConfiguration);
3390
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getResourceRequest.retryConfiguration, specRetryConfiguration);
2779
3391
  if (this.logger)
2780
3392
  retrier.logger = this.logger;
2781
3393
  const request = yield oci_common_1.composeRequest({
2782
3394
  baseEndpoint: this._endpoint,
2783
3395
  defaultHeaders: this._defaultHeaders,
2784
- path: "/resourceProfiles/{resourceProfileId}",
3396
+ path: "/resources/{resourceId}",
2785
3397
  method: "GET",
2786
3398
  pathParams: pathParams,
2787
3399
  headerParams: headerParams,
@@ -2792,18 +3404,18 @@ class CloudGuardClient {
2792
3404
  const sdkResponse = oci_common_1.composeResponse({
2793
3405
  responseObject: {},
2794
3406
  body: yield response.json(),
2795
- bodyKey: "resourceProfile",
2796
- bodyModel: model.ResourceProfile,
2797
- type: "model.ResourceProfile",
3407
+ bodyKey: "resource",
3408
+ bodyModel: model.Resource,
3409
+ type: "model.Resource",
2798
3410
  responseHeaders: [
2799
3411
  {
2800
- value: response.headers.get("opc-request-id"),
2801
- key: "opcRequestId",
3412
+ value: response.headers.get("etag"),
3413
+ key: "etag",
2802
3414
  dataType: "string"
2803
3415
  },
2804
3416
  {
2805
- value: response.headers.get("etag"),
2806
- key: "etag",
3417
+ value: response.headers.get("opc-request-id"),
3418
+ key: "opcRequestId",
2807
3419
  dataType: "string"
2808
3420
  }
2809
3421
  ]
@@ -2816,36 +3428,35 @@ class CloudGuardClient {
2816
3428
  });
2817
3429
  }
2818
3430
  /**
2819
- * Returns a Responder Execution identified by responderExecutionId
2820
- *
3431
+ * Returns details for a resource profile, identified by resourceProfileId.
2821
3432
  * This operation does not retry by default if the user has not defined a retry configuration.
2822
- * @param GetResponderExecutionRequest
2823
- * @return GetResponderExecutionResponse
3433
+ * @param GetResourceProfileRequest
3434
+ * @return GetResourceProfileResponse
2824
3435
  * @throws OciError when an error occurs
2825
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/GetResponderExecution.ts.html |here} to see how to use GetResponderExecution API.
3436
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetResourceProfile.ts.html |here} to see how to use GetResourceProfile API.
2826
3437
  */
2827
- getResponderExecution(getResponderExecutionRequest) {
3438
+ getResourceProfile(getResourceProfileRequest) {
2828
3439
  return __awaiter(this, void 0, void 0, function* () {
2829
3440
  if (this.logger)
2830
- this.logger.debug("Calling operation CloudGuardClient#getResponderExecution.");
2831
- const operationName = "getResponderExecution";
2832
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResponderExecution/GetResponderExecution";
3441
+ this.logger.debug("Calling operation CloudGuardClient#getResourceProfile.");
3442
+ const operationName = "getResourceProfile";
3443
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResourceProfile/GetResourceProfile";
2833
3444
  const pathParams = {
2834
- "{responderExecutionId}": getResponderExecutionRequest.responderExecutionId
3445
+ "{resourceProfileId}": getResourceProfileRequest.resourceProfileId
2835
3446
  };
2836
3447
  const queryParams = {};
2837
3448
  let headerParams = {
2838
3449
  "Content-Type": common.Constants.APPLICATION_JSON,
2839
- "opc-request-id": getResponderExecutionRequest.opcRequestId
3450
+ "opc-request-id": getResourceProfileRequest.opcRequestId
2840
3451
  };
2841
3452
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2842
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getResponderExecutionRequest.retryConfiguration, specRetryConfiguration);
3453
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getResourceProfileRequest.retryConfiguration, specRetryConfiguration);
2843
3454
  if (this.logger)
2844
3455
  retrier.logger = this.logger;
2845
3456
  const request = yield oci_common_1.composeRequest({
2846
3457
  baseEndpoint: this._endpoint,
2847
3458
  defaultHeaders: this._defaultHeaders,
2848
- path: "/responderExecutions/{responderExecutionId}",
3459
+ path: "/resourceProfiles/{resourceProfileId}",
2849
3460
  method: "GET",
2850
3461
  pathParams: pathParams,
2851
3462
  headerParams: headerParams,
@@ -2856,18 +3467,18 @@ class CloudGuardClient {
2856
3467
  const sdkResponse = oci_common_1.composeResponse({
2857
3468
  responseObject: {},
2858
3469
  body: yield response.json(),
2859
- bodyKey: "responderExecution",
2860
- bodyModel: model.ResponderExecution,
2861
- type: "model.ResponderExecution",
3470
+ bodyKey: "resourceProfile",
3471
+ bodyModel: model.ResourceProfile,
3472
+ type: "model.ResourceProfile",
2862
3473
  responseHeaders: [
2863
3474
  {
2864
- value: response.headers.get("etag"),
2865
- key: "etag",
3475
+ value: response.headers.get("opc-request-id"),
3476
+ key: "opcRequestId",
2866
3477
  dataType: "string"
2867
3478
  },
2868
3479
  {
2869
- value: response.headers.get("opc-request-id"),
2870
- key: "opcRequestId",
3480
+ value: response.headers.get("etag"),
3481
+ key: "etag",
2871
3482
  dataType: "string"
2872
3483
  }
2873
3484
  ]
@@ -2880,12 +3491,140 @@ class CloudGuardClient {
2880
3491
  });
2881
3492
  }
2882
3493
  /**
2883
- * Get a ResponderRecipe by identifier
3494
+ * Returns the vulnerability details associated with the cveId where resource is an instance
3495
+ * This operation does not retry by default if the user has not defined a retry configuration.
3496
+ * @param GetResourceVulnerabilityRequest
3497
+ * @return GetResourceVulnerabilityResponse
3498
+ * @throws OciError when an error occurs
3499
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetResourceVulnerability.ts.html |here} to see how to use GetResourceVulnerability API.
3500
+ */
3501
+ getResourceVulnerability(getResourceVulnerabilityRequest) {
3502
+ return __awaiter(this, void 0, void 0, function* () {
3503
+ if (this.logger)
3504
+ this.logger.debug("Calling operation CloudGuardClient#getResourceVulnerability.");
3505
+ const operationName = "getResourceVulnerability";
3506
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResourceVulnerability/GetResourceVulnerability";
3507
+ const pathParams = {
3508
+ "{resourceId}": getResourceVulnerabilityRequest.resourceId,
3509
+ "{vulnerabilityKey}": getResourceVulnerabilityRequest.vulnerabilityKey
3510
+ };
3511
+ const queryParams = {};
3512
+ let headerParams = {
3513
+ "Content-Type": common.Constants.APPLICATION_JSON,
3514
+ "opc-request-id": getResourceVulnerabilityRequest.opcRequestId
3515
+ };
3516
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
3517
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getResourceVulnerabilityRequest.retryConfiguration, specRetryConfiguration);
3518
+ if (this.logger)
3519
+ retrier.logger = this.logger;
3520
+ const request = yield oci_common_1.composeRequest({
3521
+ baseEndpoint: this._endpoint,
3522
+ defaultHeaders: this._defaultHeaders,
3523
+ path: "/resources/{resourceId}/vulnerabilities/{vulnerabilityKey}",
3524
+ method: "GET",
3525
+ pathParams: pathParams,
3526
+ headerParams: headerParams,
3527
+ queryParams: queryParams
3528
+ });
3529
+ try {
3530
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
3531
+ const sdkResponse = oci_common_1.composeResponse({
3532
+ responseObject: {},
3533
+ body: yield response.json(),
3534
+ bodyKey: "resourceVulnerability",
3535
+ bodyModel: model.ResourceVulnerability,
3536
+ type: "model.ResourceVulnerability",
3537
+ responseHeaders: [
3538
+ {
3539
+ value: response.headers.get("opc-request-id"),
3540
+ key: "opcRequestId",
3541
+ dataType: "string"
3542
+ },
3543
+ {
3544
+ value: response.headers.get("opc-next-page"),
3545
+ key: "opcNextPage",
3546
+ dataType: "string"
3547
+ }
3548
+ ]
3549
+ });
3550
+ return sdkResponse;
3551
+ }
3552
+ catch (err) {
3553
+ throw err;
3554
+ }
3555
+ });
3556
+ }
3557
+ /**
3558
+ * Returns a responder execution identified by responderExecutionId.
3559
+ *
3560
+ * This operation does not retry by default if the user has not defined a retry configuration.
3561
+ * @param GetResponderExecutionRequest
3562
+ * @return GetResponderExecutionResponse
3563
+ * @throws OciError when an error occurs
3564
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetResponderExecution.ts.html |here} to see how to use GetResponderExecution API.
3565
+ */
3566
+ getResponderExecution(getResponderExecutionRequest) {
3567
+ return __awaiter(this, void 0, void 0, function* () {
3568
+ if (this.logger)
3569
+ this.logger.debug("Calling operation CloudGuardClient#getResponderExecution.");
3570
+ const operationName = "getResponderExecution";
3571
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResponderExecution/GetResponderExecution";
3572
+ const pathParams = {
3573
+ "{responderExecutionId}": getResponderExecutionRequest.responderExecutionId
3574
+ };
3575
+ const queryParams = {};
3576
+ let headerParams = {
3577
+ "Content-Type": common.Constants.APPLICATION_JSON,
3578
+ "opc-request-id": getResponderExecutionRequest.opcRequestId
3579
+ };
3580
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
3581
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getResponderExecutionRequest.retryConfiguration, specRetryConfiguration);
3582
+ if (this.logger)
3583
+ retrier.logger = this.logger;
3584
+ const request = yield oci_common_1.composeRequest({
3585
+ baseEndpoint: this._endpoint,
3586
+ defaultHeaders: this._defaultHeaders,
3587
+ path: "/responderExecutions/{responderExecutionId}",
3588
+ method: "GET",
3589
+ pathParams: pathParams,
3590
+ headerParams: headerParams,
3591
+ queryParams: queryParams
3592
+ });
3593
+ try {
3594
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
3595
+ const sdkResponse = oci_common_1.composeResponse({
3596
+ responseObject: {},
3597
+ body: yield response.json(),
3598
+ bodyKey: "responderExecution",
3599
+ bodyModel: model.ResponderExecution,
3600
+ type: "model.ResponderExecution",
3601
+ responseHeaders: [
3602
+ {
3603
+ value: response.headers.get("etag"),
3604
+ key: "etag",
3605
+ dataType: "string"
3606
+ },
3607
+ {
3608
+ value: response.headers.get("opc-request-id"),
3609
+ key: "opcRequestId",
3610
+ dataType: "string"
3611
+ }
3612
+ ]
3613
+ });
3614
+ return sdkResponse;
3615
+ }
3616
+ catch (err) {
3617
+ throw err;
3618
+ }
3619
+ });
3620
+ }
3621
+ /**
3622
+ * Returns a responder recipe (ResponderRecipe resource) identified by responderRecipeId.
2884
3623
  * This operation does not retry by default if the user has not defined a retry configuration.
2885
3624
  * @param GetResponderRecipeRequest
2886
3625
  * @return GetResponderRecipeResponse
2887
3626
  * @throws OciError when an error occurs
2888
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/GetResponderRecipe.ts.html |here} to see how to use GetResponderRecipe API.
3627
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetResponderRecipe.ts.html |here} to see how to use GetResponderRecipe API.
2889
3628
  */
2890
3629
  getResponderRecipe(getResponderRecipeRequest) {
2891
3630
  return __awaiter(this, void 0, void 0, function* () {
@@ -2943,12 +3682,12 @@ class CloudGuardClient {
2943
3682
  });
2944
3683
  }
2945
3684
  /**
2946
- * Get ResponderRule by identifier
3685
+ * Returns a responder rule (ResponderRule resource) identified by responderRuleId.
2947
3686
  * This operation does not retry by default if the user has not defined a retry configuration.
2948
3687
  * @param GetResponderRecipeResponderRuleRequest
2949
3688
  * @return GetResponderRecipeResponderRuleResponse
2950
3689
  * @throws OciError when an error occurs
2951
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/GetResponderRecipeResponderRule.ts.html |here} to see how to use GetResponderRecipeResponderRule API.
3690
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetResponderRecipeResponderRule.ts.html |here} to see how to use GetResponderRecipeResponderRule API.
2952
3691
  */
2953
3692
  getResponderRecipeResponderRule(getResponderRecipeResponderRuleRequest) {
2954
3693
  return __awaiter(this, void 0, void 0, function* () {
@@ -3007,12 +3746,12 @@ class CloudGuardClient {
3007
3746
  });
3008
3747
  }
3009
3748
  /**
3010
- * Get a ResponderRule by identifier
3749
+ * Returns a responder rule (ResponderRule resource) identified by resonderRuleId.
3011
3750
  * This operation does not retry by default if the user has not defined a retry configuration.
3012
3751
  * @param GetResponderRuleRequest
3013
3752
  * @return GetResponderRuleResponse
3014
3753
  * @throws OciError when an error occurs
3015
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/GetResponderRule.ts.html |here} to see how to use GetResponderRule API.
3754
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetResponderRule.ts.html |here} to see how to use GetResponderRule API.
3016
3755
  */
3017
3756
  getResponderRule(getResponderRuleRequest) {
3018
3757
  return __awaiter(this, void 0, void 0, function* () {
@@ -3070,12 +3809,78 @@ class CloudGuardClient {
3070
3809
  });
3071
3810
  }
3072
3811
  /**
3073
- * Gets a security zone policy using its identifier. When a policy is enabled in a security zone, then any action in the zone that attempts to violate that policy is denied.
3812
+ * Returns a SavedQuery resource identified by savedQueryId.
3813
+ * This operation does not retry by default if the user has not defined a retry configuration.
3814
+ * @param GetSavedQueryRequest
3815
+ * @return GetSavedQueryResponse
3816
+ * @throws OciError when an error occurs
3817
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetSavedQuery.ts.html |here} to see how to use GetSavedQuery API.
3818
+ */
3819
+ getSavedQuery(getSavedQueryRequest) {
3820
+ return __awaiter(this, void 0, void 0, function* () {
3821
+ if (this.logger)
3822
+ this.logger.debug("Calling operation CloudGuardClient#getSavedQuery.");
3823
+ const operationName = "getSavedQuery";
3824
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SavedQuery/GetSavedQuery";
3825
+ const pathParams = {
3826
+ "{savedQueryId}": getSavedQueryRequest.savedQueryId
3827
+ };
3828
+ const queryParams = {};
3829
+ let headerParams = {
3830
+ "Content-Type": common.Constants.APPLICATION_JSON,
3831
+ "opc-request-id": getSavedQueryRequest.opcRequestId
3832
+ };
3833
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
3834
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSavedQueryRequest.retryConfiguration, specRetryConfiguration);
3835
+ if (this.logger)
3836
+ retrier.logger = this.logger;
3837
+ const request = yield oci_common_1.composeRequest({
3838
+ baseEndpoint: this._endpoint,
3839
+ defaultHeaders: this._defaultHeaders,
3840
+ path: "/savedQueries/{savedQueryId}",
3841
+ method: "GET",
3842
+ pathParams: pathParams,
3843
+ headerParams: headerParams,
3844
+ queryParams: queryParams
3845
+ });
3846
+ try {
3847
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
3848
+ const sdkResponse = oci_common_1.composeResponse({
3849
+ responseObject: {},
3850
+ body: yield response.json(),
3851
+ bodyKey: "savedQuery",
3852
+ bodyModel: model.SavedQuery,
3853
+ type: "model.SavedQuery",
3854
+ responseHeaders: [
3855
+ {
3856
+ value: response.headers.get("etag"),
3857
+ key: "etag",
3858
+ dataType: "string"
3859
+ },
3860
+ {
3861
+ value: response.headers.get("opc-request-id"),
3862
+ key: "opcRequestId",
3863
+ dataType: "string"
3864
+ }
3865
+ ]
3866
+ });
3867
+ return sdkResponse;
3868
+ }
3869
+ catch (err) {
3870
+ throw err;
3871
+ }
3872
+ });
3873
+ }
3874
+ /**
3875
+ * Returns a security zone policy (SecurityPolicy resource), identified by its unique ID
3876
+ * (securityPolicyId). When a policy is enabled in a security zone, then any action in
3877
+ * the zone that attempts to violate that policy is blocked.
3878
+ *
3074
3879
  * This operation does not retry by default if the user has not defined a retry configuration.
3075
3880
  * @param GetSecurityPolicyRequest
3076
3881
  * @return GetSecurityPolicyResponse
3077
3882
  * @throws OciError when an error occurs
3078
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/GetSecurityPolicy.ts.html |here} to see how to use GetSecurityPolicy API.
3883
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetSecurityPolicy.ts.html |here} to see how to use GetSecurityPolicy API.
3079
3884
  */
3080
3885
  getSecurityPolicy(getSecurityPolicyRequest) {
3081
3886
  return __awaiter(this, void 0, void 0, function* () {
@@ -3133,12 +3938,12 @@ class CloudGuardClient {
3133
3938
  });
3134
3939
  }
3135
3940
  /**
3136
- * Gets a security zone recipe by identifier. A security zone recipe is a collection of security zone policies.
3941
+ * Returns a security zone recipe (SecurityRecipe resource) identified by securityRecipeId.
3137
3942
  * This operation does not retry by default if the user has not defined a retry configuration.
3138
3943
  * @param GetSecurityRecipeRequest
3139
3944
  * @return GetSecurityRecipeResponse
3140
3945
  * @throws OciError when an error occurs
3141
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/GetSecurityRecipe.ts.html |here} to see how to use GetSecurityRecipe API.
3946
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetSecurityRecipe.ts.html |here} to see how to use GetSecurityRecipe API.
3142
3947
  */
3143
3948
  getSecurityRecipe(getSecurityRecipeRequest) {
3144
3949
  return __awaiter(this, void 0, void 0, function* () {
@@ -3196,12 +4001,12 @@ class CloudGuardClient {
3196
4001
  });
3197
4002
  }
3198
4003
  /**
3199
- * Gets a security zone by its identifier. A security zone is associated with a security zone recipe and enforces all security zone policies in the recipe. Any actions in the zone's compartments that violate a policy are denied.
4004
+ * Returns a security zone (SecurityZone resource) identified by securityZoneId.
3200
4005
  * This operation does not retry by default if the user has not defined a retry configuration.
3201
4006
  * @param GetSecurityZoneRequest
3202
4007
  * @return GetSecurityZoneResponse
3203
4008
  * @throws OciError when an error occurs
3204
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/GetSecurityZone.ts.html |here} to see how to use GetSecurityZone API.
4009
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetSecurityZone.ts.html |here} to see how to use GetSecurityZone API.
3205
4010
  */
3206
4011
  getSecurityZone(getSecurityZoneRequest) {
3207
4012
  return __awaiter(this, void 0, void 0, function* () {
@@ -3259,12 +4064,12 @@ class CloudGuardClient {
3259
4064
  });
3260
4065
  }
3261
4066
  /**
3262
- * Returns Sighting details
4067
+ * Returns a single sighting (Sighting resource) identified by sightingId.
3263
4068
  * This operation does not retry by default if the user has not defined a retry configuration.
3264
4069
  * @param GetSightingRequest
3265
4070
  * @return GetSightingResponse
3266
4071
  * @throws OciError when an error occurs
3267
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/GetSighting.ts.html |here} to see how to use GetSighting API.
4072
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetSighting.ts.html |here} to see how to use GetSighting API.
3268
4073
  */
3269
4074
  getSighting(getSightingRequest) {
3270
4075
  return __awaiter(this, void 0, void 0, function* () {
@@ -3322,12 +4127,12 @@ class CloudGuardClient {
3322
4127
  });
3323
4128
  }
3324
4129
  /**
3325
- * Returns a Target identified by targetId
4130
+ * Returns a target (Target resource) identified by targetId.
3326
4131
  * This operation does not retry by default if the user has not defined a retry configuration.
3327
4132
  * @param GetTargetRequest
3328
4133
  * @return GetTargetResponse
3329
4134
  * @throws OciError when an error occurs
3330
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/GetTarget.ts.html |here} to see how to use GetTarget API.
4135
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetTarget.ts.html |here} to see how to use GetTarget API.
3331
4136
  */
3332
4137
  getTarget(getTargetRequest) {
3333
4138
  return __awaiter(this, void 0, void 0, function* () {
@@ -3385,12 +4190,12 @@ class CloudGuardClient {
3385
4190
  });
3386
4191
  }
3387
4192
  /**
3388
- * Get a TargetDetectorRecipe by identifier
4193
+ * Returns a target detector recipe (TargetDetectorRecipe resource) identified by targetDetectorRecipeId.
3389
4194
  * This operation does not retry by default if the user has not defined a retry configuration.
3390
4195
  * @param GetTargetDetectorRecipeRequest
3391
4196
  * @return GetTargetDetectorRecipeResponse
3392
4197
  * @throws OciError when an error occurs
3393
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/GetTargetDetectorRecipe.ts.html |here} to see how to use GetTargetDetectorRecipe API.
4198
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetTargetDetectorRecipe.ts.html |here} to see how to use GetTargetDetectorRecipe API.
3394
4199
  */
3395
4200
  getTargetDetectorRecipe(getTargetDetectorRecipeRequest) {
3396
4201
  return __awaiter(this, void 0, void 0, function* () {
@@ -3449,12 +4254,12 @@ class CloudGuardClient {
3449
4254
  });
3450
4255
  }
3451
4256
  /**
3452
- * Get DetectorRule by identifier
4257
+ * Returns DetectorRule resource by identified by targetDetectorRecipeId.
3453
4258
  * This operation does not retry by default if the user has not defined a retry configuration.
3454
4259
  * @param GetTargetDetectorRecipeDetectorRuleRequest
3455
4260
  * @return GetTargetDetectorRecipeDetectorRuleResponse
3456
4261
  * @throws OciError when an error occurs
3457
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/GetTargetDetectorRecipeDetectorRule.ts.html |here} to see how to use GetTargetDetectorRecipeDetectorRule API.
4262
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetTargetDetectorRecipeDetectorRule.ts.html |here} to see how to use GetTargetDetectorRecipeDetectorRule API.
3458
4263
  */
3459
4264
  getTargetDetectorRecipeDetectorRule(getTargetDetectorRecipeDetectorRuleRequest) {
3460
4265
  return __awaiter(this, void 0, void 0, function* () {
@@ -3514,12 +4319,14 @@ class CloudGuardClient {
3514
4319
  });
3515
4320
  }
3516
4321
  /**
3517
- * Get a TargetResponderRecipe by identifier
4322
+ * Returns a target responder recipe (TargetResponderRecipe) identified by
4323
+ * targetResponderRecipeId for a target (Target resource) identified by targetId.
4324
+ *
3518
4325
  * This operation does not retry by default if the user has not defined a retry configuration.
3519
4326
  * @param GetTargetResponderRecipeRequest
3520
4327
  * @return GetTargetResponderRecipeResponse
3521
4328
  * @throws OciError when an error occurs
3522
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/GetTargetResponderRecipe.ts.html |here} to see how to use GetTargetResponderRecipe API.
4329
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetTargetResponderRecipe.ts.html |here} to see how to use GetTargetResponderRecipe API.
3523
4330
  */
3524
4331
  getTargetResponderRecipe(getTargetResponderRecipeRequest) {
3525
4332
  return __awaiter(this, void 0, void 0, function* () {
@@ -3528,22 +4335,217 @@ class CloudGuardClient {
3528
4335
  const operationName = "getTargetResponderRecipe";
3529
4336
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/TargetResponderRecipe/GetTargetResponderRecipe";
3530
4337
  const pathParams = {
3531
- "{targetId}": getTargetResponderRecipeRequest.targetId,
3532
- "{targetResponderRecipeId}": getTargetResponderRecipeRequest.targetResponderRecipeId
4338
+ "{targetId}": getTargetResponderRecipeRequest.targetId,
4339
+ "{targetResponderRecipeId}": getTargetResponderRecipeRequest.targetResponderRecipeId
4340
+ };
4341
+ const queryParams = {};
4342
+ let headerParams = {
4343
+ "Content-Type": common.Constants.APPLICATION_JSON,
4344
+ "opc-request-id": getTargetResponderRecipeRequest.opcRequestId
4345
+ };
4346
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
4347
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getTargetResponderRecipeRequest.retryConfiguration, specRetryConfiguration);
4348
+ if (this.logger)
4349
+ retrier.logger = this.logger;
4350
+ const request = yield oci_common_1.composeRequest({
4351
+ baseEndpoint: this._endpoint,
4352
+ defaultHeaders: this._defaultHeaders,
4353
+ path: "/targets/{targetId}/targetResponderRecipes/{targetResponderRecipeId}",
4354
+ method: "GET",
4355
+ pathParams: pathParams,
4356
+ headerParams: headerParams,
4357
+ queryParams: queryParams
4358
+ });
4359
+ try {
4360
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
4361
+ const sdkResponse = oci_common_1.composeResponse({
4362
+ responseObject: {},
4363
+ body: yield response.json(),
4364
+ bodyKey: "targetResponderRecipe",
4365
+ bodyModel: model.TargetResponderRecipe,
4366
+ type: "model.TargetResponderRecipe",
4367
+ responseHeaders: [
4368
+ {
4369
+ value: response.headers.get("etag"),
4370
+ key: "etag",
4371
+ dataType: "string"
4372
+ },
4373
+ {
4374
+ value: response.headers.get("opc-request-id"),
4375
+ key: "opcRequestId",
4376
+ dataType: "string"
4377
+ }
4378
+ ]
4379
+ });
4380
+ return sdkResponse;
4381
+ }
4382
+ catch (err) {
4383
+ throw err;
4384
+ }
4385
+ });
4386
+ }
4387
+ /**
4388
+ * Returns a responder rule (ResponderRule resource) identified by
4389
+ * responderRuleId, from a target responder recipe (TargetResponderRecipe resource)
4390
+ * identified by targetResponderRecipeId, attached to a target (Target resource)
4391
+ * identified by targetId.
4392
+ *
4393
+ * This operation does not retry by default if the user has not defined a retry configuration.
4394
+ * @param GetTargetResponderRecipeResponderRuleRequest
4395
+ * @return GetTargetResponderRecipeResponderRuleResponse
4396
+ * @throws OciError when an error occurs
4397
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetTargetResponderRecipeResponderRule.ts.html |here} to see how to use GetTargetResponderRecipeResponderRule API.
4398
+ */
4399
+ getTargetResponderRecipeResponderRule(getTargetResponderRecipeResponderRuleRequest) {
4400
+ return __awaiter(this, void 0, void 0, function* () {
4401
+ if (this.logger)
4402
+ this.logger.debug("Calling operation CloudGuardClient#getTargetResponderRecipeResponderRule.");
4403
+ const operationName = "getTargetResponderRecipeResponderRule";
4404
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/TargetResponderRecipeResponderRule/GetTargetResponderRecipeResponderRule";
4405
+ const pathParams = {
4406
+ "{targetId}": getTargetResponderRecipeResponderRuleRequest.targetId,
4407
+ "{targetResponderRecipeId}": getTargetResponderRecipeResponderRuleRequest.targetResponderRecipeId,
4408
+ "{responderRuleId}": getTargetResponderRecipeResponderRuleRequest.responderRuleId
4409
+ };
4410
+ const queryParams = {};
4411
+ let headerParams = {
4412
+ "Content-Type": common.Constants.APPLICATION_JSON,
4413
+ "opc-request-id": getTargetResponderRecipeResponderRuleRequest.opcRequestId
4414
+ };
4415
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
4416
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getTargetResponderRecipeResponderRuleRequest.retryConfiguration, specRetryConfiguration);
4417
+ if (this.logger)
4418
+ retrier.logger = this.logger;
4419
+ const request = yield oci_common_1.composeRequest({
4420
+ baseEndpoint: this._endpoint,
4421
+ defaultHeaders: this._defaultHeaders,
4422
+ path: "/targets/{targetId}/targetResponderRecipes/{targetResponderRecipeId}/responderRules/{responderRuleId}",
4423
+ method: "GET",
4424
+ pathParams: pathParams,
4425
+ headerParams: headerParams,
4426
+ queryParams: queryParams
4427
+ });
4428
+ try {
4429
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
4430
+ const sdkResponse = oci_common_1.composeResponse({
4431
+ responseObject: {},
4432
+ body: yield response.json(),
4433
+ bodyKey: "targetResponderRecipeResponderRule",
4434
+ bodyModel: model.TargetResponderRecipeResponderRule,
4435
+ type: "model.TargetResponderRecipeResponderRule",
4436
+ responseHeaders: [
4437
+ {
4438
+ value: response.headers.get("etag"),
4439
+ key: "etag",
4440
+ dataType: "string"
4441
+ },
4442
+ {
4443
+ value: response.headers.get("opc-request-id"),
4444
+ key: "opcRequestId",
4445
+ dataType: "string"
4446
+ }
4447
+ ]
4448
+ });
4449
+ return sdkResponse;
4450
+ }
4451
+ catch (err) {
4452
+ throw err;
4453
+ }
4454
+ });
4455
+ }
4456
+ /**
4457
+ * Returns a WlpAgent resource for an on-premise resource identified by wlpAgentId.
4458
+ * This operation does not retry by default if the user has not defined a retry configuration.
4459
+ * @param GetWlpAgentRequest
4460
+ * @return GetWlpAgentResponse
4461
+ * @throws OciError when an error occurs
4462
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetWlpAgent.ts.html |here} to see how to use GetWlpAgent API.
4463
+ */
4464
+ getWlpAgent(getWlpAgentRequest) {
4465
+ return __awaiter(this, void 0, void 0, function* () {
4466
+ if (this.logger)
4467
+ this.logger.debug("Calling operation CloudGuardClient#getWlpAgent.");
4468
+ const operationName = "getWlpAgent";
4469
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/WlpAgent/GetWlpAgent";
4470
+ const pathParams = {
4471
+ "{wlpAgentId}": getWlpAgentRequest.wlpAgentId
4472
+ };
4473
+ const queryParams = {};
4474
+ let headerParams = {
4475
+ "Content-Type": common.Constants.APPLICATION_JSON,
4476
+ "opc-request-id": getWlpAgentRequest.opcRequestId
4477
+ };
4478
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
4479
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWlpAgentRequest.retryConfiguration, specRetryConfiguration);
4480
+ if (this.logger)
4481
+ retrier.logger = this.logger;
4482
+ const request = yield oci_common_1.composeRequest({
4483
+ baseEndpoint: this._endpoint,
4484
+ defaultHeaders: this._defaultHeaders,
4485
+ path: "/wlpAgents/{wlpAgentId}",
4486
+ method: "GET",
4487
+ pathParams: pathParams,
4488
+ headerParams: headerParams,
4489
+ queryParams: queryParams
4490
+ });
4491
+ try {
4492
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
4493
+ const sdkResponse = oci_common_1.composeResponse({
4494
+ responseObject: {},
4495
+ body: yield response.json(),
4496
+ bodyKey: "wlpAgent",
4497
+ bodyModel: model.WlpAgent,
4498
+ type: "model.WlpAgent",
4499
+ responseHeaders: [
4500
+ {
4501
+ value: response.headers.get("etag"),
4502
+ key: "etag",
4503
+ dataType: "string"
4504
+ },
4505
+ {
4506
+ value: response.headers.get("opc-request-id"),
4507
+ key: "opcRequestId",
4508
+ dataType: "string"
4509
+ }
4510
+ ]
4511
+ });
4512
+ return sdkResponse;
4513
+ }
4514
+ catch (err) {
4515
+ throw err;
4516
+ }
4517
+ });
4518
+ }
4519
+ /**
4520
+ * Returns details for a work request (WorkRequest resource) identified by workRequestId.
4521
+ * This operation does not retry by default if the user has not defined a retry configuration.
4522
+ * @param GetWorkRequestRequest
4523
+ * @return GetWorkRequestResponse
4524
+ * @throws OciError when an error occurs
4525
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
4526
+ */
4527
+ getWorkRequest(getWorkRequestRequest) {
4528
+ return __awaiter(this, void 0, void 0, function* () {
4529
+ if (this.logger)
4530
+ this.logger.debug("Calling operation CloudGuardClient#getWorkRequest.");
4531
+ const operationName = "getWorkRequest";
4532
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/WorkRequest/GetWorkRequest";
4533
+ const pathParams = {
4534
+ "{workRequestId}": getWorkRequestRequest.workRequestId
3533
4535
  };
3534
4536
  const queryParams = {};
3535
4537
  let headerParams = {
3536
4538
  "Content-Type": common.Constants.APPLICATION_JSON,
3537
- "opc-request-id": getTargetResponderRecipeRequest.opcRequestId
4539
+ "opc-request-id": getWorkRequestRequest.opcRequestId
3538
4540
  };
3539
4541
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
3540
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getTargetResponderRecipeRequest.retryConfiguration, specRetryConfiguration);
4542
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
3541
4543
  if (this.logger)
3542
4544
  retrier.logger = this.logger;
3543
4545
  const request = yield oci_common_1.composeRequest({
3544
4546
  baseEndpoint: this._endpoint,
3545
4547
  defaultHeaders: this._defaultHeaders,
3546
- path: "/targets/{targetId}/targetResponderRecipes/{targetResponderRecipeId}",
4548
+ path: "/workRequests/{workRequestId}",
3547
4549
  method: "GET",
3548
4550
  pathParams: pathParams,
3549
4551
  headerParams: headerParams,
@@ -3554,9 +4556,9 @@ class CloudGuardClient {
3554
4556
  const sdkResponse = oci_common_1.composeResponse({
3555
4557
  responseObject: {},
3556
4558
  body: yield response.json(),
3557
- bodyKey: "targetResponderRecipe",
3558
- bodyModel: model.TargetResponderRecipe,
3559
- type: "model.TargetResponderRecipe",
4559
+ bodyKey: "workRequest",
4560
+ bodyModel: model.WorkRequest,
4561
+ type: "model.WorkRequest",
3560
4562
  responseHeaders: [
3561
4563
  {
3562
4564
  value: response.headers.get("etag"),
@@ -3567,6 +4569,11 @@ class CloudGuardClient {
3567
4569
  value: response.headers.get("opc-request-id"),
3568
4570
  key: "opcRequestId",
3569
4571
  dataType: "string"
4572
+ },
4573
+ {
4574
+ value: response.headers.get("retry-after"),
4575
+ key: "retryAfter",
4576
+ dataType: "number"
3570
4577
  }
3571
4578
  ]
3572
4579
  });
@@ -3578,37 +4585,61 @@ class CloudGuardClient {
3578
4585
  });
3579
4586
  }
3580
4587
  /**
3581
- * Get ResponderRule by identifier
3582
- * This operation does not retry by default if the user has not defined a retry configuration.
3583
- * @param GetTargetResponderRecipeResponderRuleRequest
3584
- * @return GetTargetResponderRecipeResponderRuleResponse
3585
- * @throws OciError when an error occurs
3586
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/GetTargetResponderRecipeResponderRule.ts.html |here} to see how to use GetTargetResponderRecipeResponderRule API.
3587
- */
3588
- getTargetResponderRecipeResponderRule(getTargetResponderRecipeResponderRuleRequest) {
4588
+ * Returns a list of all adhoc queries (AdhocQuery resources) for a compartment
4589
+ * identified by compartmentId. List is returned in a AdhocQueryCollection resource
4590
+ * with page of AdhocQuerySummary resources.
4591
+ * <p>
4592
+ The ListAdhocQueries operation returns only the adhoc queries in 'compartmentId' passed.
4593
+ * The list does not include any subcompartments of the compartmentId passed.
4594
+ * <p>
4595
+ The parameter `accessLevel` specifies whether to return only those compartments for which the
4596
+ * requestor has INSPECT permissions on at least one resource directly
4597
+ * or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if
4598
+ * Principal doesn't have access to even one of the child compartments. This is valid only when
4599
+ * `compartmentIdInSubtree` is set to `true`.
4600
+ * <p>
4601
+ The parameter `compartmentIdInSubtree` applies when you perform ListAdhocQueries on the
4602
+ * `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned.
4603
+ * To get a full list of all compartments and subcompartments in the tenancy (root compartment),
4604
+ * set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
4605
+ *
4606
+ * This operation does not retry by default if the user has not defined a retry configuration.
4607
+ * @param ListAdhocQueriesRequest
4608
+ * @return ListAdhocQueriesResponse
4609
+ * @throws OciError when an error occurs
4610
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListAdhocQueries.ts.html |here} to see how to use ListAdhocQueries API.
4611
+ */
4612
+ listAdhocQueries(listAdhocQueriesRequest) {
3589
4613
  return __awaiter(this, void 0, void 0, function* () {
3590
4614
  if (this.logger)
3591
- this.logger.debug("Calling operation CloudGuardClient#getTargetResponderRecipeResponderRule.");
3592
- const operationName = "getTargetResponderRecipeResponderRule";
3593
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/TargetResponderRecipeResponderRule/GetTargetResponderRecipeResponderRule";
3594
- const pathParams = {
3595
- "{targetId}": getTargetResponderRecipeResponderRuleRequest.targetId,
3596
- "{targetResponderRecipeId}": getTargetResponderRecipeResponderRuleRequest.targetResponderRecipeId,
3597
- "{responderRuleId}": getTargetResponderRecipeResponderRuleRequest.responderRuleId
4615
+ this.logger.debug("Calling operation CloudGuardClient#listAdhocQueries.");
4616
+ const operationName = "listAdhocQueries";
4617
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/AdhocQuery/ListAdhocQueries";
4618
+ const pathParams = {};
4619
+ const queryParams = {
4620
+ "compartmentId": listAdhocQueriesRequest.compartmentId,
4621
+ "adhocQueryStatus": listAdhocQueriesRequest.adhocQueryStatus,
4622
+ "timeStartedFilterQueryParam": listAdhocQueriesRequest.timeStartedFilterQueryParam,
4623
+ "timeEndedFilterQueryParam": listAdhocQueriesRequest.timeEndedFilterQueryParam,
4624
+ "limit": listAdhocQueriesRequest.limit,
4625
+ "page": listAdhocQueriesRequest.page,
4626
+ "compartmentIdInSubtree": listAdhocQueriesRequest.compartmentIdInSubtree,
4627
+ "accessLevel": listAdhocQueriesRequest.accessLevel,
4628
+ "sortOrder": listAdhocQueriesRequest.sortOrder,
4629
+ "sortBy": listAdhocQueriesRequest.sortBy
3598
4630
  };
3599
- const queryParams = {};
3600
4631
  let headerParams = {
3601
4632
  "Content-Type": common.Constants.APPLICATION_JSON,
3602
- "opc-request-id": getTargetResponderRecipeResponderRuleRequest.opcRequestId
4633
+ "opc-request-id": listAdhocQueriesRequest.opcRequestId
3603
4634
  };
3604
4635
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
3605
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getTargetResponderRecipeResponderRuleRequest.retryConfiguration, specRetryConfiguration);
4636
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAdhocQueriesRequest.retryConfiguration, specRetryConfiguration);
3606
4637
  if (this.logger)
3607
4638
  retrier.logger = this.logger;
3608
4639
  const request = yield oci_common_1.composeRequest({
3609
4640
  baseEndpoint: this._endpoint,
3610
4641
  defaultHeaders: this._defaultHeaders,
3611
- path: "/targets/{targetId}/targetResponderRecipes/{targetResponderRecipeId}/responderRules/{responderRuleId}",
4642
+ path: "/adhocQueries",
3612
4643
  method: "GET",
3613
4644
  pathParams: pathParams,
3614
4645
  headerParams: headerParams,
@@ -3619,18 +4650,18 @@ class CloudGuardClient {
3619
4650
  const sdkResponse = oci_common_1.composeResponse({
3620
4651
  responseObject: {},
3621
4652
  body: yield response.json(),
3622
- bodyKey: "targetResponderRecipeResponderRule",
3623
- bodyModel: model.TargetResponderRecipeResponderRule,
3624
- type: "model.TargetResponderRecipeResponderRule",
4653
+ bodyKey: "adhocQueryCollection",
4654
+ bodyModel: model.AdhocQueryCollection,
4655
+ type: "model.AdhocQueryCollection",
3625
4656
  responseHeaders: [
3626
4657
  {
3627
- value: response.headers.get("etag"),
3628
- key: "etag",
4658
+ value: response.headers.get("opc-request-id"),
4659
+ key: "opcRequestId",
3629
4660
  dataType: "string"
3630
4661
  },
3631
4662
  {
3632
- value: response.headers.get("opc-request-id"),
3633
- key: "opcRequestId",
4663
+ value: response.headers.get("opc-next-page"),
4664
+ key: "opcNextPage",
3634
4665
  dataType: "string"
3635
4666
  }
3636
4667
  ]
@@ -3643,35 +4674,41 @@ class CloudGuardClient {
3643
4674
  });
3644
4675
  }
3645
4676
  /**
3646
- * Gets details of the work request with the given ID.
4677
+ * Lists the results for a given adhoc ID (from includes results from all monitoring regions).
3647
4678
  * This operation does not retry by default if the user has not defined a retry configuration.
3648
- * @param GetWorkRequestRequest
3649
- * @return GetWorkRequestResponse
4679
+ * @param ListAdhocQueryResultsRequest
4680
+ * @return ListAdhocQueryResultsResponse
3650
4681
  * @throws OciError when an error occurs
3651
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
4682
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListAdhocQueryResults.ts.html |here} to see how to use ListAdhocQueryResults API.
3652
4683
  */
3653
- getWorkRequest(getWorkRequestRequest) {
4684
+ listAdhocQueryResults(listAdhocQueryResultsRequest) {
3654
4685
  return __awaiter(this, void 0, void 0, function* () {
3655
4686
  if (this.logger)
3656
- this.logger.debug("Calling operation CloudGuardClient#getWorkRequest.");
3657
- const operationName = "getWorkRequest";
3658
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/WorkRequest/GetWorkRequest";
4687
+ this.logger.debug("Calling operation CloudGuardClient#listAdhocQueryResults.");
4688
+ const operationName = "listAdhocQueryResults";
4689
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/AdhocQueryResultCollection/ListAdhocQueryResults";
3659
4690
  const pathParams = {
3660
- "{workRequestId}": getWorkRequestRequest.workRequestId
4691
+ "{adhocQueryId}": listAdhocQueryResultsRequest.adhocQueryId
4692
+ };
4693
+ const queryParams = {
4694
+ "compartmentId": listAdhocQueryResultsRequest.compartmentId,
4695
+ "limit": listAdhocQueryResultsRequest.limit,
4696
+ "page": listAdhocQueryResultsRequest.page,
4697
+ "sortOrder": listAdhocQueryResultsRequest.sortOrder,
4698
+ "sortBy": listAdhocQueryResultsRequest.sortBy
3661
4699
  };
3662
- const queryParams = {};
3663
4700
  let headerParams = {
3664
4701
  "Content-Type": common.Constants.APPLICATION_JSON,
3665
- "opc-request-id": getWorkRequestRequest.opcRequestId
4702
+ "opc-request-id": listAdhocQueryResultsRequest.opcRequestId
3666
4703
  };
3667
4704
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
3668
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
4705
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAdhocQueryResultsRequest.retryConfiguration, specRetryConfiguration);
3669
4706
  if (this.logger)
3670
4707
  retrier.logger = this.logger;
3671
4708
  const request = yield oci_common_1.composeRequest({
3672
4709
  baseEndpoint: this._endpoint,
3673
4710
  defaultHeaders: this._defaultHeaders,
3674
- path: "/workRequests/{workRequestId}",
4711
+ path: "/adhocQueries/{adhocQueryId}/results",
3675
4712
  method: "GET",
3676
4713
  pathParams: pathParams,
3677
4714
  headerParams: headerParams,
@@ -3682,24 +4719,19 @@ class CloudGuardClient {
3682
4719
  const sdkResponse = oci_common_1.composeResponse({
3683
4720
  responseObject: {},
3684
4721
  body: yield response.json(),
3685
- bodyKey: "workRequest",
3686
- bodyModel: model.WorkRequest,
3687
- type: "model.WorkRequest",
4722
+ bodyKey: "adhocQueryResultCollection",
4723
+ bodyModel: model.AdhocQueryResultCollection,
4724
+ type: "model.AdhocQueryResultCollection",
3688
4725
  responseHeaders: [
3689
- {
3690
- value: response.headers.get("etag"),
3691
- key: "etag",
3692
- dataType: "string"
3693
- },
3694
4726
  {
3695
4727
  value: response.headers.get("opc-request-id"),
3696
4728
  key: "opcRequestId",
3697
4729
  dataType: "string"
3698
4730
  },
3699
4731
  {
3700
- value: response.headers.get("retry-after"),
3701
- key: "retryAfter",
3702
- dataType: "number"
4732
+ value: response.headers.get("opc-next-page"),
4733
+ key: "opcNextPage",
4734
+ dataType: "string"
3703
4735
  }
3704
4736
  ]
3705
4737
  });
@@ -3711,13 +4743,13 @@ class CloudGuardClient {
3711
4743
  });
3712
4744
  }
3713
4745
  /**
3714
- * Returns a list of ConditionMetadataType objects.
4746
+ * Returns a list of ConditionMetadataType resources.
3715
4747
  *
3716
4748
  * This operation does not retry by default if the user has not defined a retry configuration.
3717
4749
  * @param ListConditionMetadataTypesRequest
3718
4750
  * @return ListConditionMetadataTypesResponse
3719
4751
  * @throws OciError when an error occurs
3720
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ListConditionMetadataTypes.ts.html |here} to see how to use ListConditionMetadataTypes API.
4752
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListConditionMetadataTypes.ts.html |here} to see how to use ListConditionMetadataTypes API.
3721
4753
  */
3722
4754
  listConditionMetadataTypes(listConditionMetadataTypesRequest) {
3723
4755
  return __awaiter(this, void 0, void 0, function* () {
@@ -3780,13 +4812,13 @@ class CloudGuardClient {
3780
4812
  });
3781
4813
  }
3782
4814
  /**
3783
- * Returns a list of all DataMaskRule objects in the specified compartmentId (OCID) and its subcompartments.
4815
+ * Returns a list of all DataMaskRule resources in the specified compartmentId (OCID) and its subcompartments.
3784
4816
  *
3785
4817
  * This operation does not retry by default if the user has not defined a retry configuration.
3786
4818
  * @param ListDataMaskRulesRequest
3787
4819
  * @return ListDataMaskRulesResponse
3788
4820
  * @throws OciError when an error occurs
3789
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ListDataMaskRules.ts.html |here} to see how to use ListDataMaskRules API.
4821
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListDataMaskRules.ts.html |here} to see how to use ListDataMaskRules API.
3790
4822
  */
3791
4823
  listDataMaskRules(listDataMaskRulesRequest) {
3792
4824
  return __awaiter(this, void 0, void 0, function* () {
@@ -3855,13 +4887,15 @@ class CloudGuardClient {
3855
4887
  });
3856
4888
  }
3857
4889
  /**
3858
- * Returns a list of events from CloudGuard DataSource
4890
+ * Returns a list of data source events
4891
+ * (DataSourceEventCollection resource) from the data source
4892
+ * (DataSource resource) identified by dataSourceId.
3859
4893
  *
3860
4894
  * This operation does not retry by default if the user has not defined a retry configuration.
3861
4895
  * @param ListDataSourceEventsRequest
3862
4896
  * @return ListDataSourceEventsResponse
3863
4897
  * @throws OciError when an error occurs
3864
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ListDataSourceEvents.ts.html |here} to see how to use ListDataSourceEvents API.
4898
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListDataSourceEvents.ts.html |here} to see how to use ListDataSourceEvents API.
3865
4899
  */
3866
4900
  listDataSourceEvents(listDataSourceEventsRequest) {
3867
4901
  return __awaiter(this, void 0, void 0, function* () {
@@ -3925,9 +4959,11 @@ class CloudGuardClient {
3925
4959
  });
3926
4960
  }
3927
4961
  /**
3928
- * Returns a list of all Data Sources in a compartment
4962
+ * Returns a list of all data sources (DataSource resources) for a compartment
4963
+ * identified by compartmentId. List is returned in a DataSourceCollection resource
4964
+ * with page of DataSourceSummary resources.
3929
4965
  * <p>
3930
- The ListDataSources operation returns only the data Sources in `compartmentId` passed.
4966
+ The ListAdhocQueries operation returns only the adhoc queries in 'compartmentId' passed.
3931
4967
  * The list does not include any subcompartments of the compartmentId passed.
3932
4968
  * <p>
3933
4969
  The parameter `accessLevel` specifies whether to return only those compartments for which the
@@ -3936,7 +4972,7 @@ class CloudGuardClient {
3936
4972
  * Principal doesn't have access to even one of the child compartments. This is valid only when
3937
4973
  * `compartmentIdInSubtree` is set to `true`.
3938
4974
  * <p>
3939
- The parameter `compartmentIdInSubtree` applies when you perform ListdataSources on the
4975
+ The parameter `compartmentIdInSubtree` applies when you perform ListAdhocQueries on the
3940
4976
  * `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned.
3941
4977
  * To get a full list of all compartments and subcompartments in the tenancy (root compartment),
3942
4978
  * set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
@@ -3945,7 +4981,7 @@ class CloudGuardClient {
3945
4981
  * @param ListDataSourcesRequest
3946
4982
  * @return ListDataSourcesResponse
3947
4983
  * @throws OciError when an error occurs
3948
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ListDataSources.ts.html |here} to see how to use ListDataSources API.
4984
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListDataSources.ts.html |here} to see how to use ListDataSources API.
3949
4985
  */
3950
4986
  listDataSources(listDataSourcesRequest) {
3951
4987
  return __awaiter(this, void 0, void 0, function* () {
@@ -4013,13 +5049,13 @@ class CloudGuardClient {
4013
5049
  });
4014
5050
  }
4015
5051
  /**
4016
- * Returns a list of detector rules (DetectorRule objects) for a detector recipe (DetectorRecipe object), identified by detectorRecipeId.
5052
+ * Returns a list of detector rules (DetectorRule resources) for a detector recipe (DetectorRecipe resource), identified by detectorRecipeId.
4017
5053
  *
4018
5054
  * This operation does not retry by default if the user has not defined a retry configuration.
4019
5055
  * @param ListDetectorRecipeDetectorRulesRequest
4020
5056
  * @return ListDetectorRecipeDetectorRulesResponse
4021
5057
  * @throws OciError when an error occurs
4022
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ListDetectorRecipeDetectorRules.ts.html |here} to see how to use ListDetectorRecipeDetectorRules API.
5058
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListDetectorRecipeDetectorRules.ts.html |here} to see how to use ListDetectorRecipeDetectorRules API.
4023
5059
  */
4024
5060
  listDetectorRecipeDetectorRules(listDetectorRecipeDetectorRulesRequest) {
4025
5061
  return __awaiter(this, void 0, void 0, function* () {
@@ -4085,7 +5121,7 @@ class CloudGuardClient {
4085
5121
  });
4086
5122
  }
4087
5123
  /**
4088
- * Returns a list of all detector recipes (DetectorRecipe objects) in a compartment, identified by compartmentId.
5124
+ * Returns a list of all detector recipes (DetectorRecipe resources) in a compartment, identified by compartmentId.
4089
5125
  * <p>
4090
5126
  The ListDetectorRecipes operation returns only the detector recipes in `compartmentId` passed.
4091
5127
  * The list does not include any subcompartments of the compartmentId passed.
@@ -4105,7 +5141,7 @@ class CloudGuardClient {
4105
5141
  * @param ListDetectorRecipesRequest
4106
5142
  * @return ListDetectorRecipesResponse
4107
5143
  * @throws OciError when an error occurs
4108
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ListDetectorRecipes.ts.html |here} to see how to use ListDetectorRecipes API.
5144
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListDetectorRecipes.ts.html |here} to see how to use ListDetectorRecipes API.
4109
5145
  */
4110
5146
  listDetectorRecipes(listDetectorRecipesRequest) {
4111
5147
  return __awaiter(this, void 0, void 0, function* () {
@@ -4172,13 +5208,13 @@ class CloudGuardClient {
4172
5208
  });
4173
5209
  }
4174
5210
  /**
4175
- * Returns a list of detector rules for the DetectorRecipe object identified by detectorId.
5211
+ * Returns a list of detector rules for the DetectorRecipe resource identified by detectorId.
4176
5212
  *
4177
5213
  * This operation does not retry by default if the user has not defined a retry configuration.
4178
5214
  * @param ListDetectorRulesRequest
4179
5215
  * @return ListDetectorRulesResponse
4180
5216
  * @throws OciError when an error occurs
4181
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ListDetectorRules.ts.html |here} to see how to use ListDetectorRules API.
5217
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListDetectorRules.ts.html |here} to see how to use ListDetectorRules API.
4182
5218
  */
4183
5219
  listDetectorRules(listDetectorRulesRequest) {
4184
5220
  return __awaiter(this, void 0, void 0, function* () {
@@ -4244,13 +5280,13 @@ class CloudGuardClient {
4244
5280
  });
4245
5281
  }
4246
5282
  /**
4247
- * Returns a detector catalog (DetectorCollection object) with a list of DetectorSummary objects.
5283
+ * Returns a detector catalog (DetectorCollection resource) with a list of DetectorSummary resources.
4248
5284
  *
4249
5285
  * This operation does not retry by default if the user has not defined a retry configuration.
4250
5286
  * @param ListDetectorsRequest
4251
5287
  * @return ListDetectorsResponse
4252
5288
  * @throws OciError when an error occurs
4253
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ListDetectors.ts.html |here} to see how to use ListDetectors API.
5289
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListDetectors.ts.html |here} to see how to use ListDetectors API.
4254
5290
  */
4255
5291
  listDetectors(listDetectorsRequest) {
4256
5292
  return __awaiter(this, void 0, void 0, function* () {
@@ -4313,13 +5349,13 @@ class CloudGuardClient {
4313
5349
  });
4314
5350
  }
4315
5351
  /**
4316
- * Returns a list of impacted resources for a Cloud Guard problem with a specified problem ID.
5352
+ * Returns a list of impacted resources for a problem identified by problemId.
4317
5353
  *
4318
5354
  * This operation does not retry by default if the user has not defined a retry configuration.
4319
5355
  * @param ListImpactedResourcesRequest
4320
5356
  * @return ListImpactedResourcesResponse
4321
5357
  * @throws OciError when an error occurs
4322
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ListImpactedResources.ts.html |here} to see how to use ListImpactedResources API.
5358
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListImpactedResources.ts.html |here} to see how to use ListImpactedResources API.
4323
5359
  */
4324
5360
  listImpactedResources(listImpactedResourcesRequest) {
4325
5361
  return __awaiter(this, void 0, void 0, function* () {
@@ -4387,7 +5423,7 @@ class CloudGuardClient {
4387
5423
  * @param ListManagedListTypesRequest
4388
5424
  * @return ListManagedListTypesResponse
4389
5425
  * @throws OciError when an error occurs
4390
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ListManagedListTypes.ts.html |here} to see how to use ListManagedListTypes API.
5426
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListManagedListTypes.ts.html |here} to see how to use ListManagedListTypes API.
4391
5427
  */
4392
5428
  listManagedListTypes(listManagedListTypesRequest) {
4393
5429
  return __awaiter(this, void 0, void 0, function* () {
@@ -4450,7 +5486,7 @@ class CloudGuardClient {
4450
5486
  });
4451
5487
  }
4452
5488
  /**
4453
- * Returns a list of all ManagedList objects in a compartment, identified by compartmentId.
5489
+ * Returns a list of all ManagedList resources in a compartment, identified by compartmentId.
4454
5490
  * The ListManagedLists operation returns only the managed lists in `compartmentId` passed.
4455
5491
  * The list does not include any subcompartments of the compartmentId passed.
4456
5492
  * <p>
@@ -4469,7 +5505,7 @@ class CloudGuardClient {
4469
5505
  * @param ListManagedListsRequest
4470
5506
  * @return ListManagedListsResponse
4471
5507
  * @throws OciError when an error occurs
4472
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ListManagedLists.ts.html |here} to see how to use ListManagedLists API.
5508
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListManagedLists.ts.html |here} to see how to use ListManagedLists API.
4473
5509
  */
4474
5510
  listManagedLists(listManagedListsRequest) {
4475
5511
  return __awaiter(this, void 0, void 0, function* () {
@@ -4543,7 +5579,7 @@ class CloudGuardClient {
4543
5579
  * @param ListPoliciesRequest
4544
5580
  * @return ListPoliciesResponse
4545
5581
  * @throws OciError when an error occurs
4546
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ListPolicies.ts.html |here} to see how to use ListPolicies API.
5582
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListPolicies.ts.html |here} to see how to use ListPolicies API.
4547
5583
  */
4548
5584
  listPolicies(listPoliciesRequest) {
4549
5585
  return __awaiter(this, void 0, void 0, function* () {
@@ -4611,7 +5647,7 @@ class CloudGuardClient {
4611
5647
  * @param ListProblemEndpointsRequest
4612
5648
  * @return ListProblemEndpointsResponse
4613
5649
  * @throws OciError when an error occurs
4614
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ListProblemEndpoints.ts.html |here} to see how to use ListProblemEndpoints API.
5650
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListProblemEndpoints.ts.html |here} to see how to use ListProblemEndpoints API.
4615
5651
  */
4616
5652
  listProblemEndpoints(listProblemEndpointsRequest) {
4617
5653
  return __awaiter(this, void 0, void 0, function* () {
@@ -4674,13 +5710,13 @@ class CloudGuardClient {
4674
5710
  });
4675
5711
  }
4676
5712
  /**
4677
- * Returns a list of entities for a CloudGuard Problem
5713
+ * Returns a list of entities for a problem.
4678
5714
  *
4679
5715
  * This operation does not retry by default if the user has not defined a retry configuration.
4680
5716
  * @param ListProblemEntitiesRequest
4681
5717
  * @return ListProblemEntitiesResponse
4682
5718
  * @throws OciError when an error occurs
4683
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ListProblemEntities.ts.html |here} to see how to use ListProblemEntities API.
5719
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListProblemEntities.ts.html |here} to see how to use ListProblemEntities API.
4684
5720
  */
4685
5721
  listProblemEntities(listProblemEntitiesRequest) {
4686
5722
  return __awaiter(this, void 0, void 0, function* () {
@@ -4743,13 +5779,13 @@ class CloudGuardClient {
4743
5779
  });
4744
5780
  }
4745
5781
  /**
4746
- * Returns a list of actions taken on a Cloud Guard problem.
5782
+ * Returns a list of actions taken on a problem.
4747
5783
  *
4748
5784
  * This operation does not retry by default if the user has not defined a retry configuration.
4749
5785
  * @param ListProblemHistoriesRequest
4750
5786
  * @return ListProblemHistoriesResponse
4751
5787
  * @throws OciError when an error occurs
4752
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ListProblemHistories.ts.html |here} to see how to use ListProblemHistories API.
5788
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListProblemHistories.ts.html |here} to see how to use ListProblemHistories API.
4753
5789
  */
4754
5790
  listProblemHistories(listProblemHistoriesRequest) {
4755
5791
  return __awaiter(this, void 0, void 0, function* () {
@@ -4833,7 +5869,7 @@ class CloudGuardClient {
4833
5869
  * @param ListProblemsRequest
4834
5870
  * @return ListProblemsResponse
4835
5871
  * @throws OciError when an error occurs
4836
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ListProblems.ts.html |here} to see how to use ListProblems API.
5872
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListProblems.ts.html |here} to see how to use ListProblems API.
4837
5873
  */
4838
5874
  listProblems(listProblemsRequest) {
4839
5875
  return __awaiter(this, void 0, void 0, function* () {
@@ -4915,13 +5951,14 @@ class CloudGuardClient {
4915
5951
  });
4916
5952
  }
4917
5953
  /**
4918
- * Returns a list of all Recommendations.
5954
+ * Returns a list of recommendations (RecommendationSummaryCollection resource with a page of
5955
+ * RecommendationSummary resources) for a specified compartment OCID.
4919
5956
  *
4920
5957
  * This operation does not retry by default if the user has not defined a retry configuration.
4921
5958
  * @param ListRecommendationsRequest
4922
5959
  * @return ListRecommendationsResponse
4923
5960
  * @throws OciError when an error occurs
4924
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ListRecommendations.ts.html |here} to see how to use ListRecommendations API.
5961
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListRecommendations.ts.html |here} to see how to use ListRecommendations API.
4925
5962
  */
4926
5963
  listRecommendations(listRecommendationsRequest) {
4927
5964
  return __awaiter(this, void 0, void 0, function* () {
@@ -4988,12 +6025,83 @@ class CloudGuardClient {
4988
6025
  });
4989
6026
  }
4990
6027
  /**
4991
- * Returns a list of endpoints for Cloud Guard resource profile
6028
+ * Returns the list of open ports associated with the resourceId where resource is an instance
6029
+ * This operation does not retry by default if the user has not defined a retry configuration.
6030
+ * @param ListResourcePortsRequest
6031
+ * @return ListResourcePortsResponse
6032
+ * @throws OciError when an error occurs
6033
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListResourcePorts.ts.html |here} to see how to use ListResourcePorts API.
6034
+ */
6035
+ listResourcePorts(listResourcePortsRequest) {
6036
+ return __awaiter(this, void 0, void 0, function* () {
6037
+ if (this.logger)
6038
+ this.logger.debug("Calling operation CloudGuardClient#listResourcePorts.");
6039
+ const operationName = "listResourcePorts";
6040
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResourcePortCollection/ListResourcePorts";
6041
+ const pathParams = {
6042
+ "{resourceId}": listResourcePortsRequest.resourceId
6043
+ };
6044
+ const queryParams = {
6045
+ "openPort": listResourcePortsRequest.openPort,
6046
+ "limit": listResourcePortsRequest.limit,
6047
+ "page": listResourcePortsRequest.page,
6048
+ "sortOrder": listResourcePortsRequest.sortOrder,
6049
+ "sortBy": listResourcePortsRequest.sortBy
6050
+ };
6051
+ let headerParams = {
6052
+ "Content-Type": common.Constants.APPLICATION_JSON,
6053
+ "opc-request-id": listResourcePortsRequest.opcRequestId
6054
+ };
6055
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
6056
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listResourcePortsRequest.retryConfiguration, specRetryConfiguration);
6057
+ if (this.logger)
6058
+ retrier.logger = this.logger;
6059
+ const request = yield oci_common_1.composeRequest({
6060
+ baseEndpoint: this._endpoint,
6061
+ defaultHeaders: this._defaultHeaders,
6062
+ path: "/resources/{resourceId}/ports",
6063
+ method: "GET",
6064
+ pathParams: pathParams,
6065
+ headerParams: headerParams,
6066
+ queryParams: queryParams
6067
+ });
6068
+ try {
6069
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
6070
+ const sdkResponse = oci_common_1.composeResponse({
6071
+ responseObject: {},
6072
+ body: yield response.json(),
6073
+ bodyKey: "resourcePortCollection",
6074
+ bodyModel: model.ResourcePortCollection,
6075
+ type: "model.ResourcePortCollection",
6076
+ responseHeaders: [
6077
+ {
6078
+ value: response.headers.get("opc-request-id"),
6079
+ key: "opcRequestId",
6080
+ dataType: "string"
6081
+ },
6082
+ {
6083
+ value: response.headers.get("opc-next-page"),
6084
+ key: "opcNextPage",
6085
+ dataType: "string"
6086
+ }
6087
+ ]
6088
+ });
6089
+ return sdkResponse;
6090
+ }
6091
+ catch (err) {
6092
+ throw err;
6093
+ }
6094
+ });
6095
+ }
6096
+ /**
6097
+ * Returns a list of endpoints (ResourceProfileEndpointCollection resource with a page of
6098
+ * ResourceProfileEndpointSummary resources) for a resource profile identified by resourceProfileId.
6099
+ *
4992
6100
  * This operation does not retry by default if the user has not defined a retry configuration.
4993
6101
  * @param ListResourceProfileEndpointsRequest
4994
6102
  * @return ListResourceProfileEndpointsResponse
4995
6103
  * @throws OciError when an error occurs
4996
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ListResourceProfileEndpoints.ts.html |here} to see how to use ListResourceProfileEndpoints API.
6104
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListResourceProfileEndpoints.ts.html |here} to see how to use ListResourceProfileEndpoints API.
4997
6105
  */
4998
6106
  listResourceProfileEndpoints(listResourceProfileEndpointsRequest) {
4999
6107
  return __awaiter(this, void 0, void 0, function* () {
@@ -5056,12 +6164,15 @@ class CloudGuardClient {
5056
6164
  });
5057
6165
  }
5058
6166
  /**
5059
- * Returns a list of impacted resources for Cloud Guard resource profile
6167
+ * Returns a list of impacted resources (ResourceProfileImpactedResourceCollection resource
6168
+ * with a page of ResourceProfileImpactedResourceSummary resources) for a resource profile
6169
+ * identified by resourceProfileId.
6170
+ *
5060
6171
  * This operation does not retry by default if the user has not defined a retry configuration.
5061
6172
  * @param ListResourceProfileImpactedResourcesRequest
5062
6173
  * @return ListResourceProfileImpactedResourcesResponse
5063
6174
  * @throws OciError when an error occurs
5064
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ListResourceProfileImpactedResources.ts.html |here} to see how to use ListResourceProfileImpactedResources API.
6175
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListResourceProfileImpactedResources.ts.html |here} to see how to use ListResourceProfileImpactedResources API.
5065
6176
  */
5066
6177
  listResourceProfileImpactedResources(listResourceProfileImpactedResourcesRequest) {
5067
6178
  return __awaiter(this, void 0, void 0, function* () {
@@ -5124,8 +6235,8 @@ class CloudGuardClient {
5124
6235
  });
5125
6236
  }
5126
6237
  /**
5127
- * Returns a list of all resource profiles identified by the Cloud Guard
5128
- * The ListResourceProfiles operation returns only resource profiles that match the passed filters.
6238
+ * Returns a list of all resource profile summaries (ResourceProfileCollection resource with a page of
6239
+ * ResourceProfileSummary resources) for a compartment, identified by compartmentId and filtered as specified.
5129
6240
  * <p>
5130
6241
  The ListResourceProfiles operation returns only the resource profiles in `compartmentId` passed.
5131
6242
  * The parameter `accessLevel` specifies whether to return only those compartments for which the
@@ -5143,7 +6254,7 @@ class CloudGuardClient {
5143
6254
  * @param ListResourceProfilesRequest
5144
6255
  * @return ListResourceProfilesResponse
5145
6256
  * @throws OciError when an error occurs
5146
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ListResourceProfiles.ts.html |here} to see how to use ListResourceProfiles API.
6257
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListResourceProfiles.ts.html |here} to see how to use ListResourceProfiles API.
5147
6258
  */
5148
6259
  listResourceProfiles(listResourceProfilesRequest) {
5149
6260
  return __awaiter(this, void 0, void 0, function* () {
@@ -5216,42 +6327,208 @@ class CloudGuardClient {
5216
6327
  });
5217
6328
  }
5218
6329
  /**
5219
- * Returns a list of resource types.
6330
+ * Returns a single ResourceTypeCollection resource, containing a list of resource types,
6331
+ * identified by parameters specified.
5220
6332
  *
5221
6333
  * This operation does not retry by default if the user has not defined a retry configuration.
5222
6334
  * @param ListResourceTypesRequest
5223
6335
  * @return ListResourceTypesResponse
5224
6336
  * @throws OciError when an error occurs
5225
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ListResourceTypes.ts.html |here} to see how to use ListResourceTypes API.
6337
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListResourceTypes.ts.html |here} to see how to use ListResourceTypes API.
5226
6338
  */
5227
6339
  listResourceTypes(listResourceTypesRequest) {
5228
6340
  return __awaiter(this, void 0, void 0, function* () {
5229
6341
  if (this.logger)
5230
- this.logger.debug("Calling operation CloudGuardClient#listResourceTypes.");
5231
- const operationName = "listResourceTypes";
5232
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResourceTypeSummary/ListResourceTypes";
6342
+ this.logger.debug("Calling operation CloudGuardClient#listResourceTypes.");
6343
+ const operationName = "listResourceTypes";
6344
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResourceTypeSummary/ListResourceTypes";
6345
+ const pathParams = {};
6346
+ const queryParams = {
6347
+ "compartmentId": listResourceTypesRequest.compartmentId,
6348
+ "detectorId": listResourceTypesRequest.detectorId,
6349
+ "lifecycleState": listResourceTypesRequest.lifecycleState,
6350
+ "limit": listResourceTypesRequest.limit,
6351
+ "page": listResourceTypesRequest.page,
6352
+ "sortOrder": listResourceTypesRequest.sortOrder,
6353
+ "sortBy": listResourceTypesRequest.sortBy
6354
+ };
6355
+ let headerParams = {
6356
+ "Content-Type": common.Constants.APPLICATION_JSON,
6357
+ "opc-request-id": listResourceTypesRequest.opcRequestId
6358
+ };
6359
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
6360
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listResourceTypesRequest.retryConfiguration, specRetryConfiguration);
6361
+ if (this.logger)
6362
+ retrier.logger = this.logger;
6363
+ const request = yield oci_common_1.composeRequest({
6364
+ baseEndpoint: this._endpoint,
6365
+ defaultHeaders: this._defaultHeaders,
6366
+ path: "/resourceTypes",
6367
+ method: "GET",
6368
+ pathParams: pathParams,
6369
+ headerParams: headerParams,
6370
+ queryParams: queryParams
6371
+ });
6372
+ try {
6373
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
6374
+ const sdkResponse = oci_common_1.composeResponse({
6375
+ responseObject: {},
6376
+ body: yield response.json(),
6377
+ bodyKey: "resourceTypeCollection",
6378
+ bodyModel: model.ResourceTypeCollection,
6379
+ type: "model.ResourceTypeCollection",
6380
+ responseHeaders: [
6381
+ {
6382
+ value: response.headers.get("opc-request-id"),
6383
+ key: "opcRequestId",
6384
+ dataType: "string"
6385
+ },
6386
+ {
6387
+ value: response.headers.get("opc-next-page"),
6388
+ key: "opcNextPage",
6389
+ dataType: "string"
6390
+ }
6391
+ ]
6392
+ });
6393
+ return sdkResponse;
6394
+ }
6395
+ catch (err) {
6396
+ throw err;
6397
+ }
6398
+ });
6399
+ }
6400
+ /**
6401
+ * Returns the list of vulnerabilities associated with the resourceId where resource is an instance
6402
+ * This operation does not retry by default if the user has not defined a retry configuration.
6403
+ * @param ListResourceVulnerabilitiesRequest
6404
+ * @return ListResourceVulnerabilitiesResponse
6405
+ * @throws OciError when an error occurs
6406
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListResourceVulnerabilities.ts.html |here} to see how to use ListResourceVulnerabilities API.
6407
+ */
6408
+ listResourceVulnerabilities(listResourceVulnerabilitiesRequest) {
6409
+ return __awaiter(this, void 0, void 0, function* () {
6410
+ if (this.logger)
6411
+ this.logger.debug("Calling operation CloudGuardClient#listResourceVulnerabilities.");
6412
+ const operationName = "listResourceVulnerabilities";
6413
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResourceVulnerabilityCollection/ListResourceVulnerabilities";
6414
+ const pathParams = {
6415
+ "{resourceId}": listResourceVulnerabilitiesRequest.resourceId
6416
+ };
6417
+ const queryParams = {
6418
+ "cveId": listResourceVulnerabilitiesRequest.cveId,
6419
+ "riskLevel": listResourceVulnerabilitiesRequest.riskLevel,
6420
+ "limit": listResourceVulnerabilitiesRequest.limit,
6421
+ "page": listResourceVulnerabilitiesRequest.page,
6422
+ "sortOrder": listResourceVulnerabilitiesRequest.sortOrder,
6423
+ "sortBy": listResourceVulnerabilitiesRequest.sortBy
6424
+ };
6425
+ let headerParams = {
6426
+ "Content-Type": common.Constants.APPLICATION_JSON,
6427
+ "opc-request-id": listResourceVulnerabilitiesRequest.opcRequestId
6428
+ };
6429
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
6430
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listResourceVulnerabilitiesRequest.retryConfiguration, specRetryConfiguration);
6431
+ if (this.logger)
6432
+ retrier.logger = this.logger;
6433
+ const request = yield oci_common_1.composeRequest({
6434
+ baseEndpoint: this._endpoint,
6435
+ defaultHeaders: this._defaultHeaders,
6436
+ path: "/resources/{resourceId}/vulnerabilities",
6437
+ method: "GET",
6438
+ pathParams: pathParams,
6439
+ headerParams: headerParams,
6440
+ queryParams: queryParams
6441
+ });
6442
+ try {
6443
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
6444
+ const sdkResponse = oci_common_1.composeResponse({
6445
+ responseObject: {},
6446
+ body: yield response.json(),
6447
+ bodyKey: "resourceVulnerabilityCollection",
6448
+ bodyModel: model.ResourceVulnerabilityCollection,
6449
+ type: "model.ResourceVulnerabilityCollection",
6450
+ responseHeaders: [
6451
+ {
6452
+ value: response.headers.get("opc-request-id"),
6453
+ key: "opcRequestId",
6454
+ dataType: "string"
6455
+ },
6456
+ {
6457
+ value: response.headers.get("opc-next-page"),
6458
+ key: "opcNextPage",
6459
+ dataType: "string"
6460
+ }
6461
+ ]
6462
+ });
6463
+ return sdkResponse;
6464
+ }
6465
+ catch (err) {
6466
+ throw err;
6467
+ }
6468
+ });
6469
+ }
6470
+ /**
6471
+ * Returns a list of all resources in a compartment
6472
+ * <p>
6473
+ The ListResources operation returns only the resources in `compartmentId` passed.
6474
+ * The list does not include any subcompartments of the compartmentId passed.
6475
+ * <p>
6476
+ The parameter `accessLevel` specifies whether to return only those compartments for which the
6477
+ * requestor has INSPECT permissions on at least one resource directly
6478
+ * or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if
6479
+ * Principal doesn't have access to even one of the child compartments. This is valid only when
6480
+ * `compartmentIdInSubtree` is set to `true`.
6481
+ * <p>
6482
+ The parameter `compartmentIdInSubtree` applies when you perform ListResources on the
6483
+ * `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned.
6484
+ * To get a full list of all compartments and subcompartments in the tenancy (root compartment),
6485
+ * set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
6486
+ *
6487
+ * This operation does not retry by default if the user has not defined a retry configuration.
6488
+ * @param ListResourcesRequest
6489
+ * @return ListResourcesResponse
6490
+ * @throws OciError when an error occurs
6491
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListResources.ts.html |here} to see how to use ListResources API.
6492
+ */
6493
+ listResources(listResourcesRequest) {
6494
+ return __awaiter(this, void 0, void 0, function* () {
6495
+ if (this.logger)
6496
+ this.logger.debug("Calling operation CloudGuardClient#listResources.");
6497
+ const operationName = "listResources";
6498
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/Resource/ListResources";
5233
6499
  const pathParams = {};
5234
6500
  const queryParams = {
5235
- "compartmentId": listResourceTypesRequest.compartmentId,
5236
- "detectorId": listResourceTypesRequest.detectorId,
5237
- "lifecycleState": listResourceTypesRequest.lifecycleState,
5238
- "limit": listResourceTypesRequest.limit,
5239
- "page": listResourceTypesRequest.page,
5240
- "sortOrder": listResourceTypesRequest.sortOrder,
5241
- "sortBy": listResourceTypesRequest.sortBy
6501
+ "compartmentId": listResourcesRequest.compartmentId,
6502
+ "targetId": listResourcesRequest.targetId,
6503
+ "region": listResourcesRequest.region,
6504
+ "cvssScore": listResourcesRequest.cvssScore,
6505
+ "cvssScoreGreaterThan": listResourcesRequest.cvssScoreGreaterThan,
6506
+ "cvssScoreLessThan": listResourcesRequest.cvssScoreLessThan,
6507
+ "cveId": listResourcesRequest.cveId,
6508
+ "riskLevel": listResourcesRequest.riskLevel,
6509
+ "riskLevelGreaterThan": listResourcesRequest.riskLevelGreaterThan,
6510
+ "riskLevelLessThan": listResourcesRequest.riskLevelLessThan,
6511
+ "detectorRuleIdList": listResourcesRequest.detectorRuleIdList,
6512
+ "detectorType": listResourcesRequest.detectorType,
6513
+ "limit": listResourcesRequest.limit,
6514
+ "page": listResourcesRequest.page,
6515
+ "compartmentIdInSubtree": listResourcesRequest.compartmentIdInSubtree,
6516
+ "accessLevel": listResourcesRequest.accessLevel,
6517
+ "sortOrder": listResourcesRequest.sortOrder,
6518
+ "sortBy": listResourcesRequest.sortBy
5242
6519
  };
5243
6520
  let headerParams = {
5244
6521
  "Content-Type": common.Constants.APPLICATION_JSON,
5245
- "opc-request-id": listResourceTypesRequest.opcRequestId
6522
+ "opc-request-id": listResourcesRequest.opcRequestId
5246
6523
  };
5247
6524
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
5248
- const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listResourceTypesRequest.retryConfiguration, specRetryConfiguration);
6525
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listResourcesRequest.retryConfiguration, specRetryConfiguration);
5249
6526
  if (this.logger)
5250
6527
  retrier.logger = this.logger;
5251
6528
  const request = yield oci_common_1.composeRequest({
5252
6529
  baseEndpoint: this._endpoint,
5253
6530
  defaultHeaders: this._defaultHeaders,
5254
- path: "/resourceTypes",
6531
+ path: "/resources",
5255
6532
  method: "GET",
5256
6533
  pathParams: pathParams,
5257
6534
  headerParams: headerParams,
@@ -5262,9 +6539,9 @@ class CloudGuardClient {
5262
6539
  const sdkResponse = oci_common_1.composeResponse({
5263
6540
  responseObject: {},
5264
6541
  body: yield response.json(),
5265
- bodyKey: "resourceTypeCollection",
5266
- bodyModel: model.ResourceTypeCollection,
5267
- type: "model.ResourceTypeCollection",
6542
+ bodyKey: "resourceCollection",
6543
+ bodyModel: model.ResourceCollection,
6544
+ type: "model.ResourceCollection",
5268
6545
  responseHeaders: [
5269
6546
  {
5270
6547
  value: response.headers.get("opc-request-id"),
@@ -5286,13 +6563,14 @@ class CloudGuardClient {
5286
6563
  });
5287
6564
  }
5288
6565
  /**
5289
- * Returns a list of Responder activities done on CloudGuard Problem
6566
+ * Returns a list of responder activities for a problem, identified by problemId, in a
6567
+ * ResponderActivityCollection resource, with a page of ResponderActivitySummary resources.
5290
6568
  *
5291
6569
  * This operation does not retry by default if the user has not defined a retry configuration.
5292
6570
  * @param ListResponderActivitiesRequest
5293
6571
  * @return ListResponderActivitiesResponse
5294
6572
  * @throws OciError when an error occurs
5295
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ListResponderActivities.ts.html |here} to see how to use ListResponderActivities API.
6573
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListResponderActivities.ts.html |here} to see how to use ListResponderActivities API.
5296
6574
  */
5297
6575
  listResponderActivities(listResponderActivitiesRequest) {
5298
6576
  return __awaiter(this, void 0, void 0, function* () {
@@ -5355,13 +6633,14 @@ class CloudGuardClient {
5355
6633
  });
5356
6634
  }
5357
6635
  /**
5358
- * Returns a list of Responder Executions. A Responder Execution is an entity that tracks the collective execution of multiple Responder Rule Executions for a given Problem.
6636
+ * Returns a list of responder executions. A responder execution is an entity that tracks
6637
+ * the collective execution of multiple responder rule executions for a given problem.
5359
6638
  *
5360
6639
  * This operation does not retry by default if the user has not defined a retry configuration.
5361
6640
  * @param ListResponderExecutionsRequest
5362
6641
  * @return ListResponderExecutionsResponse
5363
6642
  * @throws OciError when an error occurs
5364
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ListResponderExecutions.ts.html |here} to see how to use ListResponderExecutions API.
6643
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListResponderExecutions.ts.html |here} to see how to use ListResponderExecutions API.
5365
6644
  */
5366
6645
  listResponderExecutions(listResponderExecutionsRequest) {
5367
6646
  return __awaiter(this, void 0, void 0, function* () {
@@ -5435,13 +6714,15 @@ class CloudGuardClient {
5435
6714
  });
5436
6715
  }
5437
6716
  /**
5438
- * Returns a list of ResponderRule associated with ResponderRecipe.
6717
+ * Returns a list of responder rules (ResponderRule resources in a
6718
+ * responderRecipeResponderRuleCollection resource, with page of ResponderRuleSummary resources),
6719
+ * for a responder recipe (ResponderRecipe resource), identified by responderRecipeId.
5439
6720
  *
5440
6721
  * This operation does not retry by default if the user has not defined a retry configuration.
5441
6722
  * @param ListResponderRecipeResponderRulesRequest
5442
6723
  * @return ListResponderRecipeResponderRulesResponse
5443
6724
  * @throws OciError when an error occurs
5444
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ListResponderRecipeResponderRules.ts.html |here} to see how to use ListResponderRecipeResponderRules API.
6725
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListResponderRecipeResponderRules.ts.html |here} to see how to use ListResponderRecipeResponderRules API.
5445
6726
  */
5446
6727
  listResponderRecipeResponderRules(listResponderRecipeResponderRulesRequest) {
5447
6728
  return __awaiter(this, void 0, void 0, function* () {
@@ -5507,7 +6788,8 @@ class CloudGuardClient {
5507
6788
  });
5508
6789
  }
5509
6790
  /**
5510
- * Returns a list of all ResponderRecipes in a compartment
6791
+ * Returns a list (ResponderRecipeCollection resource, with a page of ResponderRecipeSummary resources)
6792
+ * of all responder recipes (RespponderRecipe resources) in a compartment, identified by compartmentId.
5511
6793
  * The ListResponderRecipe operation returns only the targets in `compartmentId` passed.
5512
6794
  * The list does not include any subcompartments of the compartmentId passed.
5513
6795
  * <p>
@@ -5526,7 +6808,7 @@ class CloudGuardClient {
5526
6808
  * @param ListResponderRecipesRequest
5527
6809
  * @return ListResponderRecipesResponse
5528
6810
  * @throws OciError when an error occurs
5529
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ListResponderRecipes.ts.html |here} to see how to use ListResponderRecipes API.
6811
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListResponderRecipes.ts.html |here} to see how to use ListResponderRecipes API.
5530
6812
  */
5531
6813
  listResponderRecipes(listResponderRecipesRequest) {
5532
6814
  return __awaiter(this, void 0, void 0, function* () {
@@ -5593,13 +6875,15 @@ class CloudGuardClient {
5593
6875
  });
5594
6876
  }
5595
6877
  /**
5596
- * Returns a list of ResponderRule.
6878
+ * Returns a list of responder rules for the ResponderRecipe resource
6879
+ * identified by responderId. The list is contained in a ResponderRuleCollection
6880
+ * resource with a page of ResponderRuleSummary resources.
5597
6881
  *
5598
6882
  * This operation does not retry by default if the user has not defined a retry configuration.
5599
6883
  * @param ListResponderRulesRequest
5600
6884
  * @return ListResponderRulesResponse
5601
6885
  * @throws OciError when an error occurs
5602
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ListResponderRules.ts.html |here} to see how to use ListResponderRules API.
6886
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListResponderRules.ts.html |here} to see how to use ListResponderRules API.
5603
6887
  */
5604
6888
  listResponderRules(listResponderRulesRequest) {
5605
6889
  return __awaiter(this, void 0, void 0, function* () {
@@ -5663,13 +6947,85 @@ class CloudGuardClient {
5663
6947
  });
5664
6948
  }
5665
6949
  /**
5666
- * Returns a list of security zone policies. Specify any compartment.
6950
+ * Returns a list of saved queries run in a tenancy.
6951
+ *
6952
+ * This operation does not retry by default if the user has not defined a retry configuration.
6953
+ * @param ListSavedQueriesRequest
6954
+ * @return ListSavedQueriesResponse
6955
+ * @throws OciError when an error occurs
6956
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListSavedQueries.ts.html |here} to see how to use ListSavedQueries API.
6957
+ */
6958
+ listSavedQueries(listSavedQueriesRequest) {
6959
+ return __awaiter(this, void 0, void 0, function* () {
6960
+ if (this.logger)
6961
+ this.logger.debug("Calling operation CloudGuardClient#listSavedQueries.");
6962
+ const operationName = "listSavedQueries";
6963
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SavedQuery/ListSavedQueries";
6964
+ const pathParams = {};
6965
+ const queryParams = {
6966
+ "compartmentId": listSavedQueriesRequest.compartmentId,
6967
+ "displayName": listSavedQueriesRequest.displayName,
6968
+ "limit": listSavedQueriesRequest.limit,
6969
+ "page": listSavedQueriesRequest.page,
6970
+ "compartmentIdInSubtree": listSavedQueriesRequest.compartmentIdInSubtree,
6971
+ "accessLevel": listSavedQueriesRequest.accessLevel,
6972
+ "sortOrder": listSavedQueriesRequest.sortOrder,
6973
+ "sortBy": listSavedQueriesRequest.sortBy
6974
+ };
6975
+ let headerParams = {
6976
+ "Content-Type": common.Constants.APPLICATION_JSON,
6977
+ "opc-request-id": listSavedQueriesRequest.opcRequestId
6978
+ };
6979
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
6980
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSavedQueriesRequest.retryConfiguration, specRetryConfiguration);
6981
+ if (this.logger)
6982
+ retrier.logger = this.logger;
6983
+ const request = yield oci_common_1.composeRequest({
6984
+ baseEndpoint: this._endpoint,
6985
+ defaultHeaders: this._defaultHeaders,
6986
+ path: "/savedQueries",
6987
+ method: "GET",
6988
+ pathParams: pathParams,
6989
+ headerParams: headerParams,
6990
+ queryParams: queryParams
6991
+ });
6992
+ try {
6993
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
6994
+ const sdkResponse = oci_common_1.composeResponse({
6995
+ responseObject: {},
6996
+ body: yield response.json(),
6997
+ bodyKey: "savedQueryCollection",
6998
+ bodyModel: model.SavedQueryCollection,
6999
+ type: "model.SavedQueryCollection",
7000
+ responseHeaders: [
7001
+ {
7002
+ value: response.headers.get("opc-request-id"),
7003
+ key: "opcRequestId",
7004
+ dataType: "string"
7005
+ },
7006
+ {
7007
+ value: response.headers.get("opc-next-page"),
7008
+ key: "opcNextPage",
7009
+ dataType: "string"
7010
+ }
7011
+ ]
7012
+ });
7013
+ return sdkResponse;
7014
+ }
7015
+ catch (err) {
7016
+ throw err;
7017
+ }
7018
+ });
7019
+ }
7020
+ /**
7021
+ * Returns a list of security zone policies (SecurityPolicySummary resources),
7022
+ * identified by compartmentId.
5667
7023
  *
5668
7024
  * This operation does not retry by default if the user has not defined a retry configuration.
5669
7025
  * @param ListSecurityPoliciesRequest
5670
7026
  * @return ListSecurityPoliciesResponse
5671
7027
  * @throws OciError when an error occurs
5672
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ListSecurityPolicies.ts.html |here} to see how to use ListSecurityPolicies API.
7028
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListSecurityPolicies.ts.html |here} to see how to use ListSecurityPolicies API.
5673
7029
  */
5674
7030
  listSecurityPolicies(listSecurityPoliciesRequest) {
5675
7031
  return __awaiter(this, void 0, void 0, function* () {
@@ -5734,13 +7090,14 @@ class CloudGuardClient {
5734
7090
  });
5735
7091
  }
5736
7092
  /**
5737
- * Gets a list of all security zone recipes in a compartment.
7093
+ * Returns a list of security zone recipes (SecurityRecipeSummary resources) in a
7094
+ * compartment, identified by compartmentId.
5738
7095
  *
5739
7096
  * This operation does not retry by default if the user has not defined a retry configuration.
5740
7097
  * @param ListSecurityRecipesRequest
5741
7098
  * @return ListSecurityRecipesResponse
5742
7099
  * @throws OciError when an error occurs
5743
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ListSecurityRecipes.ts.html |here} to see how to use ListSecurityRecipes API.
7100
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListSecurityRecipes.ts.html |here} to see how to use ListSecurityRecipes API.
5744
7101
  */
5745
7102
  listSecurityRecipes(listSecurityRecipesRequest) {
5746
7103
  return __awaiter(this, void 0, void 0, function* () {
@@ -5805,13 +7162,14 @@ class CloudGuardClient {
5805
7162
  });
5806
7163
  }
5807
7164
  /**
5808
- * Gets a list of all security zones in a compartment.
7165
+ * Returns a list of security zones (SecurityZone resources) in a compartment identified by
7166
+ * compartmentId. List is contained in a page of SecurityZoneSummary resources.
5809
7167
  *
5810
7168
  * This operation does not retry by default if the user has not defined a retry configuration.
5811
7169
  * @param ListSecurityZonesRequest
5812
7170
  * @return ListSecurityZonesResponse
5813
7171
  * @throws OciError when an error occurs
5814
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ListSecurityZones.ts.html |here} to see how to use ListSecurityZones API.
7172
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListSecurityZones.ts.html |here} to see how to use ListSecurityZones API.
5815
7173
  */
5816
7174
  listSecurityZones(listSecurityZonesRequest) {
5817
7175
  return __awaiter(this, void 0, void 0, function* () {
@@ -5878,12 +7236,15 @@ class CloudGuardClient {
5878
7236
  });
5879
7237
  }
5880
7238
  /**
5881
- * Returns Sighting endpoints details
7239
+ * Returns sighting endpoints details in a
7240
+ * SightingEndpointsCollection resource
7241
+ * with a page of SightingEndpointSummary resources.
7242
+ *
5882
7243
  * This operation does not retry by default if the user has not defined a retry configuration.
5883
7244
  * @param ListSightingEndpointsRequest
5884
7245
  * @return ListSightingEndpointsResponse
5885
7246
  * @throws OciError when an error occurs
5886
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ListSightingEndpoints.ts.html |here} to see how to use ListSightingEndpoints API.
7247
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListSightingEndpoints.ts.html |here} to see how to use ListSightingEndpoints API.
5887
7248
  */
5888
7249
  listSightingEndpoints(listSightingEndpointsRequest) {
5889
7250
  return __awaiter(this, void 0, void 0, function* () {
@@ -5946,12 +7307,14 @@ class CloudGuardClient {
5946
7307
  });
5947
7308
  }
5948
7309
  /**
5949
- * Return a list of Impacted Resources for a CloudGuard Sighting
7310
+ * Returns a list of impacted resources for a sighting, identified by sightingId, in a
7311
+ * SightingImpactedResourceCollection resource with a page of SightingImpactedResourceSummary resources.
7312
+ *
5950
7313
  * This operation does not retry by default if the user has not defined a retry configuration.
5951
7314
  * @param ListSightingImpactedResourcesRequest
5952
7315
  * @return ListSightingImpactedResourcesResponse
5953
7316
  * @throws OciError when an error occurs
5954
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ListSightingImpactedResources.ts.html |here} to see how to use ListSightingImpactedResources API.
7317
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListSightingImpactedResources.ts.html |here} to see how to use ListSightingImpactedResources API.
5955
7318
  */
5956
7319
  listSightingImpactedResources(listSightingImpactedResourcesRequest) {
5957
7320
  return __awaiter(this, void 0, void 0, function* () {
@@ -6014,8 +7377,8 @@ class CloudGuardClient {
6014
7377
  });
6015
7378
  }
6016
7379
  /**
6017
- * Returns a list of all Sightings identified by the Cloud Guard
6018
- * The ListSightings operation returns only sightings that match the passed filters.
7380
+ * For the parameters passed, returns a list of sightings
7381
+ * (SightingCollection resource) with a page of SightingSummary resources.
6019
7382
  * <p>
6020
7383
  The parameter `accessLevel` specifies whether to return only those compartments for which the
6021
7384
  * requestor has INSPECT permissions on at least one resource directly
@@ -6032,7 +7395,7 @@ class CloudGuardClient {
6032
7395
  * @param ListSightingsRequest
6033
7396
  * @return ListSightingsResponse
6034
7397
  * @throws OciError when an error occurs
6035
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ListSightings.ts.html |here} to see how to use ListSightings API.
7398
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListSightings.ts.html |here} to see how to use ListSightings API.
6036
7399
  */
6037
7400
  listSightings(listSightingsRequest) {
6038
7401
  return __awaiter(this, void 0, void 0, function* () {
@@ -6100,13 +7463,12 @@ class CloudGuardClient {
6100
7463
  });
6101
7464
  }
6102
7465
  /**
6103
- * Returns a list of tactics associated with detector rules.
6104
- *
7466
+ * Returns a list of TacticSummary resources for a compartment, identified by compartmentId.
6105
7467
  * This operation does not retry by default if the user has not defined a retry configuration.
6106
7468
  * @param ListTacticsRequest
6107
7469
  * @return ListTacticsResponse
6108
7470
  * @throws OciError when an error occurs
6109
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ListTactics.ts.html |here} to see how to use ListTactics API.
7471
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListTactics.ts.html |here} to see how to use ListTactics API.
6110
7472
  */
6111
7473
  listTactics(listTacticsRequest) {
6112
7474
  return __awaiter(this, void 0, void 0, function* () {
@@ -6175,7 +7537,7 @@ class CloudGuardClient {
6175
7537
  * @param ListTargetDetectorRecipeDetectorRulesRequest
6176
7538
  * @return ListTargetDetectorRecipeDetectorRulesResponse
6177
7539
  * @throws OciError when an error occurs
6178
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ListTargetDetectorRecipeDetectorRules.ts.html |here} to see how to use ListTargetDetectorRecipeDetectorRules API.
7540
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListTargetDetectorRecipeDetectorRules.ts.html |here} to see how to use ListTargetDetectorRecipeDetectorRules API.
6179
7541
  */
6180
7542
  listTargetDetectorRecipeDetectorRules(listTargetDetectorRecipeDetectorRulesRequest) {
6181
7543
  return __awaiter(this, void 0, void 0, function* () {
@@ -6242,12 +7604,15 @@ class CloudGuardClient {
6242
7604
  });
6243
7605
  }
6244
7606
  /**
6245
- * Returns a list of all detector recipes associated with the target identified by targetId
7607
+ * Returns a list of all target detector recipes (TargetDetectorRecipe resources)
7608
+ * associated with a target (Target resource), identified by targetId. The list is contained
7609
+ * in a TargetDetectorRecipeCollection resource with page of TargetDetectorRecipeSummary resources.
7610
+ *
6246
7611
  * This operation does not retry by default if the user has not defined a retry configuration.
6247
7612
  * @param ListTargetDetectorRecipesRequest
6248
7613
  * @return ListTargetDetectorRecipesResponse
6249
7614
  * @throws OciError when an error occurs
6250
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ListTargetDetectorRecipes.ts.html |here} to see how to use ListTargetDetectorRecipes API.
7615
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListTargetDetectorRecipes.ts.html |here} to see how to use ListTargetDetectorRecipes API.
6251
7616
  */
6252
7617
  listTargetDetectorRecipes(listTargetDetectorRecipesRequest) {
6253
7618
  return __awaiter(this, void 0, void 0, function* () {
@@ -6313,13 +7678,16 @@ class CloudGuardClient {
6313
7678
  });
6314
7679
  }
6315
7680
  /**
6316
- * Returns a list of ResponderRule associated with ResponderRecipe within a Target.
7681
+ * Returns a list of responder rules (ResponderRule resources) associated with a
7682
+ * responder recipe (ResponderRecipe resource) attached to a Target.
7683
+ * List is returned in a TargetResponderRecipeResponderRuleCollection resource
7684
+ * with page of TargetResponderRecipeResponderRuleSummary resources.
6317
7685
  *
6318
7686
  * This operation does not retry by default if the user has not defined a retry configuration.
6319
7687
  * @param ListTargetResponderRecipeResponderRulesRequest
6320
7688
  * @return ListTargetResponderRecipeResponderRulesResponse
6321
7689
  * @throws OciError when an error occurs
6322
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ListTargetResponderRecipeResponderRules.ts.html |here} to see how to use ListTargetResponderRecipeResponderRules API.
7690
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListTargetResponderRecipeResponderRules.ts.html |here} to see how to use ListTargetResponderRecipeResponderRules API.
6323
7691
  */
6324
7692
  listTargetResponderRecipeResponderRules(listTargetResponderRecipeResponderRulesRequest) {
6325
7693
  return __awaiter(this, void 0, void 0, function* () {
@@ -6386,12 +7754,15 @@ class CloudGuardClient {
6386
7754
  });
6387
7755
  }
6388
7756
  /**
6389
- * Returns a list of all responder recipes associated with the target identified by targetId
7757
+ * Returns a list of summary information for all responder recipes
7758
+ * (TargetResponderRecipeCollection resource, with a page of TargetResponderRecipeSummary resources)
7759
+ * attached to a target identified by targetId, located in a compartment identified by compartmentId.
7760
+ *
6390
7761
  * This operation does not retry by default if the user has not defined a retry configuration.
6391
7762
  * @param ListTargetResponderRecipesRequest
6392
7763
  * @return ListTargetResponderRecipesResponse
6393
7764
  * @throws OciError when an error occurs
6394
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ListTargetResponderRecipes.ts.html |here} to see how to use ListTargetResponderRecipes API.
7765
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListTargetResponderRecipes.ts.html |here} to see how to use ListTargetResponderRecipes API.
6395
7766
  */
6396
7767
  listTargetResponderRecipes(listTargetResponderRecipesRequest) {
6397
7768
  return __awaiter(this, void 0, void 0, function* () {
@@ -6457,9 +7828,10 @@ class CloudGuardClient {
6457
7828
  });
6458
7829
  }
6459
7830
  /**
6460
- * Returns a list of all Targets in a compartment
6461
- * The ListTargets operation returns only the targets in `compartmentId` passed.
6462
- * The list does not include any subcompartments of the compartmentId passed.
7831
+ * Returns a list of targets (TargetCollection resource with page of TargetSummary
7832
+ * resources) for the target identified by compartmentId. By default, only the target
7833
+ * associated with the compartment is returned. Setting compartmentIdInSubtree to true
7834
+ * returns the entire hierarchy of targets in subcompartments.
6463
7835
  * <p>
6464
7836
  The parameter `accessLevel` specifies whether to return only those compartments for which the
6465
7837
  * requestor has INSPECT permissions on at least one resource directly
@@ -6469,14 +7841,14 @@ class CloudGuardClient {
6469
7841
  * <p>
6470
7842
  The parameter `compartmentIdInSubtree` applies when you perform ListTargets on the
6471
7843
  * `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned.
6472
- * To get a full list of all compartments and subcompartments in the tenancy (root compartment),
7844
+ * To get a full list of all targets in compartments and subcompartments in the tenancy (root compartment),
6473
7845
  * set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
6474
7846
  *
6475
7847
  * This operation does not retry by default if the user has not defined a retry configuration.
6476
7848
  * @param ListTargetsRequest
6477
7849
  * @return ListTargetsResponse
6478
7850
  * @throws OciError when an error occurs
6479
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ListTargets.ts.html |here} to see how to use ListTargets API.
7851
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListTargets.ts.html |here} to see how to use ListTargets API.
6480
7852
  */
6481
7853
  listTargets(listTargetsRequest) {
6482
7854
  return __awaiter(this, void 0, void 0, function* () {
@@ -6549,7 +7921,7 @@ class CloudGuardClient {
6549
7921
  * @param ListTechniquesRequest
6550
7922
  * @return ListTechniquesResponse
6551
7923
  * @throws OciError when an error occurs
6552
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ListTechniques.ts.html |here} to see how to use ListTechniques API.
7924
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListTechniques.ts.html |here} to see how to use ListTechniques API.
6553
7925
  */
6554
7926
  listTechniques(listTechniquesRequest) {
6555
7927
  return __awaiter(this, void 0, void 0, function* () {
@@ -6613,12 +7985,82 @@ class CloudGuardClient {
6613
7985
  });
6614
7986
  }
6615
7987
  /**
6616
- * Return a (paginated) list of errors for a given work request.
7988
+ * Returns a list of WLP agents in a compartment.
7989
+ *
7990
+ * This operation does not retry by default if the user has not defined a retry configuration.
7991
+ * @param ListWlpAgentsRequest
7992
+ * @return ListWlpAgentsResponse
7993
+ * @throws OciError when an error occurs
7994
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListWlpAgents.ts.html |here} to see how to use ListWlpAgents API.
7995
+ */
7996
+ listWlpAgents(listWlpAgentsRequest) {
7997
+ return __awaiter(this, void 0, void 0, function* () {
7998
+ if (this.logger)
7999
+ this.logger.debug("Calling operation CloudGuardClient#listWlpAgents.");
8000
+ const operationName = "listWlpAgents";
8001
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/WlpAgent/ListWlpAgents";
8002
+ const pathParams = {};
8003
+ const queryParams = {
8004
+ "compartmentId": listWlpAgentsRequest.compartmentId,
8005
+ "limit": listWlpAgentsRequest.limit,
8006
+ "page": listWlpAgentsRequest.page,
8007
+ "sortOrder": listWlpAgentsRequest.sortOrder,
8008
+ "sortBy": listWlpAgentsRequest.sortBy
8009
+ };
8010
+ let headerParams = {
8011
+ "Content-Type": common.Constants.APPLICATION_JSON,
8012
+ "opc-request-id": listWlpAgentsRequest.opcRequestId
8013
+ };
8014
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
8015
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWlpAgentsRequest.retryConfiguration, specRetryConfiguration);
8016
+ if (this.logger)
8017
+ retrier.logger = this.logger;
8018
+ const request = yield oci_common_1.composeRequest({
8019
+ baseEndpoint: this._endpoint,
8020
+ defaultHeaders: this._defaultHeaders,
8021
+ path: "/wlpAgents",
8022
+ method: "GET",
8023
+ pathParams: pathParams,
8024
+ headerParams: headerParams,
8025
+ queryParams: queryParams
8026
+ });
8027
+ try {
8028
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
8029
+ const sdkResponse = oci_common_1.composeResponse({
8030
+ responseObject: {},
8031
+ body: yield response.json(),
8032
+ bodyKey: "wlpAgentCollection",
8033
+ bodyModel: model.WlpAgentCollection,
8034
+ type: "model.WlpAgentCollection",
8035
+ responseHeaders: [
8036
+ {
8037
+ value: response.headers.get("opc-request-id"),
8038
+ key: "opcRequestId",
8039
+ dataType: "string"
8040
+ },
8041
+ {
8042
+ value: response.headers.get("opc-next-page"),
8043
+ key: "opcNextPage",
8044
+ dataType: "string"
8045
+ }
8046
+ ]
8047
+ });
8048
+ return sdkResponse;
8049
+ }
8050
+ catch (err) {
8051
+ throw err;
8052
+ }
8053
+ });
8054
+ }
8055
+ /**
8056
+ * Returns a list of errors for a work request
8057
+ * identified by workRequestId.
8058
+ *
6617
8059
  * This operation does not retry by default if the user has not defined a retry configuration.
6618
8060
  * @param ListWorkRequestErrorsRequest
6619
8061
  * @return ListWorkRequestErrorsResponse
6620
8062
  * @throws OciError when an error occurs
6621
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
8063
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
6622
8064
  */
6623
8065
  listWorkRequestErrors(listWorkRequestErrorsRequest) {
6624
8066
  return __awaiter(this, void 0, void 0, function* () {
@@ -6681,12 +8123,14 @@ class CloudGuardClient {
6681
8123
  });
6682
8124
  }
6683
8125
  /**
6684
- * Return a (paginated) list of logs for a given work request.
8126
+ * Returns a paginated list (WorkRequestLogEntryCollection resource)
8127
+ * of log entries for a request, identified by workRequestId.
8128
+ *
6685
8129
  * This operation does not retry by default if the user has not defined a retry configuration.
6686
8130
  * @param ListWorkRequestLogsRequest
6687
8131
  * @return ListWorkRequestLogsResponse
6688
8132
  * @throws OciError when an error occurs
6689
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
8133
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
6690
8134
  */
6691
8135
  listWorkRequestLogs(listWorkRequestLogsRequest) {
6692
8136
  return __awaiter(this, void 0, void 0, function* () {
@@ -6749,12 +8193,14 @@ class CloudGuardClient {
6749
8193
  });
6750
8194
  }
6751
8195
  /**
6752
- * Lists the work requests in a compartment.
8196
+ * Returns a list of work requests (WorkRequestSummaryCollection resource),
8197
+ * in a compartment identified by compartmentId.
8198
+ *
6753
8199
  * This operation does not retry by default if the user has not defined a retry configuration.
6754
8200
  * @param ListWorkRequestsRequest
6755
8201
  * @return ListWorkRequestsResponse
6756
8202
  * @throws OciError when an error occurs
6757
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
8203
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
6758
8204
  */
6759
8205
  listWorkRequests(listWorkRequestsRequest) {
6760
8206
  return __awaiter(this, void 0, void 0, function* () {
@@ -6818,12 +8264,16 @@ class CloudGuardClient {
6818
8264
  });
6819
8265
  }
6820
8266
  /**
6821
- * Removes an existing compartment from a security zone. When you remove a subcompartment from a security zone, it no longer enforces security zone policies on the resources in the subcompartment. You can't remove the primary compartment that was used to create the security zone.
8267
+ * Removes a compartment from a security zone (SecurityZone resource), identified by securityZoneId.
8268
+ * Pass compartmentId of compartment to remove through a RemoveCompartmentDetails resource. When you remove a
8269
+ * subcompartment from a security zone, it no longer enforces security zone policies on the resources in the
8270
+ * subcompartment. You can't remove the primary compartment that was used to create the security zone.
8271
+ *
6822
8272
  * This operation does not retry by default if the user has not defined a retry configuration.
6823
8273
  * @param RemoveCompartmentRequest
6824
8274
  * @return RemoveCompartmentResponse
6825
8275
  * @throws OciError when an error occurs
6826
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/RemoveCompartment.ts.html |here} to see how to use RemoveCompartment API.
8276
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/RemoveCompartment.ts.html |here} to see how to use RemoveCompartment API.
6827
8277
  */
6828
8278
  removeCompartment(removeCompartmentRequest) {
6829
8279
  return __awaiter(this, void 0, void 0, function* () {
@@ -6884,13 +8334,14 @@ class CloudGuardClient {
6884
8334
  });
6885
8335
  }
6886
8336
  /**
6887
- * Examines the number of problems related to the resource and the relative severity of those problems.
8337
+ * Returns a page of RiskScoreAggregation resources for a compartment,
8338
+ * identified by compartmentId.
6888
8339
  *
6889
8340
  * This operation does not retry by default if the user has not defined a retry configuration.
6890
8341
  * @param RequestRiskScoresRequest
6891
8342
  * @return RequestRiskScoresResponse
6892
8343
  * @throws OciError when an error occurs
6893
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/RequestRiskScores.ts.html |here} to see how to use RequestRiskScores API.
8344
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/RequestRiskScores.ts.html |here} to see how to use RequestRiskScores API.
6894
8345
  */
6895
8346
  requestRiskScores(requestRiskScoresRequest) {
6896
8347
  return __awaiter(this, void 0, void 0, function* () {
@@ -6950,14 +8401,14 @@ class CloudGuardClient {
6950
8401
  });
6951
8402
  }
6952
8403
  /**
6953
- * Measures the number of resources examined across all regions and compares it with the
6954
- * number of problems detected, for a given time period.
8404
+ * Returns a page of SecurityScoreTrendAggregation resources. These measure the number
8405
+ * of resources examined across all regions and compare it with the number of problems detected.
6955
8406
  *
6956
8407
  * This operation does not retry by default if the user has not defined a retry configuration.
6957
8408
  * @param RequestSecurityScoreSummarizedTrendRequest
6958
8409
  * @return RequestSecurityScoreSummarizedTrendResponse
6959
8410
  * @throws OciError when an error occurs
6960
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/RequestSecurityScoreSummarizedTrend.ts.html |here} to see how to use RequestSecurityScoreSummarizedTrend API.
8411
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/RequestSecurityScoreSummarizedTrend.ts.html |here} to see how to use RequestSecurityScoreSummarizedTrend API.
6961
8412
  */
6962
8413
  requestSecurityScoreSummarizedTrend(requestSecurityScoreSummarizedTrendRequest) {
6963
8414
  return __awaiter(this, void 0, void 0, function* () {
@@ -7019,13 +8470,14 @@ class CloudGuardClient {
7019
8470
  });
7020
8471
  }
7021
8472
  /**
7022
- * Measures the number of resources examined across all regions and compares it with the number of problems detected.
8473
+ * Returns a page of SecurityScoreAggregation resources. These measure the number
8474
+ * of resources examined across all regions and compare it with the number of problems detected.
7023
8475
  *
7024
8476
  * This operation does not retry by default if the user has not defined a retry configuration.
7025
8477
  * @param RequestSecurityScoresRequest
7026
8478
  * @return RequestSecurityScoresResponse
7027
8479
  * @throws OciError when an error occurs
7028
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/RequestSecurityScores.ts.html |here} to see how to use RequestSecurityScores API.
8480
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/RequestSecurityScores.ts.html |here} to see how to use RequestSecurityScores API.
7029
8481
  */
7030
8482
  requestSecurityScores(requestSecurityScoresRequest) {
7031
8483
  return __awaiter(this, void 0, void 0, function* () {
@@ -7105,7 +8557,7 @@ class CloudGuardClient {
7105
8557
  * @param RequestSummarizedActivityProblemsRequest
7106
8558
  * @return RequestSummarizedActivityProblemsResponse
7107
8559
  * @throws OciError when an error occurs
7108
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/RequestSummarizedActivityProblems.ts.html |here} to see how to use RequestSummarizedActivityProblems API.
8560
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/RequestSummarizedActivityProblems.ts.html |here} to see how to use RequestSummarizedActivityProblems API.
7109
8561
  */
7110
8562
  requestSummarizedActivityProblems(requestSummarizedActivityProblemsRequest) {
7111
8563
  return __awaiter(this, void 0, void 0, function* () {
@@ -7185,7 +8637,7 @@ class CloudGuardClient {
7185
8637
  * @param RequestSummarizedProblemsRequest
7186
8638
  * @return RequestSummarizedProblemsResponse
7187
8639
  * @throws OciError when an error occurs
7188
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/RequestSummarizedProblems.ts.html |here} to see how to use RequestSummarizedProblems API.
8640
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/RequestSummarizedProblems.ts.html |here} to see how to use RequestSummarizedProblems API.
7189
8641
  */
7190
8642
  requestSummarizedProblems(requestSummarizedProblemsRequest) {
7191
8643
  return __awaiter(this, void 0, void 0, function* () {
@@ -7248,24 +8700,24 @@ class CloudGuardClient {
7248
8700
  });
7249
8701
  }
7250
8702
  /**
7251
- * Returns the number of Responder Executions, for a given set of dimensions.
8703
+ * Returns the number of responder executions, identified by parameters specified, in a page of
8704
+ * ResponderExecutionAggregation resources.
7252
8705
  * <p>
7253
- The parameter `accessLevel` specifies whether to return only those compartments for which the
7254
- * requestor has INSPECT permissions on at least one resource directly
7255
- * or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if
7256
- * Principal doesn't have access to even one of the child compartments. This is valid only when
7257
- * `compartmentIdInSubtree` is set to `true`.
8706
+ Setting accessLevel to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions,
8707
+ * directly or indirectly (permissions can be on a resource in a subcompartment). \u201CNot Authorized\u201D is returned
8708
+ * if user doesn't have access to at least one of the child compartments. When accessLevel is set to RESTRICTED,
8709
+ * permissions are checked and no partial results are displayed. This is valid only when compartmentIdInSubtree is set to true.
7258
8710
  * <p>
7259
- The parameter `compartmentIdInSubtree` applies when you perform summarize API on the
7260
- * `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned.
7261
- * To get a full list of all compartments and subcompartments in the tenancy (root compartment),
7262
- * set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
8711
+ Setting accessLevel to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions, directly or
8712
+ * indirectly (permissions can be on a resource in a subcompartment). \u201CNot Authorized\u201D is returned if user doesn't have
8713
+ * access to at least one of the child compartments. When accessLevel is set to RESTRICTED, permissions are checked
8714
+ * and no partial results are displayed. This is valid only when compartmentIdInSubtree is set to true.
7263
8715
  *
7264
8716
  * This operation does not retry by default if the user has not defined a retry configuration.
7265
8717
  * @param RequestSummarizedResponderExecutionsRequest
7266
8718
  * @return RequestSummarizedResponderExecutionsResponse
7267
8719
  * @throws OciError when an error occurs
7268
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/RequestSummarizedResponderExecutions.ts.html |here} to see how to use RequestSummarizedResponderExecutions API.
8720
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/RequestSummarizedResponderExecutions.ts.html |here} to see how to use RequestSummarizedResponderExecutions API.
7269
8721
  */
7270
8722
  requestSummarizedResponderExecutions(requestSummarizedResponderExecutionsRequest) {
7271
8723
  return __awaiter(this, void 0, void 0, function* () {
@@ -7336,7 +8788,7 @@ class CloudGuardClient {
7336
8788
  * @param RequestSummarizedRiskScoresRequest
7337
8789
  * @return RequestSummarizedRiskScoresResponse
7338
8790
  * @throws OciError when an error occurs
7339
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/RequestSummarizedRiskScores.ts.html |here} to see how to use RequestSummarizedRiskScores API.
8791
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/RequestSummarizedRiskScores.ts.html |here} to see how to use RequestSummarizedRiskScores API.
7340
8792
  */
7341
8793
  requestSummarizedRiskScores(requestSummarizedRiskScoresRequest) {
7342
8794
  return __awaiter(this, void 0, void 0, function* () {
@@ -7402,7 +8854,7 @@ class CloudGuardClient {
7402
8854
  * @param RequestSummarizedSecurityScoresRequest
7403
8855
  * @return RequestSummarizedSecurityScoresResponse
7404
8856
  * @throws OciError when an error occurs
7405
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/RequestSummarizedSecurityScores.ts.html |here} to see how to use RequestSummarizedSecurityScores API.
8857
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/RequestSummarizedSecurityScores.ts.html |here} to see how to use RequestSummarizedSecurityScores API.
7406
8858
  */
7407
8859
  requestSummarizedSecurityScores(requestSummarizedSecurityScoresRequest) {
7408
8860
  return __awaiter(this, void 0, void 0, function* () {
@@ -7462,12 +8914,15 @@ class CloudGuardClient {
7462
8914
  });
7463
8915
  }
7464
8916
  /**
7465
- * Summarizes the resource profile risk score top trends for the given time range based on the search filters.
8917
+ * Returns a list of resource profile risk score aggregation summaries
8918
+ * (ResourceProfileRiskScoreAggregationSummaryCollection resource with a page of
8919
+ * ResourceProfileRiskScoreAggregationSummary resources) for a specified compartment.
8920
+ *
7466
8921
  * This operation does not retry by default if the user has not defined a retry configuration.
7467
8922
  * @param RequestSummarizedTopTrendResourceProfileRiskScoresRequest
7468
8923
  * @return RequestSummarizedTopTrendResourceProfileRiskScoresResponse
7469
8924
  * @throws OciError when an error occurs
7470
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/RequestSummarizedTopTrendResourceProfileRiskScores.ts.html |here} to see how to use RequestSummarizedTopTrendResourceProfileRiskScores API.
8925
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/RequestSummarizedTopTrendResourceProfileRiskScores.ts.html |here} to see how to use RequestSummarizedTopTrendResourceProfileRiskScores API.
7471
8926
  */
7472
8927
  requestSummarizedTopTrendResourceProfileRiskScores(requestSummarizedTopTrendResourceProfileRiskScoresRequest) {
7473
8928
  return __awaiter(this, void 0, void 0, function* () {
@@ -7550,7 +9005,7 @@ class CloudGuardClient {
7550
9005
  * @param RequestSummarizedTrendProblemsRequest
7551
9006
  * @return RequestSummarizedTrendProblemsResponse
7552
9007
  * @throws OciError when an error occurs
7553
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/RequestSummarizedTrendProblems.ts.html |here} to see how to use RequestSummarizedTrendProblems API.
9008
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/RequestSummarizedTrendProblems.ts.html |here} to see how to use RequestSummarizedTrendProblems API.
7554
9009
  */
7555
9010
  requestSummarizedTrendProblems(requestSummarizedTrendProblemsRequest) {
7556
9011
  return __awaiter(this, void 0, void 0, function* () {
@@ -7614,12 +9069,15 @@ class CloudGuardClient {
7614
9069
  });
7615
9070
  }
7616
9071
  /**
7617
- * Summarizes the resource risk score trend for the given time range based on the search filters.
9072
+ * Returns a summary of risk score trends in a ResourceRiskScoreAggregationCollection resource,
9073
+ * with a page of ResourceRiskScoreAggregation resources, filtered by parameters that you specify
9074
+ * in a RequestSummarizedTrendResourceRiskScoresDetailsresource.
9075
+ *
7618
9076
  * This operation does not retry by default if the user has not defined a retry configuration.
7619
9077
  * @param RequestSummarizedTrendResourceRiskScoresRequest
7620
9078
  * @return RequestSummarizedTrendResourceRiskScoresResponse
7621
9079
  * @throws OciError when an error occurs
7622
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/RequestSummarizedTrendResourceRiskScores.ts.html |here} to see how to use RequestSummarizedTrendResourceRiskScores API.
9080
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/RequestSummarizedTrendResourceRiskScores.ts.html |here} to see how to use RequestSummarizedTrendResourceRiskScores API.
7623
9081
  */
7624
9082
  requestSummarizedTrendResourceRiskScores(requestSummarizedTrendResourceRiskScoresRequest) {
7625
9083
  return __awaiter(this, void 0, void 0, function* () {
@@ -7701,7 +9159,7 @@ class CloudGuardClient {
7701
9159
  * @param RequestSummarizedTrendResponderExecutionsRequest
7702
9160
  * @return RequestSummarizedTrendResponderExecutionsResponse
7703
9161
  * @throws OciError when an error occurs
7704
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/RequestSummarizedTrendResponderExecutions.ts.html |here} to see how to use RequestSummarizedTrendResponderExecutions API.
9162
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/RequestSummarizedTrendResponderExecutions.ts.html |here} to see how to use RequestSummarizedTrendResponderExecutions API.
7705
9163
  */
7706
9164
  requestSummarizedTrendResponderExecutions(requestSummarizedTrendResponderExecutionsRequest) {
7707
9165
  return __awaiter(this, void 0, void 0, function* () {
@@ -7771,7 +9229,7 @@ class CloudGuardClient {
7771
9229
  * @param RequestSummarizedTrendSecurityScoresRequest
7772
9230
  * @return RequestSummarizedTrendSecurityScoresResponse
7773
9231
  * @throws OciError when an error occurs
7774
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/RequestSummarizedTrendSecurityScores.ts.html |here} to see how to use RequestSummarizedTrendSecurityScores API.
9232
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/RequestSummarizedTrendSecurityScores.ts.html |here} to see how to use RequestSummarizedTrendSecurityScores API.
7775
9233
  */
7776
9234
  requestSummarizedTrendSecurityScores(requestSummarizedTrendSecurityScoresRequest) {
7777
9235
  return __awaiter(this, void 0, void 0, function* () {
@@ -7833,14 +9291,12 @@ class CloudGuardClient {
7833
9291
  });
7834
9292
  }
7835
9293
  /**
7836
- * Skips the execution for a bulk of responder executions
7837
- * The operation is atomic in nature
7838
- *
9294
+ * Skips the execution for a bulk of responder executions.
7839
9295
  * This operation does not retry by default if the user has not defined a retry configuration.
7840
9296
  * @param SkipBulkResponderExecutionRequest
7841
9297
  * @return SkipBulkResponderExecutionResponse
7842
9298
  * @throws OciError when an error occurs
7843
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/SkipBulkResponderExecution.ts.html |here} to see how to use SkipBulkResponderExecution API.
9299
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/SkipBulkResponderExecution.ts.html |here} to see how to use SkipBulkResponderExecution API.
7844
9300
  */
7845
9301
  skipBulkResponderExecution(skipBulkResponderExecutionRequest) {
7846
9302
  return __awaiter(this, void 0, void 0, function* () {
@@ -7888,12 +9344,12 @@ class CloudGuardClient {
7888
9344
  });
7889
9345
  }
7890
9346
  /**
7891
- * Skips the execution of the responder execution. When provided, If-Match is checked against ETag values of the resource.
9347
+ * Skips the execution of the responder execution. When provided, If-Match is checked against etag values of the resource.
7892
9348
  * This operation does not retry by default if the user has not defined a retry configuration.
7893
9349
  * @param SkipResponderExecutionRequest
7894
9350
  * @return SkipResponderExecutionResponse
7895
9351
  * @throws OciError when an error occurs
7896
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/SkipResponderExecution.ts.html |here} to see how to use SkipResponderExecution API.
9352
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/SkipResponderExecution.ts.html |here} to see how to use SkipResponderExecution API.
7897
9353
  */
7898
9354
  skipResponderExecution(skipResponderExecutionRequest) {
7899
9355
  return __awaiter(this, void 0, void 0, function* () {
@@ -7946,13 +9402,14 @@ class CloudGuardClient {
7946
9402
  });
7947
9403
  }
7948
9404
  /**
7949
- * Sends the problem identified by problemId to the responder engine, to be processed by rule that\u2019s identified by responderRuleId, in the TriggerResponderDetails resource that\u2019s passed.
9405
+ * Sends the problem identified by problemId to the responder engine, to be processed by rule
9406
+ * that\u2019s identified by responderRuleId, in the TriggerResponderDetails resource that\u2019s passed.
7950
9407
  *
7951
9408
  * This operation does not retry by default if the user has not defined a retry configuration.
7952
9409
  * @param TriggerResponderRequest
7953
9410
  * @return TriggerResponderResponse
7954
9411
  * @throws OciError when an error occurs
7955
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/TriggerResponder.ts.html |here} to see how to use TriggerResponder API.
9412
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/TriggerResponder.ts.html |here} to see how to use TriggerResponder API.
7956
9413
  */
7957
9414
  triggerResponder(triggerResponderRequest) {
7958
9415
  return __awaiter(this, void 0, void 0, function* () {
@@ -8010,7 +9467,7 @@ class CloudGuardClient {
8010
9467
  * @param UpdateBulkProblemStatusRequest
8011
9468
  * @return UpdateBulkProblemStatusResponse
8012
9469
  * @throws OciError when an error occurs
8013
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/UpdateBulkProblemStatus.ts.html |here} to see how to use UpdateBulkProblemStatus API.
9470
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/UpdateBulkProblemStatus.ts.html |here} to see how to use UpdateBulkProblemStatus API.
8014
9471
  */
8015
9472
  updateBulkProblemStatus(updateBulkProblemStatusRequest) {
8016
9473
  return __awaiter(this, void 0, void 0, function* () {
@@ -8058,13 +9515,14 @@ class CloudGuardClient {
8058
9515
  });
8059
9516
  }
8060
9517
  /**
8061
- * Update configuration details for a Cloud Guard tenancy, identified by root compartment OCID. The reporting region cannot be updated once created.
9518
+ * Updates configuration details for a Cloud Guard tenancy, identified by root compartment OCID.
9519
+ * The reporting region cannot be updated once created.
8062
9520
  *
8063
9521
  * This operation does not retry by default if the user has not defined a retry configuration.
8064
9522
  * @param UpdateConfigurationRequest
8065
9523
  * @return UpdateConfigurationResponse
8066
9524
  * @throws OciError when an error occurs
8067
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/UpdateConfiguration.ts.html |here} to see how to use UpdateConfiguration API.
9525
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/UpdateConfiguration.ts.html |here} to see how to use UpdateConfiguration API.
8068
9526
  */
8069
9527
  updateConfiguration(updateConfigurationRequest) {
8070
9528
  return __awaiter(this, void 0, void 0, function* () {
@@ -8125,12 +9583,12 @@ class CloudGuardClient {
8125
9583
  });
8126
9584
  }
8127
9585
  /**
8128
- * Updates a data mask rule (DataMaskRule object) identified by dataMaskRuleId.
9586
+ * Updates a data mask rule (DataMaskRule resource) identified by dataMaskRuleId.
8129
9587
  * This operation does not retry by default if the user has not defined a retry configuration.
8130
9588
  * @param UpdateDataMaskRuleRequest
8131
9589
  * @return UpdateDataMaskRuleResponse
8132
9590
  * @throws OciError when an error occurs
8133
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/UpdateDataMaskRule.ts.html |here} to see how to use UpdateDataMaskRule API.
9591
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/UpdateDataMaskRule.ts.html |here} to see how to use UpdateDataMaskRule API.
8134
9592
  */
8135
9593
  updateDataMaskRule(updateDataMaskRuleRequest) {
8136
9594
  return __awaiter(this, void 0, void 0, function* () {
@@ -8190,12 +9648,14 @@ class CloudGuardClient {
8190
9648
  });
8191
9649
  }
8192
9650
  /**
8193
- * Updates a data source identified by dataSourceId
9651
+ * Updates a data source (DataSource resource) identified by dataSourceId,
9652
+ * using values passed in an UpdateDataSourceDetails resource.
9653
+ *
8194
9654
  * This operation does not retry by default if the user has not defined a retry configuration.
8195
9655
  * @param UpdateDataSourceRequest
8196
9656
  * @return UpdateDataSourceResponse
8197
9657
  * @throws OciError when an error occurs
8198
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/UpdateDataSource.ts.html |here} to see how to use UpdateDataSource API.
9658
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/UpdateDataSource.ts.html |here} to see how to use UpdateDataSource API.
8199
9659
  */
8200
9660
  updateDataSource(updateDataSourceRequest) {
8201
9661
  return __awaiter(this, void 0, void 0, function* () {
@@ -8252,12 +9712,12 @@ class CloudGuardClient {
8252
9712
  });
8253
9713
  }
8254
9714
  /**
8255
- * Updates a detector recipe (DetectorRecipe object) identified by detectorRecipeId.
9715
+ * Updates a detector recipe (DetectorRecipe resource) identified by detectorRecipeId.
8256
9716
  * This operation does not retry by default if the user has not defined a retry configuration.
8257
9717
  * @param UpdateDetectorRecipeRequest
8258
9718
  * @return UpdateDetectorRecipeResponse
8259
9719
  * @throws OciError when an error occurs
8260
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/UpdateDetectorRecipe.ts.html |here} to see how to use UpdateDetectorRecipe API.
9720
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/UpdateDetectorRecipe.ts.html |here} to see how to use UpdateDetectorRecipe API.
8261
9721
  */
8262
9722
  updateDetectorRecipe(updateDetectorRecipeRequest) {
8263
9723
  return __awaiter(this, void 0, void 0, function* () {
@@ -8318,12 +9778,12 @@ class CloudGuardClient {
8318
9778
  });
8319
9779
  }
8320
9780
  /**
8321
- * Updates a detector rule (DetectorRule object) identified by detectorRuleId.
9781
+ * Updates a detector rule (DetectorRule resource) identified by detectorRuleId.
8322
9782
  * This operation does not retry by default if the user has not defined a retry configuration.
8323
9783
  * @param UpdateDetectorRecipeDetectorRuleRequest
8324
9784
  * @return UpdateDetectorRecipeDetectorRuleResponse
8325
9785
  * @throws OciError when an error occurs
8326
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/UpdateDetectorRecipeDetectorRule.ts.html |here} to see how to use UpdateDetectorRecipeDetectorRule API.
9786
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/UpdateDetectorRecipeDetectorRule.ts.html |here} to see how to use UpdateDetectorRecipeDetectorRule API.
8327
9787
  */
8328
9788
  updateDetectorRecipeDetectorRule(updateDetectorRecipeDetectorRuleRequest) {
8329
9789
  return __awaiter(this, void 0, void 0, function* () {
@@ -8384,12 +9844,12 @@ class CloudGuardClient {
8384
9844
  });
8385
9845
  }
8386
9846
  /**
8387
- * Updates a ManagedList object, identified by managedList.
9847
+ * Updates a ManagedList resource, identified by managedList.
8388
9848
  * This operation does not retry by default if the user has not defined a retry configuration.
8389
9849
  * @param UpdateManagedListRequest
8390
9850
  * @return UpdateManagedListResponse
8391
9851
  * @throws OciError when an error occurs
8392
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/UpdateManagedList.ts.html |here} to see how to use UpdateManagedList API.
9852
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/UpdateManagedList.ts.html |here} to see how to use UpdateManagedList API.
8393
9853
  */
8394
9854
  updateManagedList(updateManagedListRequest) {
8395
9855
  return __awaiter(this, void 0, void 0, function* () {
@@ -8456,7 +9916,7 @@ class CloudGuardClient {
8456
9916
  * @param UpdateProblemStatusRequest
8457
9917
  * @return UpdateProblemStatusResponse
8458
9918
  * @throws OciError when an error occurs
8459
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/UpdateProblemStatus.ts.html |here} to see how to use UpdateProblemStatus API.
9919
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/UpdateProblemStatus.ts.html |here} to see how to use UpdateProblemStatus API.
8460
9920
  */
8461
9921
  updateProblemStatus(updateProblemStatusRequest) {
8462
9922
  return __awaiter(this, void 0, void 0, function* () {
@@ -8517,12 +9977,14 @@ class CloudGuardClient {
8517
9977
  });
8518
9978
  }
8519
9979
  /**
8520
- * Update the ResponderRecipe resource by identifier
9980
+ * Updates a responder recipe (ResponderRecipe resource) identified by
9981
+ * responderRecipeId, passed in an UpdateResponderRecipeDetails resource.
9982
+ *
8521
9983
  * This operation does not retry by default if the user has not defined a retry configuration.
8522
9984
  * @param UpdateResponderRecipeRequest
8523
9985
  * @return UpdateResponderRecipeResponse
8524
9986
  * @throws OciError when an error occurs
8525
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/UpdateResponderRecipe.ts.html |here} to see how to use UpdateResponderRecipe API.
9987
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/UpdateResponderRecipe.ts.html |here} to see how to use UpdateResponderRecipe API.
8526
9988
  */
8527
9989
  updateResponderRecipe(updateResponderRecipeRequest) {
8528
9990
  return __awaiter(this, void 0, void 0, function* () {
@@ -8582,12 +10044,14 @@ class CloudGuardClient {
8582
10044
  });
8583
10045
  }
8584
10046
  /**
8585
- * Update the ResponderRule by identifier
10047
+ * Updates a responder rule (ResponderRule resource) identified by responderRuleId,
10048
+ * passed in a UpdateResponderRecipeResponderRuleDetails resource.
10049
+ *
8586
10050
  * This operation does not retry by default if the user has not defined a retry configuration.
8587
10051
  * @param UpdateResponderRecipeResponderRuleRequest
8588
10052
  * @return UpdateResponderRecipeResponderRuleResponse
8589
10053
  * @throws OciError when an error occurs
8590
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/UpdateResponderRecipeResponderRule.ts.html |here} to see how to use UpdateResponderRecipeResponderRule API.
10054
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/UpdateResponderRecipeResponderRule.ts.html |here} to see how to use UpdateResponderRecipeResponderRule API.
8591
10055
  */
8592
10056
  updateResponderRecipeResponderRule(updateResponderRecipeResponderRuleRequest) {
8593
10057
  return __awaiter(this, void 0, void 0, function* () {
@@ -8648,12 +10112,80 @@ class CloudGuardClient {
8648
10112
  });
8649
10113
  }
8650
10114
  /**
8651
- * Updates a security zone recipe. A security zone recipe is a collection of security zone policies.
10115
+ * Updates a saved query identified by savedQueryId.
10116
+ * This operation does not retry by default if the user has not defined a retry configuration.
10117
+ * @param UpdateSavedQueryRequest
10118
+ * @return UpdateSavedQueryResponse
10119
+ * @throws OciError when an error occurs
10120
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/UpdateSavedQuery.ts.html |here} to see how to use UpdateSavedQuery API.
10121
+ */
10122
+ updateSavedQuery(updateSavedQueryRequest) {
10123
+ return __awaiter(this, void 0, void 0, function* () {
10124
+ if (this.logger)
10125
+ this.logger.debug("Calling operation CloudGuardClient#updateSavedQuery.");
10126
+ const operationName = "updateSavedQuery";
10127
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SavedQuery/UpdateSavedQuery";
10128
+ const pathParams = {
10129
+ "{savedQueryId}": updateSavedQueryRequest.savedQueryId
10130
+ };
10131
+ const queryParams = {};
10132
+ let headerParams = {
10133
+ "Content-Type": common.Constants.APPLICATION_JSON,
10134
+ "if-match": updateSavedQueryRequest.ifMatch,
10135
+ "opc-request-id": updateSavedQueryRequest.opcRequestId,
10136
+ "opc-retry-token": updateSavedQueryRequest.opcRetryToken
10137
+ };
10138
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
10139
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateSavedQueryRequest.retryConfiguration, specRetryConfiguration);
10140
+ if (this.logger)
10141
+ retrier.logger = this.logger;
10142
+ const request = yield oci_common_1.composeRequest({
10143
+ baseEndpoint: this._endpoint,
10144
+ defaultHeaders: this._defaultHeaders,
10145
+ path: "/savedQueries/{savedQueryId}",
10146
+ method: "PUT",
10147
+ bodyContent: common.ObjectSerializer.serialize(updateSavedQueryRequest.updateSavedQueryDetails, "UpdateSavedQueryDetails", model.UpdateSavedQueryDetails.getJsonObj),
10148
+ pathParams: pathParams,
10149
+ headerParams: headerParams,
10150
+ queryParams: queryParams
10151
+ });
10152
+ try {
10153
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
10154
+ const sdkResponse = oci_common_1.composeResponse({
10155
+ responseObject: {},
10156
+ body: yield response.json(),
10157
+ bodyKey: "savedQuery",
10158
+ bodyModel: model.SavedQuery,
10159
+ type: "model.SavedQuery",
10160
+ responseHeaders: [
10161
+ {
10162
+ value: response.headers.get("etag"),
10163
+ key: "etag",
10164
+ dataType: "string"
10165
+ },
10166
+ {
10167
+ value: response.headers.get("opc-request-id"),
10168
+ key: "opcRequestId",
10169
+ dataType: "string"
10170
+ }
10171
+ ]
10172
+ });
10173
+ return sdkResponse;
10174
+ }
10175
+ catch (err) {
10176
+ throw err;
10177
+ }
10178
+ });
10179
+ }
10180
+ /**
10181
+ * Updates a security zone recipe (SecurityRecipe resource), identified by securityRecipeId,
10182
+ * using parameters passed in an UpdateSecurityRecipeDetails resource.
10183
+ *
8652
10184
  * This operation does not retry by default if the user has not defined a retry configuration.
8653
10185
  * @param UpdateSecurityRecipeRequest
8654
10186
  * @return UpdateSecurityRecipeResponse
8655
10187
  * @throws OciError when an error occurs
8656
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/UpdateSecurityRecipe.ts.html |here} to see how to use UpdateSecurityRecipe API.
10188
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/UpdateSecurityRecipe.ts.html |here} to see how to use UpdateSecurityRecipe API.
8657
10189
  */
8658
10190
  updateSecurityRecipe(updateSecurityRecipeRequest) {
8659
10191
  return __awaiter(this, void 0, void 0, function* () {
@@ -8713,12 +10245,14 @@ class CloudGuardClient {
8713
10245
  });
8714
10246
  }
8715
10247
  /**
8716
- * Updates the security zone identified by its id
10248
+ * Updates a security zone (SecurityZone resource) identified by securityZoneId.
10249
+ * Pass parameters through an UpdateSecurityZoneDetails resource.
10250
+ *
8717
10251
  * This operation does not retry by default if the user has not defined a retry configuration.
8718
10252
  * @param UpdateSecurityZoneRequest
8719
10253
  * @return UpdateSecurityZoneResponse
8720
10254
  * @throws OciError when an error occurs
8721
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/UpdateSecurityZone.ts.html |here} to see how to use UpdateSecurityZone API.
10255
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/UpdateSecurityZone.ts.html |here} to see how to use UpdateSecurityZone API.
8722
10256
  */
8723
10257
  updateSecurityZone(updateSecurityZoneRequest) {
8724
10258
  return __awaiter(this, void 0, void 0, function* () {
@@ -8778,12 +10312,14 @@ class CloudGuardClient {
8778
10312
  });
8779
10313
  }
8780
10314
  /**
8781
- * Updates a Target identified by targetId
10315
+ * Updates a target (Target resource) identified by targetId, using parameters
10316
+ * passed in an UpdateTargetDetails resource.
10317
+ *
8782
10318
  * This operation does not retry by default if the user has not defined a retry configuration.
8783
10319
  * @param UpdateTargetRequest
8784
10320
  * @return UpdateTargetResponse
8785
10321
  * @throws OciError when an error occurs
8786
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/UpdateTarget.ts.html |here} to see how to use UpdateTarget API.
10322
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/UpdateTarget.ts.html |here} to see how to use UpdateTarget API.
8787
10323
  */
8788
10324
  updateTarget(updateTargetRequest) {
8789
10325
  return __awaiter(this, void 0, void 0, function* () {
@@ -8843,12 +10379,14 @@ class CloudGuardClient {
8843
10379
  });
8844
10380
  }
8845
10381
  /**
8846
- * Update the TargetDetectorRecipe resource by identifier
10382
+ * Updates a target detector recipe (TargtetDetectorRecipe resource) identified by
10383
+ * targetDetectorRecipeId, using parameters passed in an UpdateTargetDetectorRecipeDetails resource.
10384
+ *
8847
10385
  * This operation does not retry by default if the user has not defined a retry configuration.
8848
10386
  * @param UpdateTargetDetectorRecipeRequest
8849
10387
  * @return UpdateTargetDetectorRecipeResponse
8850
10388
  * @throws OciError when an error occurs
8851
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/UpdateTargetDetectorRecipe.ts.html |here} to see how to use UpdateTargetDetectorRecipe API.
10389
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/UpdateTargetDetectorRecipe.ts.html |here} to see how to use UpdateTargetDetectorRecipe API.
8852
10390
  */
8853
10391
  updateTargetDetectorRecipe(updateTargetDetectorRecipeRequest) {
8854
10392
  return __awaiter(this, void 0, void 0, function* () {
@@ -8909,12 +10447,12 @@ class CloudGuardClient {
8909
10447
  });
8910
10448
  }
8911
10449
  /**
8912
- * Update the DetectorRule by identifier
10450
+ * Updates the DetectorRule resource identified by targetDetectorRecipeId
8913
10451
  * This operation does not retry by default if the user has not defined a retry configuration.
8914
10452
  * @param UpdateTargetDetectorRecipeDetectorRuleRequest
8915
10453
  * @return UpdateTargetDetectorRecipeDetectorRuleResponse
8916
10454
  * @throws OciError when an error occurs
8917
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/UpdateTargetDetectorRecipeDetectorRule.ts.html |here} to see how to use UpdateTargetDetectorRecipeDetectorRule API.
10455
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/UpdateTargetDetectorRecipeDetectorRule.ts.html |here} to see how to use UpdateTargetDetectorRecipeDetectorRule API.
8918
10456
  */
8919
10457
  updateTargetDetectorRecipeDetectorRule(updateTargetDetectorRecipeDetectorRuleRequest) {
8920
10458
  return __awaiter(this, void 0, void 0, function* () {
@@ -8976,12 +10514,16 @@ class CloudGuardClient {
8976
10514
  });
8977
10515
  }
8978
10516
  /**
8979
- * Update the TargetResponderRecipe resource by identifier
10517
+ * Updates the target responder recipe (TargetResponderRecipe resource)
10518
+ * identified by targetResponderRecipeId, attached to a target identified
10519
+ * by targetId. Pass parameters for the update through an
10520
+ * UpdateTargetResponderRecipeDetails resource.
10521
+ *
8980
10522
  * This operation does not retry by default if the user has not defined a retry configuration.
8981
10523
  * @param UpdateTargetResponderRecipeRequest
8982
10524
  * @return UpdateTargetResponderRecipeResponse
8983
10525
  * @throws OciError when an error occurs
8984
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/UpdateTargetResponderRecipe.ts.html |here} to see how to use UpdateTargetResponderRecipe API.
10526
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/UpdateTargetResponderRecipe.ts.html |here} to see how to use UpdateTargetResponderRecipe API.
8985
10527
  */
8986
10528
  updateTargetResponderRecipe(updateTargetResponderRecipeRequest) {
8987
10529
  return __awaiter(this, void 0, void 0, function* () {
@@ -9042,12 +10584,17 @@ class CloudGuardClient {
9042
10584
  });
9043
10585
  }
9044
10586
  /**
9045
- * Update the ResponderRule by identifier
10587
+ * Updates a responder rule (ResponderRule resource) identified by
10588
+ * responderRuleId, for a target responder recipe (TargetResponderRecipe resource)
10589
+ * identified by targetResponderRecipeId, for a target (Target resource)
10590
+ * identified by targetId. Parameters for the update are passed through an
10591
+ * UpdateTargetResponderRecipeResponderRuleDetails resource.
10592
+ *
9046
10593
  * This operation does not retry by default if the user has not defined a retry configuration.
9047
10594
  * @param UpdateTargetResponderRecipeResponderRuleRequest
9048
10595
  * @return UpdateTargetResponderRecipeResponderRuleResponse
9049
10596
  * @throws OciError when an error occurs
9050
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.2/cloudguard/UpdateTargetResponderRecipeResponderRule.ts.html |here} to see how to use UpdateTargetResponderRecipeResponderRule API.
10597
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/UpdateTargetResponderRecipeResponderRule.ts.html |here} to see how to use UpdateTargetResponderRecipeResponderRule API.
9051
10598
  */
9052
10599
  updateTargetResponderRecipeResponderRule(updateTargetResponderRecipeResponderRuleRequest) {
9053
10600
  return __awaiter(this, void 0, void 0, function* () {
@@ -9108,6 +10655,72 @@ class CloudGuardClient {
9108
10655
  }
9109
10656
  });
9110
10657
  }
10658
+ /**
10659
+ * Updates and renews the certificate for an on-premise WLP agent identified by wlpAgentId.
10660
+ * This operation does not retry by default if the user has not defined a retry configuration.
10661
+ * @param UpdateWlpAgentRequest
10662
+ * @return UpdateWlpAgentResponse
10663
+ * @throws OciError when an error occurs
10664
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.85.0/cloudguard/UpdateWlpAgent.ts.html |here} to see how to use UpdateWlpAgent API.
10665
+ */
10666
+ updateWlpAgent(updateWlpAgentRequest) {
10667
+ return __awaiter(this, void 0, void 0, function* () {
10668
+ if (this.logger)
10669
+ this.logger.debug("Calling operation CloudGuardClient#updateWlpAgent.");
10670
+ const operationName = "updateWlpAgent";
10671
+ const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/WlpAgent/UpdateWlpAgent";
10672
+ const pathParams = {
10673
+ "{wlpAgentId}": updateWlpAgentRequest.wlpAgentId
10674
+ };
10675
+ const queryParams = {};
10676
+ let headerParams = {
10677
+ "Content-Type": common.Constants.APPLICATION_JSON,
10678
+ "if-match": updateWlpAgentRequest.ifMatch,
10679
+ "opc-request-id": updateWlpAgentRequest.opcRequestId,
10680
+ "opc-retry-token": updateWlpAgentRequest.opcRetryToken
10681
+ };
10682
+ const specRetryConfiguration = common.NoRetryConfigurationDetails;
10683
+ const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateWlpAgentRequest.retryConfiguration, specRetryConfiguration);
10684
+ if (this.logger)
10685
+ retrier.logger = this.logger;
10686
+ const request = yield oci_common_1.composeRequest({
10687
+ baseEndpoint: this._endpoint,
10688
+ defaultHeaders: this._defaultHeaders,
10689
+ path: "/wlpAgents/{wlpAgentId}",
10690
+ method: "PUT",
10691
+ bodyContent: common.ObjectSerializer.serialize(updateWlpAgentRequest.updateWlpAgentDetails, "UpdateWlpAgentDetails", model.UpdateWlpAgentDetails.getJsonObj),
10692
+ pathParams: pathParams,
10693
+ headerParams: headerParams,
10694
+ queryParams: queryParams
10695
+ });
10696
+ try {
10697
+ const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
10698
+ const sdkResponse = oci_common_1.composeResponse({
10699
+ responseObject: {},
10700
+ body: yield response.json(),
10701
+ bodyKey: "wlpAgent",
10702
+ bodyModel: model.WlpAgent,
10703
+ type: "model.WlpAgent",
10704
+ responseHeaders: [
10705
+ {
10706
+ value: response.headers.get("etag"),
10707
+ key: "etag",
10708
+ dataType: "string"
10709
+ },
10710
+ {
10711
+ value: response.headers.get("opc-request-id"),
10712
+ key: "opcRequestId",
10713
+ dataType: "string"
10714
+ }
10715
+ ]
10716
+ });
10717
+ return sdkResponse;
10718
+ }
10719
+ catch (err) {
10720
+ throw err;
10721
+ }
10722
+ });
10723
+ }
9111
10724
  }
9112
10725
  exports.CloudGuardClient = CloudGuardClient;
9113
10726
  CloudGuardClient.serviceEndpointTemplate = "https://cloudguard-cp-api.{region}.oci.{secondLevelDomain}";