oci-cloudguard 2.84.0 → 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 +662 -268
  2. package/lib/client.js +2011 -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
@@ -194,12 +194,23 @@ class CloudGuardClient {
194
194
  }
195
195
  }
196
196
  /**
197
- * 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.
197
+ * Close the client once it is no longer needed
198
+ */
199
+ close() {
200
+ this.shutdownCircuitBreaker();
201
+ }
202
+ /**
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
+ *
198
209
  * This operation does not retry by default if the user has not defined a retry configuration.
199
210
  * @param AddCompartmentRequest
200
211
  * @return AddCompartmentResponse
201
212
  * @throws OciError when an error occurs
202
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
203
214
  */
204
215
  addCompartment(addCompartmentRequest) {
205
216
  return __awaiter(this, void 0, void 0, function* () {
@@ -260,12 +271,12 @@ class CloudGuardClient {
260
271
  });
261
272
  }
262
273
  /**
263
- * Cancels the work request with the given ID.
274
+ * Cancels a work request identified by workRequestId.
264
275
  * This operation does not retry by default if the user has not defined a retry configuration.
265
276
  * @param CancelWorkRequestRequest
266
277
  * @return CancelWorkRequestResponse
267
278
  * @throws OciError when an error occurs
268
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
269
280
  */
270
281
  cancelWorkRequest(cancelWorkRequestRequest) {
271
282
  return __awaiter(this, void 0, void 0, function* () {
@@ -315,12 +326,15 @@ class CloudGuardClient {
315
326
  });
316
327
  }
317
328
  /**
318
- * 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
+ *
319
333
  * This operation does not retry by default if the user has not defined a retry configuration.
320
334
  * @param ChangeDataSourceCompartmentRequest
321
335
  * @return ChangeDataSourceCompartmentResponse
322
336
  * @throws OciError when an error occurs
323
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
324
338
  */
325
339
  changeDataSourceCompartment(changeDataSourceCompartmentRequest) {
326
340
  return __awaiter(this, void 0, void 0, function* () {
@@ -377,12 +391,16 @@ class CloudGuardClient {
377
391
  });
378
392
  }
379
393
  /**
380
- * 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
+ *
381
399
  * This operation does not retry by default if the user has not defined a retry configuration.
382
400
  * @param ChangeDetectorRecipeCompartmentRequest
383
401
  * @return ChangeDetectorRecipeCompartmentResponse
384
402
  * @throws OciError when an error occurs
385
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
386
404
  */
387
405
  changeDetectorRecipeCompartment(changeDetectorRecipeCompartmentRequest) {
388
406
  return __awaiter(this, void 0, void 0, function* () {
@@ -434,12 +452,12 @@ class CloudGuardClient {
434
452
  });
435
453
  }
436
454
  /**
437
- * 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.
438
456
  * This operation does not retry by default if the user has not defined a retry configuration.
439
457
  * @param ChangeManagedListCompartmentRequest
440
458
  * @return ChangeManagedListCompartmentResponse
441
459
  * @throws OciError when an error occurs
442
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
443
461
  */
444
462
  changeManagedListCompartment(changeManagedListCompartmentRequest) {
445
463
  return __awaiter(this, void 0, void 0, function* () {
@@ -491,12 +509,15 @@ class CloudGuardClient {
491
509
  });
492
510
  }
493
511
  /**
494
- * 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
+ *
495
516
  * This operation does not retry by default if the user has not defined a retry configuration.
496
517
  * @param ChangeResponderRecipeCompartmentRequest
497
518
  * @return ChangeResponderRecipeCompartmentResponse
498
519
  * @throws OciError when an error occurs
499
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
500
521
  */
501
522
  changeResponderRecipeCompartment(changeResponderRecipeCompartmentRequest) {
502
523
  return __awaiter(this, void 0, void 0, function* () {
@@ -548,12 +569,72 @@ class CloudGuardClient {
548
569
  });
549
570
  }
550
571
  /**
551
- * 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
+ *
552
633
  * This operation does not retry by default if the user has not defined a retry configuration.
553
634
  * @param ChangeSecurityRecipeCompartmentRequest
554
635
  * @return ChangeSecurityRecipeCompartmentResponse
555
636
  * @throws OciError when an error occurs
556
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
557
638
  */
558
639
  changeSecurityRecipeCompartment(changeSecurityRecipeCompartmentRequest) {
559
640
  return __awaiter(this, void 0, void 0, function* () {
@@ -605,12 +686,15 @@ class CloudGuardClient {
605
686
  });
606
687
  }
607
688
  /**
608
- * 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
+ *
609
693
  * This operation does not retry by default if the user has not defined a retry configuration.
610
694
  * @param ChangeSecurityZoneCompartmentRequest
611
695
  * @return ChangeSecurityZoneCompartmentResponse
612
696
  * @throws OciError when an error occurs
613
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
614
698
  */
615
699
  changeSecurityZoneCompartment(changeSecurityZoneCompartmentRequest) {
616
700
  return __awaiter(this, void 0, void 0, function* () {
@@ -662,13 +746,77 @@ class CloudGuardClient {
662
746
  });
663
747
  }
664
748
  /**
665
- * 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.
666
814
  *
667
815
  * This operation does not retry by default if the user has not defined a retry configuration.
668
816
  * @param CreateDataMaskRuleRequest
669
817
  * @return CreateDataMaskRuleResponse
670
818
  * @throws OciError when an error occurs
671
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
672
820
  */
673
821
  createDataMaskRule(createDataMaskRuleRequest) {
674
822
  return __awaiter(this, void 0, void 0, function* () {
@@ -726,13 +874,14 @@ class CloudGuardClient {
726
874
  });
727
875
  }
728
876
  /**
729
- * Creates a DataSource
877
+ * Creates a data source (DataSource resource), using parameters passed
878
+ * through a CreateDataSourceDetails resource.
730
879
  *
731
880
  * This operation does not retry by default if the user has not defined a retry configuration.
732
881
  * @param CreateDataSourceRequest
733
882
  * @return CreateDataSourceResponse
734
883
  * @throws OciError when an error occurs
735
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
736
885
  */
737
886
  createDataSource(createDataSourceRequest) {
738
887
  return __awaiter(this, void 0, void 0, function* () {
@@ -786,13 +935,13 @@ class CloudGuardClient {
786
935
  });
787
936
  }
788
937
  /**
789
- * Creates a new DetectorRecipe object.
938
+ * Creates a new DetectorRecipe resource.
790
939
  *
791
940
  * This operation does not retry by default if the user has not defined a retry configuration.
792
941
  * @param CreateDetectorRecipeRequest
793
942
  * @return CreateDetectorRecipeResponse
794
943
  * @throws OciError when an error occurs
795
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
796
945
  */
797
946
  createDetectorRecipe(createDetectorRecipeRequest) {
798
947
  return __awaiter(this, void 0, void 0, function* () {
@@ -850,12 +999,12 @@ class CloudGuardClient {
850
999
  });
851
1000
  }
852
1001
  /**
853
- * Create the DetectorRule
1002
+ * Creates a detector rule.
854
1003
  * This operation does not retry by default if the user has not defined a retry configuration.
855
1004
  * @param CreateDetectorRecipeDetectorRuleRequest
856
1005
  * @return CreateDetectorRecipeDetectorRuleResponse
857
1006
  * @throws OciError when an error occurs
858
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
859
1008
  */
860
1009
  createDetectorRecipeDetectorRule(createDetectorRecipeDetectorRuleRequest) {
861
1010
  return __awaiter(this, void 0, void 0, function* () {
@@ -915,13 +1064,13 @@ class CloudGuardClient {
915
1064
  });
916
1065
  }
917
1066
  /**
918
- * Creates a new ManagedList object.
1067
+ * Creates a new ManagedList resource.
919
1068
  *
920
1069
  * This operation does not retry by default if the user has not defined a retry configuration.
921
1070
  * @param CreateManagedListRequest
922
1071
  * @return CreateManagedListResponse
923
1072
  * @throws OciError when an error occurs
924
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
925
1074
  */
926
1075
  createManagedList(createManagedListRequest) {
927
1076
  return __awaiter(this, void 0, void 0, function* () {
@@ -979,13 +1128,14 @@ class CloudGuardClient {
979
1128
  });
980
1129
  }
981
1130
  /**
982
- * Create a ResponderRecipe.
1131
+ * Creates a responder recipe (ResponderRecipe resource), from values passed in a
1132
+ * CreateResponderRecipeDetails resource.
983
1133
  *
984
1134
  * This operation does not retry by default if the user has not defined a retry configuration.
985
1135
  * @param CreateResponderRecipeRequest
986
1136
  * @return CreateResponderRecipeResponse
987
1137
  * @throws OciError when an error occurs
988
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
989
1139
  */
990
1140
  createResponderRecipe(createResponderRecipeRequest) {
991
1141
  return __awaiter(this, void 0, void 0, function* () {
@@ -1043,13 +1193,78 @@ class CloudGuardClient {
1043
1193
  });
1044
1194
  }
1045
1195
  /**
1046
- * 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.
1047
1262
  *
1048
1263
  * This operation does not retry by default if the user has not defined a retry configuration.
1049
1264
  * @param CreateSecurityRecipeRequest
1050
1265
  * @return CreateSecurityRecipeResponse
1051
1266
  * @throws OciError when an error occurs
1052
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
1053
1268
  */
1054
1269
  createSecurityRecipe(createSecurityRecipeRequest) {
1055
1270
  return __awaiter(this, void 0, void 0, function* () {
@@ -1107,13 +1322,14 @@ class CloudGuardClient {
1107
1322
  });
1108
1323
  }
1109
1324
  /**
1110
- * 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.
1111
1327
  *
1112
1328
  * This operation does not retry by default if the user has not defined a retry configuration.
1113
1329
  * @param CreateSecurityZoneRequest
1114
1330
  * @return CreateSecurityZoneResponse
1115
1331
  * @throws OciError when an error occurs
1116
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
1117
1333
  */
1118
1334
  createSecurityZone(createSecurityZoneRequest) {
1119
1335
  return __awaiter(this, void 0, void 0, function* () {
@@ -1171,13 +1387,13 @@ class CloudGuardClient {
1171
1387
  });
1172
1388
  }
1173
1389
  /**
1174
- * Creates a new Target
1390
+ * Creates a target (Target resource), using parameters passed in a CreateTargetDetails resource.
1175
1391
  *
1176
1392
  * This operation does not retry by default if the user has not defined a retry configuration.
1177
1393
  * @param CreateTargetRequest
1178
1394
  * @return CreateTargetResponse
1179
1395
  * @throws OciError when an error occurs
1180
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
1181
1397
  */
1182
1398
  createTarget(createTargetRequest) {
1183
1399
  return __awaiter(this, void 0, void 0, function* () {
@@ -1235,13 +1451,15 @@ class CloudGuardClient {
1235
1451
  });
1236
1452
  }
1237
1453
  /**
1454
+ * Attaches a DetectorRecipe to a target (Target resource) identified by targetId,
1455
+ * using parameters passed in a TargetAttachTargetDetectorRecipeDetails resource.
1238
1456
  * Attach a DetectorRecipe with the Target
1239
1457
  *
1240
1458
  * This operation does not retry by default if the user has not defined a retry configuration.
1241
1459
  * @param CreateTargetDetectorRecipeRequest
1242
1460
  * @return CreateTargetDetectorRecipeResponse
1243
1461
  * @throws OciError when an error occurs
1244
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
1245
1463
  */
1246
1464
  createTargetDetectorRecipe(createTargetDetectorRecipeRequest) {
1247
1465
  return __awaiter(this, void 0, void 0, function* () {
@@ -1301,13 +1519,13 @@ class CloudGuardClient {
1301
1519
  });
1302
1520
  }
1303
1521
  /**
1304
- * Attach a ResponderRecipe with the Target
1522
+ * Attaches a responder recipe to a target.
1305
1523
  *
1306
1524
  * This operation does not retry by default if the user has not defined a retry configuration.
1307
1525
  * @param CreateTargetResponderRecipeRequest
1308
1526
  * @return CreateTargetResponderRecipeResponse
1309
1527
  * @throws OciError when an error occurs
1310
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
1311
1529
  */
1312
1530
  createTargetResponderRecipe(createTargetResponderRecipeRequest) {
1313
1531
  return __awaiter(this, void 0, void 0, function* () {
@@ -1367,12 +1585,133 @@ class CloudGuardClient {
1367
1585
  });
1368
1586
  }
1369
1587
  /**
1370
- * 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.
1371
1710
  * This operation does not retry by default if the user has not defined a retry configuration.
1372
1711
  * @param DeleteDataMaskRuleRequest
1373
1712
  * @return DeleteDataMaskRuleResponse
1374
1713
  * @throws OciError when an error occurs
1375
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
1376
1715
  */
1377
1716
  deleteDataMaskRule(deleteDataMaskRuleRequest) {
1378
1717
  return __awaiter(this, void 0, void 0, function* () {
@@ -1422,12 +1761,12 @@ class CloudGuardClient {
1422
1761
  });
1423
1762
  }
1424
1763
  /**
1425
- * Deletes a DataSource identified by dataSourceId
1764
+ * Deletes a data source (DataSource resource) identified by dataSourceId.
1426
1765
  * This operation does not retry by default if the user has not defined a retry configuration.
1427
1766
  * @param DeleteDataSourceRequest
1428
1767
  * @return DeleteDataSourceResponse
1429
1768
  * @throws OciError when an error occurs
1430
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
1431
1770
  */
1432
1771
  deleteDataSource(deleteDataSourceRequest) {
1433
1772
  return __awaiter(this, void 0, void 0, function* () {
@@ -1483,12 +1822,12 @@ class CloudGuardClient {
1483
1822
  });
1484
1823
  }
1485
1824
  /**
1486
- * Deletes a detector recipe (DetectorRecipe object) identified by detectorRecipeId.
1825
+ * Deletes a detector recipe (DetectorRecipe resource) identified by detectorRecipeId.
1487
1826
  * This operation does not retry by default if the user has not defined a retry configuration.
1488
1827
  * @param DeleteDetectorRecipeRequest
1489
1828
  * @return DeleteDetectorRecipeResponse
1490
1829
  * @throws OciError when an error occurs
1491
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
1492
1831
  */
1493
1832
  deleteDetectorRecipe(deleteDetectorRecipeRequest) {
1494
1833
  return __awaiter(this, void 0, void 0, function* () {
@@ -1539,12 +1878,12 @@ class CloudGuardClient {
1539
1878
  });
1540
1879
  }
1541
1880
  /**
1542
- * Deletes DetectorRecipeDetectorRule
1881
+ * Deletes the DetectorRecipeDetectorRule resource identified by detectorRuleId.
1543
1882
  * This operation does not retry by default if the user has not defined a retry configuration.
1544
1883
  * @param DeleteDetectorRecipeDetectorRuleRequest
1545
1884
  * @return DeleteDetectorRecipeDetectorRuleResponse
1546
1885
  * @throws OciError when an error occurs
1547
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
1548
1887
  */
1549
1888
  deleteDetectorRecipeDetectorRule(deleteDetectorRecipeDetectorRuleRequest) {
1550
1889
  return __awaiter(this, void 0, void 0, function* () {
@@ -1595,12 +1934,12 @@ class CloudGuardClient {
1595
1934
  });
1596
1935
  }
1597
1936
  /**
1598
- * Delete the DetectorRecipeDetectorRuleDataSource resource by identifier
1937
+ * Deletes the DetectorRecipeDetectorRuleDataSource resource by identifier.
1599
1938
  * This operation does not retry by default if the user has not defined a retry configuration.
1600
1939
  * @param DeleteDetectorRecipeDetectorRuleDataSourceRequest
1601
1940
  * @return DeleteDetectorRecipeDetectorRuleDataSourceResponse
1602
1941
  * @throws OciError when an error occurs
1603
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
1604
1943
  */
1605
1944
  deleteDetectorRecipeDetectorRuleDataSource(deleteDetectorRecipeDetectorRuleDataSourceRequest) {
1606
1945
  return __awaiter(this, void 0, void 0, function* () {
@@ -1657,7 +1996,7 @@ class CloudGuardClient {
1657
1996
  * @param DeleteManagedListRequest
1658
1997
  * @return DeleteManagedListResponse
1659
1998
  * @throws OciError when an error occurs
1660
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
1661
2000
  */
1662
2001
  deleteManagedList(deleteManagedListRequest) {
1663
2002
  return __awaiter(this, void 0, void 0, function* () {
@@ -1708,12 +2047,12 @@ class CloudGuardClient {
1708
2047
  });
1709
2048
  }
1710
2049
  /**
1711
- * Delete the ResponderRecipe resource by identifier
2050
+ * Deletes a responder recipe (ResponderRecipe resource) identified by responderRecipeId.
1712
2051
  * This operation does not retry by default if the user has not defined a retry configuration.
1713
2052
  * @param DeleteResponderRecipeRequest
1714
2053
  * @return DeleteResponderRecipeResponse
1715
2054
  * @throws OciError when an error occurs
1716
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
1717
2056
  */
1718
2057
  deleteResponderRecipe(deleteResponderRecipeRequest) {
1719
2058
  return __awaiter(this, void 0, void 0, function* () {
@@ -1763,36 +2102,37 @@ class CloudGuardClient {
1763
2102
  });
1764
2103
  }
1765
2104
  /**
1766
- * Deletes a security zone recipe. The recipe can't be associated with an existing security zone.
2105
+ * Deletes a SavedQuery resource identified by savedQueryId.
1767
2106
  * This operation does not retry by default if the user has not defined a retry configuration.
1768
- * @param DeleteSecurityRecipeRequest
1769
- * @return DeleteSecurityRecipeResponse
2107
+ * @param DeleteSavedQueryRequest
2108
+ * @return DeleteSavedQueryResponse
1770
2109
  * @throws OciError when an error occurs
1771
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
1772
2111
  */
1773
- deleteSecurityRecipe(deleteSecurityRecipeRequest) {
2112
+ deleteSavedQuery(deleteSavedQueryRequest) {
1774
2113
  return __awaiter(this, void 0, void 0, function* () {
1775
2114
  if (this.logger)
1776
- this.logger.debug("Calling operation CloudGuardClient#deleteSecurityRecipe.");
1777
- const operationName = "deleteSecurityRecipe";
1778
- 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";
1779
2118
  const pathParams = {
1780
- "{securityRecipeId}": deleteSecurityRecipeRequest.securityRecipeId
2119
+ "{savedQueryId}": deleteSavedQueryRequest.savedQueryId
1781
2120
  };
1782
2121
  const queryParams = {};
1783
2122
  let headerParams = {
1784
2123
  "Content-Type": common.Constants.APPLICATION_JSON,
1785
- "if-match": deleteSecurityRecipeRequest.ifMatch,
1786
- "opc-request-id": deleteSecurityRecipeRequest.opcRequestId
2124
+ "if-match": deleteSavedQueryRequest.ifMatch,
2125
+ "opc-request-id": deleteSavedQueryRequest.opcRequestId,
2126
+ "opc-retry-token": deleteSavedQueryRequest.opcRetryToken
1787
2127
  };
1788
2128
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1789
- 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);
1790
2130
  if (this.logger)
1791
2131
  retrier.logger = this.logger;
1792
2132
  const request = yield oci_common_1.composeRequest({
1793
2133
  baseEndpoint: this._endpoint,
1794
2134
  defaultHeaders: this._defaultHeaders,
1795
- path: "/securityRecipes/{securityRecipeId}",
2135
+ path: "/savedQueries/{savedQueryId}",
1796
2136
  method: "DELETE",
1797
2137
  pathParams: pathParams,
1798
2138
  headerParams: headerParams,
@@ -1818,18 +2158,73 @@ class CloudGuardClient {
1818
2158
  });
1819
2159
  }
1820
2160
  /**
1821
- * 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.
1822
2162
  * This operation does not retry by default if the user has not defined a retry configuration.
1823
- * @param DeleteSecurityZoneRequest
1824
- * @return DeleteSecurityZoneResponse
2163
+ * @param DeleteSecurityRecipeRequest
2164
+ * @return DeleteSecurityRecipeResponse
1825
2165
  * @throws OciError when an error occurs
1826
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
1827
2167
  */
1828
- deleteSecurityZone(deleteSecurityZoneRequest) {
2168
+ deleteSecurityRecipe(deleteSecurityRecipeRequest) {
1829
2169
  return __awaiter(this, void 0, void 0, function* () {
1830
2170
  if (this.logger)
1831
- this.logger.debug("Calling operation CloudGuardClient#deleteSecurityZone.");
1832
- const operationName = "deleteSecurityZone";
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";
1833
2228
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SecurityZone/DeleteSecurityZone";
1834
2229
  const pathParams = {
1835
2230
  "{securityZoneId}": deleteSecurityZoneRequest.securityZoneId
@@ -1873,12 +2268,12 @@ class CloudGuardClient {
1873
2268
  });
1874
2269
  }
1875
2270
  /**
1876
- * Deletes a Target identified by targetId
2271
+ * Deletes a target (Target resource) identified by targetId.
1877
2272
  * This operation does not retry by default if the user has not defined a retry configuration.
1878
2273
  * @param DeleteTargetRequest
1879
2274
  * @return DeleteTargetResponse
1880
2275
  * @throws OciError when an error occurs
1881
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
1882
2277
  */
1883
2278
  deleteTarget(deleteTargetRequest) {
1884
2279
  return __awaiter(this, void 0, void 0, function* () {
@@ -1928,12 +2323,14 @@ class CloudGuardClient {
1928
2323
  });
1929
2324
  }
1930
2325
  /**
1931
- * 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
+ *
1932
2329
  * This operation does not retry by default if the user has not defined a retry configuration.
1933
2330
  * @param DeleteTargetDetectorRecipeRequest
1934
2331
  * @return DeleteTargetDetectorRecipeResponse
1935
2332
  * @throws OciError when an error occurs
1936
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
1937
2334
  */
1938
2335
  deleteTargetDetectorRecipe(deleteTargetDetectorRecipeRequest) {
1939
2336
  return __awaiter(this, void 0, void 0, function* () {
@@ -1984,12 +2381,15 @@ class CloudGuardClient {
1984
2381
  });
1985
2382
  }
1986
2383
  /**
1987
- * 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
+ *
1988
2388
  * This operation does not retry by default if the user has not defined a retry configuration.
1989
2389
  * @param DeleteTargetResponderRecipeRequest
1990
2390
  * @return DeleteTargetResponderRecipeResponse
1991
2391
  * @throws OciError when an error occurs
1992
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
1993
2393
  */
1994
2394
  deleteTargetResponderRecipe(deleteTargetResponderRecipeRequest) {
1995
2395
  return __awaiter(this, void 0, void 0, function* () {
@@ -2040,12 +2440,103 @@ class CloudGuardClient {
2040
2440
  });
2041
2441
  }
2042
2442
  /**
2043
- * 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
+ *
2044
2535
  * This operation does not retry by default if the user has not defined a retry configuration.
2045
2536
  * @param ExecuteResponderExecutionRequest
2046
2537
  * @return ExecuteResponderExecutionResponse
2047
2538
  * @throws OciError when an error occurs
2048
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
2049
2540
  */
2050
2541
  executeResponderExecution(executeResponderExecutionRequest) {
2051
2542
  return __awaiter(this, void 0, void 0, function* () {
@@ -2099,13 +2590,138 @@ class CloudGuardClient {
2099
2590
  });
2100
2591
  }
2101
2592
  /**
2102
- * 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.
2103
2719
  *
2104
2720
  * This operation does not retry by default if the user has not defined a retry configuration.
2105
2721
  * @param GetConditionMetadataTypeRequest
2106
2722
  * @return GetConditionMetadataTypeResponse
2107
2723
  * @throws OciError when an error occurs
2108
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
2109
2725
  */
2110
2726
  getConditionMetadataType(getConditionMetadataTypeRequest) {
2111
2727
  return __awaiter(this, void 0, void 0, function* () {
@@ -2166,12 +2782,14 @@ class CloudGuardClient {
2166
2782
  });
2167
2783
  }
2168
2784
  /**
2169
- * 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
+ *
2170
2788
  * This operation does not retry by default if the user has not defined a retry configuration.
2171
2789
  * @param GetConfigurationRequest
2172
2790
  * @return GetConfigurationResponse
2173
2791
  * @throws OciError when an error occurs
2174
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
2175
2793
  */
2176
2794
  getConfiguration(getConfigurationRequest) {
2177
2795
  return __awaiter(this, void 0, void 0, function* () {
@@ -2234,12 +2852,12 @@ class CloudGuardClient {
2234
2852
  });
2235
2853
  }
2236
2854
  /**
2237
- * Returns a DataMaskRule object, identified by DataMaskRuleId.
2855
+ * Returns a DataMaskRule resource, identified by dataMaskRuleId.
2238
2856
  * This operation does not retry by default if the user has not defined a retry configuration.
2239
2857
  * @param GetDataMaskRuleRequest
2240
2858
  * @return GetDataMaskRuleResponse
2241
2859
  * @throws OciError when an error occurs
2242
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
2243
2861
  */
2244
2862
  getDataMaskRule(getDataMaskRuleRequest) {
2245
2863
  return __awaiter(this, void 0, void 0, function* () {
@@ -2297,12 +2915,12 @@ class CloudGuardClient {
2297
2915
  });
2298
2916
  }
2299
2917
  /**
2300
- * Returns a DataSource identified by dataSourceId
2918
+ * Returns a data source (DataSource resource) identified by dataSourceId.
2301
2919
  * This operation does not retry by default if the user has not defined a retry configuration.
2302
2920
  * @param GetDataSourceRequest
2303
2921
  * @return GetDataSourceResponse
2304
2922
  * @throws OciError when an error occurs
2305
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
2306
2924
  */
2307
2925
  getDataSource(getDataSourceRequest) {
2308
2926
  return __awaiter(this, void 0, void 0, function* () {
@@ -2360,13 +2978,13 @@ class CloudGuardClient {
2360
2978
  });
2361
2979
  }
2362
2980
  /**
2363
- * Returns a Detector object, identified by detectorId.
2981
+ * Returns a Detector resource, identified by detectorId.
2364
2982
  *
2365
2983
  * This operation does not retry by default if the user has not defined a retry configuration.
2366
2984
  * @param GetDetectorRequest
2367
2985
  * @return GetDetectorResponse
2368
2986
  * @throws OciError when an error occurs
2369
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
2370
2988
  */
2371
2989
  getDetector(getDetectorRequest) {
2372
2990
  return __awaiter(this, void 0, void 0, function* () {
@@ -2424,12 +3042,12 @@ class CloudGuardClient {
2424
3042
  });
2425
3043
  }
2426
3044
  /**
2427
- * Returns a detector recipe (DetectorRecipe object) identified by detectorRecipeId.
3045
+ * Returns a detector recipe (DetectorRecipe resource) identified by detectorRecipeId.
2428
3046
  * This operation does not retry by default if the user has not defined a retry configuration.
2429
3047
  * @param GetDetectorRecipeRequest
2430
3048
  * @return GetDetectorRecipeResponse
2431
3049
  * @throws OciError when an error occurs
2432
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
2433
3051
  */
2434
3052
  getDetectorRecipe(getDetectorRecipeRequest) {
2435
3053
  return __awaiter(this, void 0, void 0, function* () {
@@ -2487,12 +3105,12 @@ class CloudGuardClient {
2487
3105
  });
2488
3106
  }
2489
3107
  /**
2490
- * Returns a detector rule (DetectorRule object) identified by detectorRuleId.
3108
+ * Returns a detector rule (DetectorRule resource) identified by detectorRuleId.
2491
3109
  * This operation does not retry by default if the user has not defined a retry configuration.
2492
3110
  * @param GetDetectorRecipeDetectorRuleRequest
2493
3111
  * @return GetDetectorRecipeDetectorRuleResponse
2494
3112
  * @throws OciError when an error occurs
2495
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
2496
3114
  */
2497
3115
  getDetectorRecipeDetectorRule(getDetectorRecipeDetectorRuleRequest) {
2498
3116
  return __awaiter(this, void 0, void 0, function* () {
@@ -2551,13 +3169,13 @@ class CloudGuardClient {
2551
3169
  });
2552
3170
  }
2553
3171
  /**
2554
- * Returns a detector rule (DetectorRule object) identified by detectorRuleId.
3172
+ * Returns a detector rule (DetectorRule resource) identified by detectorRuleId.
2555
3173
  *
2556
3174
  * This operation does not retry by default if the user has not defined a retry configuration.
2557
3175
  * @param GetDetectorRuleRequest
2558
3176
  * @return GetDetectorRuleResponse
2559
3177
  * @throws OciError when an error occurs
2560
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
2561
3179
  */
2562
3180
  getDetectorRule(getDetectorRuleRequest) {
2563
3181
  return __awaiter(this, void 0, void 0, function* () {
@@ -2626,7 +3244,7 @@ class CloudGuardClient {
2626
3244
  * @param GetManagedListRequest
2627
3245
  * @return GetManagedListResponse
2628
3246
  * @throws OciError when an error occurs
2629
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
2630
3248
  */
2631
3249
  getManagedList(getManagedListRequest) {
2632
3250
  return __awaiter(this, void 0, void 0, function* () {
@@ -2684,12 +3302,12 @@ class CloudGuardClient {
2684
3302
  });
2685
3303
  }
2686
3304
  /**
2687
- * Returns the Problem object identified by a problemId.
3305
+ * Returns the Problem resource identified by problemId.
2688
3306
  * This operation does not retry by default if the user has not defined a retry configuration.
2689
3307
  * @param GetProblemRequest
2690
3308
  * @return GetProblemResponse
2691
3309
  * @throws OciError when an error occurs
2692
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
2693
3311
  */
2694
3312
  getProblem(getProblemRequest) {
2695
3313
  return __awaiter(this, void 0, void 0, function* () {
@@ -2747,35 +3365,35 @@ class CloudGuardClient {
2747
3365
  });
2748
3366
  }
2749
3367
  /**
2750
- * Returns resource profile details
3368
+ * Returns a resource identified by resourceId
2751
3369
  * This operation does not retry by default if the user has not defined a retry configuration.
2752
- * @param GetResourceProfileRequest
2753
- * @return GetResourceProfileResponse
3370
+ * @param GetResourceRequest
3371
+ * @return GetResourceResponse
2754
3372
  * @throws OciError when an error occurs
2755
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
2756
3374
  */
2757
- getResourceProfile(getResourceProfileRequest) {
3375
+ getResource(getResourceRequest) {
2758
3376
  return __awaiter(this, void 0, void 0, function* () {
2759
3377
  if (this.logger)
2760
- this.logger.debug("Calling operation CloudGuardClient#getResourceProfile.");
2761
- const operationName = "getResourceProfile";
2762
- 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";
2763
3381
  const pathParams = {
2764
- "{resourceProfileId}": getResourceProfileRequest.resourceProfileId
3382
+ "{resourceId}": getResourceRequest.resourceId
2765
3383
  };
2766
3384
  const queryParams = {};
2767
3385
  let headerParams = {
2768
3386
  "Content-Type": common.Constants.APPLICATION_JSON,
2769
- "opc-request-id": getResourceProfileRequest.opcRequestId
3387
+ "opc-request-id": getResourceRequest.opcRequestId
2770
3388
  };
2771
3389
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2772
- 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);
2773
3391
  if (this.logger)
2774
3392
  retrier.logger = this.logger;
2775
3393
  const request = yield oci_common_1.composeRequest({
2776
3394
  baseEndpoint: this._endpoint,
2777
3395
  defaultHeaders: this._defaultHeaders,
2778
- path: "/resourceProfiles/{resourceProfileId}",
3396
+ path: "/resources/{resourceId}",
2779
3397
  method: "GET",
2780
3398
  pathParams: pathParams,
2781
3399
  headerParams: headerParams,
@@ -2786,18 +3404,18 @@ class CloudGuardClient {
2786
3404
  const sdkResponse = oci_common_1.composeResponse({
2787
3405
  responseObject: {},
2788
3406
  body: yield response.json(),
2789
- bodyKey: "resourceProfile",
2790
- bodyModel: model.ResourceProfile,
2791
- type: "model.ResourceProfile",
3407
+ bodyKey: "resource",
3408
+ bodyModel: model.Resource,
3409
+ type: "model.Resource",
2792
3410
  responseHeaders: [
2793
3411
  {
2794
- value: response.headers.get("opc-request-id"),
2795
- key: "opcRequestId",
3412
+ value: response.headers.get("etag"),
3413
+ key: "etag",
2796
3414
  dataType: "string"
2797
3415
  },
2798
3416
  {
2799
- value: response.headers.get("etag"),
2800
- key: "etag",
3417
+ value: response.headers.get("opc-request-id"),
3418
+ key: "opcRequestId",
2801
3419
  dataType: "string"
2802
3420
  }
2803
3421
  ]
@@ -2810,36 +3428,35 @@ class CloudGuardClient {
2810
3428
  });
2811
3429
  }
2812
3430
  /**
2813
- * Returns a Responder Execution identified by responderExecutionId
2814
- *
3431
+ * Returns details for a resource profile, identified by resourceProfileId.
2815
3432
  * This operation does not retry by default if the user has not defined a retry configuration.
2816
- * @param GetResponderExecutionRequest
2817
- * @return GetResponderExecutionResponse
3433
+ * @param GetResourceProfileRequest
3434
+ * @return GetResourceProfileResponse
2818
3435
  * @throws OciError when an error occurs
2819
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
2820
3437
  */
2821
- getResponderExecution(getResponderExecutionRequest) {
3438
+ getResourceProfile(getResourceProfileRequest) {
2822
3439
  return __awaiter(this, void 0, void 0, function* () {
2823
3440
  if (this.logger)
2824
- this.logger.debug("Calling operation CloudGuardClient#getResponderExecution.");
2825
- const operationName = "getResponderExecution";
2826
- 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";
2827
3444
  const pathParams = {
2828
- "{responderExecutionId}": getResponderExecutionRequest.responderExecutionId
3445
+ "{resourceProfileId}": getResourceProfileRequest.resourceProfileId
2829
3446
  };
2830
3447
  const queryParams = {};
2831
3448
  let headerParams = {
2832
3449
  "Content-Type": common.Constants.APPLICATION_JSON,
2833
- "opc-request-id": getResponderExecutionRequest.opcRequestId
3450
+ "opc-request-id": getResourceProfileRequest.opcRequestId
2834
3451
  };
2835
3452
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2836
- 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);
2837
3454
  if (this.logger)
2838
3455
  retrier.logger = this.logger;
2839
3456
  const request = yield oci_common_1.composeRequest({
2840
3457
  baseEndpoint: this._endpoint,
2841
3458
  defaultHeaders: this._defaultHeaders,
2842
- path: "/responderExecutions/{responderExecutionId}",
3459
+ path: "/resourceProfiles/{resourceProfileId}",
2843
3460
  method: "GET",
2844
3461
  pathParams: pathParams,
2845
3462
  headerParams: headerParams,
@@ -2850,18 +3467,18 @@ class CloudGuardClient {
2850
3467
  const sdkResponse = oci_common_1.composeResponse({
2851
3468
  responseObject: {},
2852
3469
  body: yield response.json(),
2853
- bodyKey: "responderExecution",
2854
- bodyModel: model.ResponderExecution,
2855
- type: "model.ResponderExecution",
3470
+ bodyKey: "resourceProfile",
3471
+ bodyModel: model.ResourceProfile,
3472
+ type: "model.ResourceProfile",
2856
3473
  responseHeaders: [
2857
3474
  {
2858
- value: response.headers.get("etag"),
2859
- key: "etag",
3475
+ value: response.headers.get("opc-request-id"),
3476
+ key: "opcRequestId",
2860
3477
  dataType: "string"
2861
3478
  },
2862
3479
  {
2863
- value: response.headers.get("opc-request-id"),
2864
- key: "opcRequestId",
3480
+ value: response.headers.get("etag"),
3481
+ key: "etag",
2865
3482
  dataType: "string"
2866
3483
  }
2867
3484
  ]
@@ -2874,14 +3491,142 @@ class CloudGuardClient {
2874
3491
  });
2875
3492
  }
2876
3493
  /**
2877
- * Get a ResponderRecipe by identifier
3494
+ * Returns the vulnerability details associated with the cveId where resource is an instance
2878
3495
  * This operation does not retry by default if the user has not defined a retry configuration.
2879
- * @param GetResponderRecipeRequest
2880
- * @return GetResponderRecipeResponse
3496
+ * @param GetResourceVulnerabilityRequest
3497
+ * @return GetResourceVulnerabilityResponse
2881
3498
  * @throws OciError when an error occurs
2882
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/cloudguard/GetResponderRecipe.ts.html |here} to see how to use GetResponderRecipe API.
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.
2883
3500
  */
2884
- getResponderRecipe(getResponderRecipeRequest) {
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.
3623
+ * This operation does not retry by default if the user has not defined a retry configuration.
3624
+ * @param GetResponderRecipeRequest
3625
+ * @return GetResponderRecipeResponse
3626
+ * @throws OciError when an error occurs
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.
3628
+ */
3629
+ getResponderRecipe(getResponderRecipeRequest) {
2885
3630
  return __awaiter(this, void 0, void 0, function* () {
2886
3631
  if (this.logger)
2887
3632
  this.logger.debug("Calling operation CloudGuardClient#getResponderRecipe.");
@@ -2937,12 +3682,12 @@ class CloudGuardClient {
2937
3682
  });
2938
3683
  }
2939
3684
  /**
2940
- * Get ResponderRule by identifier
3685
+ * Returns a responder rule (ResponderRule resource) identified by responderRuleId.
2941
3686
  * This operation does not retry by default if the user has not defined a retry configuration.
2942
3687
  * @param GetResponderRecipeResponderRuleRequest
2943
3688
  * @return GetResponderRecipeResponderRuleResponse
2944
3689
  * @throws OciError when an error occurs
2945
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
2946
3691
  */
2947
3692
  getResponderRecipeResponderRule(getResponderRecipeResponderRuleRequest) {
2948
3693
  return __awaiter(this, void 0, void 0, function* () {
@@ -3001,12 +3746,12 @@ class CloudGuardClient {
3001
3746
  });
3002
3747
  }
3003
3748
  /**
3004
- * Get a ResponderRule by identifier
3749
+ * Returns a responder rule (ResponderRule resource) identified by resonderRuleId.
3005
3750
  * This operation does not retry by default if the user has not defined a retry configuration.
3006
3751
  * @param GetResponderRuleRequest
3007
3752
  * @return GetResponderRuleResponse
3008
3753
  * @throws OciError when an error occurs
3009
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
3010
3755
  */
3011
3756
  getResponderRule(getResponderRuleRequest) {
3012
3757
  return __awaiter(this, void 0, void 0, function* () {
@@ -3064,12 +3809,78 @@ class CloudGuardClient {
3064
3809
  });
3065
3810
  }
3066
3811
  /**
3067
- * 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
+ *
3068
3879
  * This operation does not retry by default if the user has not defined a retry configuration.
3069
3880
  * @param GetSecurityPolicyRequest
3070
3881
  * @return GetSecurityPolicyResponse
3071
3882
  * @throws OciError when an error occurs
3072
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
3073
3884
  */
3074
3885
  getSecurityPolicy(getSecurityPolicyRequest) {
3075
3886
  return __awaiter(this, void 0, void 0, function* () {
@@ -3127,12 +3938,12 @@ class CloudGuardClient {
3127
3938
  });
3128
3939
  }
3129
3940
  /**
3130
- * 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.
3131
3942
  * This operation does not retry by default if the user has not defined a retry configuration.
3132
3943
  * @param GetSecurityRecipeRequest
3133
3944
  * @return GetSecurityRecipeResponse
3134
3945
  * @throws OciError when an error occurs
3135
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
3136
3947
  */
3137
3948
  getSecurityRecipe(getSecurityRecipeRequest) {
3138
3949
  return __awaiter(this, void 0, void 0, function* () {
@@ -3190,12 +4001,12 @@ class CloudGuardClient {
3190
4001
  });
3191
4002
  }
3192
4003
  /**
3193
- * 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.
3194
4005
  * This operation does not retry by default if the user has not defined a retry configuration.
3195
4006
  * @param GetSecurityZoneRequest
3196
4007
  * @return GetSecurityZoneResponse
3197
4008
  * @throws OciError when an error occurs
3198
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
3199
4010
  */
3200
4011
  getSecurityZone(getSecurityZoneRequest) {
3201
4012
  return __awaiter(this, void 0, void 0, function* () {
@@ -3253,12 +4064,12 @@ class CloudGuardClient {
3253
4064
  });
3254
4065
  }
3255
4066
  /**
3256
- * Returns Sighting details
4067
+ * Returns a single sighting (Sighting resource) identified by sightingId.
3257
4068
  * This operation does not retry by default if the user has not defined a retry configuration.
3258
4069
  * @param GetSightingRequest
3259
4070
  * @return GetSightingResponse
3260
4071
  * @throws OciError when an error occurs
3261
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
3262
4073
  */
3263
4074
  getSighting(getSightingRequest) {
3264
4075
  return __awaiter(this, void 0, void 0, function* () {
@@ -3316,12 +4127,12 @@ class CloudGuardClient {
3316
4127
  });
3317
4128
  }
3318
4129
  /**
3319
- * Returns a Target identified by targetId
4130
+ * Returns a target (Target resource) identified by targetId.
3320
4131
  * This operation does not retry by default if the user has not defined a retry configuration.
3321
4132
  * @param GetTargetRequest
3322
4133
  * @return GetTargetResponse
3323
4134
  * @throws OciError when an error occurs
3324
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
3325
4136
  */
3326
4137
  getTarget(getTargetRequest) {
3327
4138
  return __awaiter(this, void 0, void 0, function* () {
@@ -3379,12 +4190,12 @@ class CloudGuardClient {
3379
4190
  });
3380
4191
  }
3381
4192
  /**
3382
- * Get a TargetDetectorRecipe by identifier
4193
+ * Returns a target detector recipe (TargetDetectorRecipe resource) identified by targetDetectorRecipeId.
3383
4194
  * This operation does not retry by default if the user has not defined a retry configuration.
3384
4195
  * @param GetTargetDetectorRecipeRequest
3385
4196
  * @return GetTargetDetectorRecipeResponse
3386
4197
  * @throws OciError when an error occurs
3387
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
3388
4199
  */
3389
4200
  getTargetDetectorRecipe(getTargetDetectorRecipeRequest) {
3390
4201
  return __awaiter(this, void 0, void 0, function* () {
@@ -3443,12 +4254,12 @@ class CloudGuardClient {
3443
4254
  });
3444
4255
  }
3445
4256
  /**
3446
- * Get DetectorRule by identifier
4257
+ * Returns DetectorRule resource by identified by targetDetectorRecipeId.
3447
4258
  * This operation does not retry by default if the user has not defined a retry configuration.
3448
4259
  * @param GetTargetDetectorRecipeDetectorRuleRequest
3449
4260
  * @return GetTargetDetectorRecipeDetectorRuleResponse
3450
4261
  * @throws OciError when an error occurs
3451
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
3452
4263
  */
3453
4264
  getTargetDetectorRecipeDetectorRule(getTargetDetectorRecipeDetectorRuleRequest) {
3454
4265
  return __awaiter(this, void 0, void 0, function* () {
@@ -3508,12 +4319,14 @@ class CloudGuardClient {
3508
4319
  });
3509
4320
  }
3510
4321
  /**
3511
- * 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
+ *
3512
4325
  * This operation does not retry by default if the user has not defined a retry configuration.
3513
4326
  * @param GetTargetResponderRecipeRequest
3514
4327
  * @return GetTargetResponderRecipeResponse
3515
4328
  * @throws OciError when an error occurs
3516
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
3517
4330
  */
3518
4331
  getTargetResponderRecipe(getTargetResponderRecipeRequest) {
3519
4332
  return __awaiter(this, void 0, void 0, function* () {
@@ -3522,22 +4335,217 @@ class CloudGuardClient {
3522
4335
  const operationName = "getTargetResponderRecipe";
3523
4336
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/TargetResponderRecipe/GetTargetResponderRecipe";
3524
4337
  const pathParams = {
3525
- "{targetId}": getTargetResponderRecipeRequest.targetId,
3526
- "{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
3527
4535
  };
3528
4536
  const queryParams = {};
3529
4537
  let headerParams = {
3530
4538
  "Content-Type": common.Constants.APPLICATION_JSON,
3531
- "opc-request-id": getTargetResponderRecipeRequest.opcRequestId
4539
+ "opc-request-id": getWorkRequestRequest.opcRequestId
3532
4540
  };
3533
4541
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
3534
- 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);
3535
4543
  if (this.logger)
3536
4544
  retrier.logger = this.logger;
3537
4545
  const request = yield oci_common_1.composeRequest({
3538
4546
  baseEndpoint: this._endpoint,
3539
4547
  defaultHeaders: this._defaultHeaders,
3540
- path: "/targets/{targetId}/targetResponderRecipes/{targetResponderRecipeId}",
4548
+ path: "/workRequests/{workRequestId}",
3541
4549
  method: "GET",
3542
4550
  pathParams: pathParams,
3543
4551
  headerParams: headerParams,
@@ -3548,9 +4556,9 @@ class CloudGuardClient {
3548
4556
  const sdkResponse = oci_common_1.composeResponse({
3549
4557
  responseObject: {},
3550
4558
  body: yield response.json(),
3551
- bodyKey: "targetResponderRecipe",
3552
- bodyModel: model.TargetResponderRecipe,
3553
- type: "model.TargetResponderRecipe",
4559
+ bodyKey: "workRequest",
4560
+ bodyModel: model.WorkRequest,
4561
+ type: "model.WorkRequest",
3554
4562
  responseHeaders: [
3555
4563
  {
3556
4564
  value: response.headers.get("etag"),
@@ -3561,6 +4569,11 @@ class CloudGuardClient {
3561
4569
  value: response.headers.get("opc-request-id"),
3562
4570
  key: "opcRequestId",
3563
4571
  dataType: "string"
4572
+ },
4573
+ {
4574
+ value: response.headers.get("retry-after"),
4575
+ key: "retryAfter",
4576
+ dataType: "number"
3564
4577
  }
3565
4578
  ]
3566
4579
  });
@@ -3572,37 +4585,61 @@ class CloudGuardClient {
3572
4585
  });
3573
4586
  }
3574
4587
  /**
3575
- * Get ResponderRule by identifier
3576
- * This operation does not retry by default if the user has not defined a retry configuration.
3577
- * @param GetTargetResponderRecipeResponderRuleRequest
3578
- * @return GetTargetResponderRecipeResponderRuleResponse
3579
- * @throws OciError when an error occurs
3580
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/cloudguard/GetTargetResponderRecipeResponderRule.ts.html |here} to see how to use GetTargetResponderRecipeResponderRule API.
3581
- */
3582
- 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) {
3583
4613
  return __awaiter(this, void 0, void 0, function* () {
3584
4614
  if (this.logger)
3585
- this.logger.debug("Calling operation CloudGuardClient#getTargetResponderRecipeResponderRule.");
3586
- const operationName = "getTargetResponderRecipeResponderRule";
3587
- const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/TargetResponderRecipeResponderRule/GetTargetResponderRecipeResponderRule";
3588
- const pathParams = {
3589
- "{targetId}": getTargetResponderRecipeResponderRuleRequest.targetId,
3590
- "{targetResponderRecipeId}": getTargetResponderRecipeResponderRuleRequest.targetResponderRecipeId,
3591
- "{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
3592
4630
  };
3593
- const queryParams = {};
3594
4631
  let headerParams = {
3595
4632
  "Content-Type": common.Constants.APPLICATION_JSON,
3596
- "opc-request-id": getTargetResponderRecipeResponderRuleRequest.opcRequestId
4633
+ "opc-request-id": listAdhocQueriesRequest.opcRequestId
3597
4634
  };
3598
4635
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
3599
- 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);
3600
4637
  if (this.logger)
3601
4638
  retrier.logger = this.logger;
3602
4639
  const request = yield oci_common_1.composeRequest({
3603
4640
  baseEndpoint: this._endpoint,
3604
4641
  defaultHeaders: this._defaultHeaders,
3605
- path: "/targets/{targetId}/targetResponderRecipes/{targetResponderRecipeId}/responderRules/{responderRuleId}",
4642
+ path: "/adhocQueries",
3606
4643
  method: "GET",
3607
4644
  pathParams: pathParams,
3608
4645
  headerParams: headerParams,
@@ -3613,18 +4650,18 @@ class CloudGuardClient {
3613
4650
  const sdkResponse = oci_common_1.composeResponse({
3614
4651
  responseObject: {},
3615
4652
  body: yield response.json(),
3616
- bodyKey: "targetResponderRecipeResponderRule",
3617
- bodyModel: model.TargetResponderRecipeResponderRule,
3618
- type: "model.TargetResponderRecipeResponderRule",
4653
+ bodyKey: "adhocQueryCollection",
4654
+ bodyModel: model.AdhocQueryCollection,
4655
+ type: "model.AdhocQueryCollection",
3619
4656
  responseHeaders: [
3620
4657
  {
3621
- value: response.headers.get("etag"),
3622
- key: "etag",
4658
+ value: response.headers.get("opc-request-id"),
4659
+ key: "opcRequestId",
3623
4660
  dataType: "string"
3624
4661
  },
3625
4662
  {
3626
- value: response.headers.get("opc-request-id"),
3627
- key: "opcRequestId",
4663
+ value: response.headers.get("opc-next-page"),
4664
+ key: "opcNextPage",
3628
4665
  dataType: "string"
3629
4666
  }
3630
4667
  ]
@@ -3637,35 +4674,41 @@ class CloudGuardClient {
3637
4674
  });
3638
4675
  }
3639
4676
  /**
3640
- * 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).
3641
4678
  * This operation does not retry by default if the user has not defined a retry configuration.
3642
- * @param GetWorkRequestRequest
3643
- * @return GetWorkRequestResponse
4679
+ * @param ListAdhocQueryResultsRequest
4680
+ * @return ListAdhocQueryResultsResponse
3644
4681
  * @throws OciError when an error occurs
3645
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
3646
4683
  */
3647
- getWorkRequest(getWorkRequestRequest) {
4684
+ listAdhocQueryResults(listAdhocQueryResultsRequest) {
3648
4685
  return __awaiter(this, void 0, void 0, function* () {
3649
4686
  if (this.logger)
3650
- this.logger.debug("Calling operation CloudGuardClient#getWorkRequest.");
3651
- const operationName = "getWorkRequest";
3652
- 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";
3653
4690
  const pathParams = {
3654
- "{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
3655
4699
  };
3656
- const queryParams = {};
3657
4700
  let headerParams = {
3658
4701
  "Content-Type": common.Constants.APPLICATION_JSON,
3659
- "opc-request-id": getWorkRequestRequest.opcRequestId
4702
+ "opc-request-id": listAdhocQueryResultsRequest.opcRequestId
3660
4703
  };
3661
4704
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
3662
- 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);
3663
4706
  if (this.logger)
3664
4707
  retrier.logger = this.logger;
3665
4708
  const request = yield oci_common_1.composeRequest({
3666
4709
  baseEndpoint: this._endpoint,
3667
4710
  defaultHeaders: this._defaultHeaders,
3668
- path: "/workRequests/{workRequestId}",
4711
+ path: "/adhocQueries/{adhocQueryId}/results",
3669
4712
  method: "GET",
3670
4713
  pathParams: pathParams,
3671
4714
  headerParams: headerParams,
@@ -3676,24 +4719,19 @@ class CloudGuardClient {
3676
4719
  const sdkResponse = oci_common_1.composeResponse({
3677
4720
  responseObject: {},
3678
4721
  body: yield response.json(),
3679
- bodyKey: "workRequest",
3680
- bodyModel: model.WorkRequest,
3681
- type: "model.WorkRequest",
4722
+ bodyKey: "adhocQueryResultCollection",
4723
+ bodyModel: model.AdhocQueryResultCollection,
4724
+ type: "model.AdhocQueryResultCollection",
3682
4725
  responseHeaders: [
3683
- {
3684
- value: response.headers.get("etag"),
3685
- key: "etag",
3686
- dataType: "string"
3687
- },
3688
4726
  {
3689
4727
  value: response.headers.get("opc-request-id"),
3690
4728
  key: "opcRequestId",
3691
4729
  dataType: "string"
3692
4730
  },
3693
4731
  {
3694
- value: response.headers.get("retry-after"),
3695
- key: "retryAfter",
3696
- dataType: "number"
4732
+ value: response.headers.get("opc-next-page"),
4733
+ key: "opcNextPage",
4734
+ dataType: "string"
3697
4735
  }
3698
4736
  ]
3699
4737
  });
@@ -3705,13 +4743,13 @@ class CloudGuardClient {
3705
4743
  });
3706
4744
  }
3707
4745
  /**
3708
- * Returns a list of ConditionMetadataType objects.
4746
+ * Returns a list of ConditionMetadataType resources.
3709
4747
  *
3710
4748
  * This operation does not retry by default if the user has not defined a retry configuration.
3711
4749
  * @param ListConditionMetadataTypesRequest
3712
4750
  * @return ListConditionMetadataTypesResponse
3713
4751
  * @throws OciError when an error occurs
3714
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
3715
4753
  */
3716
4754
  listConditionMetadataTypes(listConditionMetadataTypesRequest) {
3717
4755
  return __awaiter(this, void 0, void 0, function* () {
@@ -3774,13 +4812,13 @@ class CloudGuardClient {
3774
4812
  });
3775
4813
  }
3776
4814
  /**
3777
- * 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.
3778
4816
  *
3779
4817
  * This operation does not retry by default if the user has not defined a retry configuration.
3780
4818
  * @param ListDataMaskRulesRequest
3781
4819
  * @return ListDataMaskRulesResponse
3782
4820
  * @throws OciError when an error occurs
3783
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
3784
4822
  */
3785
4823
  listDataMaskRules(listDataMaskRulesRequest) {
3786
4824
  return __awaiter(this, void 0, void 0, function* () {
@@ -3849,13 +4887,15 @@ class CloudGuardClient {
3849
4887
  });
3850
4888
  }
3851
4889
  /**
3852
- * 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.
3853
4893
  *
3854
4894
  * This operation does not retry by default if the user has not defined a retry configuration.
3855
4895
  * @param ListDataSourceEventsRequest
3856
4896
  * @return ListDataSourceEventsResponse
3857
4897
  * @throws OciError when an error occurs
3858
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
3859
4899
  */
3860
4900
  listDataSourceEvents(listDataSourceEventsRequest) {
3861
4901
  return __awaiter(this, void 0, void 0, function* () {
@@ -3919,9 +4959,11 @@ class CloudGuardClient {
3919
4959
  });
3920
4960
  }
3921
4961
  /**
3922
- * 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.
3923
4965
  * <p>
3924
- The ListDataSources operation returns only the data Sources in `compartmentId` passed.
4966
+ The ListAdhocQueries operation returns only the adhoc queries in 'compartmentId' passed.
3925
4967
  * The list does not include any subcompartments of the compartmentId passed.
3926
4968
  * <p>
3927
4969
  The parameter `accessLevel` specifies whether to return only those compartments for which the
@@ -3930,7 +4972,7 @@ class CloudGuardClient {
3930
4972
  * Principal doesn't have access to even one of the child compartments. This is valid only when
3931
4973
  * `compartmentIdInSubtree` is set to `true`.
3932
4974
  * <p>
3933
- The parameter `compartmentIdInSubtree` applies when you perform ListdataSources on the
4975
+ The parameter `compartmentIdInSubtree` applies when you perform ListAdhocQueries on the
3934
4976
  * `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned.
3935
4977
  * To get a full list of all compartments and subcompartments in the tenancy (root compartment),
3936
4978
  * set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
@@ -3939,7 +4981,7 @@ class CloudGuardClient {
3939
4981
  * @param ListDataSourcesRequest
3940
4982
  * @return ListDataSourcesResponse
3941
4983
  * @throws OciError when an error occurs
3942
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
3943
4985
  */
3944
4986
  listDataSources(listDataSourcesRequest) {
3945
4987
  return __awaiter(this, void 0, void 0, function* () {
@@ -4007,13 +5049,13 @@ class CloudGuardClient {
4007
5049
  });
4008
5050
  }
4009
5051
  /**
4010
- * 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.
4011
5053
  *
4012
5054
  * This operation does not retry by default if the user has not defined a retry configuration.
4013
5055
  * @param ListDetectorRecipeDetectorRulesRequest
4014
5056
  * @return ListDetectorRecipeDetectorRulesResponse
4015
5057
  * @throws OciError when an error occurs
4016
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
4017
5059
  */
4018
5060
  listDetectorRecipeDetectorRules(listDetectorRecipeDetectorRulesRequest) {
4019
5061
  return __awaiter(this, void 0, void 0, function* () {
@@ -4079,7 +5121,7 @@ class CloudGuardClient {
4079
5121
  });
4080
5122
  }
4081
5123
  /**
4082
- * 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.
4083
5125
  * <p>
4084
5126
  The ListDetectorRecipes operation returns only the detector recipes in `compartmentId` passed.
4085
5127
  * The list does not include any subcompartments of the compartmentId passed.
@@ -4099,7 +5141,7 @@ class CloudGuardClient {
4099
5141
  * @param ListDetectorRecipesRequest
4100
5142
  * @return ListDetectorRecipesResponse
4101
5143
  * @throws OciError when an error occurs
4102
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
4103
5145
  */
4104
5146
  listDetectorRecipes(listDetectorRecipesRequest) {
4105
5147
  return __awaiter(this, void 0, void 0, function* () {
@@ -4166,13 +5208,13 @@ class CloudGuardClient {
4166
5208
  });
4167
5209
  }
4168
5210
  /**
4169
- * 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.
4170
5212
  *
4171
5213
  * This operation does not retry by default if the user has not defined a retry configuration.
4172
5214
  * @param ListDetectorRulesRequest
4173
5215
  * @return ListDetectorRulesResponse
4174
5216
  * @throws OciError when an error occurs
4175
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
4176
5218
  */
4177
5219
  listDetectorRules(listDetectorRulesRequest) {
4178
5220
  return __awaiter(this, void 0, void 0, function* () {
@@ -4238,13 +5280,13 @@ class CloudGuardClient {
4238
5280
  });
4239
5281
  }
4240
5282
  /**
4241
- * 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.
4242
5284
  *
4243
5285
  * This operation does not retry by default if the user has not defined a retry configuration.
4244
5286
  * @param ListDetectorsRequest
4245
5287
  * @return ListDetectorsResponse
4246
5288
  * @throws OciError when an error occurs
4247
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
4248
5290
  */
4249
5291
  listDetectors(listDetectorsRequest) {
4250
5292
  return __awaiter(this, void 0, void 0, function* () {
@@ -4307,13 +5349,13 @@ class CloudGuardClient {
4307
5349
  });
4308
5350
  }
4309
5351
  /**
4310
- * 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.
4311
5353
  *
4312
5354
  * This operation does not retry by default if the user has not defined a retry configuration.
4313
5355
  * @param ListImpactedResourcesRequest
4314
5356
  * @return ListImpactedResourcesResponse
4315
5357
  * @throws OciError when an error occurs
4316
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
4317
5359
  */
4318
5360
  listImpactedResources(listImpactedResourcesRequest) {
4319
5361
  return __awaiter(this, void 0, void 0, function* () {
@@ -4381,7 +5423,7 @@ class CloudGuardClient {
4381
5423
  * @param ListManagedListTypesRequest
4382
5424
  * @return ListManagedListTypesResponse
4383
5425
  * @throws OciError when an error occurs
4384
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
4385
5427
  */
4386
5428
  listManagedListTypes(listManagedListTypesRequest) {
4387
5429
  return __awaiter(this, void 0, void 0, function* () {
@@ -4444,7 +5486,7 @@ class CloudGuardClient {
4444
5486
  });
4445
5487
  }
4446
5488
  /**
4447
- * 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.
4448
5490
  * The ListManagedLists operation returns only the managed lists in `compartmentId` passed.
4449
5491
  * The list does not include any subcompartments of the compartmentId passed.
4450
5492
  * <p>
@@ -4463,7 +5505,7 @@ class CloudGuardClient {
4463
5505
  * @param ListManagedListsRequest
4464
5506
  * @return ListManagedListsResponse
4465
5507
  * @throws OciError when an error occurs
4466
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
4467
5509
  */
4468
5510
  listManagedLists(listManagedListsRequest) {
4469
5511
  return __awaiter(this, void 0, void 0, function* () {
@@ -4537,7 +5579,7 @@ class CloudGuardClient {
4537
5579
  * @param ListPoliciesRequest
4538
5580
  * @return ListPoliciesResponse
4539
5581
  * @throws OciError when an error occurs
4540
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
4541
5583
  */
4542
5584
  listPolicies(listPoliciesRequest) {
4543
5585
  return __awaiter(this, void 0, void 0, function* () {
@@ -4605,7 +5647,7 @@ class CloudGuardClient {
4605
5647
  * @param ListProblemEndpointsRequest
4606
5648
  * @return ListProblemEndpointsResponse
4607
5649
  * @throws OciError when an error occurs
4608
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
4609
5651
  */
4610
5652
  listProblemEndpoints(listProblemEndpointsRequest) {
4611
5653
  return __awaiter(this, void 0, void 0, function* () {
@@ -4668,13 +5710,13 @@ class CloudGuardClient {
4668
5710
  });
4669
5711
  }
4670
5712
  /**
4671
- * Returns a list of entities for a CloudGuard Problem
5713
+ * Returns a list of entities for a problem.
4672
5714
  *
4673
5715
  * This operation does not retry by default if the user has not defined a retry configuration.
4674
5716
  * @param ListProblemEntitiesRequest
4675
5717
  * @return ListProblemEntitiesResponse
4676
5718
  * @throws OciError when an error occurs
4677
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
4678
5720
  */
4679
5721
  listProblemEntities(listProblemEntitiesRequest) {
4680
5722
  return __awaiter(this, void 0, void 0, function* () {
@@ -4737,13 +5779,13 @@ class CloudGuardClient {
4737
5779
  });
4738
5780
  }
4739
5781
  /**
4740
- * Returns a list of actions taken on a Cloud Guard problem.
5782
+ * Returns a list of actions taken on a problem.
4741
5783
  *
4742
5784
  * This operation does not retry by default if the user has not defined a retry configuration.
4743
5785
  * @param ListProblemHistoriesRequest
4744
5786
  * @return ListProblemHistoriesResponse
4745
5787
  * @throws OciError when an error occurs
4746
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
4747
5789
  */
4748
5790
  listProblemHistories(listProblemHistoriesRequest) {
4749
5791
  return __awaiter(this, void 0, void 0, function* () {
@@ -4827,7 +5869,7 @@ class CloudGuardClient {
4827
5869
  * @param ListProblemsRequest
4828
5870
  * @return ListProblemsResponse
4829
5871
  * @throws OciError when an error occurs
4830
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
4831
5873
  */
4832
5874
  listProblems(listProblemsRequest) {
4833
5875
  return __awaiter(this, void 0, void 0, function* () {
@@ -4909,13 +5951,14 @@ class CloudGuardClient {
4909
5951
  });
4910
5952
  }
4911
5953
  /**
4912
- * 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.
4913
5956
  *
4914
5957
  * This operation does not retry by default if the user has not defined a retry configuration.
4915
5958
  * @param ListRecommendationsRequest
4916
5959
  * @return ListRecommendationsResponse
4917
5960
  * @throws OciError when an error occurs
4918
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
4919
5962
  */
4920
5963
  listRecommendations(listRecommendationsRequest) {
4921
5964
  return __awaiter(this, void 0, void 0, function* () {
@@ -4982,12 +6025,83 @@ class CloudGuardClient {
4982
6025
  });
4983
6026
  }
4984
6027
  /**
4985
- * 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
+ *
4986
6100
  * This operation does not retry by default if the user has not defined a retry configuration.
4987
6101
  * @param ListResourceProfileEndpointsRequest
4988
6102
  * @return ListResourceProfileEndpointsResponse
4989
6103
  * @throws OciError when an error occurs
4990
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
4991
6105
  */
4992
6106
  listResourceProfileEndpoints(listResourceProfileEndpointsRequest) {
4993
6107
  return __awaiter(this, void 0, void 0, function* () {
@@ -5050,12 +6164,15 @@ class CloudGuardClient {
5050
6164
  });
5051
6165
  }
5052
6166
  /**
5053
- * 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
+ *
5054
6171
  * This operation does not retry by default if the user has not defined a retry configuration.
5055
6172
  * @param ListResourceProfileImpactedResourcesRequest
5056
6173
  * @return ListResourceProfileImpactedResourcesResponse
5057
6174
  * @throws OciError when an error occurs
5058
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
5059
6176
  */
5060
6177
  listResourceProfileImpactedResources(listResourceProfileImpactedResourcesRequest) {
5061
6178
  return __awaiter(this, void 0, void 0, function* () {
@@ -5118,8 +6235,8 @@ class CloudGuardClient {
5118
6235
  });
5119
6236
  }
5120
6237
  /**
5121
- * Returns a list of all resource profiles identified by the Cloud Guard
5122
- * 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.
5123
6240
  * <p>
5124
6241
  The ListResourceProfiles operation returns only the resource profiles in `compartmentId` passed.
5125
6242
  * The parameter `accessLevel` specifies whether to return only those compartments for which the
@@ -5137,7 +6254,7 @@ class CloudGuardClient {
5137
6254
  * @param ListResourceProfilesRequest
5138
6255
  * @return ListResourceProfilesResponse
5139
6256
  * @throws OciError when an error occurs
5140
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
5141
6258
  */
5142
6259
  listResourceProfiles(listResourceProfilesRequest) {
5143
6260
  return __awaiter(this, void 0, void 0, function* () {
@@ -5210,42 +6327,208 @@ class CloudGuardClient {
5210
6327
  });
5211
6328
  }
5212
6329
  /**
5213
- * Returns a list of resource types.
6330
+ * Returns a single ResourceTypeCollection resource, containing a list of resource types,
6331
+ * identified by parameters specified.
5214
6332
  *
5215
6333
  * This operation does not retry by default if the user has not defined a retry configuration.
5216
6334
  * @param ListResourceTypesRequest
5217
6335
  * @return ListResourceTypesResponse
5218
6336
  * @throws OciError when an error occurs
5219
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
5220
6338
  */
5221
6339
  listResourceTypes(listResourceTypesRequest) {
5222
6340
  return __awaiter(this, void 0, void 0, function* () {
5223
6341
  if (this.logger)
5224
- this.logger.debug("Calling operation CloudGuardClient#listResourceTypes.");
5225
- const operationName = "listResourceTypes";
5226
- 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";
5227
6499
  const pathParams = {};
5228
6500
  const queryParams = {
5229
- "compartmentId": listResourceTypesRequest.compartmentId,
5230
- "detectorId": listResourceTypesRequest.detectorId,
5231
- "lifecycleState": listResourceTypesRequest.lifecycleState,
5232
- "limit": listResourceTypesRequest.limit,
5233
- "page": listResourceTypesRequest.page,
5234
- "sortOrder": listResourceTypesRequest.sortOrder,
5235
- "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
5236
6519
  };
5237
6520
  let headerParams = {
5238
6521
  "Content-Type": common.Constants.APPLICATION_JSON,
5239
- "opc-request-id": listResourceTypesRequest.opcRequestId
6522
+ "opc-request-id": listResourcesRequest.opcRequestId
5240
6523
  };
5241
6524
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
5242
- 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);
5243
6526
  if (this.logger)
5244
6527
  retrier.logger = this.logger;
5245
6528
  const request = yield oci_common_1.composeRequest({
5246
6529
  baseEndpoint: this._endpoint,
5247
6530
  defaultHeaders: this._defaultHeaders,
5248
- path: "/resourceTypes",
6531
+ path: "/resources",
5249
6532
  method: "GET",
5250
6533
  pathParams: pathParams,
5251
6534
  headerParams: headerParams,
@@ -5256,9 +6539,9 @@ class CloudGuardClient {
5256
6539
  const sdkResponse = oci_common_1.composeResponse({
5257
6540
  responseObject: {},
5258
6541
  body: yield response.json(),
5259
- bodyKey: "resourceTypeCollection",
5260
- bodyModel: model.ResourceTypeCollection,
5261
- type: "model.ResourceTypeCollection",
6542
+ bodyKey: "resourceCollection",
6543
+ bodyModel: model.ResourceCollection,
6544
+ type: "model.ResourceCollection",
5262
6545
  responseHeaders: [
5263
6546
  {
5264
6547
  value: response.headers.get("opc-request-id"),
@@ -5280,13 +6563,14 @@ class CloudGuardClient {
5280
6563
  });
5281
6564
  }
5282
6565
  /**
5283
- * 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.
5284
6568
  *
5285
6569
  * This operation does not retry by default if the user has not defined a retry configuration.
5286
6570
  * @param ListResponderActivitiesRequest
5287
6571
  * @return ListResponderActivitiesResponse
5288
6572
  * @throws OciError when an error occurs
5289
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
5290
6574
  */
5291
6575
  listResponderActivities(listResponderActivitiesRequest) {
5292
6576
  return __awaiter(this, void 0, void 0, function* () {
@@ -5349,13 +6633,14 @@ class CloudGuardClient {
5349
6633
  });
5350
6634
  }
5351
6635
  /**
5352
- * 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.
5353
6638
  *
5354
6639
  * This operation does not retry by default if the user has not defined a retry configuration.
5355
6640
  * @param ListResponderExecutionsRequest
5356
6641
  * @return ListResponderExecutionsResponse
5357
6642
  * @throws OciError when an error occurs
5358
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
5359
6644
  */
5360
6645
  listResponderExecutions(listResponderExecutionsRequest) {
5361
6646
  return __awaiter(this, void 0, void 0, function* () {
@@ -5429,13 +6714,15 @@ class CloudGuardClient {
5429
6714
  });
5430
6715
  }
5431
6716
  /**
5432
- * 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.
5433
6720
  *
5434
6721
  * This operation does not retry by default if the user has not defined a retry configuration.
5435
6722
  * @param ListResponderRecipeResponderRulesRequest
5436
6723
  * @return ListResponderRecipeResponderRulesResponse
5437
6724
  * @throws OciError when an error occurs
5438
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
5439
6726
  */
5440
6727
  listResponderRecipeResponderRules(listResponderRecipeResponderRulesRequest) {
5441
6728
  return __awaiter(this, void 0, void 0, function* () {
@@ -5501,7 +6788,8 @@ class CloudGuardClient {
5501
6788
  });
5502
6789
  }
5503
6790
  /**
5504
- * 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.
5505
6793
  * The ListResponderRecipe operation returns only the targets in `compartmentId` passed.
5506
6794
  * The list does not include any subcompartments of the compartmentId passed.
5507
6795
  * <p>
@@ -5520,7 +6808,7 @@ class CloudGuardClient {
5520
6808
  * @param ListResponderRecipesRequest
5521
6809
  * @return ListResponderRecipesResponse
5522
6810
  * @throws OciError when an error occurs
5523
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
5524
6812
  */
5525
6813
  listResponderRecipes(listResponderRecipesRequest) {
5526
6814
  return __awaiter(this, void 0, void 0, function* () {
@@ -5587,13 +6875,15 @@ class CloudGuardClient {
5587
6875
  });
5588
6876
  }
5589
6877
  /**
5590
- * 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.
5591
6881
  *
5592
6882
  * This operation does not retry by default if the user has not defined a retry configuration.
5593
6883
  * @param ListResponderRulesRequest
5594
6884
  * @return ListResponderRulesResponse
5595
6885
  * @throws OciError when an error occurs
5596
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
5597
6887
  */
5598
6888
  listResponderRules(listResponderRulesRequest) {
5599
6889
  return __awaiter(this, void 0, void 0, function* () {
@@ -5657,13 +6947,85 @@ class CloudGuardClient {
5657
6947
  });
5658
6948
  }
5659
6949
  /**
5660
- * 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.
5661
7023
  *
5662
7024
  * This operation does not retry by default if the user has not defined a retry configuration.
5663
7025
  * @param ListSecurityPoliciesRequest
5664
7026
  * @return ListSecurityPoliciesResponse
5665
7027
  * @throws OciError when an error occurs
5666
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
5667
7029
  */
5668
7030
  listSecurityPolicies(listSecurityPoliciesRequest) {
5669
7031
  return __awaiter(this, void 0, void 0, function* () {
@@ -5728,13 +7090,14 @@ class CloudGuardClient {
5728
7090
  });
5729
7091
  }
5730
7092
  /**
5731
- * 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.
5732
7095
  *
5733
7096
  * This operation does not retry by default if the user has not defined a retry configuration.
5734
7097
  * @param ListSecurityRecipesRequest
5735
7098
  * @return ListSecurityRecipesResponse
5736
7099
  * @throws OciError when an error occurs
5737
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
5738
7101
  */
5739
7102
  listSecurityRecipes(listSecurityRecipesRequest) {
5740
7103
  return __awaiter(this, void 0, void 0, function* () {
@@ -5799,13 +7162,14 @@ class CloudGuardClient {
5799
7162
  });
5800
7163
  }
5801
7164
  /**
5802
- * 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.
5803
7167
  *
5804
7168
  * This operation does not retry by default if the user has not defined a retry configuration.
5805
7169
  * @param ListSecurityZonesRequest
5806
7170
  * @return ListSecurityZonesResponse
5807
7171
  * @throws OciError when an error occurs
5808
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
5809
7173
  */
5810
7174
  listSecurityZones(listSecurityZonesRequest) {
5811
7175
  return __awaiter(this, void 0, void 0, function* () {
@@ -5872,12 +7236,15 @@ class CloudGuardClient {
5872
7236
  });
5873
7237
  }
5874
7238
  /**
5875
- * Returns Sighting endpoints details
7239
+ * Returns sighting endpoints details in a
7240
+ * SightingEndpointsCollection resource
7241
+ * with a page of SightingEndpointSummary resources.
7242
+ *
5876
7243
  * This operation does not retry by default if the user has not defined a retry configuration.
5877
7244
  * @param ListSightingEndpointsRequest
5878
7245
  * @return ListSightingEndpointsResponse
5879
7246
  * @throws OciError when an error occurs
5880
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
5881
7248
  */
5882
7249
  listSightingEndpoints(listSightingEndpointsRequest) {
5883
7250
  return __awaiter(this, void 0, void 0, function* () {
@@ -5940,12 +7307,14 @@ class CloudGuardClient {
5940
7307
  });
5941
7308
  }
5942
7309
  /**
5943
- * 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
+ *
5944
7313
  * This operation does not retry by default if the user has not defined a retry configuration.
5945
7314
  * @param ListSightingImpactedResourcesRequest
5946
7315
  * @return ListSightingImpactedResourcesResponse
5947
7316
  * @throws OciError when an error occurs
5948
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
5949
7318
  */
5950
7319
  listSightingImpactedResources(listSightingImpactedResourcesRequest) {
5951
7320
  return __awaiter(this, void 0, void 0, function* () {
@@ -6008,8 +7377,8 @@ class CloudGuardClient {
6008
7377
  });
6009
7378
  }
6010
7379
  /**
6011
- * Returns a list of all Sightings identified by the Cloud Guard
6012
- * 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.
6013
7382
  * <p>
6014
7383
  The parameter `accessLevel` specifies whether to return only those compartments for which the
6015
7384
  * requestor has INSPECT permissions on at least one resource directly
@@ -6026,7 +7395,7 @@ class CloudGuardClient {
6026
7395
  * @param ListSightingsRequest
6027
7396
  * @return ListSightingsResponse
6028
7397
  * @throws OciError when an error occurs
6029
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
6030
7399
  */
6031
7400
  listSightings(listSightingsRequest) {
6032
7401
  return __awaiter(this, void 0, void 0, function* () {
@@ -6094,13 +7463,12 @@ class CloudGuardClient {
6094
7463
  });
6095
7464
  }
6096
7465
  /**
6097
- * Returns a list of tactics associated with detector rules.
6098
- *
7466
+ * Returns a list of TacticSummary resources for a compartment, identified by compartmentId.
6099
7467
  * This operation does not retry by default if the user has not defined a retry configuration.
6100
7468
  * @param ListTacticsRequest
6101
7469
  * @return ListTacticsResponse
6102
7470
  * @throws OciError when an error occurs
6103
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
6104
7472
  */
6105
7473
  listTactics(listTacticsRequest) {
6106
7474
  return __awaiter(this, void 0, void 0, function* () {
@@ -6169,7 +7537,7 @@ class CloudGuardClient {
6169
7537
  * @param ListTargetDetectorRecipeDetectorRulesRequest
6170
7538
  * @return ListTargetDetectorRecipeDetectorRulesResponse
6171
7539
  * @throws OciError when an error occurs
6172
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
6173
7541
  */
6174
7542
  listTargetDetectorRecipeDetectorRules(listTargetDetectorRecipeDetectorRulesRequest) {
6175
7543
  return __awaiter(this, void 0, void 0, function* () {
@@ -6236,12 +7604,15 @@ class CloudGuardClient {
6236
7604
  });
6237
7605
  }
6238
7606
  /**
6239
- * 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
+ *
6240
7611
  * This operation does not retry by default if the user has not defined a retry configuration.
6241
7612
  * @param ListTargetDetectorRecipesRequest
6242
7613
  * @return ListTargetDetectorRecipesResponse
6243
7614
  * @throws OciError when an error occurs
6244
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
6245
7616
  */
6246
7617
  listTargetDetectorRecipes(listTargetDetectorRecipesRequest) {
6247
7618
  return __awaiter(this, void 0, void 0, function* () {
@@ -6307,13 +7678,16 @@ class CloudGuardClient {
6307
7678
  });
6308
7679
  }
6309
7680
  /**
6310
- * 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.
6311
7685
  *
6312
7686
  * This operation does not retry by default if the user has not defined a retry configuration.
6313
7687
  * @param ListTargetResponderRecipeResponderRulesRequest
6314
7688
  * @return ListTargetResponderRecipeResponderRulesResponse
6315
7689
  * @throws OciError when an error occurs
6316
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
6317
7691
  */
6318
7692
  listTargetResponderRecipeResponderRules(listTargetResponderRecipeResponderRulesRequest) {
6319
7693
  return __awaiter(this, void 0, void 0, function* () {
@@ -6380,12 +7754,15 @@ class CloudGuardClient {
6380
7754
  });
6381
7755
  }
6382
7756
  /**
6383
- * 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
+ *
6384
7761
  * This operation does not retry by default if the user has not defined a retry configuration.
6385
7762
  * @param ListTargetResponderRecipesRequest
6386
7763
  * @return ListTargetResponderRecipesResponse
6387
7764
  * @throws OciError when an error occurs
6388
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
6389
7766
  */
6390
7767
  listTargetResponderRecipes(listTargetResponderRecipesRequest) {
6391
7768
  return __awaiter(this, void 0, void 0, function* () {
@@ -6451,9 +7828,10 @@ class CloudGuardClient {
6451
7828
  });
6452
7829
  }
6453
7830
  /**
6454
- * Returns a list of all Targets in a compartment
6455
- * The ListTargets operation returns only the targets in `compartmentId` passed.
6456
- * 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.
6457
7835
  * <p>
6458
7836
  The parameter `accessLevel` specifies whether to return only those compartments for which the
6459
7837
  * requestor has INSPECT permissions on at least one resource directly
@@ -6463,14 +7841,14 @@ class CloudGuardClient {
6463
7841
  * <p>
6464
7842
  The parameter `compartmentIdInSubtree` applies when you perform ListTargets on the
6465
7843
  * `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned.
6466
- * 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),
6467
7845
  * set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
6468
7846
  *
6469
7847
  * This operation does not retry by default if the user has not defined a retry configuration.
6470
7848
  * @param ListTargetsRequest
6471
7849
  * @return ListTargetsResponse
6472
7850
  * @throws OciError when an error occurs
6473
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
6474
7852
  */
6475
7853
  listTargets(listTargetsRequest) {
6476
7854
  return __awaiter(this, void 0, void 0, function* () {
@@ -6543,7 +7921,7 @@ class CloudGuardClient {
6543
7921
  * @param ListTechniquesRequest
6544
7922
  * @return ListTechniquesResponse
6545
7923
  * @throws OciError when an error occurs
6546
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
6547
7925
  */
6548
7926
  listTechniques(listTechniquesRequest) {
6549
7927
  return __awaiter(this, void 0, void 0, function* () {
@@ -6607,12 +7985,82 @@ class CloudGuardClient {
6607
7985
  });
6608
7986
  }
6609
7987
  /**
6610
- * 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
+ *
6611
8059
  * This operation does not retry by default if the user has not defined a retry configuration.
6612
8060
  * @param ListWorkRequestErrorsRequest
6613
8061
  * @return ListWorkRequestErrorsResponse
6614
8062
  * @throws OciError when an error occurs
6615
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
6616
8064
  */
6617
8065
  listWorkRequestErrors(listWorkRequestErrorsRequest) {
6618
8066
  return __awaiter(this, void 0, void 0, function* () {
@@ -6675,12 +8123,14 @@ class CloudGuardClient {
6675
8123
  });
6676
8124
  }
6677
8125
  /**
6678
- * 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
+ *
6679
8129
  * This operation does not retry by default if the user has not defined a retry configuration.
6680
8130
  * @param ListWorkRequestLogsRequest
6681
8131
  * @return ListWorkRequestLogsResponse
6682
8132
  * @throws OciError when an error occurs
6683
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
6684
8134
  */
6685
8135
  listWorkRequestLogs(listWorkRequestLogsRequest) {
6686
8136
  return __awaiter(this, void 0, void 0, function* () {
@@ -6743,12 +8193,14 @@ class CloudGuardClient {
6743
8193
  });
6744
8194
  }
6745
8195
  /**
6746
- * Lists the work requests in a compartment.
8196
+ * Returns a list of work requests (WorkRequestSummaryCollection resource),
8197
+ * in a compartment identified by compartmentId.
8198
+ *
6747
8199
  * This operation does not retry by default if the user has not defined a retry configuration.
6748
8200
  * @param ListWorkRequestsRequest
6749
8201
  * @return ListWorkRequestsResponse
6750
8202
  * @throws OciError when an error occurs
6751
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
6752
8204
  */
6753
8205
  listWorkRequests(listWorkRequestsRequest) {
6754
8206
  return __awaiter(this, void 0, void 0, function* () {
@@ -6812,12 +8264,16 @@ class CloudGuardClient {
6812
8264
  });
6813
8265
  }
6814
8266
  /**
6815
- * 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
+ *
6816
8272
  * This operation does not retry by default if the user has not defined a retry configuration.
6817
8273
  * @param RemoveCompartmentRequest
6818
8274
  * @return RemoveCompartmentResponse
6819
8275
  * @throws OciError when an error occurs
6820
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
6821
8277
  */
6822
8278
  removeCompartment(removeCompartmentRequest) {
6823
8279
  return __awaiter(this, void 0, void 0, function* () {
@@ -6878,13 +8334,14 @@ class CloudGuardClient {
6878
8334
  });
6879
8335
  }
6880
8336
  /**
6881
- * 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.
6882
8339
  *
6883
8340
  * This operation does not retry by default if the user has not defined a retry configuration.
6884
8341
  * @param RequestRiskScoresRequest
6885
8342
  * @return RequestRiskScoresResponse
6886
8343
  * @throws OciError when an error occurs
6887
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
6888
8345
  */
6889
8346
  requestRiskScores(requestRiskScoresRequest) {
6890
8347
  return __awaiter(this, void 0, void 0, function* () {
@@ -6944,14 +8401,14 @@ class CloudGuardClient {
6944
8401
  });
6945
8402
  }
6946
8403
  /**
6947
- * Measures the number of resources examined across all regions and compares it with the
6948
- * 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.
6949
8406
  *
6950
8407
  * This operation does not retry by default if the user has not defined a retry configuration.
6951
8408
  * @param RequestSecurityScoreSummarizedTrendRequest
6952
8409
  * @return RequestSecurityScoreSummarizedTrendResponse
6953
8410
  * @throws OciError when an error occurs
6954
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
6955
8412
  */
6956
8413
  requestSecurityScoreSummarizedTrend(requestSecurityScoreSummarizedTrendRequest) {
6957
8414
  return __awaiter(this, void 0, void 0, function* () {
@@ -7013,13 +8470,14 @@ class CloudGuardClient {
7013
8470
  });
7014
8471
  }
7015
8472
  /**
7016
- * 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.
7017
8475
  *
7018
8476
  * This operation does not retry by default if the user has not defined a retry configuration.
7019
8477
  * @param RequestSecurityScoresRequest
7020
8478
  * @return RequestSecurityScoresResponse
7021
8479
  * @throws OciError when an error occurs
7022
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
7023
8481
  */
7024
8482
  requestSecurityScores(requestSecurityScoresRequest) {
7025
8483
  return __awaiter(this, void 0, void 0, function* () {
@@ -7099,7 +8557,7 @@ class CloudGuardClient {
7099
8557
  * @param RequestSummarizedActivityProblemsRequest
7100
8558
  * @return RequestSummarizedActivityProblemsResponse
7101
8559
  * @throws OciError when an error occurs
7102
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
7103
8561
  */
7104
8562
  requestSummarizedActivityProblems(requestSummarizedActivityProblemsRequest) {
7105
8563
  return __awaiter(this, void 0, void 0, function* () {
@@ -7179,7 +8637,7 @@ class CloudGuardClient {
7179
8637
  * @param RequestSummarizedProblemsRequest
7180
8638
  * @return RequestSummarizedProblemsResponse
7181
8639
  * @throws OciError when an error occurs
7182
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
7183
8641
  */
7184
8642
  requestSummarizedProblems(requestSummarizedProblemsRequest) {
7185
8643
  return __awaiter(this, void 0, void 0, function* () {
@@ -7242,24 +8700,24 @@ class CloudGuardClient {
7242
8700
  });
7243
8701
  }
7244
8702
  /**
7245
- * 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.
7246
8705
  * <p>
7247
- The parameter `accessLevel` specifies whether to return only those compartments for which the
7248
- * requestor has INSPECT permissions on at least one resource directly
7249
- * or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if
7250
- * Principal doesn't have access to even one of the child compartments. This is valid only when
7251
- * `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.
7252
8710
  * <p>
7253
- The parameter `compartmentIdInSubtree` applies when you perform summarize API on the
7254
- * `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned.
7255
- * To get a full list of all compartments and subcompartments in the tenancy (root compartment),
7256
- * 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.
7257
8715
  *
7258
8716
  * This operation does not retry by default if the user has not defined a retry configuration.
7259
8717
  * @param RequestSummarizedResponderExecutionsRequest
7260
8718
  * @return RequestSummarizedResponderExecutionsResponse
7261
8719
  * @throws OciError when an error occurs
7262
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
7263
8721
  */
7264
8722
  requestSummarizedResponderExecutions(requestSummarizedResponderExecutionsRequest) {
7265
8723
  return __awaiter(this, void 0, void 0, function* () {
@@ -7330,7 +8788,7 @@ class CloudGuardClient {
7330
8788
  * @param RequestSummarizedRiskScoresRequest
7331
8789
  * @return RequestSummarizedRiskScoresResponse
7332
8790
  * @throws OciError when an error occurs
7333
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
7334
8792
  */
7335
8793
  requestSummarizedRiskScores(requestSummarizedRiskScoresRequest) {
7336
8794
  return __awaiter(this, void 0, void 0, function* () {
@@ -7396,7 +8854,7 @@ class CloudGuardClient {
7396
8854
  * @param RequestSummarizedSecurityScoresRequest
7397
8855
  * @return RequestSummarizedSecurityScoresResponse
7398
8856
  * @throws OciError when an error occurs
7399
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
7400
8858
  */
7401
8859
  requestSummarizedSecurityScores(requestSummarizedSecurityScoresRequest) {
7402
8860
  return __awaiter(this, void 0, void 0, function* () {
@@ -7456,12 +8914,15 @@ class CloudGuardClient {
7456
8914
  });
7457
8915
  }
7458
8916
  /**
7459
- * 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
+ *
7460
8921
  * This operation does not retry by default if the user has not defined a retry configuration.
7461
8922
  * @param RequestSummarizedTopTrendResourceProfileRiskScoresRequest
7462
8923
  * @return RequestSummarizedTopTrendResourceProfileRiskScoresResponse
7463
8924
  * @throws OciError when an error occurs
7464
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
7465
8926
  */
7466
8927
  requestSummarizedTopTrendResourceProfileRiskScores(requestSummarizedTopTrendResourceProfileRiskScoresRequest) {
7467
8928
  return __awaiter(this, void 0, void 0, function* () {
@@ -7544,7 +9005,7 @@ class CloudGuardClient {
7544
9005
  * @param RequestSummarizedTrendProblemsRequest
7545
9006
  * @return RequestSummarizedTrendProblemsResponse
7546
9007
  * @throws OciError when an error occurs
7547
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
7548
9009
  */
7549
9010
  requestSummarizedTrendProblems(requestSummarizedTrendProblemsRequest) {
7550
9011
  return __awaiter(this, void 0, void 0, function* () {
@@ -7608,12 +9069,15 @@ class CloudGuardClient {
7608
9069
  });
7609
9070
  }
7610
9071
  /**
7611
- * 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
+ *
7612
9076
  * This operation does not retry by default if the user has not defined a retry configuration.
7613
9077
  * @param RequestSummarizedTrendResourceRiskScoresRequest
7614
9078
  * @return RequestSummarizedTrendResourceRiskScoresResponse
7615
9079
  * @throws OciError when an error occurs
7616
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
7617
9081
  */
7618
9082
  requestSummarizedTrendResourceRiskScores(requestSummarizedTrendResourceRiskScoresRequest) {
7619
9083
  return __awaiter(this, void 0, void 0, function* () {
@@ -7695,7 +9159,7 @@ class CloudGuardClient {
7695
9159
  * @param RequestSummarizedTrendResponderExecutionsRequest
7696
9160
  * @return RequestSummarizedTrendResponderExecutionsResponse
7697
9161
  * @throws OciError when an error occurs
7698
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
7699
9163
  */
7700
9164
  requestSummarizedTrendResponderExecutions(requestSummarizedTrendResponderExecutionsRequest) {
7701
9165
  return __awaiter(this, void 0, void 0, function* () {
@@ -7765,7 +9229,7 @@ class CloudGuardClient {
7765
9229
  * @param RequestSummarizedTrendSecurityScoresRequest
7766
9230
  * @return RequestSummarizedTrendSecurityScoresResponse
7767
9231
  * @throws OciError when an error occurs
7768
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
7769
9233
  */
7770
9234
  requestSummarizedTrendSecurityScores(requestSummarizedTrendSecurityScoresRequest) {
7771
9235
  return __awaiter(this, void 0, void 0, function* () {
@@ -7827,14 +9291,12 @@ class CloudGuardClient {
7827
9291
  });
7828
9292
  }
7829
9293
  /**
7830
- * Skips the execution for a bulk of responder executions
7831
- * The operation is atomic in nature
7832
- *
9294
+ * Skips the execution for a bulk of responder executions.
7833
9295
  * This operation does not retry by default if the user has not defined a retry configuration.
7834
9296
  * @param SkipBulkResponderExecutionRequest
7835
9297
  * @return SkipBulkResponderExecutionResponse
7836
9298
  * @throws OciError when an error occurs
7837
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
7838
9300
  */
7839
9301
  skipBulkResponderExecution(skipBulkResponderExecutionRequest) {
7840
9302
  return __awaiter(this, void 0, void 0, function* () {
@@ -7882,12 +9344,12 @@ class CloudGuardClient {
7882
9344
  });
7883
9345
  }
7884
9346
  /**
7885
- * 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.
7886
9348
  * This operation does not retry by default if the user has not defined a retry configuration.
7887
9349
  * @param SkipResponderExecutionRequest
7888
9350
  * @return SkipResponderExecutionResponse
7889
9351
  * @throws OciError when an error occurs
7890
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
7891
9353
  */
7892
9354
  skipResponderExecution(skipResponderExecutionRequest) {
7893
9355
  return __awaiter(this, void 0, void 0, function* () {
@@ -7940,13 +9402,14 @@ class CloudGuardClient {
7940
9402
  });
7941
9403
  }
7942
9404
  /**
7943
- * 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.
7944
9407
  *
7945
9408
  * This operation does not retry by default if the user has not defined a retry configuration.
7946
9409
  * @param TriggerResponderRequest
7947
9410
  * @return TriggerResponderResponse
7948
9411
  * @throws OciError when an error occurs
7949
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
7950
9413
  */
7951
9414
  triggerResponder(triggerResponderRequest) {
7952
9415
  return __awaiter(this, void 0, void 0, function* () {
@@ -8004,7 +9467,7 @@ class CloudGuardClient {
8004
9467
  * @param UpdateBulkProblemStatusRequest
8005
9468
  * @return UpdateBulkProblemStatusResponse
8006
9469
  * @throws OciError when an error occurs
8007
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
8008
9471
  */
8009
9472
  updateBulkProblemStatus(updateBulkProblemStatusRequest) {
8010
9473
  return __awaiter(this, void 0, void 0, function* () {
@@ -8052,13 +9515,14 @@ class CloudGuardClient {
8052
9515
  });
8053
9516
  }
8054
9517
  /**
8055
- * 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.
8056
9520
  *
8057
9521
  * This operation does not retry by default if the user has not defined a retry configuration.
8058
9522
  * @param UpdateConfigurationRequest
8059
9523
  * @return UpdateConfigurationResponse
8060
9524
  * @throws OciError when an error occurs
8061
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
8062
9526
  */
8063
9527
  updateConfiguration(updateConfigurationRequest) {
8064
9528
  return __awaiter(this, void 0, void 0, function* () {
@@ -8119,12 +9583,12 @@ class CloudGuardClient {
8119
9583
  });
8120
9584
  }
8121
9585
  /**
8122
- * Updates a data mask rule (DataMaskRule object) identified by dataMaskRuleId.
9586
+ * Updates a data mask rule (DataMaskRule resource) identified by dataMaskRuleId.
8123
9587
  * This operation does not retry by default if the user has not defined a retry configuration.
8124
9588
  * @param UpdateDataMaskRuleRequest
8125
9589
  * @return UpdateDataMaskRuleResponse
8126
9590
  * @throws OciError when an error occurs
8127
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
8128
9592
  */
8129
9593
  updateDataMaskRule(updateDataMaskRuleRequest) {
8130
9594
  return __awaiter(this, void 0, void 0, function* () {
@@ -8184,12 +9648,14 @@ class CloudGuardClient {
8184
9648
  });
8185
9649
  }
8186
9650
  /**
8187
- * 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
+ *
8188
9654
  * This operation does not retry by default if the user has not defined a retry configuration.
8189
9655
  * @param UpdateDataSourceRequest
8190
9656
  * @return UpdateDataSourceResponse
8191
9657
  * @throws OciError when an error occurs
8192
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
8193
9659
  */
8194
9660
  updateDataSource(updateDataSourceRequest) {
8195
9661
  return __awaiter(this, void 0, void 0, function* () {
@@ -8246,12 +9712,12 @@ class CloudGuardClient {
8246
9712
  });
8247
9713
  }
8248
9714
  /**
8249
- * Updates a detector recipe (DetectorRecipe object) identified by detectorRecipeId.
9715
+ * Updates a detector recipe (DetectorRecipe resource) identified by detectorRecipeId.
8250
9716
  * This operation does not retry by default if the user has not defined a retry configuration.
8251
9717
  * @param UpdateDetectorRecipeRequest
8252
9718
  * @return UpdateDetectorRecipeResponse
8253
9719
  * @throws OciError when an error occurs
8254
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
8255
9721
  */
8256
9722
  updateDetectorRecipe(updateDetectorRecipeRequest) {
8257
9723
  return __awaiter(this, void 0, void 0, function* () {
@@ -8312,12 +9778,12 @@ class CloudGuardClient {
8312
9778
  });
8313
9779
  }
8314
9780
  /**
8315
- * Updates a detector rule (DetectorRule object) identified by detectorRuleId.
9781
+ * Updates a detector rule (DetectorRule resource) identified by detectorRuleId.
8316
9782
  * This operation does not retry by default if the user has not defined a retry configuration.
8317
9783
  * @param UpdateDetectorRecipeDetectorRuleRequest
8318
9784
  * @return UpdateDetectorRecipeDetectorRuleResponse
8319
9785
  * @throws OciError when an error occurs
8320
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
8321
9787
  */
8322
9788
  updateDetectorRecipeDetectorRule(updateDetectorRecipeDetectorRuleRequest) {
8323
9789
  return __awaiter(this, void 0, void 0, function* () {
@@ -8378,12 +9844,12 @@ class CloudGuardClient {
8378
9844
  });
8379
9845
  }
8380
9846
  /**
8381
- * Updates a ManagedList object, identified by managedList.
9847
+ * Updates a ManagedList resource, identified by managedList.
8382
9848
  * This operation does not retry by default if the user has not defined a retry configuration.
8383
9849
  * @param UpdateManagedListRequest
8384
9850
  * @return UpdateManagedListResponse
8385
9851
  * @throws OciError when an error occurs
8386
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
8387
9853
  */
8388
9854
  updateManagedList(updateManagedListRequest) {
8389
9855
  return __awaiter(this, void 0, void 0, function* () {
@@ -8450,7 +9916,7 @@ class CloudGuardClient {
8450
9916
  * @param UpdateProblemStatusRequest
8451
9917
  * @return UpdateProblemStatusResponse
8452
9918
  * @throws OciError when an error occurs
8453
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
8454
9920
  */
8455
9921
  updateProblemStatus(updateProblemStatusRequest) {
8456
9922
  return __awaiter(this, void 0, void 0, function* () {
@@ -8511,12 +9977,14 @@ class CloudGuardClient {
8511
9977
  });
8512
9978
  }
8513
9979
  /**
8514
- * Update the ResponderRecipe resource by identifier
9980
+ * Updates a responder recipe (ResponderRecipe resource) identified by
9981
+ * responderRecipeId, passed in an UpdateResponderRecipeDetails resource.
9982
+ *
8515
9983
  * This operation does not retry by default if the user has not defined a retry configuration.
8516
9984
  * @param UpdateResponderRecipeRequest
8517
9985
  * @return UpdateResponderRecipeResponse
8518
9986
  * @throws OciError when an error occurs
8519
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
8520
9988
  */
8521
9989
  updateResponderRecipe(updateResponderRecipeRequest) {
8522
9990
  return __awaiter(this, void 0, void 0, function* () {
@@ -8576,12 +10044,14 @@ class CloudGuardClient {
8576
10044
  });
8577
10045
  }
8578
10046
  /**
8579
- * Update the ResponderRule by identifier
10047
+ * Updates a responder rule (ResponderRule resource) identified by responderRuleId,
10048
+ * passed in a UpdateResponderRecipeResponderRuleDetails resource.
10049
+ *
8580
10050
  * This operation does not retry by default if the user has not defined a retry configuration.
8581
10051
  * @param UpdateResponderRecipeResponderRuleRequest
8582
10052
  * @return UpdateResponderRecipeResponderRuleResponse
8583
10053
  * @throws OciError when an error occurs
8584
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
8585
10055
  */
8586
10056
  updateResponderRecipeResponderRule(updateResponderRecipeResponderRuleRequest) {
8587
10057
  return __awaiter(this, void 0, void 0, function* () {
@@ -8642,12 +10112,80 @@ class CloudGuardClient {
8642
10112
  });
8643
10113
  }
8644
10114
  /**
8645
- * 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
+ *
8646
10184
  * This operation does not retry by default if the user has not defined a retry configuration.
8647
10185
  * @param UpdateSecurityRecipeRequest
8648
10186
  * @return UpdateSecurityRecipeResponse
8649
10187
  * @throws OciError when an error occurs
8650
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
8651
10189
  */
8652
10190
  updateSecurityRecipe(updateSecurityRecipeRequest) {
8653
10191
  return __awaiter(this, void 0, void 0, function* () {
@@ -8707,12 +10245,14 @@ class CloudGuardClient {
8707
10245
  });
8708
10246
  }
8709
10247
  /**
8710
- * 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
+ *
8711
10251
  * This operation does not retry by default if the user has not defined a retry configuration.
8712
10252
  * @param UpdateSecurityZoneRequest
8713
10253
  * @return UpdateSecurityZoneResponse
8714
10254
  * @throws OciError when an error occurs
8715
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
8716
10256
  */
8717
10257
  updateSecurityZone(updateSecurityZoneRequest) {
8718
10258
  return __awaiter(this, void 0, void 0, function* () {
@@ -8772,12 +10312,14 @@ class CloudGuardClient {
8772
10312
  });
8773
10313
  }
8774
10314
  /**
8775
- * Updates a Target identified by targetId
10315
+ * Updates a target (Target resource) identified by targetId, using parameters
10316
+ * passed in an UpdateTargetDetails resource.
10317
+ *
8776
10318
  * This operation does not retry by default if the user has not defined a retry configuration.
8777
10319
  * @param UpdateTargetRequest
8778
10320
  * @return UpdateTargetResponse
8779
10321
  * @throws OciError when an error occurs
8780
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
8781
10323
  */
8782
10324
  updateTarget(updateTargetRequest) {
8783
10325
  return __awaiter(this, void 0, void 0, function* () {
@@ -8837,12 +10379,14 @@ class CloudGuardClient {
8837
10379
  });
8838
10380
  }
8839
10381
  /**
8840
- * 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
+ *
8841
10385
  * This operation does not retry by default if the user has not defined a retry configuration.
8842
10386
  * @param UpdateTargetDetectorRecipeRequest
8843
10387
  * @return UpdateTargetDetectorRecipeResponse
8844
10388
  * @throws OciError when an error occurs
8845
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
8846
10390
  */
8847
10391
  updateTargetDetectorRecipe(updateTargetDetectorRecipeRequest) {
8848
10392
  return __awaiter(this, void 0, void 0, function* () {
@@ -8903,12 +10447,12 @@ class CloudGuardClient {
8903
10447
  });
8904
10448
  }
8905
10449
  /**
8906
- * Update the DetectorRule by identifier
10450
+ * Updates the DetectorRule resource identified by targetDetectorRecipeId
8907
10451
  * This operation does not retry by default if the user has not defined a retry configuration.
8908
10452
  * @param UpdateTargetDetectorRecipeDetectorRuleRequest
8909
10453
  * @return UpdateTargetDetectorRecipeDetectorRuleResponse
8910
10454
  * @throws OciError when an error occurs
8911
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
8912
10456
  */
8913
10457
  updateTargetDetectorRecipeDetectorRule(updateTargetDetectorRecipeDetectorRuleRequest) {
8914
10458
  return __awaiter(this, void 0, void 0, function* () {
@@ -8970,12 +10514,16 @@ class CloudGuardClient {
8970
10514
  });
8971
10515
  }
8972
10516
  /**
8973
- * 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
+ *
8974
10522
  * This operation does not retry by default if the user has not defined a retry configuration.
8975
10523
  * @param UpdateTargetResponderRecipeRequest
8976
10524
  * @return UpdateTargetResponderRecipeResponse
8977
10525
  * @throws OciError when an error occurs
8978
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
8979
10527
  */
8980
10528
  updateTargetResponderRecipe(updateTargetResponderRecipeRequest) {
8981
10529
  return __awaiter(this, void 0, void 0, function* () {
@@ -9036,12 +10584,17 @@ class CloudGuardClient {
9036
10584
  });
9037
10585
  }
9038
10586
  /**
9039
- * 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
+ *
9040
10593
  * This operation does not retry by default if the user has not defined a retry configuration.
9041
10594
  * @param UpdateTargetResponderRecipeResponderRuleRequest
9042
10595
  * @return UpdateTargetResponderRecipeResponderRuleResponse
9043
10596
  * @throws OciError when an error occurs
9044
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.84.0/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.
9045
10598
  */
9046
10599
  updateTargetResponderRecipeResponderRule(updateTargetResponderRecipeResponderRuleRequest) {
9047
10600
  return __awaiter(this, void 0, void 0, function* () {
@@ -9102,6 +10655,72 @@ class CloudGuardClient {
9102
10655
  }
9103
10656
  });
9104
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
+ }
9105
10724
  }
9106
10725
  exports.CloudGuardClient = CloudGuardClient;
9107
10726
  CloudGuardClient.serviceEndpointTemplate = "https://cloudguard-cp-api.{region}.oci.{secondLevelDomain}";