datadog_api_client 2.45.0 → 2.46.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 (244) hide show
  1. checksums.yaml +4 -4
  2. data/.generator/schemas/v1/openapi.yaml +81 -0
  3. data/.generator/schemas/v2/openapi.yaml +3968 -94
  4. data/.pre-commit-config.yaml +4 -0
  5. data/CHANGELOG.md +20 -0
  6. data/examples/v1/monitors/CreateMonitor_3541766733.rb +32 -0
  7. data/examples/v2/deployment-gates/CreateDeploymentGate.rb +20 -0
  8. data/examples/v2/deployment-gates/CreateDeploymentRule.rb +25 -0
  9. data/examples/v2/deployment-gates/DeleteDeploymentGate.rb +11 -0
  10. data/examples/v2/deployment-gates/DeleteDeploymentRule.rb +14 -0
  11. data/examples/v2/deployment-gates/GetDeploymentGate.rb +11 -0
  12. data/examples/v2/deployment-gates/GetDeploymentRule.rb +14 -0
  13. data/examples/v2/deployment-gates/UpdateDeploymentGate.rb +21 -0
  14. data/examples/v2/deployment-gates/UpdateDeploymentRule.rb +27 -0
  15. data/examples/v2/fleet-automation/GetFleetAgentInfo.rb +8 -0
  16. data/examples/v2/fleet-automation/ListFleetAgents.rb +8 -0
  17. data/examples/v2/logs-restriction-queries/AddRoleToRestrictionQuery.rb +21 -0
  18. data/examples/v2/logs-restriction-queries/CreateRestrictionQuery.rb +17 -0
  19. data/examples/v2/logs-restriction-queries/DeleteRestrictionQuery.rb +11 -0
  20. data/examples/v2/logs-restriction-queries/GetRestrictionQuery.rb +11 -0
  21. data/examples/v2/logs-restriction-queries/GetRoleRestrictionQuery.rb +11 -0
  22. data/examples/v2/logs-restriction-queries/ListRestrictionQueries.rb +8 -0
  23. data/examples/v2/logs-restriction-queries/ListRestrictionQueryRoles.rb +11 -0
  24. data/examples/v2/logs-restriction-queries/ListUserRestrictionQueries.rb +11 -0
  25. data/examples/v2/logs-restriction-queries/RemoveRoleFromRestrictionQuery.rb +21 -0
  26. data/examples/v2/logs-restriction-queries/ReplaceRestrictionQuery.rb +20 -0
  27. data/examples/v2/logs-restriction-queries/UpdateRestrictionQuery.rb +20 -0
  28. data/examples/v2/monitors/CreateMonitorNotificationRule_1379932371.rb +21 -0
  29. data/examples/v2/monitors/UpdateMonitorNotificationRule_1446058210.rb +24 -0
  30. data/examples/v2/on-call/CreateOnCallEscalationPolicy.rb +9 -0
  31. data/examples/v2/on-call/GetScheduleOnCallUser.rb +1 -1
  32. data/examples/v2/reference-tables/CreateReferenceTable.rb +23 -14
  33. data/examples/v2/reference-tables/DeleteRows.rb +14 -0
  34. data/examples/v2/reference-tables/UpsertRows.rb +19 -0
  35. data/examples/v2/security-monitoring/AttachCase.rb +26 -0
  36. data/examples/v2/security-monitoring/AttachCase_897782765.rb +22 -0
  37. data/examples/v2/security-monitoring/AttachJiraIssue.rb +34 -0
  38. data/examples/v2/security-monitoring/AttachJiraIssue_3042842144.rb +30 -0
  39. data/examples/v2/security-monitoring/CreateCases.rb +56 -0
  40. data/examples/v2/security-monitoring/CreateCases_2385516013.rb +33 -0
  41. data/examples/v2/security-monitoring/CreateCases_2798851680.rb +37 -0
  42. data/examples/v2/security-monitoring/CreateJiraIssues.rb +96 -0
  43. data/examples/v2/security-monitoring/CreateJiraIssues_379590688.rb +56 -0
  44. data/examples/v2/security-monitoring/CreateJiraIssues_829823123.rb +64 -0
  45. data/examples/v2/security-monitoring/DetachCase.rb +21 -0
  46. data/examples/v2/teams/AddTeamHierarchyLink.rb +31 -0
  47. data/examples/v2/{team-connections → teams}/CreateTeamConnections.rb +1 -1
  48. data/examples/v2/{team-connections → teams}/DeleteTeamConnections.rb +1 -1
  49. data/examples/v2/teams/GetTeamHierarchyLink.rb +8 -0
  50. data/examples/v2/teams/GetTeamSync.rb +8 -0
  51. data/examples/v2/{team-connections → teams}/ListTeamConnections.rb +1 -1
  52. data/examples/v2/{team-connections → teams}/ListTeamConnections_1473516764.rb +1 -1
  53. data/examples/v2/{team-connections → teams}/ListTeamConnections_2418873869.rb +1 -1
  54. data/examples/v2/teams/ListTeamHierarchyLinks.rb +15 -0
  55. data/examples/v2/teams/ListTeamHierarchyLinks_3360757486.rb +5 -0
  56. data/examples/v2/teams/RemoveTeamHierarchyLink.rb +8 -0
  57. data/lib/datadog_api_client/configuration.rb +25 -3
  58. data/lib/datadog_api_client/inflector.rb +141 -3
  59. data/lib/datadog_api_client/v1/api/monitors_api.rb +2 -0
  60. data/lib/datadog_api_client/v1/models/monitor.rb +13 -1
  61. data/lib/datadog_api_client/v1/models/monitor_asset.rb +186 -0
  62. data/lib/datadog_api_client/v1/models/monitor_asset_category.rb +26 -0
  63. data/lib/datadog_api_client/v1/models/monitor_asset_resource_type.rb +26 -0
  64. data/lib/datadog_api_client/v1/models/monitor_update_request.rb +14 -1
  65. data/lib/datadog_api_client/v1/models/usage_summary_date.rb +11 -1
  66. data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +11 -1
  67. data/lib/datadog_api_client/v1/models/usage_summary_response.rb +11 -1
  68. data/lib/datadog_api_client/v2/api/deployment_gates_api.rb +632 -0
  69. data/lib/datadog_api_client/v2/api/fleet_automation_api.rb +166 -1
  70. data/lib/datadog_api_client/v2/api/logs_restriction_queries_api.rb +842 -0
  71. data/lib/datadog_api_client/v2/api/on_call_api.rb +2 -2
  72. data/lib/datadog_api_client/v2/api/reference_tables_api.rb +144 -0
  73. data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +355 -5
  74. data/lib/datadog_api_client/v2/api/teams_api.rb +628 -1
  75. data/lib/datadog_api_client/v2/models/attach_case_request.rb +105 -0
  76. data/lib/datadog_api_client/v2/models/attach_case_request_data.rb +154 -0
  77. data/lib/datadog_api_client/v2/models/attach_case_request_data_relationships.rb +123 -0
  78. data/lib/datadog_api_client/v2/models/attach_jira_issue_request.rb +105 -0
  79. data/lib/datadog_api_client/v2/models/attach_jira_issue_request_data.rb +153 -0
  80. data/lib/datadog_api_client/v2/models/attach_jira_issue_request_data_attributes.rb +123 -0
  81. data/lib/datadog_api_client/v2/models/attach_jira_issue_request_data_relationships.rb +144 -0
  82. data/lib/datadog_api_client/v2/models/batch_delete_rows_request_array.rb +129 -0
  83. data/lib/datadog_api_client/v2/models/batch_delete_rows_request_data.rb +144 -0
  84. data/lib/datadog_api_client/v2/models/batch_upsert_rows_request_array.rb +129 -0
  85. data/lib/datadog_api_client/v2/models/batch_upsert_rows_request_data.rb +154 -0
  86. data/lib/datadog_api_client/v2/models/batch_upsert_rows_request_data_attributes.rb +123 -0
  87. data/lib/datadog_api_client/v2/models/case_data_type.rb +26 -0
  88. data/lib/datadog_api_client/v2/models/case_insights_items.rb +125 -0
  89. data/lib/datadog_api_client/v2/models/case_management_project.rb +123 -0
  90. data/lib/datadog_api_client/v2/models/case_management_project_data.rb +144 -0
  91. data/lib/datadog_api_client/v2/models/case_management_project_data_type.rb +26 -0
  92. data/lib/datadog_api_client/v2/models/configured_schedule.rb +186 -0
  93. data/lib/datadog_api_client/v2/models/configured_schedule_target.rb +144 -0
  94. data/lib/datadog_api_client/v2/models/configured_schedule_target_attributes.rb +123 -0
  95. data/lib/datadog_api_client/v2/models/configured_schedule_target_relationships.rb +123 -0
  96. data/lib/datadog_api_client/v2/models/configured_schedule_target_relationships_schedule.rb +123 -0
  97. data/lib/datadog_api_client/v2/models/configured_schedule_target_type.rb +26 -0
  98. data/lib/datadog_api_client/v2/models/create_case_request_array.rb +125 -0
  99. data/lib/datadog_api_client/v2/models/create_case_request_data.rb +153 -0
  100. data/lib/datadog_api_client/v2/models/create_case_request_data_attributes.rb +135 -0
  101. data/lib/datadog_api_client/v2/models/create_case_request_data_relationships.rb +144 -0
  102. data/lib/datadog_api_client/v2/models/create_deployment_gate_params.rb +123 -0
  103. data/lib/datadog_api_client/v2/models/create_deployment_gate_params_data.rb +144 -0
  104. data/lib/datadog_api_client/v2/models/create_deployment_gate_params_data_attributes.rb +164 -0
  105. data/lib/datadog_api_client/v2/models/create_deployment_rule_params.rb +105 -0
  106. data/lib/datadog_api_client/v2/models/create_deployment_rule_params_data.rb +144 -0
  107. data/lib/datadog_api_client/v2/models/create_deployment_rule_params_data_attributes.rb +175 -0
  108. data/lib/datadog_api_client/v2/models/create_jira_issue_request_array.rb +137 -0
  109. data/lib/datadog_api_client/v2/models/create_jira_issue_request_array_included.rb +64 -0
  110. data/lib/datadog_api_client/v2/models/create_jira_issue_request_data.rb +153 -0
  111. data/lib/datadog_api_client/v2/models/create_jira_issue_request_data_attributes.rb +105 -0
  112. data/lib/datadog_api_client/v2/models/create_jira_issue_request_data_attributes_fields.rb +105 -0
  113. data/lib/datadog_api_client/v2/models/create_jira_issue_request_data_relationships.rb +123 -0
  114. data/lib/datadog_api_client/v2/models/create_jira_issue_request_data_relationships_case.rb +123 -0
  115. data/lib/datadog_api_client/v2/models/create_jira_issue_request_data_relationships_case_data.rb +144 -0
  116. data/lib/datadog_api_client/v2/models/deployment_gate_data_type.rb +26 -0
  117. data/lib/datadog_api_client/v2/models/deployment_gate_response.rb +105 -0
  118. data/lib/datadog_api_client/v2/models/deployment_gate_response_data.rb +165 -0
  119. data/lib/datadog_api_client/v2/models/deployment_gate_response_data_attributes.rb +248 -0
  120. data/lib/datadog_api_client/v2/models/deployment_gate_response_data_attributes_created_by.rb +143 -0
  121. data/lib/datadog_api_client/v2/models/deployment_gate_response_data_attributes_updated_by.rb +143 -0
  122. data/lib/datadog_api_client/v2/models/deployment_rule_data_type.rb +26 -0
  123. data/lib/datadog_api_client/v2/models/{table_result_v2_data_attributes_file_metadata_local_file.rb → deployment_rule_options_faulty_deployment_detection.rb} +21 -19
  124. data/lib/datadog_api_client/v2/models/deployment_rule_options_monitor.rb +108 -0
  125. data/lib/datadog_api_client/v2/models/deployment_rule_response.rb +105 -0
  126. data/lib/datadog_api_client/v2/models/deployment_rule_response_data.rb +165 -0
  127. data/lib/datadog_api_client/v2/models/deployment_rule_response_data_attributes.rb +269 -0
  128. data/lib/datadog_api_client/v2/models/deployment_rule_response_data_attributes_created_by.rb +143 -0
  129. data/lib/datadog_api_client/v2/models/deployment_rule_response_data_attributes_type.rb +27 -0
  130. data/lib/datadog_api_client/v2/models/deployment_rule_response_data_attributes_updated_by.rb +143 -0
  131. data/lib/datadog_api_client/v2/models/deployment_rules_options.rb +63 -0
  132. data/lib/datadog_api_client/v2/models/detach_case_request.rb +105 -0
  133. data/lib/datadog_api_client/v2/models/detach_case_request_data.rb +143 -0
  134. data/lib/datadog_api_client/v2/models/detach_case_request_data_relationships.rb +123 -0
  135. data/lib/datadog_api_client/v2/models/escalation_policy_create_request_data_attributes.rb +28 -1
  136. data/lib/datadog_api_client/v2/models/escalation_policy_create_request_data_attributes_steps_items.rb +16 -1
  137. data/lib/datadog_api_client/v2/models/escalation_policy_data_attributes.rb +20 -1
  138. data/lib/datadog_api_client/v2/models/escalation_policy_included.rb +3 -2
  139. data/lib/datadog_api_client/v2/models/escalation_policy_step_target.rb +12 -2
  140. data/lib/datadog_api_client/v2/models/escalation_policy_step_target_config.rb +105 -0
  141. data/lib/datadog_api_client/v2/models/escalation_policy_step_target_config_schedule.rb +105 -0
  142. data/lib/datadog_api_client/v2/models/escalation_policy_update_request_data_attributes.rb +28 -1
  143. data/lib/datadog_api_client/v2/models/escalation_policy_update_request_data_attributes_steps_items.rb +16 -1
  144. data/lib/datadog_api_client/v2/models/escalation_target.rb +3 -2
  145. data/lib/datadog_api_client/v2/models/finding_case_response.rb +105 -0
  146. data/lib/datadog_api_client/v2/models/finding_case_response_array.rb +125 -0
  147. data/lib/datadog_api_client/v2/models/finding_case_response_data.rb +153 -0
  148. data/lib/datadog_api_client/v2/models/finding_case_response_data_attributes.rb +277 -0
  149. data/lib/datadog_api_client/v2/models/finding_case_response_data_relationships.rb +125 -0
  150. data/lib/datadog_api_client/v2/models/finding_data.rb +144 -0
  151. data/lib/datadog_api_client/v2/models/finding_data_type.rb +26 -0
  152. data/lib/datadog_api_client/v2/models/finding_jira_issue.rb +125 -0
  153. data/lib/datadog_api_client/v2/models/finding_jira_issue_result.rb +135 -0
  154. data/lib/datadog_api_client/v2/models/findings.rb +107 -0
  155. data/lib/datadog_api_client/v2/models/fleet_agent_attributes.rb +327 -0
  156. data/lib/datadog_api_client/v2/models/fleet_agent_attributes_tags_items.rb +115 -0
  157. data/lib/datadog_api_client/v2/models/fleet_agent_info.rb +165 -0
  158. data/lib/datadog_api_client/v2/models/fleet_agent_info_attributes.rb +137 -0
  159. data/lib/datadog_api_client/v2/models/fleet_agent_info_details.rb +403 -0
  160. data/lib/datadog_api_client/v2/models/fleet_agent_info_resource_type.rb +26 -0
  161. data/lib/datadog_api_client/v2/models/fleet_agent_info_response.rb +123 -0
  162. data/lib/datadog_api_client/v2/models/fleet_agents_response.rb +133 -0
  163. data/lib/datadog_api_client/v2/models/fleet_agents_response_data.rb +165 -0
  164. data/lib/datadog_api_client/v2/models/fleet_agents_response_data_attributes.rb +107 -0
  165. data/lib/datadog_api_client/v2/models/fleet_agents_response_meta.rb +105 -0
  166. data/lib/datadog_api_client/v2/models/fleet_configuration_file.rb +125 -0
  167. data/lib/datadog_api_client/v2/models/fleet_configuration_layer.rb +155 -0
  168. data/lib/datadog_api_client/v2/models/fleet_detected_integration.rb +115 -0
  169. data/lib/datadog_api_client/v2/models/fleet_integration_details.rb +197 -0
  170. data/lib/datadog_api_client/v2/models/fleet_integrations_by_status.rb +165 -0
  171. data/lib/datadog_api_client/v2/models/httpcd_gates_bad_request_response.rb +107 -0
  172. data/lib/datadog_api_client/v2/models/httpcd_gates_not_found_response.rb +107 -0
  173. data/lib/datadog_api_client/v2/models/httpcd_rules_not_found_response.rb +107 -0
  174. data/lib/datadog_api_client/v2/models/jira_issues_data_type.rb +26 -0
  175. data/lib/datadog_api_client/v2/models/layer_attributes.rb +13 -3
  176. data/lib/datadog_api_client/v2/models/logs_restriction_queries_type.rb +26 -0
  177. data/lib/datadog_api_client/v2/models/monitor_notification_rule_attributes.rb +2 -2
  178. data/lib/datadog_api_client/v2/models/monitor_notification_rule_condition.rb +1 -1
  179. data/lib/datadog_api_client/v2/models/monitor_notification_rule_conditional_recipients.rb +2 -2
  180. data/lib/datadog_api_client/v2/models/monitor_notification_rule_filter.rb +2 -1
  181. data/lib/datadog_api_client/v2/models/monitor_notification_rule_filter_scope.rb +106 -0
  182. data/lib/datadog_api_client/v2/models/monitor_notification_rule_filter_tags.rb +2 -2
  183. data/lib/datadog_api_client/v2/models/monitor_notification_rule_response_attributes.rb +2 -2
  184. data/lib/datadog_api_client/v2/models/observability_pipeline_google_chronicle_destination.rb +1 -12
  185. data/lib/datadog_api_client/v2/models/observability_pipeline_google_cloud_storage_destination.rb +2 -24
  186. data/lib/datadog_api_client/v2/models/observability_pipeline_google_pub_sub_source.rb +1 -12
  187. data/lib/datadog_api_client/v2/models/relationship_to_user_team_permission.rb +8 -0
  188. data/lib/datadog_api_client/v2/models/restriction_query_attributes.rb +165 -0
  189. data/lib/datadog_api_client/v2/models/restriction_query_create_attributes.rb +123 -0
  190. data/lib/datadog_api_client/v2/models/restriction_query_create_data.rb +115 -0
  191. data/lib/datadog_api_client/v2/models/restriction_query_create_payload.rb +105 -0
  192. data/lib/datadog_api_client/v2/models/restriction_query_list_response.rb +107 -0
  193. data/lib/datadog_api_client/v2/models/restriction_query_response_included_item.rb +62 -0
  194. data/lib/datadog_api_client/v2/models/restriction_query_role.rb +165 -0
  195. data/lib/datadog_api_client/v2/models/restriction_query_role_attribute.rb +105 -0
  196. data/lib/datadog_api_client/v2/models/restriction_query_roles_response.rb +107 -0
  197. data/lib/datadog_api_client/v2/models/restriction_query_update_attributes.rb +123 -0
  198. data/lib/datadog_api_client/v2/models/restriction_query_update_data.rb +115 -0
  199. data/lib/datadog_api_client/v2/models/restriction_query_update_payload.rb +105 -0
  200. data/lib/datadog_api_client/v2/models/restriction_query_with_relationships.rb +135 -0
  201. data/lib/datadog_api_client/v2/models/restriction_query_with_relationships_response.rb +117 -0
  202. data/lib/datadog_api_client/v2/models/restriction_query_without_relationships.rb +125 -0
  203. data/lib/datadog_api_client/v2/models/restriction_query_without_relationships_response.rb +105 -0
  204. data/lib/datadog_api_client/v2/models/schedule_create_request_data_attributes_layers_items.rb +13 -3
  205. data/lib/datadog_api_client/v2/models/schedule_target.rb +1 -1
  206. data/lib/datadog_api_client/v2/models/schedule_target_position.rb +28 -0
  207. data/lib/datadog_api_client/v2/models/schedule_update_request_data_attributes_layers_items.rb +13 -3
  208. data/lib/datadog_api_client/v2/models/table_result_v2_data_attributes.rb +8 -0
  209. data/lib/datadog_api_client/v2/models/table_result_v2_data_attributes_file_metadata.rb +101 -36
  210. data/lib/datadog_api_client/v2/models/team_attributes.rb +13 -1
  211. data/lib/datadog_api_client/v2/models/team_hierarchy_link.rb +175 -0
  212. data/lib/datadog_api_client/v2/models/team_hierarchy_link_attributes.rb +144 -0
  213. data/lib/datadog_api_client/v2/models/team_hierarchy_link_create.rb +144 -0
  214. data/lib/datadog_api_client/v2/models/team_hierarchy_link_create_relationships.rb +144 -0
  215. data/lib/datadog_api_client/v2/models/team_hierarchy_link_create_request.rb +123 -0
  216. data/lib/datadog_api_client/v2/models/team_hierarchy_link_create_team.rb +144 -0
  217. data/lib/datadog_api_client/v2/models/team_hierarchy_link_create_team_relationship.rb +123 -0
  218. data/lib/datadog_api_client/v2/models/team_hierarchy_link_relationships.rb +144 -0
  219. data/lib/datadog_api_client/v2/models/team_hierarchy_link_response.rb +127 -0
  220. data/lib/datadog_api_client/v2/models/team_hierarchy_link_team.rb +154 -0
  221. data/lib/datadog_api_client/v2/models/team_hierarchy_link_team_attributes.rb +223 -0
  222. data/lib/datadog_api_client/v2/models/team_hierarchy_link_team_relationship.rb +123 -0
  223. data/lib/datadog_api_client/v2/models/team_hierarchy_link_type.rb +26 -0
  224. data/lib/datadog_api_client/v2/models/team_hierarchy_links_response.rb +139 -0
  225. data/lib/datadog_api_client/v2/models/team_sync_attributes.rb +22 -2
  226. data/lib/datadog_api_client/v2/models/team_sync_attributes_frequency.rb +28 -0
  227. data/lib/datadog_api_client/v2/models/team_sync_attributes_type.rb +2 -1
  228. data/lib/datadog_api_client/v2/models/team_sync_data.rb +12 -2
  229. data/lib/datadog_api_client/v2/models/team_sync_request.rb +1 -1
  230. data/lib/datadog_api_client/v2/models/team_sync_response.rb +107 -0
  231. data/lib/datadog_api_client/v2/models/teams_hierarchy_links_response_links.rb +156 -0
  232. data/lib/datadog_api_client/v2/models/teams_hierarchy_links_response_meta.rb +105 -0
  233. data/lib/datadog_api_client/v2/models/teams_hierarchy_links_response_meta_page.rb +184 -0
  234. data/lib/datadog_api_client/v2/models/threat_hunting_job_response_attributes.rb +13 -3
  235. data/lib/datadog_api_client/v2/models/update_deployment_gate_params.rb +123 -0
  236. data/lib/datadog_api_client/v2/models/update_deployment_gate_params_data.rb +165 -0
  237. data/lib/datadog_api_client/v2/models/update_deployment_gate_params_data_attributes.rb +123 -0
  238. data/lib/datadog_api_client/v2/models/update_deployment_rule_params.rb +123 -0
  239. data/lib/datadog_api_client/v2/models/update_deployment_rule_params_data.rb +144 -0
  240. data/lib/datadog_api_client/v2/models/update_deployment_rule_params_data_attributes.rb +165 -0
  241. data/lib/datadog_api_client/version.rb +1 -1
  242. metadata +190 -9
  243. data/lib/datadog_api_client/v2/api/team_connections_api.rb +0 -272
  244. data/lib/datadog_api_client/v2/models/table_result_v2_data_attributes_file_metadata_cloud_storage.rb +0 -138
@@ -492,7 +492,7 @@ module DatadogAPIClient::V2
492
492
  return data, status_code, headers
493
493
  end
494
494
 
495
- # Get the schedule on-call user.
495
+ # Get scheduled on-call user.
496
496
  #
497
497
  # @see #get_schedule_on_call_user_with_http_info
498
498
  def get_schedule_on_call_user(schedule_id, opts = {})
@@ -500,7 +500,7 @@ module DatadogAPIClient::V2
500
500
  data
501
501
  end
502
502
 
503
- # Get the schedule on-call user.
503
+ # Get scheduled on-call user.
504
504
  #
505
505
  # Retrieves the user who is on-call for the specified schedule at a given time.
506
506
  #
@@ -161,6 +161,78 @@ module DatadogAPIClient::V2
161
161
  return data, status_code, headers
162
162
  end
163
163
 
164
+ # Delete rows.
165
+ #
166
+ # @see #delete_rows_with_http_info
167
+ def delete_rows(id, body, opts = {})
168
+ delete_rows_with_http_info(id, body, opts)
169
+ nil
170
+ end
171
+
172
+ # Delete rows.
173
+ #
174
+ # Delete multiple rows from a Reference Table by their primary key values.
175
+ #
176
+ # @param id [String] Unique identifier of the reference table to delete rows from
177
+ # @param body [BatchDeleteRowsRequestArray]
178
+ # @param opts [Hash] the optional parameters
179
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
180
+ def delete_rows_with_http_info(id, body, opts = {})
181
+
182
+ if @api_client.config.debugging
183
+ @api_client.config.logger.debug 'Calling API: ReferenceTablesAPI.delete_rows ...'
184
+ end
185
+ # verify the required parameter 'id' is set
186
+ if @api_client.config.client_side_validation && id.nil?
187
+ fail ArgumentError, "Missing the required parameter 'id' when calling ReferenceTablesAPI.delete_rows"
188
+ end
189
+ # verify the required parameter 'body' is set
190
+ if @api_client.config.client_side_validation && body.nil?
191
+ fail ArgumentError, "Missing the required parameter 'body' when calling ReferenceTablesAPI.delete_rows"
192
+ end
193
+ # resource path
194
+ local_var_path = '/api/v2/reference-tables/tables/{id}/rows'.sub('{id}', CGI.escape(id.to_s).gsub('%2F', '/'))
195
+
196
+ # query parameters
197
+ query_params = opts[:query_params] || {}
198
+
199
+ # header parameters
200
+ header_params = opts[:header_params] || {}
201
+ # HTTP header 'Accept' (if needed)
202
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
203
+ # HTTP header 'Content-Type'
204
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
205
+
206
+ # form parameters
207
+ form_params = opts[:form_params] || {}
208
+
209
+ # http body (model)
210
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
211
+
212
+ # return_type
213
+ return_type = opts[:debug_return_type]
214
+
215
+ # auth_names
216
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
217
+
218
+ new_options = opts.merge(
219
+ :operation => :delete_rows,
220
+ :header_params => header_params,
221
+ :query_params => query_params,
222
+ :form_params => form_params,
223
+ :body => post_body,
224
+ :auth_names => auth_names,
225
+ :return_type => return_type,
226
+ :api_version => "V2"
227
+ )
228
+
229
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Delete, local_var_path, new_options)
230
+ if @api_client.config.debugging
231
+ @api_client.config.logger.debug "API called: ReferenceTablesAPI#delete_rows\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
232
+ end
233
+ return data, status_code, headers
234
+ end
235
+
164
236
  # Delete table.
165
237
  #
166
238
  # @see #delete_table_with_http_info
@@ -519,5 +591,77 @@ module DatadogAPIClient::V2
519
591
  end
520
592
  return data, status_code, headers
521
593
  end
594
+
595
+ # Upsert rows.
596
+ #
597
+ # @see #upsert_rows_with_http_info
598
+ def upsert_rows(id, body, opts = {})
599
+ upsert_rows_with_http_info(id, body, opts)
600
+ nil
601
+ end
602
+
603
+ # Upsert rows.
604
+ #
605
+ # Create or update rows in a Reference Table by their primary key values. If a row with the specified primary key exists, it is updated; otherwise, a new row is created.
606
+ #
607
+ # @param id [String] Unique identifier of the reference table to upsert rows into
608
+ # @param body [BatchUpsertRowsRequestArray]
609
+ # @param opts [Hash] the optional parameters
610
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
611
+ def upsert_rows_with_http_info(id, body, opts = {})
612
+
613
+ if @api_client.config.debugging
614
+ @api_client.config.logger.debug 'Calling API: ReferenceTablesAPI.upsert_rows ...'
615
+ end
616
+ # verify the required parameter 'id' is set
617
+ if @api_client.config.client_side_validation && id.nil?
618
+ fail ArgumentError, "Missing the required parameter 'id' when calling ReferenceTablesAPI.upsert_rows"
619
+ end
620
+ # verify the required parameter 'body' is set
621
+ if @api_client.config.client_side_validation && body.nil?
622
+ fail ArgumentError, "Missing the required parameter 'body' when calling ReferenceTablesAPI.upsert_rows"
623
+ end
624
+ # resource path
625
+ local_var_path = '/api/v2/reference-tables/tables/{id}/rows'.sub('{id}', CGI.escape(id.to_s).gsub('%2F', '/'))
626
+
627
+ # query parameters
628
+ query_params = opts[:query_params] || {}
629
+
630
+ # header parameters
631
+ header_params = opts[:header_params] || {}
632
+ # HTTP header 'Accept' (if needed)
633
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
634
+ # HTTP header 'Content-Type'
635
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
636
+
637
+ # form parameters
638
+ form_params = opts[:form_params] || {}
639
+
640
+ # http body (model)
641
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
642
+
643
+ # return_type
644
+ return_type = opts[:debug_return_type]
645
+
646
+ # auth_names
647
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
648
+
649
+ new_options = opts.merge(
650
+ :operation => :upsert_rows,
651
+ :header_params => header_params,
652
+ :query_params => query_params,
653
+ :form_params => form_params,
654
+ :body => post_body,
655
+ :auth_names => auth_names,
656
+ :return_type => return_type,
657
+ :api_version => "V2"
658
+ )
659
+
660
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
661
+ if @api_client.config.debugging
662
+ @api_client.config.logger.debug "API called: ReferenceTablesAPI#upsert_rows\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
663
+ end
664
+ return data, status_code, headers
665
+ end
522
666
  end
523
667
  end
@@ -23,6 +23,145 @@ module DatadogAPIClient::V2
23
23
  @api_client = api_client
24
24
  end
25
25
 
26
+ # Attach security findings to a case.
27
+ #
28
+ # @see #attach_case_with_http_info
29
+ def attach_case(case_id, body, opts = {})
30
+ data, _status_code, _headers = attach_case_with_http_info(case_id, body, opts)
31
+ data
32
+ end
33
+
34
+ # Attach security findings to a case.
35
+ #
36
+ # Attach security findings to a case. You can attach up to 50 security findings per case. Security findings that are already attached to another case will be detached from their previous case and attached to the specified case.
37
+ #
38
+ # @param case_id [String] The unique identifier of the case to attach security findings to
39
+ # @param body [AttachCaseRequest]
40
+ # @param opts [Hash] the optional parameters
41
+ # @return [Array<(FindingCaseResponse, Integer, Hash)>] FindingCaseResponse data, response status code and response headers
42
+ def attach_case_with_http_info(case_id, body, opts = {})
43
+
44
+ if @api_client.config.debugging
45
+ @api_client.config.logger.debug 'Calling API: SecurityMonitoringAPI.attach_case ...'
46
+ end
47
+ # verify the required parameter 'case_id' is set
48
+ if @api_client.config.client_side_validation && case_id.nil?
49
+ fail ArgumentError, "Missing the required parameter 'case_id' when calling SecurityMonitoringAPI.attach_case"
50
+ end
51
+ # verify the required parameter 'body' is set
52
+ if @api_client.config.client_side_validation && body.nil?
53
+ fail ArgumentError, "Missing the required parameter 'body' when calling SecurityMonitoringAPI.attach_case"
54
+ end
55
+ # resource path
56
+ local_var_path = '/api/v2/security/findings/cases/{case_id}'.sub('{case_id}', CGI.escape(case_id.to_s).gsub('%2F', '/'))
57
+
58
+ # query parameters
59
+ query_params = opts[:query_params] || {}
60
+
61
+ # header parameters
62
+ header_params = opts[:header_params] || {}
63
+ # HTTP header 'Accept' (if needed)
64
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
65
+ # HTTP header 'Content-Type'
66
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
67
+
68
+ # form parameters
69
+ form_params = opts[:form_params] || {}
70
+
71
+ # http body (model)
72
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
73
+
74
+ # return_type
75
+ return_type = opts[:debug_return_type] || 'FindingCaseResponse'
76
+
77
+ # auth_names
78
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
79
+
80
+ new_options = opts.merge(
81
+ :operation => :attach_case,
82
+ :header_params => header_params,
83
+ :query_params => query_params,
84
+ :form_params => form_params,
85
+ :body => post_body,
86
+ :auth_names => auth_names,
87
+ :return_type => return_type,
88
+ :api_version => "V2"
89
+ )
90
+
91
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Patch, local_var_path, new_options)
92
+ if @api_client.config.debugging
93
+ @api_client.config.logger.debug "API called: SecurityMonitoringAPI#attach_case\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
94
+ end
95
+ return data, status_code, headers
96
+ end
97
+
98
+ # Attach security findings to a Jira issue.
99
+ #
100
+ # @see #attach_jira_issue_with_http_info
101
+ def attach_jira_issue(body, opts = {})
102
+ data, _status_code, _headers = attach_jira_issue_with_http_info(body, opts)
103
+ data
104
+ end
105
+
106
+ # Attach security findings to a Jira issue.
107
+ #
108
+ # Attach security findings to a Jira issue by providing the Jira issue URL. You can attach up to 50 security findings per Jira issue. If the Jira issue is not linked to any case, this operation will create a case for the security findings and link the Jira issue to the newly created case. Security findings that are already attached to another Jira issue will be detached from their previous Jira issue and attached to the specified Jira issue.
109
+ #
110
+ # @param body [AttachJiraIssueRequest]
111
+ # @param opts [Hash] the optional parameters
112
+ # @return [Array<(FindingCaseResponse, Integer, Hash)>] FindingCaseResponse data, response status code and response headers
113
+ def attach_jira_issue_with_http_info(body, opts = {})
114
+
115
+ if @api_client.config.debugging
116
+ @api_client.config.logger.debug 'Calling API: SecurityMonitoringAPI.attach_jira_issue ...'
117
+ end
118
+ # verify the required parameter 'body' is set
119
+ if @api_client.config.client_side_validation && body.nil?
120
+ fail ArgumentError, "Missing the required parameter 'body' when calling SecurityMonitoringAPI.attach_jira_issue"
121
+ end
122
+ # resource path
123
+ local_var_path = '/api/v2/security/findings/jira_issues'
124
+
125
+ # query parameters
126
+ query_params = opts[:query_params] || {}
127
+
128
+ # header parameters
129
+ header_params = opts[:header_params] || {}
130
+ # HTTP header 'Accept' (if needed)
131
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
132
+ # HTTP header 'Content-Type'
133
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
134
+
135
+ # form parameters
136
+ form_params = opts[:form_params] || {}
137
+
138
+ # http body (model)
139
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
140
+
141
+ # return_type
142
+ return_type = opts[:debug_return_type] || 'FindingCaseResponse'
143
+
144
+ # auth_names
145
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
146
+
147
+ new_options = opts.merge(
148
+ :operation => :attach_jira_issue,
149
+ :header_params => header_params,
150
+ :query_params => query_params,
151
+ :form_params => form_params,
152
+ :body => post_body,
153
+ :auth_names => auth_names,
154
+ :return_type => return_type,
155
+ :api_version => "V2"
156
+ )
157
+
158
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Patch, local_var_path, new_options)
159
+ if @api_client.config.debugging
160
+ @api_client.config.logger.debug "API called: SecurityMonitoringAPI#attach_jira_issue\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
161
+ end
162
+ return data, status_code, headers
163
+ end
164
+
26
165
  # Cancel a threat hunting job.
27
166
  #
28
167
  # @see #cancel_threat_hunting_job_with_http_info
@@ -104,8 +243,13 @@ module DatadogAPIClient::V2
104
243
 
105
244
  # Convert an existing rule from JSON to Terraform.
106
245
  #
107
- # Convert an existing rule from JSON to Terraform for datadog provider
108
- # resource datadog_security_monitoring_rule.
246
+ # Convert an existing rule from JSON to Terraform for Datadog provider
247
+ # resource `datadog_security_monitoring_rule`. You can do so for the following rule types:
248
+ # - App and API Protection
249
+ # - Cloud SIEM (log detection and signal correlation)
250
+ # - Workload Protection
251
+ #
252
+ # You can convert Cloud Security configuration rules using Terraform's [Datadog Cloud Configuration Rule resource](https://registry.terraform.io/providers/DataDog/datadog/latest/docs/resources/cloud_configuration_rule).
109
253
  #
110
254
  # @param rule_id [String] The ID of the rule.
111
255
  # @param opts [Hash] the optional parameters
@@ -243,8 +387,13 @@ module DatadogAPIClient::V2
243
387
 
244
388
  # Convert a rule from JSON to Terraform.
245
389
  #
246
- # Convert a rule that doesn't (yet) exist from JSON to Terraform for datadog provider
247
- # resource datadog_security_monitoring_rule.
390
+ # Convert a rule that doesn't (yet) exist from JSON to Terraform for Datadog provider
391
+ # resource `datadog_security_monitoring_rule`. You can do so for the following rule types:
392
+ # - App and API Protection
393
+ # - Cloud SIEM (log detection and signal correlation)
394
+ # - Workload Protection
395
+ #
396
+ # You can convert Cloud Security configuration rules using Terraform's [Datadog Cloud Configuration Rule resource](https://registry.terraform.io/providers/DataDog/datadog/latest/docs/resources/cloud_configuration_rule).
248
397
  #
249
398
  # @param body [SecurityMonitoringRuleConvertPayload]
250
399
  # @param opts [Hash] the optional parameters
@@ -301,6 +450,73 @@ module DatadogAPIClient::V2
301
450
  return data, status_code, headers
302
451
  end
303
452
 
453
+ # Create cases for security findings.
454
+ #
455
+ # @see #create_cases_with_http_info
456
+ def create_cases(body, opts = {})
457
+ data, _status_code, _headers = create_cases_with_http_info(body, opts)
458
+ data
459
+ end
460
+
461
+ # Create cases for security findings.
462
+ #
463
+ # Create cases for security findings. You can create up to 50 cases per request and associate up to 50 security findings per case. Security findings that are already attached to another case will be detached from their previous case and attached to the newly created case.
464
+ #
465
+ # @param body [CreateCaseRequestArray]
466
+ # @param opts [Hash] the optional parameters
467
+ # @return [Array<(FindingCaseResponseArray, Integer, Hash)>] FindingCaseResponseArray data, response status code and response headers
468
+ def create_cases_with_http_info(body, opts = {})
469
+
470
+ if @api_client.config.debugging
471
+ @api_client.config.logger.debug 'Calling API: SecurityMonitoringAPI.create_cases ...'
472
+ end
473
+ # verify the required parameter 'body' is set
474
+ if @api_client.config.client_side_validation && body.nil?
475
+ fail ArgumentError, "Missing the required parameter 'body' when calling SecurityMonitoringAPI.create_cases"
476
+ end
477
+ # resource path
478
+ local_var_path = '/api/v2/security/findings/cases'
479
+
480
+ # query parameters
481
+ query_params = opts[:query_params] || {}
482
+
483
+ # header parameters
484
+ header_params = opts[:header_params] || {}
485
+ # HTTP header 'Accept' (if needed)
486
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
487
+ # HTTP header 'Content-Type'
488
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
489
+
490
+ # form parameters
491
+ form_params = opts[:form_params] || {}
492
+
493
+ # http body (model)
494
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
495
+
496
+ # return_type
497
+ return_type = opts[:debug_return_type] || 'FindingCaseResponseArray'
498
+
499
+ # auth_names
500
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
501
+
502
+ new_options = opts.merge(
503
+ :operation => :create_cases,
504
+ :header_params => header_params,
505
+ :query_params => query_params,
506
+ :form_params => form_params,
507
+ :body => post_body,
508
+ :auth_names => auth_names,
509
+ :return_type => return_type,
510
+ :api_version => "V2"
511
+ )
512
+
513
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
514
+ if @api_client.config.debugging
515
+ @api_client.config.logger.debug "API called: SecurityMonitoringAPI#create_cases\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
516
+ end
517
+ return data, status_code, headers
518
+ end
519
+
304
520
  # Create a custom framework.
305
521
  #
306
522
  # @see #create_custom_framework_with_http_info
@@ -368,6 +584,73 @@ module DatadogAPIClient::V2
368
584
  return data, status_code, headers
369
585
  end
370
586
 
587
+ # Create Jira issues for security findings.
588
+ #
589
+ # @see #create_jira_issues_with_http_info
590
+ def create_jira_issues(body, opts = {})
591
+ data, _status_code, _headers = create_jira_issues_with_http_info(body, opts)
592
+ data
593
+ end
594
+
595
+ # Create Jira issues for security findings.
596
+ #
597
+ # Create Jira issues for security findings. This operation creates a case in Datadog and a Jira issue linked to that case for bidirectional sync between Datadog and Jira. You can create up to 50 Jira issues per request and associate up to 50 security findings per Jira issue. Security findings that are already attached to another Jira issue will be detached from their previous Jira issue and attached to the newly created Jira issue.
598
+ #
599
+ # @param body [CreateJiraIssueRequestArray]
600
+ # @param opts [Hash] the optional parameters
601
+ # @return [Array<(FindingCaseResponseArray, Integer, Hash)>] FindingCaseResponseArray data, response status code and response headers
602
+ def create_jira_issues_with_http_info(body, opts = {})
603
+
604
+ if @api_client.config.debugging
605
+ @api_client.config.logger.debug 'Calling API: SecurityMonitoringAPI.create_jira_issues ...'
606
+ end
607
+ # verify the required parameter 'body' is set
608
+ if @api_client.config.client_side_validation && body.nil?
609
+ fail ArgumentError, "Missing the required parameter 'body' when calling SecurityMonitoringAPI.create_jira_issues"
610
+ end
611
+ # resource path
612
+ local_var_path = '/api/v2/security/findings/jira_issues'
613
+
614
+ # query parameters
615
+ query_params = opts[:query_params] || {}
616
+
617
+ # header parameters
618
+ header_params = opts[:header_params] || {}
619
+ # HTTP header 'Accept' (if needed)
620
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
621
+ # HTTP header 'Content-Type'
622
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
623
+
624
+ # form parameters
625
+ form_params = opts[:form_params] || {}
626
+
627
+ # http body (model)
628
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
629
+
630
+ # return_type
631
+ return_type = opts[:debug_return_type] || 'FindingCaseResponseArray'
632
+
633
+ # auth_names
634
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
635
+
636
+ new_options = opts.merge(
637
+ :operation => :create_jira_issues,
638
+ :header_params => header_params,
639
+ :query_params => query_params,
640
+ :form_params => form_params,
641
+ :body => post_body,
642
+ :auth_names => auth_names,
643
+ :return_type => return_type,
644
+ :api_version => "V2"
645
+ )
646
+
647
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
648
+ if @api_client.config.debugging
649
+ @api_client.config.logger.debug "API called: SecurityMonitoringAPI#create_jira_issues\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
650
+ end
651
+ return data, status_code, headers
652
+ end
653
+
371
654
  # Create a security filter.
372
655
  #
373
656
  # @see #create_security_filter_with_http_info
@@ -1172,6 +1455,73 @@ module DatadogAPIClient::V2
1172
1455
  return data, status_code, headers
1173
1456
  end
1174
1457
 
1458
+ # Detach security findings from their case.
1459
+ #
1460
+ # @see #detach_case_with_http_info
1461
+ def detach_case(body, opts = {})
1462
+ detach_case_with_http_info(body, opts)
1463
+ nil
1464
+ end
1465
+
1466
+ # Detach security findings from their case.
1467
+ #
1468
+ # Detach security findings from their case. This operation dissociates security findings from their associated cases without deleting the cases themselves. You can detach security findings from multiple different cases in a single request, with a limit of 50 security findings per request. Security findings that are not currently attached to any case will be ignored.
1469
+ #
1470
+ # @param body [DetachCaseRequest]
1471
+ # @param opts [Hash] the optional parameters
1472
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
1473
+ def detach_case_with_http_info(body, opts = {})
1474
+
1475
+ if @api_client.config.debugging
1476
+ @api_client.config.logger.debug 'Calling API: SecurityMonitoringAPI.detach_case ...'
1477
+ end
1478
+ # verify the required parameter 'body' is set
1479
+ if @api_client.config.client_side_validation && body.nil?
1480
+ fail ArgumentError, "Missing the required parameter 'body' when calling SecurityMonitoringAPI.detach_case"
1481
+ end
1482
+ # resource path
1483
+ local_var_path = '/api/v2/security/findings/cases'
1484
+
1485
+ # query parameters
1486
+ query_params = opts[:query_params] || {}
1487
+
1488
+ # header parameters
1489
+ header_params = opts[:header_params] || {}
1490
+ # HTTP header 'Accept' (if needed)
1491
+ header_params['Accept'] = @api_client.select_header_accept(['*/*'])
1492
+ # HTTP header 'Content-Type'
1493
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1494
+
1495
+ # form parameters
1496
+ form_params = opts[:form_params] || {}
1497
+
1498
+ # http body (model)
1499
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
1500
+
1501
+ # return_type
1502
+ return_type = opts[:debug_return_type]
1503
+
1504
+ # auth_names
1505
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
1506
+
1507
+ new_options = opts.merge(
1508
+ :operation => :detach_case,
1509
+ :header_params => header_params,
1510
+ :query_params => query_params,
1511
+ :form_params => form_params,
1512
+ :body => post_body,
1513
+ :auth_names => auth_names,
1514
+ :return_type => return_type,
1515
+ :api_version => "V2"
1516
+ )
1517
+
1518
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Delete, local_var_path, new_options)
1519
+ if @api_client.config.debugging
1520
+ @api_client.config.logger.debug "API called: SecurityMonitoringAPI#detach_case\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1521
+ end
1522
+ return data, status_code, headers
1523
+ end
1524
+
1175
1525
  # Modify the triage assignee of a security signal.
1176
1526
  #
1177
1527
  # @see #edit_security_monitoring_signal_assignee_with_http_info
@@ -4102,7 +4452,7 @@ module DatadogAPIClient::V2
4102
4452
  return_type = opts[:debug_return_type] || 'BulkMuteFindingsResponse'
4103
4453
 
4104
4454
  # auth_names
4105
- auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
4455
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
4106
4456
 
4107
4457
  new_options = opts.merge(
4108
4458
  :operation => :mute_findings,