datadog_api_client 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1118) hide show
  1. checksums.yaml +4 -4
  2. data/.apigentools-info +4 -4
  3. data/.generator/templates/README.mustache +1 -1
  4. data/.generator/templates/api.mustache +7 -7
  5. data/.generator/templates/api_client.mustache +2 -2
  6. data/.generator/templates/api_doc.mustache +2 -2
  7. data/.generator/templates/api_test.mustache +3 -3
  8. data/.generator/templates/base_object.mustache +5 -1
  9. data/.generator/templates/configuration.mustache +14 -0
  10. data/.generator/templates/git_push.sh.mustache +1 -2
  11. data/.generator/templates/partial_model_enum_class.mustache +1 -2
  12. data/.generator/templates/partial_model_generic.mustache +5 -2
  13. data/.generator/templates/partial_model_generic_doc.mustache +1 -1
  14. data/.generator/templates/partial_oneof_module.mustache +12 -3
  15. data/.generator/templates/travis.mustache +3 -0
  16. data/.github/workflows/test.yml +2 -0
  17. data/.github/workflows/test_integration.yml +1 -0
  18. data/.openapi-generator/FILES +24 -1
  19. data/.openapi-generator/VERSION +1 -1
  20. data/CHANGELOG.md +34 -2
  21. data/DEVELOPMENT.md +5 -0
  22. data/Gemfile +2 -2
  23. data/data/v1/openapi.yaml +1713 -64
  24. data/data/v2/openapi.yaml +534 -21
  25. data/docs/v1/AWSLogsIntegrationAPI.md +1 -1
  26. data/docs/v1/AuthenticationAPI.md +1 -1
  27. data/docs/v1/DashboardBulkActionData.md +20 -0
  28. data/docs/v1/DashboardBulkDeleteRequest.md +18 -0
  29. data/docs/v1/DashboardListsAPI.md +5 -5
  30. data/docs/v1/DashboardResourceType.md +15 -0
  31. data/docs/v1/DashboardRestoreRequest.md +18 -0
  32. data/docs/v1/DashboardTemplateVariable.md +2 -0
  33. data/docs/v1/DashboardsAPI.md +125 -5
  34. data/docs/v1/DowntimesAPI.md +6 -6
  35. data/docs/v1/Event.md +2 -0
  36. data/docs/v1/EventsAPI.md +2 -2
  37. data/docs/v1/HostsAPI.md +1 -1
  38. data/docs/v1/ListStreamColumn.md +20 -0
  39. data/docs/v1/ListStreamColumnWidth.md +15 -0
  40. data/docs/v1/ListStreamQuery.md +22 -0
  41. data/docs/v1/ListStreamResponseFormat.md +15 -0
  42. data/docs/v1/ListStreamSource.md +15 -0
  43. data/docs/v1/ListStreamWidgetDefinition.md +32 -0
  44. data/docs/v1/ListStreamWidgetDefinitionType.md +15 -0
  45. data/docs/v1/ListStreamWidgetRequest.md +22 -0
  46. data/docs/v1/LogsExclusionFilter.md +2 -2
  47. data/docs/v1/MetricsAPI.md +4 -4
  48. data/docs/v1/MonitorOptions.md +3 -1
  49. data/docs/v1/MonitorsAPI.md +24 -10
  50. data/docs/v1/OrganizationsAPI.md +1 -1
  51. data/docs/v1/QueryValueWidgetRequest.md +2 -0
  52. data/docs/v1/README.md +60 -0
  53. data/docs/v1/SLOHistoryMetricsSeries.md +1 -1
  54. data/docs/v1/SLOHistoryMonitor.md +40 -0
  55. data/docs/v1/SLOHistoryResponseData.md +2 -2
  56. data/docs/v1/SLOHistoryResponseErrorWithType.md +20 -0
  57. data/docs/v1/SLOHistorySLIData.md +3 -3
  58. data/docs/v1/ScatterPlotRequest.md +1 -1
  59. data/docs/v1/ScatterplotWidgetAggregator.md +15 -0
  60. data/docs/v1/ServiceLevelObjectivesAPI.md +3 -3
  61. data/docs/v1/SnapshotsAPI.md +1 -1
  62. data/docs/v1/SyntheticsAPI.md +25 -25
  63. data/docs/v1/SyntheticsBrowserTestConfig.md +2 -0
  64. data/docs/v1/SyntheticsGlobalVariable.md +2 -0
  65. data/docs/v1/SyntheticsGlobalVariableAttributes.md +18 -0
  66. data/docs/v1/SyntheticsGlobalVariableValue.md +2 -2
  67. data/docs/v1/SyntheticsTestConfig.md +1 -1
  68. data/docs/v1/SyntheticsTestRequest.md +2 -0
  69. data/docs/v1/SyntheticsTriggerCITestsResponse.md +2 -0
  70. data/docs/v1/TableWidgetRequest.md +6 -0
  71. data/docs/v1/TagsAPI.md +1 -1
  72. data/docs/v1/TimeseriesWidgetRequest.md +2 -0
  73. data/docs/v1/ToplistWidgetRequest.md +2 -0
  74. data/docs/v1/UsageAttributionValues.md +16 -0
  75. data/docs/v1/UsageDBMHour.md +22 -0
  76. data/docs/v1/UsageDBMResponse.md +18 -0
  77. data/docs/v1/UsageMeteringAPI.md +91 -24
  78. data/docs/v1/UsageSummaryDate.md +4 -0
  79. data/docs/v1/UsageSummaryDateOrg.md +4 -0
  80. data/docs/v1/UsageSummaryResponse.md +4 -0
  81. data/docs/v1/UsersAPI.md +2 -2
  82. data/docs/v1/WebhooksIntegration.md +26 -0
  83. data/docs/v1/WebhooksIntegrationAPI.md +500 -0
  84. data/docs/v1/WebhooksIntegrationCustomVariable.md +22 -0
  85. data/docs/v1/WebhooksIntegrationCustomVariableResponse.md +22 -0
  86. data/docs/v1/WebhooksIntegrationCustomVariableUpdateRequest.md +22 -0
  87. data/docs/v1/WebhooksIntegrationEncoding.md +15 -0
  88. data/docs/v1/WebhooksIntegrationUpdateRequest.md +26 -0
  89. data/docs/v1/WidgetDefinition.md +2 -0
  90. data/docs/v1/WidgetFormula.md +4 -0
  91. data/docs/v2/ApplicationKeyRelationships.md +2 -2
  92. data/docs/v2/DashboardListsAPI.md +1 -1
  93. data/docs/v2/IncidentCreateAttributes.md +3 -3
  94. data/docs/v2/IncidentNotificationHandle.md +20 -0
  95. data/docs/v2/IncidentResponseAttributes.md +1 -1
  96. data/docs/v2/IncidentUpdateAttributes.md +1 -1
  97. data/docs/v2/MetricsAPI.md +3 -3
  98. data/docs/v2/PartialApplicationKeyResponse.md +20 -0
  99. data/docs/v2/ProcessesAPI.md +1 -1
  100. data/docs/v2/README.md +31 -0
  101. data/docs/v2/RolesAPI.md +12 -12
  102. data/docs/v2/SecurityMonitoringAPI.md +7 -7
  103. data/docs/v2/SecurityMonitoringRuleCreatePayload.md +3 -1
  104. data/docs/v2/SecurityMonitoringRuleResponse.md +2 -0
  105. data/docs/v2/SecurityMonitoringRuleTypeCreate.md +15 -0
  106. data/docs/v2/SecurityMonitoringRuleTypeRead.md +15 -0
  107. data/docs/v2/ServiceAccountCreateAttributes.md +24 -0
  108. data/docs/v2/ServiceAccountCreateData.md +22 -0
  109. data/docs/v2/ServiceAccountCreateRequest.md +18 -0
  110. data/docs/v2/ServiceAccountsAPI.md +335 -0
  111. data/docs/v2/UserAttributes.md +2 -0
  112. data/docs/v2/UsersAPI.md +70 -9
  113. data/lib/datadog_api_client/v1/api/authentication_api.rb +1 -1
  114. data/lib/datadog_api_client/v1/api/aws_logs_integration_api.rb +1 -1
  115. data/lib/datadog_api_client/v1/api/dashboard_lists_api.rb +5 -5
  116. data/lib/datadog_api_client/v1/api/dashboards_api.rb +155 -5
  117. data/lib/datadog_api_client/v1/api/downtimes_api.rb +6 -6
  118. data/lib/datadog_api_client/v1/api/events_api.rb +2 -2
  119. data/lib/datadog_api_client/v1/api/hosts_api.rb +1 -1
  120. data/lib/datadog_api_client/v1/api/metrics_api.rb +4 -4
  121. data/lib/datadog_api_client/v1/api/monitors_api.rb +11 -11
  122. data/lib/datadog_api_client/v1/api/organizations_api.rb +2 -2
  123. data/lib/datadog_api_client/v1/api/service_level_objectives_api.rb +3 -3
  124. data/lib/datadog_api_client/v1/api/snapshots_api.rb +1 -1
  125. data/lib/datadog_api_client/v1/api/synthetics_api.rb +25 -25
  126. data/lib/datadog_api_client/v1/api/tags_api.rb +1 -1
  127. data/lib/datadog_api_client/v1/api/usage_metering_api.rb +104 -24
  128. data/lib/datadog_api_client/v1/api/users_api.rb +2 -2
  129. data/lib/datadog_api_client/v1/api/webhooks_integration_api.rb +629 -0
  130. data/lib/datadog_api_client/v1/api_client.rb +1 -1
  131. data/lib/datadog_api_client/v1/configuration.rb +21 -0
  132. data/lib/datadog_api_client/v1/models/access_role.rb +1 -2
  133. data/lib/datadog_api_client/v1/models/alert_graph_widget_definition.rb +8 -1
  134. data/lib/datadog_api_client/v1/models/alert_graph_widget_definition_type.rb +1 -2
  135. data/lib/datadog_api_client/v1/models/alert_value_widget_definition.rb +8 -1
  136. data/lib/datadog_api_client/v1/models/alert_value_widget_definition_type.rb +1 -2
  137. data/lib/datadog_api_client/v1/models/api_error_response.rb +8 -1
  138. data/lib/datadog_api_client/v1/models/api_key.rb +8 -1
  139. data/lib/datadog_api_client/v1/models/api_key_list_response.rb +8 -1
  140. data/lib/datadog_api_client/v1/models/api_key_response.rb +8 -1
  141. data/lib/datadog_api_client/v1/models/apm_stats_query_column_type.rb +8 -1
  142. data/lib/datadog_api_client/v1/models/apm_stats_query_definition.rb +8 -1
  143. data/lib/datadog_api_client/v1/models/apm_stats_query_row_type.rb +1 -2
  144. data/lib/datadog_api_client/v1/models/application_key.rb +8 -1
  145. data/lib/datadog_api_client/v1/models/application_key_list_response.rb +8 -1
  146. data/lib/datadog_api_client/v1/models/application_key_response.rb +8 -1
  147. data/lib/datadog_api_client/v1/models/authentication_validation_response.rb +8 -1
  148. data/lib/datadog_api_client/v1/models/aws_account.rb +8 -1
  149. data/lib/datadog_api_client/v1/models/aws_account_and_lambda_request.rb +8 -1
  150. data/lib/datadog_api_client/v1/models/aws_account_create_response.rb +8 -1
  151. data/lib/datadog_api_client/v1/models/aws_account_delete_request.rb +8 -1
  152. data/lib/datadog_api_client/v1/models/aws_account_list_response.rb +8 -1
  153. data/lib/datadog_api_client/v1/models/aws_logs_async_error.rb +8 -1
  154. data/lib/datadog_api_client/v1/models/aws_logs_async_response.rb +8 -1
  155. data/lib/datadog_api_client/v1/models/aws_logs_lambda.rb +8 -1
  156. data/lib/datadog_api_client/v1/models/aws_logs_list_response.rb +8 -1
  157. data/lib/datadog_api_client/v1/models/aws_logs_list_services_response.rb +8 -1
  158. data/lib/datadog_api_client/v1/models/aws_logs_services_request.rb +8 -1
  159. data/lib/datadog_api_client/v1/models/aws_namespace.rb +1 -2
  160. data/lib/datadog_api_client/v1/models/aws_tag_filter.rb +8 -1
  161. data/lib/datadog_api_client/v1/models/aws_tag_filter_create_request.rb +8 -1
  162. data/lib/datadog_api_client/v1/models/aws_tag_filter_delete_request.rb +8 -1
  163. data/lib/datadog_api_client/v1/models/aws_tag_filter_list_response.rb +8 -1
  164. data/lib/datadog_api_client/v1/models/azure_account.rb +8 -1
  165. data/lib/datadog_api_client/v1/models/cancel_downtimes_by_scope_request.rb +8 -1
  166. data/lib/datadog_api_client/v1/models/canceled_downtimes_ids.rb +8 -1
  167. data/lib/datadog_api_client/v1/models/change_widget_definition.rb +8 -1
  168. data/lib/datadog_api_client/v1/models/change_widget_definition_type.rb +1 -2
  169. data/lib/datadog_api_client/v1/models/change_widget_request.rb +8 -1
  170. data/lib/datadog_api_client/v1/models/check_can_delete_monitor_response.rb +8 -1
  171. data/lib/datadog_api_client/v1/models/check_can_delete_monitor_response_data.rb +8 -1
  172. data/lib/datadog_api_client/v1/models/check_can_delete_slo_response.rb +8 -1
  173. data/lib/datadog_api_client/v1/models/check_can_delete_slo_response_data.rb +8 -1
  174. data/lib/datadog_api_client/v1/models/check_status_widget_definition.rb +8 -1
  175. data/lib/datadog_api_client/v1/models/check_status_widget_definition_type.rb +1 -2
  176. data/lib/datadog_api_client/v1/models/content_encoding.rb +1 -2
  177. data/lib/datadog_api_client/v1/models/creator.rb +8 -1
  178. data/lib/datadog_api_client/v1/models/dashboard.rb +8 -1
  179. data/lib/datadog_api_client/v1/models/dashboard_bulk_action_data.rb +254 -0
  180. data/lib/datadog_api_client/v1/models/dashboard_bulk_delete_request.rb +240 -0
  181. data/lib/datadog_api_client/v1/models/dashboard_delete_response.rb +8 -1
  182. data/lib/datadog_api_client/v1/models/dashboard_layout_type.rb +1 -2
  183. data/lib/datadog_api_client/v1/models/dashboard_list.rb +8 -1
  184. data/lib/datadog_api_client/v1/models/dashboard_list_delete_response.rb +8 -1
  185. data/lib/datadog_api_client/v1/models/dashboard_list_list_response.rb +8 -1
  186. data/lib/datadog_api_client/v1/models/dashboard_reflow_type.rb +1 -2
  187. data/lib/datadog_api_client/v1/models/dashboard_resource_type.rb +38 -0
  188. data/lib/datadog_api_client/v1/models/dashboard_restore_request.rb +240 -0
  189. data/lib/datadog_api_client/v1/models/dashboard_summary.rb +8 -1
  190. data/lib/datadog_api_client/v1/models/dashboard_summary_definition.rb +8 -1
  191. data/lib/datadog_api_client/v1/models/dashboard_template_variable.rb +22 -2
  192. data/lib/datadog_api_client/v1/models/dashboard_template_variable_preset.rb +8 -1
  193. data/lib/datadog_api_client/v1/models/dashboard_template_variable_preset_value.rb +8 -1
  194. data/lib/datadog_api_client/v1/models/deleted_monitor.rb +8 -1
  195. data/lib/datadog_api_client/v1/models/distribution_widget_definition.rb +8 -1
  196. data/lib/datadog_api_client/v1/models/distribution_widget_definition_type.rb +1 -2
  197. data/lib/datadog_api_client/v1/models/distribution_widget_request.rb +8 -1
  198. data/lib/datadog_api_client/v1/models/distribution_widget_x_axis.rb +8 -1
  199. data/lib/datadog_api_client/v1/models/distribution_widget_y_axis.rb +8 -1
  200. data/lib/datadog_api_client/v1/models/downtime.rb +8 -1
  201. data/lib/datadog_api_client/v1/models/downtime_child.rb +8 -1
  202. data/lib/datadog_api_client/v1/models/downtime_recurrence.rb +8 -1
  203. data/lib/datadog_api_client/v1/models/event.rb +19 -2
  204. data/lib/datadog_api_client/v1/models/event_alert_type.rb +1 -2
  205. data/lib/datadog_api_client/v1/models/event_create_request.rb +8 -1
  206. data/lib/datadog_api_client/v1/models/event_create_response.rb +8 -1
  207. data/lib/datadog_api_client/v1/models/event_list_response.rb +8 -1
  208. data/lib/datadog_api_client/v1/models/event_priority.rb +1 -2
  209. data/lib/datadog_api_client/v1/models/event_query_definition.rb +8 -1
  210. data/lib/datadog_api_client/v1/models/event_response.rb +8 -1
  211. data/lib/datadog_api_client/v1/models/event_stream_widget_definition.rb +8 -1
  212. data/lib/datadog_api_client/v1/models/event_stream_widget_definition_type.rb +1 -2
  213. data/lib/datadog_api_client/v1/models/event_timeline_widget_definition.rb +8 -1
  214. data/lib/datadog_api_client/v1/models/event_timeline_widget_definition_type.rb +1 -2
  215. data/lib/datadog_api_client/v1/models/formula_and_function_event_aggregation.rb +1 -2
  216. data/lib/datadog_api_client/v1/models/formula_and_function_event_query_definition.rb +8 -1
  217. data/lib/datadog_api_client/v1/models/formula_and_function_event_query_definition_compute.rb +8 -1
  218. data/lib/datadog_api_client/v1/models/formula_and_function_event_query_definition_search.rb +8 -1
  219. data/lib/datadog_api_client/v1/models/formula_and_function_event_query_group_by.rb +8 -1
  220. data/lib/datadog_api_client/v1/models/formula_and_function_event_query_group_by_sort.rb +8 -1
  221. data/lib/datadog_api_client/v1/models/formula_and_function_events_data_source.rb +3 -2
  222. data/lib/datadog_api_client/v1/models/formula_and_function_metric_aggregation.rb +2 -2
  223. data/lib/datadog_api_client/v1/models/formula_and_function_metric_data_source.rb +1 -2
  224. data/lib/datadog_api_client/v1/models/formula_and_function_metric_query_definition.rb +8 -1
  225. data/lib/datadog_api_client/v1/models/formula_and_function_process_query_data_source.rb +1 -2
  226. data/lib/datadog_api_client/v1/models/formula_and_function_process_query_definition.rb +8 -1
  227. data/lib/datadog_api_client/v1/models/formula_and_function_query_definition.rb +11 -2
  228. data/lib/datadog_api_client/v1/models/formula_and_function_response_format.rb +1 -2
  229. data/lib/datadog_api_client/v1/models/free_text_widget_definition.rb +8 -1
  230. data/lib/datadog_api_client/v1/models/free_text_widget_definition_type.rb +1 -2
  231. data/lib/datadog_api_client/v1/models/gcp_account.rb +8 -1
  232. data/lib/datadog_api_client/v1/models/geomap_widget_definition.rb +8 -1
  233. data/lib/datadog_api_client/v1/models/geomap_widget_definition_style.rb +8 -1
  234. data/lib/datadog_api_client/v1/models/geomap_widget_definition_type.rb +1 -2
  235. data/lib/datadog_api_client/v1/models/geomap_widget_definition_view.rb +8 -1
  236. data/lib/datadog_api_client/v1/models/geomap_widget_request.rb +8 -1
  237. data/lib/datadog_api_client/v1/models/graph_snapshot.rb +8 -1
  238. data/lib/datadog_api_client/v1/models/group_widget_definition.rb +8 -1
  239. data/lib/datadog_api_client/v1/models/group_widget_definition_type.rb +1 -2
  240. data/lib/datadog_api_client/v1/models/heat_map_widget_definition.rb +8 -1
  241. data/lib/datadog_api_client/v1/models/heat_map_widget_definition_type.rb +1 -2
  242. data/lib/datadog_api_client/v1/models/heat_map_widget_request.rb +8 -1
  243. data/lib/datadog_api_client/v1/models/host.rb +8 -1
  244. data/lib/datadog_api_client/v1/models/host_list_response.rb +8 -1
  245. data/lib/datadog_api_client/v1/models/host_map_request.rb +8 -1
  246. data/lib/datadog_api_client/v1/models/host_map_widget_definition.rb +8 -1
  247. data/lib/datadog_api_client/v1/models/host_map_widget_definition_requests.rb +8 -1
  248. data/lib/datadog_api_client/v1/models/host_map_widget_definition_style.rb +8 -1
  249. data/lib/datadog_api_client/v1/models/host_map_widget_definition_type.rb +1 -2
  250. data/lib/datadog_api_client/v1/models/host_meta.rb +8 -1
  251. data/lib/datadog_api_client/v1/models/host_metrics.rb +8 -1
  252. data/lib/datadog_api_client/v1/models/host_mute_response.rb +8 -1
  253. data/lib/datadog_api_client/v1/models/host_mute_settings.rb +8 -1
  254. data/lib/datadog_api_client/v1/models/host_tags.rb +8 -1
  255. data/lib/datadog_api_client/v1/models/host_totals.rb +8 -1
  256. data/lib/datadog_api_client/v1/models/http_log_error.rb +8 -1
  257. data/lib/datadog_api_client/v1/models/http_log_item.rb +8 -1
  258. data/lib/datadog_api_client/v1/models/http_method.rb +1 -2
  259. data/lib/datadog_api_client/v1/models/i_frame_widget_definition.rb +8 -1
  260. data/lib/datadog_api_client/v1/models/i_frame_widget_definition_type.rb +1 -2
  261. data/lib/datadog_api_client/v1/models/idp_form_data.rb +8 -1
  262. data/lib/datadog_api_client/v1/models/idp_response.rb +8 -1
  263. data/lib/datadog_api_client/v1/models/image_widget_definition.rb +8 -1
  264. data/lib/datadog_api_client/v1/models/image_widget_definition_type.rb +1 -2
  265. data/lib/datadog_api_client/v1/models/intake_payload_accepted.rb +8 -1
  266. data/lib/datadog_api_client/v1/models/ip_prefixes_agents.rb +8 -1
  267. data/lib/datadog_api_client/v1/models/ip_prefixes_api.rb +8 -1
  268. data/lib/datadog_api_client/v1/models/ip_prefixes_apm.rb +8 -1
  269. data/lib/datadog_api_client/v1/models/ip_prefixes_logs.rb +8 -1
  270. data/lib/datadog_api_client/v1/models/ip_prefixes_process.rb +8 -1
  271. data/lib/datadog_api_client/v1/models/ip_prefixes_synthetics.rb +8 -1
  272. data/lib/datadog_api_client/v1/models/ip_prefixes_webhooks.rb +8 -1
  273. data/lib/datadog_api_client/v1/models/ip_ranges.rb +8 -1
  274. data/lib/datadog_api_client/v1/models/list_stream_column.rb +252 -0
  275. data/lib/datadog_api_client/v1/models/list_stream_column_width.rb +40 -0
  276. data/lib/datadog_api_client/v1/models/list_stream_query.rb +266 -0
  277. data/lib/datadog_api_client/v1/models/list_stream_response_format.rb +38 -0
  278. data/lib/datadog_api_client/v1/models/list_stream_source.rb +40 -0
  279. data/lib/datadog_api_client/v1/models/list_stream_widget_definition.rb +342 -0
  280. data/lib/datadog_api_client/v1/models/list_stream_widget_definition_type.rb +38 -0
  281. data/lib/datadog_api_client/v1/models/list_stream_widget_request.rb +268 -0
  282. data/lib/datadog_api_client/v1/models/log.rb +8 -1
  283. data/lib/datadog_api_client/v1/models/log_content.rb +8 -1
  284. data/lib/datadog_api_client/v1/models/log_query_definition.rb +8 -1
  285. data/lib/datadog_api_client/v1/models/log_query_definition_group_by.rb +8 -1
  286. data/lib/datadog_api_client/v1/models/log_query_definition_group_by_sort.rb +8 -1
  287. data/lib/datadog_api_client/v1/models/log_query_definition_search.rb +8 -1
  288. data/lib/datadog_api_client/v1/models/log_stream_widget_definition.rb +8 -1
  289. data/lib/datadog_api_client/v1/models/log_stream_widget_definition_type.rb +1 -2
  290. data/lib/datadog_api_client/v1/models/logs_api_error.rb +8 -1
  291. data/lib/datadog_api_client/v1/models/logs_api_error_response.rb +8 -1
  292. data/lib/datadog_api_client/v1/models/logs_arithmetic_processor.rb +9 -2
  293. data/lib/datadog_api_client/v1/models/logs_arithmetic_processor_type.rb +1 -2
  294. data/lib/datadog_api_client/v1/models/logs_attribute_remapper.rb +8 -1
  295. data/lib/datadog_api_client/v1/models/logs_attribute_remapper_type.rb +1 -2
  296. data/lib/datadog_api_client/v1/models/logs_by_retention.rb +8 -1
  297. data/lib/datadog_api_client/v1/models/logs_by_retention_monthly_usage.rb +8 -1
  298. data/lib/datadog_api_client/v1/models/logs_by_retention_org_usage.rb +8 -1
  299. data/lib/datadog_api_client/v1/models/logs_by_retention_orgs.rb +8 -1
  300. data/lib/datadog_api_client/v1/models/logs_category_processor.rb +8 -1
  301. data/lib/datadog_api_client/v1/models/logs_category_processor_category.rb +8 -1
  302. data/lib/datadog_api_client/v1/models/logs_category_processor_type.rb +1 -2
  303. data/lib/datadog_api_client/v1/models/logs_date_remapper.rb +8 -1
  304. data/lib/datadog_api_client/v1/models/logs_date_remapper_type.rb +1 -2
  305. data/lib/datadog_api_client/v1/models/logs_exclusion.rb +8 -1
  306. data/lib/datadog_api_client/v1/models/logs_exclusion_filter.rb +9 -2
  307. data/lib/datadog_api_client/v1/models/logs_filter.rb +8 -1
  308. data/lib/datadog_api_client/v1/models/logs_geo_ip_parser.rb +8 -1
  309. data/lib/datadog_api_client/v1/models/logs_geo_ip_parser_type.rb +1 -2
  310. data/lib/datadog_api_client/v1/models/logs_grok_parser.rb +9 -2
  311. data/lib/datadog_api_client/v1/models/logs_grok_parser_rules.rb +8 -1
  312. data/lib/datadog_api_client/v1/models/logs_grok_parser_type.rb +1 -2
  313. data/lib/datadog_api_client/v1/models/logs_index.rb +8 -1
  314. data/lib/datadog_api_client/v1/models/logs_index_list_response.rb +8 -1
  315. data/lib/datadog_api_client/v1/models/logs_index_update_request.rb +8 -1
  316. data/lib/datadog_api_client/v1/models/logs_indexes_order.rb +8 -1
  317. data/lib/datadog_api_client/v1/models/logs_list_request.rb +8 -1
  318. data/lib/datadog_api_client/v1/models/logs_list_request_time.rb +8 -1
  319. data/lib/datadog_api_client/v1/models/logs_list_response.rb +8 -1
  320. data/lib/datadog_api_client/v1/models/logs_lookup_processor.rb +8 -1
  321. data/lib/datadog_api_client/v1/models/logs_lookup_processor_type.rb +1 -2
  322. data/lib/datadog_api_client/v1/models/logs_message_remapper.rb +8 -1
  323. data/lib/datadog_api_client/v1/models/logs_message_remapper_type.rb +1 -2
  324. data/lib/datadog_api_client/v1/models/logs_pipeline.rb +8 -1
  325. data/lib/datadog_api_client/v1/models/logs_pipeline_processor.rb +8 -1
  326. data/lib/datadog_api_client/v1/models/logs_pipeline_processor_type.rb +1 -2
  327. data/lib/datadog_api_client/v1/models/logs_pipelines_order.rb +8 -1
  328. data/lib/datadog_api_client/v1/models/logs_processor.rb +11 -2
  329. data/lib/datadog_api_client/v1/models/logs_query_compute.rb +8 -1
  330. data/lib/datadog_api_client/v1/models/logs_retention_agg_sum_usage.rb +8 -1
  331. data/lib/datadog_api_client/v1/models/logs_retention_sum_usage.rb +8 -1
  332. data/lib/datadog_api_client/v1/models/logs_service_remapper.rb +8 -1
  333. data/lib/datadog_api_client/v1/models/logs_service_remapper_type.rb +1 -2
  334. data/lib/datadog_api_client/v1/models/logs_sort.rb +1 -2
  335. data/lib/datadog_api_client/v1/models/logs_status_remapper.rb +8 -1
  336. data/lib/datadog_api_client/v1/models/logs_status_remapper_type.rb +1 -2
  337. data/lib/datadog_api_client/v1/models/logs_string_builder_processor.rb +8 -1
  338. data/lib/datadog_api_client/v1/models/logs_string_builder_processor_type.rb +1 -2
  339. data/lib/datadog_api_client/v1/models/logs_trace_remapper.rb +8 -1
  340. data/lib/datadog_api_client/v1/models/logs_trace_remapper_type.rb +1 -2
  341. data/lib/datadog_api_client/v1/models/logs_url_parser.rb +8 -1
  342. data/lib/datadog_api_client/v1/models/logs_url_parser_type.rb +1 -2
  343. data/lib/datadog_api_client/v1/models/logs_user_agent_parser.rb +8 -1
  344. data/lib/datadog_api_client/v1/models/logs_user_agent_parser_type.rb +1 -2
  345. data/lib/datadog_api_client/v1/models/metric_metadata.rb +8 -1
  346. data/lib/datadog_api_client/v1/models/metric_search_response.rb +8 -1
  347. data/lib/datadog_api_client/v1/models/metric_search_response_results.rb +8 -1
  348. data/lib/datadog_api_client/v1/models/metrics_list_response.rb +8 -1
  349. data/lib/datadog_api_client/v1/models/metrics_payload.rb +8 -1
  350. data/lib/datadog_api_client/v1/models/metrics_query_metadata.rb +8 -1
  351. data/lib/datadog_api_client/v1/models/metrics_query_response.rb +8 -1
  352. data/lib/datadog_api_client/v1/models/metrics_query_unit.rb +8 -1
  353. data/lib/datadog_api_client/v1/models/monitor.rb +8 -1
  354. data/lib/datadog_api_client/v1/models/monitor_device_id.rb +1 -2
  355. data/lib/datadog_api_client/v1/models/monitor_group_search_response.rb +8 -1
  356. data/lib/datadog_api_client/v1/models/monitor_group_search_response_counts.rb +8 -1
  357. data/lib/datadog_api_client/v1/models/monitor_group_search_result.rb +8 -1
  358. data/lib/datadog_api_client/v1/models/monitor_options.rb +21 -3
  359. data/lib/datadog_api_client/v1/models/monitor_options_aggregation.rb +8 -1
  360. data/lib/datadog_api_client/v1/models/monitor_overall_states.rb +1 -2
  361. data/lib/datadog_api_client/v1/models/monitor_search_response.rb +8 -1
  362. data/lib/datadog_api_client/v1/models/monitor_search_response_counts.rb +8 -1
  363. data/lib/datadog_api_client/v1/models/monitor_search_response_metadata.rb +8 -1
  364. data/lib/datadog_api_client/v1/models/monitor_search_result.rb +8 -1
  365. data/lib/datadog_api_client/v1/models/monitor_search_result_notification.rb +8 -1
  366. data/lib/datadog_api_client/v1/models/monitor_state.rb +8 -1
  367. data/lib/datadog_api_client/v1/models/monitor_state_group.rb +8 -1
  368. data/lib/datadog_api_client/v1/models/monitor_summary_widget_definition.rb +8 -1
  369. data/lib/datadog_api_client/v1/models/monitor_summary_widget_definition_type.rb +1 -2
  370. data/lib/datadog_api_client/v1/models/monitor_threshold_window_options.rb +8 -1
  371. data/lib/datadog_api_client/v1/models/monitor_thresholds.rb +8 -1
  372. data/lib/datadog_api_client/v1/models/monitor_type.rb +2 -2
  373. data/lib/datadog_api_client/v1/models/monitor_update_request.rb +8 -1
  374. data/lib/datadog_api_client/v1/models/note_widget_definition.rb +8 -1
  375. data/lib/datadog_api_client/v1/models/note_widget_definition_type.rb +1 -2
  376. data/lib/datadog_api_client/v1/models/notebook_absolute_time.rb +8 -1
  377. data/lib/datadog_api_client/v1/models/notebook_author.rb +8 -1
  378. data/lib/datadog_api_client/v1/models/notebook_cell_create_request.rb +8 -1
  379. data/lib/datadog_api_client/v1/models/notebook_cell_create_request_attributes.rb +11 -2
  380. data/lib/datadog_api_client/v1/models/notebook_cell_resource_type.rb +1 -2
  381. data/lib/datadog_api_client/v1/models/notebook_cell_response.rb +8 -1
  382. data/lib/datadog_api_client/v1/models/notebook_cell_response_attributes.rb +11 -2
  383. data/lib/datadog_api_client/v1/models/notebook_cell_time.rb +11 -2
  384. data/lib/datadog_api_client/v1/models/notebook_cell_update_request.rb +8 -1
  385. data/lib/datadog_api_client/v1/models/notebook_cell_update_request_attributes.rb +11 -2
  386. data/lib/datadog_api_client/v1/models/notebook_create_data.rb +8 -1
  387. data/lib/datadog_api_client/v1/models/notebook_create_data_attributes.rb +8 -1
  388. data/lib/datadog_api_client/v1/models/notebook_create_request.rb +8 -1
  389. data/lib/datadog_api_client/v1/models/notebook_distribution_cell_attributes.rb +8 -1
  390. data/lib/datadog_api_client/v1/models/notebook_global_time.rb +11 -2
  391. data/lib/datadog_api_client/v1/models/notebook_graph_size.rb +1 -2
  392. data/lib/datadog_api_client/v1/models/notebook_heat_map_cell_attributes.rb +8 -1
  393. data/lib/datadog_api_client/v1/models/notebook_log_stream_cell_attributes.rb +8 -1
  394. data/lib/datadog_api_client/v1/models/notebook_markdown_cell_attributes.rb +8 -1
  395. data/lib/datadog_api_client/v1/models/notebook_markdown_cell_definition.rb +8 -1
  396. data/lib/datadog_api_client/v1/models/notebook_markdown_cell_definition_type.rb +1 -2
  397. data/lib/datadog_api_client/v1/models/notebook_relative_time.rb +8 -1
  398. data/lib/datadog_api_client/v1/models/notebook_resource_type.rb +1 -2
  399. data/lib/datadog_api_client/v1/models/notebook_response.rb +8 -1
  400. data/lib/datadog_api_client/v1/models/notebook_response_data.rb +8 -1
  401. data/lib/datadog_api_client/v1/models/notebook_response_data_attributes.rb +8 -1
  402. data/lib/datadog_api_client/v1/models/notebook_split_by.rb +8 -1
  403. data/lib/datadog_api_client/v1/models/notebook_status.rb +1 -2
  404. data/lib/datadog_api_client/v1/models/notebook_timeseries_cell_attributes.rb +8 -1
  405. data/lib/datadog_api_client/v1/models/notebook_toplist_cell_attributes.rb +8 -1
  406. data/lib/datadog_api_client/v1/models/notebook_update_cell.rb +11 -2
  407. data/lib/datadog_api_client/v1/models/notebook_update_data.rb +8 -1
  408. data/lib/datadog_api_client/v1/models/notebook_update_data_attributes.rb +8 -1
  409. data/lib/datadog_api_client/v1/models/notebook_update_request.rb +8 -1
  410. data/lib/datadog_api_client/v1/models/notebooks_response.rb +8 -1
  411. data/lib/datadog_api_client/v1/models/notebooks_response_data.rb +8 -1
  412. data/lib/datadog_api_client/v1/models/notebooks_response_data_attributes.rb +8 -1
  413. data/lib/datadog_api_client/v1/models/notebooks_response_meta.rb +8 -1
  414. data/lib/datadog_api_client/v1/models/notebooks_response_page.rb +8 -1
  415. data/lib/datadog_api_client/v1/models/organization.rb +8 -1
  416. data/lib/datadog_api_client/v1/models/organization_billing.rb +8 -1
  417. data/lib/datadog_api_client/v1/models/organization_create_body.rb +8 -1
  418. data/lib/datadog_api_client/v1/models/organization_create_response.rb +8 -1
  419. data/lib/datadog_api_client/v1/models/organization_list_response.rb +8 -1
  420. data/lib/datadog_api_client/v1/models/organization_response.rb +8 -1
  421. data/lib/datadog_api_client/v1/models/organization_settings.rb +8 -1
  422. data/lib/datadog_api_client/v1/models/organization_settings_saml.rb +8 -1
  423. data/lib/datadog_api_client/v1/models/organization_settings_saml_autocreate_users_domains.rb +8 -1
  424. data/lib/datadog_api_client/v1/models/organization_settings_saml_idp_initiated_login.rb +8 -1
  425. data/lib/datadog_api_client/v1/models/organization_settings_saml_strict_mode.rb +8 -1
  426. data/lib/datadog_api_client/v1/models/organization_subscription.rb +8 -1
  427. data/lib/datadog_api_client/v1/models/pager_duty_service.rb +8 -1
  428. data/lib/datadog_api_client/v1/models/pager_duty_service_key.rb +8 -1
  429. data/lib/datadog_api_client/v1/models/pager_duty_service_name.rb +8 -1
  430. data/lib/datadog_api_client/v1/models/pagination.rb +8 -1
  431. data/lib/datadog_api_client/v1/models/process_query_definition.rb +8 -1
  432. data/lib/datadog_api_client/v1/models/query_sort_order.rb +1 -2
  433. data/lib/datadog_api_client/v1/models/query_value_widget_definition.rb +8 -1
  434. data/lib/datadog_api_client/v1/models/query_value_widget_definition_type.rb +1 -2
  435. data/lib/datadog_api_client/v1/models/query_value_widget_request.rb +18 -2
  436. data/lib/datadog_api_client/v1/models/response_meta_attributes.rb +8 -1
  437. data/lib/datadog_api_client/v1/models/scatter_plot_request.rb +9 -2
  438. data/lib/datadog_api_client/v1/models/scatter_plot_widget_definition.rb +8 -1
  439. data/lib/datadog_api_client/v1/models/scatter_plot_widget_definition_requests.rb +8 -1
  440. data/lib/datadog_api_client/v1/models/scatter_plot_widget_definition_type.rb +1 -2
  441. data/lib/datadog_api_client/v1/models/scatterplot_widget_aggregator.rb +42 -0
  442. data/lib/datadog_api_client/v1/models/series.rb +8 -1
  443. data/lib/datadog_api_client/v1/models/service_check.rb +8 -1
  444. data/lib/datadog_api_client/v1/models/service_check_status.rb +1 -2
  445. data/lib/datadog_api_client/v1/models/service_level_objective.rb +8 -1
  446. data/lib/datadog_api_client/v1/models/service_level_objective_query.rb +8 -1
  447. data/lib/datadog_api_client/v1/models/service_level_objective_request.rb +8 -1
  448. data/lib/datadog_api_client/v1/models/service_map_widget_definition.rb +8 -1
  449. data/lib/datadog_api_client/v1/models/service_map_widget_definition_type.rb +1 -2
  450. data/lib/datadog_api_client/v1/models/service_summary_widget_definition.rb +8 -1
  451. data/lib/datadog_api_client/v1/models/service_summary_widget_definition_type.rb +1 -2
  452. data/lib/datadog_api_client/v1/models/slack_integration_channel.rb +8 -1
  453. data/lib/datadog_api_client/v1/models/slack_integration_channel_display.rb +8 -1
  454. data/lib/datadog_api_client/v1/models/slo_bulk_delete_error.rb +8 -1
  455. data/lib/datadog_api_client/v1/models/slo_bulk_delete_response.rb +8 -1
  456. data/lib/datadog_api_client/v1/models/slo_bulk_delete_response_data.rb +8 -1
  457. data/lib/datadog_api_client/v1/models/slo_correction.rb +8 -1
  458. data/lib/datadog_api_client/v1/models/slo_correction_category.rb +1 -2
  459. data/lib/datadog_api_client/v1/models/slo_correction_create_data.rb +8 -1
  460. data/lib/datadog_api_client/v1/models/slo_correction_create_request.rb +8 -1
  461. data/lib/datadog_api_client/v1/models/slo_correction_create_request_attributes.rb +8 -1
  462. data/lib/datadog_api_client/v1/models/slo_correction_list_response.rb +8 -1
  463. data/lib/datadog_api_client/v1/models/slo_correction_response.rb +8 -1
  464. data/lib/datadog_api_client/v1/models/slo_correction_response_attributes.rb +8 -1
  465. data/lib/datadog_api_client/v1/models/slo_correction_type.rb +1 -2
  466. data/lib/datadog_api_client/v1/models/slo_correction_update_data.rb +8 -1
  467. data/lib/datadog_api_client/v1/models/slo_correction_update_request.rb +8 -1
  468. data/lib/datadog_api_client/v1/models/slo_correction_update_request_attributes.rb +8 -1
  469. data/lib/datadog_api_client/v1/models/slo_delete_response.rb +8 -1
  470. data/lib/datadog_api_client/v1/models/slo_error_timeframe.rb +1 -2
  471. data/lib/datadog_api_client/v1/models/slo_history_metrics.rb +8 -1
  472. data/lib/datadog_api_client/v1/models/slo_history_metrics_series.rb +8 -6
  473. data/lib/datadog_api_client/v1/models/slo_history_metrics_series_metadata.rb +8 -1
  474. data/lib/datadog_api_client/v1/models/slo_history_metrics_series_metadata_unit.rb +8 -1
  475. data/lib/datadog_api_client/v1/models/slo_history_monitor.rb +349 -0
  476. data/lib/datadog_api_client/v1/models/slo_history_response.rb +8 -1
  477. data/lib/datadog_api_client/v1/models/slo_history_response_data.rb +10 -3
  478. data/lib/datadog_api_client/v1/models/slo_history_response_error.rb +9 -2
  479. data/lib/datadog_api_client/v1/models/slo_history_response_error_with_type.rb +253 -0
  480. data/lib/datadog_api_client/v1/models/slo_history_sli_data.rb +11 -4
  481. data/lib/datadog_api_client/v1/models/slo_list_response.rb +8 -1
  482. data/lib/datadog_api_client/v1/models/slo_list_response_metadata.rb +8 -1
  483. data/lib/datadog_api_client/v1/models/slo_list_response_metadata_page.rb +8 -1
  484. data/lib/datadog_api_client/v1/models/slo_response.rb +8 -1
  485. data/lib/datadog_api_client/v1/models/slo_response_data.rb +8 -1
  486. data/lib/datadog_api_client/v1/models/slo_threshold.rb +8 -1
  487. data/lib/datadog_api_client/v1/models/slo_timeframe.rb +1 -2
  488. data/lib/datadog_api_client/v1/models/slo_type.rb +1 -2
  489. data/lib/datadog_api_client/v1/models/slo_type_numeric.rb +1 -2
  490. data/lib/datadog_api_client/v1/models/slo_widget_definition.rb +8 -1
  491. data/lib/datadog_api_client/v1/models/slo_widget_definition_type.rb +1 -2
  492. data/lib/datadog_api_client/v1/models/synthetics_api_step.rb +8 -1
  493. data/lib/datadog_api_client/v1/models/synthetics_api_step_subtype.rb +1 -2
  494. data/lib/datadog_api_client/v1/models/synthetics_api_test.rb +8 -1
  495. data/lib/datadog_api_client/v1/models/synthetics_api_test_config.rb +8 -1
  496. data/lib/datadog_api_client/v1/models/synthetics_api_test_result_data.rb +8 -1
  497. data/lib/datadog_api_client/v1/models/synthetics_api_test_result_full.rb +8 -1
  498. data/lib/datadog_api_client/v1/models/synthetics_api_test_result_full_check.rb +8 -1
  499. data/lib/datadog_api_client/v1/models/synthetics_api_test_result_short.rb +8 -1
  500. data/lib/datadog_api_client/v1/models/synthetics_api_test_result_short_result.rb +8 -1
  501. data/lib/datadog_api_client/v1/models/synthetics_api_test_type.rb +1 -2
  502. data/lib/datadog_api_client/v1/models/synthetics_assertion.rb +11 -2
  503. data/lib/datadog_api_client/v1/models/synthetics_assertion_json_path_operator.rb +1 -2
  504. data/lib/datadog_api_client/v1/models/synthetics_assertion_json_path_target.rb +8 -1
  505. data/lib/datadog_api_client/v1/models/synthetics_assertion_json_path_target_target.rb +8 -1
  506. data/lib/datadog_api_client/v1/models/synthetics_assertion_operator.rb +1 -2
  507. data/lib/datadog_api_client/v1/models/synthetics_assertion_target.rb +8 -1
  508. data/lib/datadog_api_client/v1/models/synthetics_assertion_type.rb +1 -2
  509. data/lib/datadog_api_client/v1/models/synthetics_basic_auth.rb +8 -1
  510. data/lib/datadog_api_client/v1/models/synthetics_browser_error.rb +8 -1
  511. data/lib/datadog_api_client/v1/models/synthetics_browser_error_type.rb +1 -2
  512. data/lib/datadog_api_client/v1/models/synthetics_browser_test.rb +8 -1
  513. data/lib/datadog_api_client/v1/models/synthetics_browser_test_config.rb +21 -2
  514. data/lib/datadog_api_client/v1/models/synthetics_browser_test_result_data.rb +8 -1
  515. data/lib/datadog_api_client/v1/models/synthetics_browser_test_result_full.rb +8 -1
  516. data/lib/datadog_api_client/v1/models/synthetics_browser_test_result_full_check.rb +8 -1
  517. data/lib/datadog_api_client/v1/models/synthetics_browser_test_result_short.rb +8 -1
  518. data/lib/datadog_api_client/v1/models/synthetics_browser_test_result_short_result.rb +8 -1
  519. data/lib/datadog_api_client/v1/models/synthetics_browser_test_type.rb +1 -2
  520. data/lib/datadog_api_client/v1/models/synthetics_browser_variable.rb +8 -1
  521. data/lib/datadog_api_client/v1/models/synthetics_browser_variable_type.rb +1 -2
  522. data/lib/datadog_api_client/v1/models/synthetics_check_type.rb +1 -2
  523. data/lib/datadog_api_client/v1/models/synthetics_ci_test.rb +8 -1
  524. data/lib/datadog_api_client/v1/models/synthetics_ci_test_body.rb +8 -1
  525. data/lib/datadog_api_client/v1/models/synthetics_ci_test_metadata.rb +8 -1
  526. data/lib/datadog_api_client/v1/models/synthetics_ci_test_metadata_ci.rb +8 -1
  527. data/lib/datadog_api_client/v1/models/synthetics_ci_test_metadata_git.rb +8 -1
  528. data/lib/datadog_api_client/v1/models/synthetics_config_variable.rb +8 -1
  529. data/lib/datadog_api_client/v1/models/synthetics_config_variable_type.rb +1 -2
  530. data/lib/datadog_api_client/v1/models/synthetics_core_web_vitals.rb +8 -1
  531. data/lib/datadog_api_client/v1/models/synthetics_delete_tests_payload.rb +8 -1
  532. data/lib/datadog_api_client/v1/models/synthetics_delete_tests_response.rb +8 -1
  533. data/lib/datadog_api_client/v1/models/synthetics_deleted_test.rb +8 -1
  534. data/lib/datadog_api_client/v1/models/synthetics_device.rb +8 -1
  535. data/lib/datadog_api_client/v1/models/synthetics_device_id.rb +4 -2
  536. data/lib/datadog_api_client/v1/models/synthetics_error_code.rb +1 -2
  537. data/lib/datadog_api_client/v1/models/synthetics_get_api_test_latest_results_response.rb +8 -1
  538. data/lib/datadog_api_client/v1/models/synthetics_get_browser_test_latest_results_response.rb +8 -1
  539. data/lib/datadog_api_client/v1/models/synthetics_global_variable.rb +18 -2
  540. data/lib/datadog_api_client/v1/models/synthetics_global_variable_attributes.rb +235 -0
  541. data/lib/datadog_api_client/v1/models/synthetics_global_variable_parse_test_options.rb +8 -1
  542. data/lib/datadog_api_client/v1/models/synthetics_global_variable_parse_test_options_type.rb +1 -2
  543. data/lib/datadog_api_client/v1/models/synthetics_global_variable_parser_type.rb +2 -2
  544. data/lib/datadog_api_client/v1/models/synthetics_global_variable_value.rb +10 -3
  545. data/lib/datadog_api_client/v1/models/synthetics_list_global_variables_response.rb +8 -1
  546. data/lib/datadog_api_client/v1/models/synthetics_list_tests_response.rb +8 -1
  547. data/lib/datadog_api_client/v1/models/synthetics_location.rb +8 -1
  548. data/lib/datadog_api_client/v1/models/synthetics_locations.rb +8 -1
  549. data/lib/datadog_api_client/v1/models/synthetics_parsing_options.rb +8 -1
  550. data/lib/datadog_api_client/v1/models/synthetics_playing_tab.rb +1 -2
  551. data/lib/datadog_api_client/v1/models/synthetics_private_location.rb +8 -1
  552. data/lib/datadog_api_client/v1/models/synthetics_private_location_creation_response.rb +8 -1
  553. data/lib/datadog_api_client/v1/models/synthetics_private_location_creation_response_result_encryption.rb +8 -1
  554. data/lib/datadog_api_client/v1/models/synthetics_private_location_secrets.rb +8 -1
  555. data/lib/datadog_api_client/v1/models/synthetics_private_location_secrets_authentication.rb +8 -1
  556. data/lib/datadog_api_client/v1/models/synthetics_private_location_secrets_config_decryption.rb +8 -1
  557. data/lib/datadog_api_client/v1/models/synthetics_ssl_certificate.rb +8 -1
  558. data/lib/datadog_api_client/v1/models/synthetics_ssl_certificate_issuer.rb +8 -1
  559. data/lib/datadog_api_client/v1/models/synthetics_ssl_certificate_subject.rb +8 -1
  560. data/lib/datadog_api_client/v1/models/synthetics_step.rb +8 -1
  561. data/lib/datadog_api_client/v1/models/synthetics_step_detail.rb +8 -1
  562. data/lib/datadog_api_client/v1/models/synthetics_step_detail_warning.rb +8 -1
  563. data/lib/datadog_api_client/v1/models/synthetics_step_type.rb +1 -2
  564. data/lib/datadog_api_client/v1/models/synthetics_test_config.rb +9 -2
  565. data/lib/datadog_api_client/v1/models/synthetics_test_details.rb +8 -1
  566. data/lib/datadog_api_client/v1/models/synthetics_test_details_sub_type.rb +1 -2
  567. data/lib/datadog_api_client/v1/models/synthetics_test_details_type.rb +1 -2
  568. data/lib/datadog_api_client/v1/models/synthetics_test_monitor_status.rb +1 -2
  569. data/lib/datadog_api_client/v1/models/synthetics_test_options.rb +8 -1
  570. data/lib/datadog_api_client/v1/models/synthetics_test_options_monitor_options.rb +8 -1
  571. data/lib/datadog_api_client/v1/models/synthetics_test_options_retry.rb +8 -1
  572. data/lib/datadog_api_client/v1/models/synthetics_test_pause_status.rb +1 -2
  573. data/lib/datadog_api_client/v1/models/synthetics_test_process_status.rb +1 -2
  574. data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +19 -2
  575. data/lib/datadog_api_client/v1/models/synthetics_test_request_certificate.rb +8 -1
  576. data/lib/datadog_api_client/v1/models/synthetics_test_request_certificate_item.rb +8 -1
  577. data/lib/datadog_api_client/v1/models/synthetics_timing.rb +8 -1
  578. data/lib/datadog_api_client/v1/models/synthetics_trigger_ci_test_location.rb +8 -1
  579. data/lib/datadog_api_client/v1/models/synthetics_trigger_ci_test_run_result.rb +8 -1
  580. data/lib/datadog_api_client/v1/models/synthetics_trigger_ci_tests_response.rb +19 -2
  581. data/lib/datadog_api_client/v1/models/synthetics_update_test_pause_status_payload.rb +8 -1
  582. data/lib/datadog_api_client/v1/models/synthetics_variable_parser.rb +8 -1
  583. data/lib/datadog_api_client/v1/models/synthetics_warning_type.rb +1 -2
  584. data/lib/datadog_api_client/v1/models/table_widget_cell_display_mode.rb +1 -2
  585. data/lib/datadog_api_client/v1/models/table_widget_definition.rb +8 -1
  586. data/lib/datadog_api_client/v1/models/table_widget_definition_type.rb +1 -2
  587. data/lib/datadog_api_client/v1/models/table_widget_has_search_bar.rb +1 -2
  588. data/lib/datadog_api_client/v1/models/table_widget_request.rb +42 -2
  589. data/lib/datadog_api_client/v1/models/tag_to_hosts.rb +8 -1
  590. data/lib/datadog_api_client/v1/models/target_format_type.rb +1 -2
  591. data/lib/datadog_api_client/v1/models/timeseries_widget_definition.rb +8 -1
  592. data/lib/datadog_api_client/v1/models/timeseries_widget_definition_type.rb +1 -2
  593. data/lib/datadog_api_client/v1/models/timeseries_widget_expression_alias.rb +8 -1
  594. data/lib/datadog_api_client/v1/models/timeseries_widget_legend_column.rb +1 -2
  595. data/lib/datadog_api_client/v1/models/timeseries_widget_legend_layout.rb +1 -2
  596. data/lib/datadog_api_client/v1/models/timeseries_widget_request.rb +18 -2
  597. data/lib/datadog_api_client/v1/models/toplist_widget_definition.rb +8 -1
  598. data/lib/datadog_api_client/v1/models/toplist_widget_definition_type.rb +1 -2
  599. data/lib/datadog_api_client/v1/models/toplist_widget_request.rb +18 -2
  600. data/lib/datadog_api_client/v1/models/tree_map_color_by.rb +1 -2
  601. data/lib/datadog_api_client/v1/models/tree_map_group_by.rb +1 -2
  602. data/lib/datadog_api_client/v1/models/tree_map_size_by.rb +1 -2
  603. data/lib/datadog_api_client/v1/models/tree_map_widget_definition.rb +8 -1
  604. data/lib/datadog_api_client/v1/models/tree_map_widget_definition_type.rb +1 -2
  605. data/lib/datadog_api_client/v1/models/tree_map_widget_request.rb +8 -1
  606. data/lib/datadog_api_client/v1/models/usage_analyzed_logs_hour.rb +8 -1
  607. data/lib/datadog_api_client/v1/models/usage_analyzed_logs_response.rb +8 -1
  608. data/lib/datadog_api_client/v1/models/usage_attribution_aggregates_body.rb +8 -1
  609. data/lib/datadog_api_client/v1/models/usage_attribution_body.rb +8 -1
  610. data/lib/datadog_api_client/v1/models/usage_attribution_metadata.rb +8 -1
  611. data/lib/datadog_api_client/v1/models/usage_attribution_pagination.rb +8 -1
  612. data/lib/datadog_api_client/v1/models/usage_attribution_response.rb +8 -1
  613. data/lib/datadog_api_client/v1/models/usage_attribution_sort.rb +1 -2
  614. data/lib/datadog_api_client/v1/models/usage_attribution_supported_metrics.rb +5 -2
  615. data/lib/datadog_api_client/v1/models/usage_attribution_values.rb +89 -2
  616. data/lib/datadog_api_client/v1/models/usage_audit_logs_hour.rb +8 -1
  617. data/lib/datadog_api_client/v1/models/usage_audit_logs_response.rb +8 -1
  618. data/lib/datadog_api_client/v1/models/usage_billable_summary_body.rb +8 -1
  619. data/lib/datadog_api_client/v1/models/usage_billable_summary_hour.rb +8 -1
  620. data/lib/datadog_api_client/v1/models/usage_billable_summary_keys.rb +8 -1
  621. data/lib/datadog_api_client/v1/models/usage_billable_summary_response.rb +8 -1
  622. data/lib/datadog_api_client/v1/models/usage_cloud_security_posture_management_hour.rb +8 -1
  623. data/lib/datadog_api_client/v1/models/usage_cloud_security_posture_management_response.rb +8 -1
  624. data/lib/datadog_api_client/v1/models/usage_custom_reports_attributes.rb +8 -1
  625. data/lib/datadog_api_client/v1/models/usage_custom_reports_data.rb +8 -1
  626. data/lib/datadog_api_client/v1/models/usage_custom_reports_meta.rb +8 -1
  627. data/lib/datadog_api_client/v1/models/usage_custom_reports_page.rb +8 -1
  628. data/lib/datadog_api_client/v1/models/usage_custom_reports_response.rb +8 -1
  629. data/lib/datadog_api_client/v1/models/usage_cws_hour.rb +8 -1
  630. data/lib/datadog_api_client/v1/models/usage_cws_response.rb +8 -1
  631. data/lib/datadog_api_client/v1/models/usage_dbm_hour.rb +253 -0
  632. data/lib/datadog_api_client/v1/models/usage_dbm_response.rb +235 -0
  633. data/lib/datadog_api_client/v1/models/usage_fargate_hour.rb +8 -1
  634. data/lib/datadog_api_client/v1/models/usage_fargate_response.rb +8 -1
  635. data/lib/datadog_api_client/v1/models/usage_host_hour.rb +8 -1
  636. data/lib/datadog_api_client/v1/models/usage_hosts_response.rb +8 -1
  637. data/lib/datadog_api_client/v1/models/usage_incident_management_hour.rb +8 -1
  638. data/lib/datadog_api_client/v1/models/usage_incident_management_response.rb +8 -1
  639. data/lib/datadog_api_client/v1/models/usage_indexed_spans_hour.rb +8 -1
  640. data/lib/datadog_api_client/v1/models/usage_indexed_spans_response.rb +8 -1
  641. data/lib/datadog_api_client/v1/models/usage_ingested_spans_hour.rb +8 -1
  642. data/lib/datadog_api_client/v1/models/usage_ingested_spans_response.rb +8 -1
  643. data/lib/datadog_api_client/v1/models/usage_io_t_hour.rb +8 -1
  644. data/lib/datadog_api_client/v1/models/usage_io_t_response.rb +8 -1
  645. data/lib/datadog_api_client/v1/models/usage_lambda_hour.rb +8 -1
  646. data/lib/datadog_api_client/v1/models/usage_lambda_response.rb +8 -1
  647. data/lib/datadog_api_client/v1/models/usage_logs_by_index_hour.rb +8 -1
  648. data/lib/datadog_api_client/v1/models/usage_logs_by_index_response.rb +8 -1
  649. data/lib/datadog_api_client/v1/models/usage_logs_by_retention_hour.rb +8 -1
  650. data/lib/datadog_api_client/v1/models/usage_logs_by_retention_response.rb +8 -1
  651. data/lib/datadog_api_client/v1/models/usage_logs_hour.rb +8 -1
  652. data/lib/datadog_api_client/v1/models/usage_logs_response.rb +8 -1
  653. data/lib/datadog_api_client/v1/models/usage_metric_category.rb +1 -2
  654. data/lib/datadog_api_client/v1/models/usage_network_flows_hour.rb +8 -1
  655. data/lib/datadog_api_client/v1/models/usage_network_flows_response.rb +8 -1
  656. data/lib/datadog_api_client/v1/models/usage_network_hosts_hour.rb +8 -1
  657. data/lib/datadog_api_client/v1/models/usage_network_hosts_response.rb +8 -1
  658. data/lib/datadog_api_client/v1/models/usage_profiling_hour.rb +8 -1
  659. data/lib/datadog_api_client/v1/models/usage_profiling_response.rb +8 -1
  660. data/lib/datadog_api_client/v1/models/usage_reports_type.rb +1 -2
  661. data/lib/datadog_api_client/v1/models/usage_rum_sessions_hour.rb +8 -1
  662. data/lib/datadog_api_client/v1/models/usage_rum_sessions_response.rb +8 -1
  663. data/lib/datadog_api_client/v1/models/usage_snmp_hour.rb +8 -1
  664. data/lib/datadog_api_client/v1/models/usage_snmp_response.rb +8 -1
  665. data/lib/datadog_api_client/v1/models/usage_sort.rb +1 -2
  666. data/lib/datadog_api_client/v1/models/usage_sort_direction.rb +1 -2
  667. data/lib/datadog_api_client/v1/models/usage_specified_custom_reports_attributes.rb +8 -1
  668. data/lib/datadog_api_client/v1/models/usage_specified_custom_reports_data.rb +8 -1
  669. data/lib/datadog_api_client/v1/models/usage_specified_custom_reports_meta.rb +8 -1
  670. data/lib/datadog_api_client/v1/models/usage_specified_custom_reports_page.rb +8 -1
  671. data/lib/datadog_api_client/v1/models/usage_specified_custom_reports_response.rb +8 -1
  672. data/lib/datadog_api_client/v1/models/usage_summary_date.rb +29 -2
  673. data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +29 -2
  674. data/lib/datadog_api_client/v1/models/usage_summary_response.rb +29 -2
  675. data/lib/datadog_api_client/v1/models/usage_synthetics_api_hour.rb +8 -1
  676. data/lib/datadog_api_client/v1/models/usage_synthetics_api_response.rb +8 -1
  677. data/lib/datadog_api_client/v1/models/usage_synthetics_browser_hour.rb +8 -1
  678. data/lib/datadog_api_client/v1/models/usage_synthetics_browser_response.rb +8 -1
  679. data/lib/datadog_api_client/v1/models/usage_synthetics_hour.rb +8 -1
  680. data/lib/datadog_api_client/v1/models/usage_synthetics_response.rb +8 -1
  681. data/lib/datadog_api_client/v1/models/usage_timeseries_hour.rb +8 -1
  682. data/lib/datadog_api_client/v1/models/usage_timeseries_response.rb +8 -1
  683. data/lib/datadog_api_client/v1/models/usage_top_avg_metrics_hour.rb +8 -1
  684. data/lib/datadog_api_client/v1/models/usage_top_avg_metrics_metadata.rb +8 -1
  685. data/lib/datadog_api_client/v1/models/usage_top_avg_metrics_response.rb +8 -1
  686. data/lib/datadog_api_client/v1/models/user.rb +8 -1
  687. data/lib/datadog_api_client/v1/models/user_disable_response.rb +8 -1
  688. data/lib/datadog_api_client/v1/models/user_list_response.rb +8 -1
  689. data/lib/datadog_api_client/v1/models/user_response.rb +8 -1
  690. data/lib/datadog_api_client/v1/models/webhooks_integration.rb +286 -0
  691. data/lib/datadog_api_client/v1/models/webhooks_integration_custom_variable.rb +268 -0
  692. data/lib/datadog_api_client/v1/models/webhooks_integration_custom_variable_response.rb +263 -0
  693. data/lib/datadog_api_client/v1/models/webhooks_integration_custom_variable_update_request.rb +253 -0
  694. data/lib/datadog_api_client/v1/models/webhooks_integration_encoding.rb +39 -0
  695. data/lib/datadog_api_client/v1/models/webhooks_integration_update_request.rb +275 -0
  696. data/lib/datadog_api_client/v1/models/widget.rb +8 -1
  697. data/lib/datadog_api_client/v1/models/widget_aggregator.rb +2 -2
  698. data/lib/datadog_api_client/v1/models/widget_axis.rb +8 -1
  699. data/lib/datadog_api_client/v1/models/widget_change_type.rb +1 -2
  700. data/lib/datadog_api_client/v1/models/widget_color_preference.rb +1 -2
  701. data/lib/datadog_api_client/v1/models/widget_comparator.rb +1 -2
  702. data/lib/datadog_api_client/v1/models/widget_compare_to.rb +1 -2
  703. data/lib/datadog_api_client/v1/models/widget_conditional_format.rb +8 -1
  704. data/lib/datadog_api_client/v1/models/widget_custom_link.rb +8 -1
  705. data/lib/datadog_api_client/v1/models/widget_definition.rb +12 -2
  706. data/lib/datadog_api_client/v1/models/widget_display_type.rb +1 -2
  707. data/lib/datadog_api_client/v1/models/widget_event.rb +8 -1
  708. data/lib/datadog_api_client/v1/models/widget_event_size.rb +1 -2
  709. data/lib/datadog_api_client/v1/models/widget_field_sort.rb +8 -1
  710. data/lib/datadog_api_client/v1/models/widget_formula.rb +30 -2
  711. data/lib/datadog_api_client/v1/models/widget_formula_limit.rb +8 -1
  712. data/lib/datadog_api_client/v1/models/widget_grouping.rb +1 -2
  713. data/lib/datadog_api_client/v1/models/widget_horizontal_align.rb +1 -2
  714. data/lib/datadog_api_client/v1/models/widget_image_sizing.rb +1 -2
  715. data/lib/datadog_api_client/v1/models/widget_layout.rb +8 -1
  716. data/lib/datadog_api_client/v1/models/widget_layout_type.rb +1 -2
  717. data/lib/datadog_api_client/v1/models/widget_line_type.rb +1 -2
  718. data/lib/datadog_api_client/v1/models/widget_line_width.rb +1 -2
  719. data/lib/datadog_api_client/v1/models/widget_live_span.rb +1 -2
  720. data/lib/datadog_api_client/v1/models/widget_margin.rb +1 -2
  721. data/lib/datadog_api_client/v1/models/widget_marker.rb +8 -1
  722. data/lib/datadog_api_client/v1/models/widget_message_display.rb +1 -2
  723. data/lib/datadog_api_client/v1/models/widget_monitor_summary_display_format.rb +1 -2
  724. data/lib/datadog_api_client/v1/models/widget_monitor_summary_sort.rb +1 -2
  725. data/lib/datadog_api_client/v1/models/widget_node_type.rb +1 -2
  726. data/lib/datadog_api_client/v1/models/widget_order_by.rb +1 -2
  727. data/lib/datadog_api_client/v1/models/widget_palette.rb +1 -2
  728. data/lib/datadog_api_client/v1/models/widget_request_style.rb +8 -1
  729. data/lib/datadog_api_client/v1/models/widget_service_summary_display_format.rb +1 -2
  730. data/lib/datadog_api_client/v1/models/widget_size_format.rb +1 -2
  731. data/lib/datadog_api_client/v1/models/widget_sort.rb +1 -2
  732. data/lib/datadog_api_client/v1/models/widget_style.rb +8 -1
  733. data/lib/datadog_api_client/v1/models/widget_summary_type.rb +1 -2
  734. data/lib/datadog_api_client/v1/models/widget_text_align.rb +1 -2
  735. data/lib/datadog_api_client/v1/models/widget_tick_edge.rb +1 -2
  736. data/lib/datadog_api_client/v1/models/widget_time.rb +8 -1
  737. data/lib/datadog_api_client/v1/models/widget_time_windows.rb +1 -2
  738. data/lib/datadog_api_client/v1/models/widget_vertical_align.rb +1 -2
  739. data/lib/datadog_api_client/v1/models/widget_view_mode.rb +1 -2
  740. data/lib/datadog_api_client/v1/models/widget_viz_type.rb +1 -2
  741. data/lib/datadog_api_client/v1.rb +25 -0
  742. data/lib/datadog_api_client/v2/api/dashboard_lists_api.rb +1 -1
  743. data/lib/datadog_api_client/v2/api/metrics_api.rb +3 -3
  744. data/lib/datadog_api_client/v2/api/processes_api.rb +1 -1
  745. data/lib/datadog_api_client/v2/api/roles_api.rb +12 -12
  746. data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +7 -7
  747. data/lib/datadog_api_client/v2/api/service_accounts_api.rb +442 -0
  748. data/lib/datadog_api_client/v2/api/users_api.rb +84 -9
  749. data/lib/datadog_api_client/v2/api_client.rb +1 -1
  750. data/lib/datadog_api_client/v2/configuration.rb +21 -0
  751. data/lib/datadog_api_client/v2/models/api_error_response.rb +8 -1
  752. data/lib/datadog_api_client/v2/models/api_key_create_attributes.rb +8 -1
  753. data/lib/datadog_api_client/v2/models/api_key_create_data.rb +8 -1
  754. data/lib/datadog_api_client/v2/models/api_key_create_request.rb +8 -1
  755. data/lib/datadog_api_client/v2/models/api_key_relationships.rb +8 -1
  756. data/lib/datadog_api_client/v2/models/api_key_response.rb +8 -1
  757. data/lib/datadog_api_client/v2/models/api_key_response_included_item.rb +11 -2
  758. data/lib/datadog_api_client/v2/models/api_key_update_attributes.rb +8 -1
  759. data/lib/datadog_api_client/v2/models/api_key_update_data.rb +8 -1
  760. data/lib/datadog_api_client/v2/models/api_key_update_request.rb +8 -1
  761. data/lib/datadog_api_client/v2/models/api_keys_response.rb +8 -1
  762. data/lib/datadog_api_client/v2/models/api_keys_sort.rb +1 -2
  763. data/lib/datadog_api_client/v2/models/api_keys_type.rb +1 -2
  764. data/lib/datadog_api_client/v2/models/application_key_create_attributes.rb +8 -1
  765. data/lib/datadog_api_client/v2/models/application_key_create_data.rb +8 -1
  766. data/lib/datadog_api_client/v2/models/application_key_create_request.rb +8 -1
  767. data/lib/datadog_api_client/v2/models/application_key_relationships.rb +15 -8
  768. data/lib/datadog_api_client/v2/models/application_key_response.rb +8 -1
  769. data/lib/datadog_api_client/v2/models/application_key_response_included_item.rb +11 -2
  770. data/lib/datadog_api_client/v2/models/application_key_update_attributes.rb +8 -1
  771. data/lib/datadog_api_client/v2/models/application_key_update_data.rb +8 -1
  772. data/lib/datadog_api_client/v2/models/application_key_update_request.rb +8 -1
  773. data/lib/datadog_api_client/v2/models/application_keys_sort.rb +1 -2
  774. data/lib/datadog_api_client/v2/models/application_keys_type.rb +1 -2
  775. data/lib/datadog_api_client/v2/models/creator.rb +8 -1
  776. data/lib/datadog_api_client/v2/models/dashboard_list_add_items_request.rb +8 -1
  777. data/lib/datadog_api_client/v2/models/dashboard_list_add_items_response.rb +8 -1
  778. data/lib/datadog_api_client/v2/models/dashboard_list_delete_items_request.rb +8 -1
  779. data/lib/datadog_api_client/v2/models/dashboard_list_delete_items_response.rb +8 -1
  780. data/lib/datadog_api_client/v2/models/dashboard_list_item.rb +8 -1
  781. data/lib/datadog_api_client/v2/models/dashboard_list_item_request.rb +8 -1
  782. data/lib/datadog_api_client/v2/models/dashboard_list_item_response.rb +8 -1
  783. data/lib/datadog_api_client/v2/models/dashboard_list_items.rb +8 -1
  784. data/lib/datadog_api_client/v2/models/dashboard_list_update_items_request.rb +8 -1
  785. data/lib/datadog_api_client/v2/models/dashboard_list_update_items_response.rb +8 -1
  786. data/lib/datadog_api_client/v2/models/dashboard_type.rb +1 -2
  787. data/lib/datadog_api_client/v2/models/full_api_key.rb +8 -1
  788. data/lib/datadog_api_client/v2/models/full_api_key_attributes.rb +8 -1
  789. data/lib/datadog_api_client/v2/models/full_application_key.rb +8 -1
  790. data/lib/datadog_api_client/v2/models/full_application_key_attributes.rb +8 -1
  791. data/lib/datadog_api_client/v2/models/incident_create_attributes.rb +17 -10
  792. data/lib/datadog_api_client/v2/models/incident_create_data.rb +8 -1
  793. data/lib/datadog_api_client/v2/models/incident_create_relationships.rb +8 -1
  794. data/lib/datadog_api_client/v2/models/incident_create_request.rb +8 -1
  795. data/lib/datadog_api_client/v2/models/incident_field_attributes.rb +11 -2
  796. data/lib/datadog_api_client/v2/models/incident_field_attributes_multiple_value.rb +8 -1
  797. data/lib/datadog_api_client/v2/models/incident_field_attributes_single_value.rb +8 -1
  798. data/lib/datadog_api_client/v2/models/incident_field_attributes_single_value_type.rb +1 -2
  799. data/lib/datadog_api_client/v2/models/incident_field_attributes_value_type.rb +1 -2
  800. data/lib/datadog_api_client/v2/models/incident_integration_metadata_type.rb +1 -2
  801. data/lib/datadog_api_client/v2/models/incident_notification_handle.rb +243 -0
  802. data/lib/datadog_api_client/v2/models/incident_postmortem_type.rb +1 -2
  803. data/lib/datadog_api_client/v2/models/incident_related_object.rb +1 -2
  804. data/lib/datadog_api_client/v2/models/incident_response.rb +8 -1
  805. data/lib/datadog_api_client/v2/models/incident_response_attributes.rb +9 -2
  806. data/lib/datadog_api_client/v2/models/incident_response_data.rb +8 -1
  807. data/lib/datadog_api_client/v2/models/incident_response_included_item.rb +11 -2
  808. data/lib/datadog_api_client/v2/models/incident_response_relationships.rb +8 -1
  809. data/lib/datadog_api_client/v2/models/incident_service_create_attributes.rb +8 -1
  810. data/lib/datadog_api_client/v2/models/incident_service_create_data.rb +8 -1
  811. data/lib/datadog_api_client/v2/models/incident_service_create_request.rb +8 -1
  812. data/lib/datadog_api_client/v2/models/incident_service_included_items.rb +11 -2
  813. data/lib/datadog_api_client/v2/models/incident_service_relationships.rb +8 -1
  814. data/lib/datadog_api_client/v2/models/incident_service_response.rb +8 -1
  815. data/lib/datadog_api_client/v2/models/incident_service_response_attributes.rb +8 -1
  816. data/lib/datadog_api_client/v2/models/incident_service_response_data.rb +8 -1
  817. data/lib/datadog_api_client/v2/models/incident_service_type.rb +1 -2
  818. data/lib/datadog_api_client/v2/models/incident_service_update_attributes.rb +8 -1
  819. data/lib/datadog_api_client/v2/models/incident_service_update_data.rb +8 -1
  820. data/lib/datadog_api_client/v2/models/incident_service_update_request.rb +8 -1
  821. data/lib/datadog_api_client/v2/models/incident_services_response.rb +8 -1
  822. data/lib/datadog_api_client/v2/models/incident_services_response_meta.rb +8 -1
  823. data/lib/datadog_api_client/v2/models/incident_services_response_meta_pagination.rb +8 -1
  824. data/lib/datadog_api_client/v2/models/incident_team_create_attributes.rb +8 -1
  825. data/lib/datadog_api_client/v2/models/incident_team_create_data.rb +8 -1
  826. data/lib/datadog_api_client/v2/models/incident_team_create_request.rb +8 -1
  827. data/lib/datadog_api_client/v2/models/incident_team_included_items.rb +11 -2
  828. data/lib/datadog_api_client/v2/models/incident_team_relationships.rb +8 -1
  829. data/lib/datadog_api_client/v2/models/incident_team_response.rb +8 -1
  830. data/lib/datadog_api_client/v2/models/incident_team_response_attributes.rb +8 -1
  831. data/lib/datadog_api_client/v2/models/incident_team_response_data.rb +8 -1
  832. data/lib/datadog_api_client/v2/models/incident_team_type.rb +1 -2
  833. data/lib/datadog_api_client/v2/models/incident_team_update_attributes.rb +8 -1
  834. data/lib/datadog_api_client/v2/models/incident_team_update_data.rb +8 -1
  835. data/lib/datadog_api_client/v2/models/incident_team_update_request.rb +8 -1
  836. data/lib/datadog_api_client/v2/models/incident_teams_response.rb +8 -1
  837. data/lib/datadog_api_client/v2/models/incident_timeline_cell_create_attributes.rb +11 -2
  838. data/lib/datadog_api_client/v2/models/incident_timeline_cell_markdown_content_type.rb +1 -2
  839. data/lib/datadog_api_client/v2/models/incident_timeline_cell_markdown_create_attributes.rb +8 -1
  840. data/lib/datadog_api_client/v2/models/incident_timeline_cell_markdown_create_attributes_content.rb +8 -1
  841. data/lib/datadog_api_client/v2/models/incident_type.rb +1 -2
  842. data/lib/datadog_api_client/v2/models/incident_update_attributes.rb +9 -2
  843. data/lib/datadog_api_client/v2/models/incident_update_data.rb +8 -1
  844. data/lib/datadog_api_client/v2/models/incident_update_relationships.rb +8 -1
  845. data/lib/datadog_api_client/v2/models/incident_update_request.rb +8 -1
  846. data/lib/datadog_api_client/v2/models/incidents_response.rb +8 -1
  847. data/lib/datadog_api_client/v2/models/list_application_keys_response.rb +8 -1
  848. data/lib/datadog_api_client/v2/models/log.rb +8 -1
  849. data/lib/datadog_api_client/v2/models/log_attributes.rb +8 -1
  850. data/lib/datadog_api_client/v2/models/log_type.rb +1 -2
  851. data/lib/datadog_api_client/v2/models/logs_aggregate_bucket.rb +8 -1
  852. data/lib/datadog_api_client/v2/models/logs_aggregate_bucket_value.rb +11 -2
  853. data/lib/datadog_api_client/v2/models/logs_aggregate_bucket_value_timeseries_point.rb +8 -1
  854. data/lib/datadog_api_client/v2/models/logs_aggregate_request.rb +8 -1
  855. data/lib/datadog_api_client/v2/models/logs_aggregate_request_page.rb +8 -1
  856. data/lib/datadog_api_client/v2/models/logs_aggregate_response.rb +8 -1
  857. data/lib/datadog_api_client/v2/models/logs_aggregate_response_data.rb +8 -1
  858. data/lib/datadog_api_client/v2/models/logs_aggregate_response_status.rb +1 -2
  859. data/lib/datadog_api_client/v2/models/logs_aggregate_sort.rb +8 -1
  860. data/lib/datadog_api_client/v2/models/logs_aggregate_sort_type.rb +1 -2
  861. data/lib/datadog_api_client/v2/models/logs_aggregation_function.rb +1 -2
  862. data/lib/datadog_api_client/v2/models/logs_archive.rb +8 -1
  863. data/lib/datadog_api_client/v2/models/logs_archive_attributes.rb +8 -1
  864. data/lib/datadog_api_client/v2/models/logs_archive_create_request.rb +8 -1
  865. data/lib/datadog_api_client/v2/models/logs_archive_create_request_attributes.rb +8 -1
  866. data/lib/datadog_api_client/v2/models/logs_archive_create_request_definition.rb +8 -1
  867. data/lib/datadog_api_client/v2/models/logs_archive_create_request_destination.rb +11 -2
  868. data/lib/datadog_api_client/v2/models/logs_archive_definition.rb +8 -1
  869. data/lib/datadog_api_client/v2/models/logs_archive_destination.rb +11 -2
  870. data/lib/datadog_api_client/v2/models/logs_archive_destination_azure.rb +8 -1
  871. data/lib/datadog_api_client/v2/models/logs_archive_destination_azure_type.rb +1 -2
  872. data/lib/datadog_api_client/v2/models/logs_archive_destination_gcs.rb +8 -1
  873. data/lib/datadog_api_client/v2/models/logs_archive_destination_gcs_type.rb +1 -2
  874. data/lib/datadog_api_client/v2/models/logs_archive_destination_s3.rb +8 -1
  875. data/lib/datadog_api_client/v2/models/logs_archive_destination_s3_type.rb +1 -2
  876. data/lib/datadog_api_client/v2/models/logs_archive_integration_azure.rb +8 -1
  877. data/lib/datadog_api_client/v2/models/logs_archive_integration_gcs.rb +8 -1
  878. data/lib/datadog_api_client/v2/models/logs_archive_integration_s3.rb +8 -1
  879. data/lib/datadog_api_client/v2/models/logs_archive_order.rb +8 -1
  880. data/lib/datadog_api_client/v2/models/logs_archive_order_attributes.rb +8 -1
  881. data/lib/datadog_api_client/v2/models/logs_archive_order_definition.rb +8 -1
  882. data/lib/datadog_api_client/v2/models/logs_archive_order_definition_type.rb +1 -2
  883. data/lib/datadog_api_client/v2/models/logs_archive_state.rb +1 -2
  884. data/lib/datadog_api_client/v2/models/logs_archives.rb +8 -1
  885. data/lib/datadog_api_client/v2/models/logs_compute.rb +8 -1
  886. data/lib/datadog_api_client/v2/models/logs_compute_type.rb +1 -2
  887. data/lib/datadog_api_client/v2/models/logs_group_by.rb +8 -1
  888. data/lib/datadog_api_client/v2/models/logs_group_by_histogram.rb +8 -1
  889. data/lib/datadog_api_client/v2/models/logs_group_by_missing.rb +11 -2
  890. data/lib/datadog_api_client/v2/models/logs_group_by_total.rb +11 -2
  891. data/lib/datadog_api_client/v2/models/logs_list_request.rb +8 -1
  892. data/lib/datadog_api_client/v2/models/logs_list_request_page.rb +8 -1
  893. data/lib/datadog_api_client/v2/models/logs_list_response.rb +8 -1
  894. data/lib/datadog_api_client/v2/models/logs_list_response_links.rb +8 -1
  895. data/lib/datadog_api_client/v2/models/logs_metric_compute.rb +8 -1
  896. data/lib/datadog_api_client/v2/models/logs_metric_compute_aggregation_type.rb +1 -2
  897. data/lib/datadog_api_client/v2/models/logs_metric_create_attributes.rb +8 -1
  898. data/lib/datadog_api_client/v2/models/logs_metric_create_data.rb +8 -1
  899. data/lib/datadog_api_client/v2/models/logs_metric_create_request.rb +8 -1
  900. data/lib/datadog_api_client/v2/models/logs_metric_filter.rb +8 -1
  901. data/lib/datadog_api_client/v2/models/logs_metric_group_by.rb +8 -1
  902. data/lib/datadog_api_client/v2/models/logs_metric_response.rb +8 -1
  903. data/lib/datadog_api_client/v2/models/logs_metric_response_attributes.rb +8 -1
  904. data/lib/datadog_api_client/v2/models/logs_metric_response_compute.rb +8 -1
  905. data/lib/datadog_api_client/v2/models/logs_metric_response_compute_aggregation_type.rb +1 -2
  906. data/lib/datadog_api_client/v2/models/logs_metric_response_data.rb +8 -1
  907. data/lib/datadog_api_client/v2/models/logs_metric_response_filter.rb +8 -1
  908. data/lib/datadog_api_client/v2/models/logs_metric_response_group_by.rb +8 -1
  909. data/lib/datadog_api_client/v2/models/logs_metric_type.rb +1 -2
  910. data/lib/datadog_api_client/v2/models/logs_metric_update_attributes.rb +8 -1
  911. data/lib/datadog_api_client/v2/models/logs_metric_update_data.rb +8 -1
  912. data/lib/datadog_api_client/v2/models/logs_metric_update_request.rb +8 -1
  913. data/lib/datadog_api_client/v2/models/logs_metrics_response.rb +8 -1
  914. data/lib/datadog_api_client/v2/models/logs_query_filter.rb +8 -1
  915. data/lib/datadog_api_client/v2/models/logs_query_options.rb +8 -1
  916. data/lib/datadog_api_client/v2/models/logs_response_metadata.rb +8 -1
  917. data/lib/datadog_api_client/v2/models/logs_response_metadata_page.rb +8 -1
  918. data/lib/datadog_api_client/v2/models/logs_sort.rb +1 -2
  919. data/lib/datadog_api_client/v2/models/logs_sort_order.rb +1 -2
  920. data/lib/datadog_api_client/v2/models/logs_warning.rb +8 -1
  921. data/lib/datadog_api_client/v2/models/metric.rb +8 -1
  922. data/lib/datadog_api_client/v2/models/metric_all_tags.rb +8 -1
  923. data/lib/datadog_api_client/v2/models/metric_all_tags_attributes.rb +8 -1
  924. data/lib/datadog_api_client/v2/models/metric_all_tags_response.rb +8 -1
  925. data/lib/datadog_api_client/v2/models/metric_distinct_volume.rb +8 -1
  926. data/lib/datadog_api_client/v2/models/metric_distinct_volume_attributes.rb +8 -1
  927. data/lib/datadog_api_client/v2/models/metric_distinct_volume_type.rb +1 -2
  928. data/lib/datadog_api_client/v2/models/metric_ingested_indexed_volume.rb +8 -1
  929. data/lib/datadog_api_client/v2/models/metric_ingested_indexed_volume_attributes.rb +8 -1
  930. data/lib/datadog_api_client/v2/models/metric_ingested_indexed_volume_type.rb +1 -2
  931. data/lib/datadog_api_client/v2/models/metric_tag_configuration.rb +8 -1
  932. data/lib/datadog_api_client/v2/models/metric_tag_configuration_attributes.rb +8 -1
  933. data/lib/datadog_api_client/v2/models/metric_tag_configuration_create_attributes.rb +8 -1
  934. data/lib/datadog_api_client/v2/models/metric_tag_configuration_create_data.rb +8 -1
  935. data/lib/datadog_api_client/v2/models/metric_tag_configuration_create_request.rb +8 -1
  936. data/lib/datadog_api_client/v2/models/metric_tag_configuration_metric_types.rb +1 -2
  937. data/lib/datadog_api_client/v2/models/metric_tag_configuration_response.rb +8 -1
  938. data/lib/datadog_api_client/v2/models/metric_tag_configuration_type.rb +1 -2
  939. data/lib/datadog_api_client/v2/models/metric_tag_configuration_update_attributes.rb +8 -1
  940. data/lib/datadog_api_client/v2/models/metric_tag_configuration_update_data.rb +8 -1
  941. data/lib/datadog_api_client/v2/models/metric_tag_configuration_update_request.rb +8 -1
  942. data/lib/datadog_api_client/v2/models/metric_type.rb +1 -2
  943. data/lib/datadog_api_client/v2/models/metric_volumes.rb +11 -2
  944. data/lib/datadog_api_client/v2/models/metric_volumes_response.rb +8 -1
  945. data/lib/datadog_api_client/v2/models/metrics_and_metric_tag_configurations.rb +11 -2
  946. data/lib/datadog_api_client/v2/models/metrics_and_metric_tag_configurations_response.rb +8 -1
  947. data/lib/datadog_api_client/v2/models/organization.rb +8 -1
  948. data/lib/datadog_api_client/v2/models/organization_attributes.rb +8 -1
  949. data/lib/datadog_api_client/v2/models/organizations_type.rb +1 -2
  950. data/lib/datadog_api_client/v2/models/pagination.rb +8 -1
  951. data/lib/datadog_api_client/v2/models/partial_api_key.rb +8 -1
  952. data/lib/datadog_api_client/v2/models/partial_api_key_attributes.rb +8 -1
  953. data/lib/datadog_api_client/v2/models/partial_application_key.rb +8 -1
  954. data/lib/datadog_api_client/v2/models/partial_application_key_attributes.rb +8 -1
  955. data/lib/datadog_api_client/v2/models/partial_application_key_response.rb +244 -0
  956. data/lib/datadog_api_client/v2/models/permission.rb +8 -1
  957. data/lib/datadog_api_client/v2/models/permission_attributes.rb +8 -1
  958. data/lib/datadog_api_client/v2/models/permissions_response.rb +8 -1
  959. data/lib/datadog_api_client/v2/models/permissions_type.rb +1 -2
  960. data/lib/datadog_api_client/v2/models/process_summaries_meta.rb +8 -1
  961. data/lib/datadog_api_client/v2/models/process_summaries_meta_page.rb +8 -1
  962. data/lib/datadog_api_client/v2/models/process_summaries_response.rb +8 -1
  963. data/lib/datadog_api_client/v2/models/process_summary.rb +8 -1
  964. data/lib/datadog_api_client/v2/models/process_summary_attributes.rb +8 -1
  965. data/lib/datadog_api_client/v2/models/process_summary_type.rb +1 -2
  966. data/lib/datadog_api_client/v2/models/query_sort_order.rb +1 -2
  967. data/lib/datadog_api_client/v2/models/relationship_to_incident_integration_metadata_data.rb +8 -1
  968. data/lib/datadog_api_client/v2/models/relationship_to_incident_integration_metadatas.rb +8 -1
  969. data/lib/datadog_api_client/v2/models/relationship_to_incident_postmortem.rb +8 -1
  970. data/lib/datadog_api_client/v2/models/relationship_to_incident_postmortem_data.rb +8 -1
  971. data/lib/datadog_api_client/v2/models/relationship_to_organization.rb +8 -1
  972. data/lib/datadog_api_client/v2/models/relationship_to_organization_data.rb +8 -1
  973. data/lib/datadog_api_client/v2/models/relationship_to_organizations.rb +8 -1
  974. data/lib/datadog_api_client/v2/models/relationship_to_permission.rb +8 -1
  975. data/lib/datadog_api_client/v2/models/relationship_to_permission_data.rb +8 -1
  976. data/lib/datadog_api_client/v2/models/relationship_to_permissions.rb +8 -1
  977. data/lib/datadog_api_client/v2/models/relationship_to_role.rb +8 -1
  978. data/lib/datadog_api_client/v2/models/relationship_to_role_data.rb +8 -1
  979. data/lib/datadog_api_client/v2/models/relationship_to_roles.rb +8 -1
  980. data/lib/datadog_api_client/v2/models/relationship_to_user.rb +8 -1
  981. data/lib/datadog_api_client/v2/models/relationship_to_user_data.rb +8 -1
  982. data/lib/datadog_api_client/v2/models/relationship_to_users.rb +8 -1
  983. data/lib/datadog_api_client/v2/models/response_meta_attributes.rb +8 -1
  984. data/lib/datadog_api_client/v2/models/role.rb +8 -1
  985. data/lib/datadog_api_client/v2/models/role_attributes.rb +8 -1
  986. data/lib/datadog_api_client/v2/models/role_create_attributes.rb +8 -1
  987. data/lib/datadog_api_client/v2/models/role_create_data.rb +8 -1
  988. data/lib/datadog_api_client/v2/models/role_create_request.rb +8 -1
  989. data/lib/datadog_api_client/v2/models/role_create_response.rb +8 -1
  990. data/lib/datadog_api_client/v2/models/role_create_response_data.rb +8 -1
  991. data/lib/datadog_api_client/v2/models/role_relationships.rb +8 -1
  992. data/lib/datadog_api_client/v2/models/role_response.rb +8 -1
  993. data/lib/datadog_api_client/v2/models/role_response_relationships.rb +8 -1
  994. data/lib/datadog_api_client/v2/models/role_update_attributes.rb +8 -1
  995. data/lib/datadog_api_client/v2/models/role_update_data.rb +8 -1
  996. data/lib/datadog_api_client/v2/models/role_update_request.rb +8 -1
  997. data/lib/datadog_api_client/v2/models/role_update_response.rb +8 -1
  998. data/lib/datadog_api_client/v2/models/role_update_response_data.rb +8 -1
  999. data/lib/datadog_api_client/v2/models/roles_response.rb +8 -1
  1000. data/lib/datadog_api_client/v2/models/roles_sort.rb +1 -2
  1001. data/lib/datadog_api_client/v2/models/roles_type.rb +1 -2
  1002. data/lib/datadog_api_client/v2/models/security_filter.rb +8 -1
  1003. data/lib/datadog_api_client/v2/models/security_filter_attributes.rb +8 -1
  1004. data/lib/datadog_api_client/v2/models/security_filter_create_attributes.rb +8 -1
  1005. data/lib/datadog_api_client/v2/models/security_filter_create_data.rb +8 -1
  1006. data/lib/datadog_api_client/v2/models/security_filter_create_request.rb +8 -1
  1007. data/lib/datadog_api_client/v2/models/security_filter_exclusion_filter.rb +8 -1
  1008. data/lib/datadog_api_client/v2/models/security_filter_exclusion_filter_response.rb +8 -1
  1009. data/lib/datadog_api_client/v2/models/security_filter_filtered_data_type.rb +1 -2
  1010. data/lib/datadog_api_client/v2/models/security_filter_meta.rb +8 -1
  1011. data/lib/datadog_api_client/v2/models/security_filter_response.rb +8 -1
  1012. data/lib/datadog_api_client/v2/models/security_filter_type.rb +1 -2
  1013. data/lib/datadog_api_client/v2/models/security_filter_update_attributes.rb +8 -1
  1014. data/lib/datadog_api_client/v2/models/security_filter_update_data.rb +8 -1
  1015. data/lib/datadog_api_client/v2/models/security_filter_update_request.rb +8 -1
  1016. data/lib/datadog_api_client/v2/models/security_filters_response.rb +8 -1
  1017. data/lib/datadog_api_client/v2/models/security_monitoring_filter.rb +8 -1
  1018. data/lib/datadog_api_client/v2/models/security_monitoring_filter_action.rb +1 -2
  1019. data/lib/datadog_api_client/v2/models/security_monitoring_list_rules_response.rb +8 -1
  1020. data/lib/datadog_api_client/v2/models/security_monitoring_rule_case.rb +8 -1
  1021. data/lib/datadog_api_client/v2/models/security_monitoring_rule_case_create.rb +8 -1
  1022. data/lib/datadog_api_client/v2/models/security_monitoring_rule_create_payload.rb +21 -5
  1023. data/lib/datadog_api_client/v2/models/security_monitoring_rule_detection_method.rb +1 -2
  1024. data/lib/datadog_api_client/v2/models/security_monitoring_rule_evaluation_window.rb +1 -2
  1025. data/lib/datadog_api_client/v2/models/security_monitoring_rule_keep_alive.rb +1 -2
  1026. data/lib/datadog_api_client/v2/models/security_monitoring_rule_max_signal_duration.rb +1 -2
  1027. data/lib/datadog_api_client/v2/models/security_monitoring_rule_new_value_options.rb +8 -1
  1028. data/lib/datadog_api_client/v2/models/security_monitoring_rule_new_value_options_forget_after.rb +1 -2
  1029. data/lib/datadog_api_client/v2/models/security_monitoring_rule_new_value_options_learning_duration.rb +1 -2
  1030. data/lib/datadog_api_client/v2/models/security_monitoring_rule_options.rb +8 -1
  1031. data/lib/datadog_api_client/v2/models/security_monitoring_rule_query.rb +8 -1
  1032. data/lib/datadog_api_client/v2/models/security_monitoring_rule_query_aggregation.rb +1 -2
  1033. data/lib/datadog_api_client/v2/models/security_monitoring_rule_query_create.rb +8 -1
  1034. data/lib/datadog_api_client/v2/models/security_monitoring_rule_response.rb +18 -2
  1035. data/lib/datadog_api_client/v2/models/security_monitoring_rule_severity.rb +1 -2
  1036. data/lib/datadog_api_client/v2/models/security_monitoring_rule_type_create.rb +39 -0
  1037. data/lib/datadog_api_client/v2/models/security_monitoring_rule_type_read.rb +41 -0
  1038. data/lib/datadog_api_client/v2/models/security_monitoring_rule_update_payload.rb +8 -1
  1039. data/lib/datadog_api_client/v2/models/security_monitoring_runtime_agent_rule.rb +8 -1
  1040. data/lib/datadog_api_client/v2/models/security_monitoring_signal.rb +8 -1
  1041. data/lib/datadog_api_client/v2/models/security_monitoring_signal_attributes.rb +8 -1
  1042. data/lib/datadog_api_client/v2/models/security_monitoring_signal_list_request.rb +8 -1
  1043. data/lib/datadog_api_client/v2/models/security_monitoring_signal_list_request_filter.rb +8 -1
  1044. data/lib/datadog_api_client/v2/models/security_monitoring_signal_list_request_page.rb +8 -1
  1045. data/lib/datadog_api_client/v2/models/security_monitoring_signal_type.rb +1 -2
  1046. data/lib/datadog_api_client/v2/models/security_monitoring_signals_list_response.rb +8 -1
  1047. data/lib/datadog_api_client/v2/models/security_monitoring_signals_list_response_links.rb +8 -1
  1048. data/lib/datadog_api_client/v2/models/security_monitoring_signals_list_response_meta.rb +8 -1
  1049. data/lib/datadog_api_client/v2/models/security_monitoring_signals_list_response_meta_page.rb +8 -1
  1050. data/lib/datadog_api_client/v2/models/security_monitoring_signals_sort.rb +1 -2
  1051. data/lib/datadog_api_client/v2/models/service_account_create_attributes.rb +273 -0
  1052. data/lib/datadog_api_client/v2/models/service_account_create_data.rb +262 -0
  1053. data/lib/datadog_api_client/v2/models/service_account_create_request.rb +237 -0
  1054. data/lib/datadog_api_client/v2/models/user.rb +8 -1
  1055. data/lib/datadog_api_client/v2/models/user_attributes.rb +19 -2
  1056. data/lib/datadog_api_client/v2/models/user_create_attributes.rb +8 -1
  1057. data/lib/datadog_api_client/v2/models/user_create_data.rb +8 -1
  1058. data/lib/datadog_api_client/v2/models/user_create_request.rb +8 -1
  1059. data/lib/datadog_api_client/v2/models/user_invitation_data.rb +8 -1
  1060. data/lib/datadog_api_client/v2/models/user_invitation_data_attributes.rb +8 -1
  1061. data/lib/datadog_api_client/v2/models/user_invitation_relationships.rb +8 -1
  1062. data/lib/datadog_api_client/v2/models/user_invitation_response.rb +8 -1
  1063. data/lib/datadog_api_client/v2/models/user_invitation_response_data.rb +8 -1
  1064. data/lib/datadog_api_client/v2/models/user_invitations_request.rb +8 -1
  1065. data/lib/datadog_api_client/v2/models/user_invitations_response.rb +8 -1
  1066. data/lib/datadog_api_client/v2/models/user_invitations_type.rb +1 -2
  1067. data/lib/datadog_api_client/v2/models/user_relationships.rb +8 -1
  1068. data/lib/datadog_api_client/v2/models/user_response.rb +8 -1
  1069. data/lib/datadog_api_client/v2/models/user_response_included_item.rb +11 -2
  1070. data/lib/datadog_api_client/v2/models/user_response_relationships.rb +8 -1
  1071. data/lib/datadog_api_client/v2/models/user_update_attributes.rb +8 -1
  1072. data/lib/datadog_api_client/v2/models/user_update_data.rb +8 -1
  1073. data/lib/datadog_api_client/v2/models/user_update_request.rb +8 -1
  1074. data/lib/datadog_api_client/v2/models/users_response.rb +8 -1
  1075. data/lib/datadog_api_client/v2/models/users_type.rb +1 -2
  1076. data/lib/datadog_api_client/v2.rb +8 -0
  1077. data/lib/datadog_api_client/version.rb +1 -1
  1078. data/spec/fixtures/logs_archive_unknown_nested_oneof.json +23 -0
  1079. data/spec/fixtures/synthetics_unknown_nested_enum.json +34 -0
  1080. data/spec/fixtures/synthetics_unknown_nested_enum_in_list.json +59 -0
  1081. data/spec/fixtures/synthetics_unknown_nested_oneof_in_list.json +61 -0
  1082. data/spec/fixtures/synthetics_unknown_top_level_enum.json +33 -0
  1083. data/spec/spec_helper.rb +19 -21
  1084. data/spec/v1/api/webhooks_integration_api_spec.rb +136 -0
  1085. data/spec/v1/deserialization_spec.rb +99 -0
  1086. data/spec/v1/models/dashboard_bulk_action_data_spec.rb +43 -0
  1087. data/spec/v1/models/dashboard_bulk_delete_request_spec.rb +37 -0
  1088. data/spec/v1/models/dashboard_resource_type_spec.rb +31 -0
  1089. data/spec/v1/models/dashboard_restore_request_spec.rb +37 -0
  1090. data/spec/v1/models/list_stream_column_spec.rb +43 -0
  1091. data/spec/v1/models/list_stream_column_width_spec.rb +31 -0
  1092. data/spec/v1/models/list_stream_query_spec.rb +49 -0
  1093. data/spec/v1/models/list_stream_response_format_spec.rb +31 -0
  1094. data/spec/v1/models/list_stream_source_spec.rb +31 -0
  1095. data/spec/v1/models/list_stream_widget_definition_spec.rb +79 -0
  1096. data/spec/v1/models/list_stream_widget_definition_type_spec.rb +31 -0
  1097. data/spec/v1/models/list_stream_widget_request_spec.rb +49 -0
  1098. data/spec/v1/models/scatterplot_widget_aggregator_spec.rb +31 -0
  1099. data/spec/v1/models/slo_history_monitor_spec.rb +103 -0
  1100. data/spec/v1/models/slo_history_response_error_with_type_spec.rb +43 -0
  1101. data/spec/v1/models/synthetics_global_variable_attributes_spec.rb +37 -0
  1102. data/spec/v1/models/usage_dbm_hour_spec.rb +49 -0
  1103. data/spec/v1/models/usage_dbm_response_spec.rb +37 -0
  1104. data/spec/v1/models/webhooks_integration_custom_variable_response_spec.rb +49 -0
  1105. data/spec/v1/models/webhooks_integration_custom_variable_spec.rb +49 -0
  1106. data/spec/v1/models/webhooks_integration_custom_variable_update_request_spec.rb +49 -0
  1107. data/spec/v1/models/webhooks_integration_encoding_spec.rb +31 -0
  1108. data/spec/v1/models/webhooks_integration_spec.rb +61 -0
  1109. data/spec/v1/models/webhooks_integration_update_request_spec.rb +61 -0
  1110. data/spec/v2/api/service_accounts_api_spec.rb +109 -0
  1111. data/spec/v2/models/incident_notification_handle_spec.rb +43 -0
  1112. data/spec/v2/models/partial_application_key_response_spec.rb +43 -0
  1113. data/spec/v2/models/security_monitoring_rule_type_create_spec.rb +31 -0
  1114. data/spec/v2/models/security_monitoring_rule_type_read_spec.rb +31 -0
  1115. data/spec/v2/models/service_account_create_attributes_spec.rb +55 -0
  1116. data/spec/v2/models/service_account_create_data_spec.rb +49 -0
  1117. data/spec/v2/models/service_account_create_request_spec.rb +37 -0
  1118. metadata +149 -5
data/DEVELOPMENT.md CHANGED
@@ -36,3 +36,8 @@ By default integration tests use recorded API responses stored in cassettes. To
36
36
  **IMPORTANT**:
37
37
  When creating a PR that adds or updates a test, __never__ commit
38
38
  generated code, only commit test files being updated and any updated cassettes.
39
+
40
+ ### CI
41
+
42
+ In rare ocassions, the test suite may fail due to a corrupted cache in `ruby/setup-ruby` action.
43
+ Please update `CACHE_VERSION` secret in https://github.com/DataDog/datadog-api-client-ruby/settings/secrets/actions/CACHE_VERSION with a new unique value.
data/Gemfile CHANGED
@@ -5,10 +5,10 @@ source 'https://rubygems.org'
5
5
  gemspec
6
6
 
7
7
  group :development, :test do
8
+ gem 'activesupport'
8
9
  gem 'cucumber'
9
10
  gem 'gem-release'
10
- # gem 'ddtrace'
11
- gem 'ddtrace', require: 'ddtrace/auto_instrument', git: 'https://github.com/datadog/dd-trace-rb', ref: 'b233d53e8f8a84ecd2af18987587ce35f142dd82'
11
+ gem 'ddtrace', '>=0.51.0'
12
12
  gem 'rake', '~> 13.0.1'
13
13
  gem 'pry-byebug'
14
14
  gem 'vcr'
data/data/v1/openapi.yaml CHANGED
@@ -955,6 +955,40 @@ components:
955
955
  - layout_type
956
956
  - widgets
957
957
  type: object
958
+ DashboardBulkActionData:
959
+ description: Dashboard bulk action request data.
960
+ example:
961
+ id: 123-abc-456
962
+ type: dashboard
963
+ properties:
964
+ id:
965
+ $ref: '#/components/schemas/DashboardID'
966
+ type:
967
+ $ref: '#/components/schemas/DashboardResourceType'
968
+ required:
969
+ - type
970
+ - id
971
+ type: object
972
+ DashboardBulkActionDataList:
973
+ description: List of dashboard bulk action request data objects.
974
+ example:
975
+ - id: 123-abc-456
976
+ type: dashboard
977
+ items:
978
+ $ref: '#/components/schemas/DashboardBulkActionData'
979
+ type: array
980
+ DashboardBulkDeleteRequest:
981
+ description: Dashboard bulk delete request body.
982
+ example:
983
+ data:
984
+ - id: 123-abc-456
985
+ type: dashboard
986
+ properties:
987
+ data:
988
+ $ref: '#/components/schemas/DashboardBulkActionDataList'
989
+ required:
990
+ - data
991
+ type: object
958
992
  DashboardDeleteResponse:
959
993
  description: Response from the delete dashboard call.
960
994
  properties:
@@ -962,6 +996,10 @@ components:
962
996
  description: ID of the deleted dashboard.
963
997
  type: string
964
998
  type: object
999
+ DashboardID:
1000
+ description: Dashboard resource ID.
1001
+ example: 123-abc-456
1002
+ type: string
965
1003
  DashboardLayoutType:
966
1004
  description: Layout type of the dashboard.
967
1005
  enum:
@@ -1044,6 +1082,27 @@ components:
1044
1082
  x-enum-varnames:
1045
1083
  - AUTO
1046
1084
  - FIXED
1085
+ DashboardResourceType:
1086
+ default: dashboard
1087
+ description: Dashboard resource type.
1088
+ enum:
1089
+ - dashboard
1090
+ example: dashboard
1091
+ type: string
1092
+ x-enum-varnames:
1093
+ - DASHBOARD
1094
+ DashboardRestoreRequest:
1095
+ description: Dashboard restore request body.
1096
+ example:
1097
+ data:
1098
+ - id: 123-abc-456
1099
+ type: dashboard
1100
+ properties:
1101
+ data:
1102
+ $ref: '#/components/schemas/DashboardBulkActionDataList'
1103
+ required:
1104
+ - data
1105
+ type: object
1047
1106
  DashboardSummary:
1048
1107
  description: Dashboard summary response.
1049
1108
  properties:
@@ -1089,6 +1148,18 @@ components:
1089
1148
  DashboardTemplateVariable:
1090
1149
  description: Template variable.
1091
1150
  properties:
1151
+ available_values:
1152
+ description: The list of values that the template variable drop-down is
1153
+ limited to.
1154
+ example:
1155
+ - my-host
1156
+ - host1
1157
+ - host2
1158
+ items:
1159
+ description: Template variable value.
1160
+ type: string
1161
+ nullable: true
1162
+ type: array
1092
1163
  default:
1093
1164
  description: The default value for the template variable on dashboard load.
1094
1165
  example: my-host
@@ -1624,6 +1695,14 @@ components:
1624
1695
  format: int64
1625
1696
  readOnly: true
1626
1697
  type: integer
1698
+ id_str:
1699
+ description: 'Handling IDs as large 64-bit numbers can cause loss of accuracy
1700
+ issues with some programming languages.
1701
+
1702
+ Instead, use the string representation of the Event ID to avoid losing
1703
+ accuracy.'
1704
+ readOnly: true
1705
+ type: string
1627
1706
  payload:
1628
1707
  description: Payload of the event.
1629
1708
  example: '{}'
@@ -2097,6 +2176,8 @@ components:
2097
2176
  - rum
2098
2177
  - security_signals
2099
2178
  - profiles
2179
+ - audit
2180
+ - events
2100
2181
  example: logs
2101
2182
  type: string
2102
2183
  x-enum-varnames:
@@ -2106,6 +2187,8 @@ components:
2106
2187
  - RUM
2107
2188
  - SECURITY_SIGNALS
2108
2189
  - PROFILES
2190
+ - AUDIT
2191
+ - EVENTS
2109
2192
  FormulaAndFunctionMetricAggregation:
2110
2193
  description: The aggregation methods available for metrics queries.
2111
2194
  enum:
@@ -2116,6 +2199,7 @@ components:
2116
2199
  - last
2117
2200
  - area
2118
2201
  - l2norm
2202
+ - percentile
2119
2203
  example: avg
2120
2204
  type: string
2121
2205
  x-enum-varnames:
@@ -2126,6 +2210,7 @@ components:
2126
2210
  - LAST
2127
2211
  - AREA
2128
2212
  - L2NORM
2213
+ - PERCENTILE
2129
2214
  FormulaAndFunctionMetricDataSource:
2130
2215
  description: Data source for metrics queries.
2131
2216
  enum:
@@ -3213,6 +3298,147 @@ components:
3213
3298
  example: ok
3214
3299
  type: string
3215
3300
  type: object
3301
+ ListStreamColumn:
3302
+ description: Widget column.
3303
+ example:
3304
+ field: timestamp
3305
+ width: auto
3306
+ properties:
3307
+ field:
3308
+ description: Widget column field.
3309
+ example: content
3310
+ type: string
3311
+ width:
3312
+ $ref: '#/components/schemas/ListStreamColumnWidth'
3313
+ required:
3314
+ - width
3315
+ - field
3316
+ type: object
3317
+ ListStreamColumnWidth:
3318
+ description: Widget column width.
3319
+ enum:
3320
+ - auto
3321
+ - compact
3322
+ - full
3323
+ type: string
3324
+ x-enum-varnames:
3325
+ - AUTO
3326
+ - COMPACT
3327
+ - FULL
3328
+ ListStreamQuery:
3329
+ description: Updated list stream widget.
3330
+ properties:
3331
+ data_source:
3332
+ $ref: '#/components/schemas/ListStreamSource'
3333
+ indexes:
3334
+ description: List of indexes.
3335
+ items:
3336
+ description: Index.
3337
+ type: string
3338
+ type: array
3339
+ query_string:
3340
+ description: Widget query.
3341
+ example: '@service:app'
3342
+ type: string
3343
+ required:
3344
+ - query_string
3345
+ - data_source
3346
+ type: object
3347
+ ListStreamResponseFormat:
3348
+ description: Widget response format.
3349
+ enum:
3350
+ - event_list
3351
+ type: string
3352
+ x-enum-varnames:
3353
+ - EVENT_LIST
3354
+ ListStreamSource:
3355
+ default: issue_stream
3356
+ description: Source from which to query items to display in the stream.
3357
+ enum:
3358
+ - issue_stream
3359
+ - logs_stream
3360
+ - audit_stream
3361
+ example: issue_stream
3362
+ type: string
3363
+ x-enum-varnames:
3364
+ - ISSUE_STREAM
3365
+ - LOGS_STREAM
3366
+ - AUDIT_STREAM
3367
+ ListStreamWidgetDefinition:
3368
+ description: 'The list stream visualization displays a table of recent events
3369
+ in your application that
3370
+
3371
+ match a search criteria using user-defined columns.
3372
+
3373
+ '
3374
+ properties:
3375
+ legend_size:
3376
+ $ref: '#/components/schemas/WidgetLegendSize'
3377
+ requests:
3378
+ description: Request payload used to query items.
3379
+ example:
3380
+ - response_format: event_list
3381
+ - columns:
3382
+ - field: timestamp
3383
+ width: auto
3384
+ - query:
3385
+ data_source: issue_stream
3386
+ query_string: '@data_source:APM'
3387
+ items:
3388
+ $ref: '#/components/schemas/ListStreamWidgetRequest'
3389
+ maxItems: 1
3390
+ minItems: 1
3391
+ type: array
3392
+ show_legend:
3393
+ description: Whether or not to display the legend on this widget.
3394
+ type: boolean
3395
+ time:
3396
+ $ref: '#/components/schemas/WidgetTime'
3397
+ title:
3398
+ description: Title of the widget.
3399
+ type: string
3400
+ title_align:
3401
+ $ref: '#/components/schemas/WidgetTextAlign'
3402
+ title_size:
3403
+ description: Size of the title.
3404
+ type: string
3405
+ type:
3406
+ $ref: '#/components/schemas/ListStreamWidgetDefinitionType'
3407
+ required:
3408
+ - type
3409
+ - requests
3410
+ type: object
3411
+ ListStreamWidgetDefinitionType:
3412
+ default: list_stream
3413
+ description: Type of the list stream widget.
3414
+ enum:
3415
+ - list_stream
3416
+ example: list_stream
3417
+ type: string
3418
+ x-enum-varnames:
3419
+ - LIST_STREAM
3420
+ ListStreamWidgetRequest:
3421
+ description: Updated list stream widget.
3422
+ properties:
3423
+ columns:
3424
+ description: Widget columns.
3425
+ example:
3426
+ - field: timestamp
3427
+ width: auto
3428
+ - field: content
3429
+ width: full
3430
+ items:
3431
+ $ref: '#/components/schemas/ListStreamColumn'
3432
+ type: array
3433
+ query:
3434
+ $ref: '#/components/schemas/ListStreamQuery'
3435
+ response_format:
3436
+ $ref: '#/components/schemas/ListStreamResponseFormat'
3437
+ required:
3438
+ - columns
3439
+ - query
3440
+ - response_format
3441
+ type: object
3216
3442
  Log:
3217
3443
  description: Object describing a log after being processed and stored by Datadog.
3218
3444
  properties:
@@ -3432,7 +3658,7 @@ components:
3432
3658
  is overwritten by the result of the formula.\n- Results are rounded up to
3433
3659
  the 9th decimal. For example, if the result of the formula is `0.1234567891`,\n
3434
3660
  \ the actual value stored for the attribute is `0.123456789`.\n- If you need
3435
- to scale a unit of measure,\n see [Scale Filter](https://docs.datadoghq.com/logs/processing/parsing/?tab=filter#matcher-and-filter)."
3661
+ to scale a unit of measure,\n see [Scale Filter](https://docs.datadoghq.com/logs/log_configuration/parsing/?tab=filter#matcher-and-filter)."
3436
3662
  properties:
3437
3663
  expression:
3438
3664
  description: Arithmetic operation between one or more log attributes.
@@ -3717,8 +3943,8 @@ components:
3717
3943
  description: 'Sample rate to apply to logs going through this exclusion
3718
3944
  filter,
3719
3945
 
3720
- a value of 1 will exclude all logs matching the query.'
3721
- example: 1
3946
+ a value of 1.0 excludes all logs matching the query.'
3947
+ example: 1.0
3722
3948
  format: double
3723
3949
  type: number
3724
3950
  required:
@@ -3780,9 +4006,9 @@ components:
3780
4006
  - GEO_IP_PARSER
3781
4007
  LogsGrokParser:
3782
4008
  description: 'Create custom grok rules to parse the full message or [a specific
3783
- attribute of your raw event](https://docs.datadoghq.com/logs/processing/parsing/#advanced-settings).
4009
+ attribute of your raw event](https://docs.datadoghq.com/logs/log_configuration/parsing/#advanced-settings).
3784
4010
 
3785
- For more information, see the [parsing section](https://docs.datadoghq.com/logs/processing/parsing).'
4011
+ For more information, see the [parsing section](https://docs.datadoghq.com/logs/log_configuration/parsing).'
3786
4012
  properties:
3787
4013
  grok:
3788
4014
  $ref: '#/components/schemas/LogsGrokParserRules'
@@ -5138,13 +5364,29 @@ components:
5138
5364
  format: int64
5139
5365
  nullable: true
5140
5366
  type: integer
5367
+ new_group_delay:
5368
+ description: 'Time (in seconds) to skip evaluations for new groups.
5369
+
5370
+
5371
+ For example, this option can be used to skip evaluations for new hosts
5372
+ while they initialize.
5373
+
5374
+
5375
+ Must be a non negative integer.'
5376
+ format: int64
5377
+ nullable: true
5378
+ type: integer
5141
5379
  new_host_delay:
5142
5380
  default: 300
5381
+ deprecated: true
5143
5382
  description: 'Time (in seconds) to allow a host to boot and applications
5144
5383
 
5145
5384
  to fully start before starting the evaluation of monitor results.
5146
5385
 
5147
- Should be a non negative integer.'
5386
+ Should be a non negative integer.
5387
+
5388
+
5389
+ Use new_group_delay instead.'
5148
5390
  format: int64
5149
5391
  nullable: true
5150
5392
  type: integer
@@ -5583,6 +5825,7 @@ components:
5583
5825
  - trace-analytics alert
5584
5826
  - slo alert
5585
5827
  - event-v2 alert
5828
+ - audit alert
5586
5829
  example: metric alert
5587
5830
  type: string
5588
5831
  x-enum-varnames:
@@ -5598,6 +5841,7 @@ components:
5598
5841
  - TRACE_ANALYTICS_ALERT
5599
5842
  - SLO_ALERT
5600
5843
  - EVENT_V2_ALERT
5844
+ - AUDIT_ALERT
5601
5845
  MonitorUpdateRequest:
5602
5846
  description: Object describing a monitor update request.
5603
5847
  properties:
@@ -6653,6 +6897,7 @@ components:
6653
6897
  Current is defined as not more than 10 minutes in the future or more than
6654
6898
  1 hour in the past.'
6655
6899
  format: double
6900
+ nullable: true
6656
6901
  type: number
6657
6902
  maxItems: 2
6658
6903
  minItems: 2
@@ -6754,6 +6999,8 @@ components:
6754
6999
  $ref: '#/components/schemas/WidgetAggregator'
6755
7000
  apm_query:
6756
7001
  $ref: '#/components/schemas/LogQueryDefinition'
7002
+ audit_query:
7003
+ $ref: '#/components/schemas/LogQueryDefinition'
6757
7004
  conditional_formats:
6758
7005
  description: List of conditional formats.
6759
7006
  items:
@@ -7200,10 +7447,10 @@ components:
7200
7447
  - count
7201
7448
  - sum
7202
7449
  - values
7203
- - metadata
7204
7450
  type: object
7205
7451
  SLOHistoryMetricsSeriesMetadataUnit:
7206
7452
  description: An Object of metric units.
7453
+ nullable: true
7207
7454
  properties:
7208
7455
  family:
7209
7456
  description: The family of metric unit, for example `bytes` is the family
@@ -7230,6 +7477,93 @@ components:
7230
7477
  nullable: true
7231
7478
  type: string
7232
7479
  type: object
7480
+ SLOHistoryMonitor:
7481
+ description: 'An object that holds an SLI value and its associated data. It
7482
+ can represent an SLO''s overall SLI value.
7483
+
7484
+ This can also represent the SLI value for a specific monitor in multi-monitor
7485
+ SLOs, or a group in grouped SLOs.'
7486
+ properties:
7487
+ error_budget_remaining:
7488
+ $ref: '#/components/schemas/SLOErrorBudgetRemainingData'
7489
+ errors:
7490
+ description: An array of error objects returned while querying the history
7491
+ data for the service level objective.
7492
+ items:
7493
+ $ref: '#/components/schemas/SLOHistoryResponseErrorWithType'
7494
+ type: array
7495
+ group:
7496
+ description: For groups in a grouped SLO, this is the group name.
7497
+ example: name
7498
+ type: string
7499
+ history:
7500
+ description: For `monitor` based SLOs, this includes the aggregated history
7501
+ as arrays that include time series and uptime data where `0=monitor` is
7502
+ in `OK` state and `1=monitor` is in `alert` state.
7503
+ items:
7504
+ description: Represents an array time series data.
7505
+ example:
7506
+ - - 1579212382
7507
+ - 0
7508
+ items:
7509
+ description: A time series data point which is a tuple of (timestamp,
7510
+ value).
7511
+ example:
7512
+ - 1579212382
7513
+ - 0
7514
+ format: double
7515
+ type: number
7516
+ maxItems: 2
7517
+ minItems: 2
7518
+ type: array
7519
+ type: array
7520
+ monitor_modified:
7521
+ description: For `monitor` based SLOs, this is the last modified timestamp
7522
+ in epoch seconds of the monitor.
7523
+ example: 1615867200
7524
+ format: int64
7525
+ type: integer
7526
+ monitor_type:
7527
+ description: For `monitor` based SLOs, this describes the type of monitor.
7528
+ example: string
7529
+ type: string
7530
+ name:
7531
+ description: For groups in a grouped SLO, this is the group name. For monitors
7532
+ in a multi-monitor SLO, this is the monitor name.
7533
+ example: string
7534
+ type: string
7535
+ precision:
7536
+ deprecated: true
7537
+ description: The amount of decimal places the SLI value is accurate to for
7538
+ the given from `&&` to timestamp. Use `span_precision` instead.
7539
+ example: 2
7540
+ format: double
7541
+ type: number
7542
+ preview:
7543
+ description: 'For `monitor` based SLOs, when `true` this indicates that
7544
+ a replay is in progress to give an accurate uptime
7545
+
7546
+ calculation.'
7547
+ example: true
7548
+ type: boolean
7549
+ sli_value:
7550
+ description: The current SLI value of the SLO over the history window.
7551
+ example: 99.99
7552
+ format: double
7553
+ type: number
7554
+ span_precision:
7555
+ description: The amount of decimal places the SLI value is accurate to for
7556
+ the given from `&&` to timestamp.
7557
+ example: 2
7558
+ format: double
7559
+ type: number
7560
+ uptime:
7561
+ deprecated: true
7562
+ description: Use `sli_value` instead.
7563
+ example: 99.99
7564
+ format: double
7565
+ type: number
7566
+ type: object
7233
7567
  SLOHistoryResponse:
7234
7568
  description: A service level objective history response.
7235
7569
  properties:
@@ -7260,7 +7594,7 @@ components:
7260
7594
  This is not included in the responses for `metric` based SLOs.'
7261
7595
  example: []
7262
7596
  items:
7263
- $ref: '#/components/schemas/SLOHistorySLIData'
7597
+ $ref: '#/components/schemas/SLOHistoryMonitor'
7264
7598
  type: array
7265
7599
  monitors:
7266
7600
  description: 'For multi-monitor SLOs, this represents SLI data for specific
@@ -7270,7 +7604,7 @@ components:
7270
7604
  This is not included in the responses for `metric` based SLOs.'
7271
7605
  example: []
7272
7606
  items:
7273
- $ref: '#/components/schemas/SLOHistorySLIData'
7607
+ $ref: '#/components/schemas/SLOHistoryMonitor'
7274
7608
  type: array
7275
7609
  overall:
7276
7610
  $ref: '#/components/schemas/SLOHistorySLIData'
@@ -7300,12 +7634,28 @@ components:
7300
7634
  type: array
7301
7635
  type: object
7302
7636
  SLOHistoryResponseError:
7303
- description: A service level objective response containing the requested history.
7637
+ description: A list of errors while querying the history data for the service
7638
+ level objective.
7304
7639
  properties:
7305
7640
  error:
7306
7641
  description: Human readable error.
7307
7642
  type: string
7308
7643
  type: object
7644
+ SLOHistoryResponseErrorWithType:
7645
+ description: An object describing the error with error type and error message.
7646
+ properties:
7647
+ error_message:
7648
+ description: A message with more details about the error.
7649
+ example: ''
7650
+ type: string
7651
+ error_type:
7652
+ description: Type of the error.
7653
+ example: ''
7654
+ type: string
7655
+ required:
7656
+ - error_type
7657
+ - error_message
7658
+ type: object
7309
7659
  SLOHistorySLIData:
7310
7660
  description: 'An object that holds an SLI value and its associated data. It
7311
7661
  can represent an SLO''s overall SLI value.
@@ -7316,11 +7666,10 @@ components:
7316
7666
  error_budget_remaining:
7317
7667
  $ref: '#/components/schemas/SLOErrorBudgetRemainingData'
7318
7668
  errors:
7319
- description: A list of errors while querying the history data for the service
7320
- level objective.
7321
- example: []
7669
+ description: An array of error objects returned while querying the history
7670
+ data for the service level objective.
7322
7671
  items:
7323
- $ref: '#/components/schemas/SLOHistoryResponseError'
7672
+ $ref: '#/components/schemas/SLOHistoryResponseErrorWithType'
7324
7673
  type: array
7325
7674
  group:
7326
7675
  description: For groups in a grouped SLO, this is the group name.
@@ -7328,7 +7677,8 @@ components:
7328
7677
  type: string
7329
7678
  history:
7330
7679
  description: For `monitor` based SLOs, this includes the aggregated history
7331
- uptime time series.
7680
+ as arrays that include time series and uptime data where `0=monitor` is
7681
+ in `OK` state and `1=monitor` is in `alert` state.
7332
7682
  items:
7333
7683
  description: Represents an array time series data.
7334
7684
  example:
@@ -7726,7 +8076,7 @@ components:
7726
8076
  description: Updated scatter plot.
7727
8077
  properties:
7728
8078
  aggregator:
7729
- $ref: '#/components/schemas/WidgetAggregator'
8079
+ $ref: '#/components/schemas/ScatterplotWidgetAggregator'
7730
8080
  apm_query:
7731
8081
  $ref: '#/components/schemas/LogQueryDefinition'
7732
8082
  event_query:
@@ -7807,6 +8157,21 @@ components:
7807
8157
  type: string
7808
8158
  x-enum-varnames:
7809
8159
  - SCATTERPLOT
8160
+ ScatterplotWidgetAggregator:
8161
+ description: Aggregator used for the request.
8162
+ enum:
8163
+ - avg
8164
+ - last
8165
+ - max
8166
+ - min
8167
+ - sum
8168
+ type: string
8169
+ x-enum-varnames:
8170
+ - AVERAGE
8171
+ - LAST
8172
+ - MAXIMUM
8173
+ - MINIMUM
8174
+ - SUM
7810
8175
  Series:
7811
8176
  description: 'A metric to submit to Datadog.
7812
8177
 
@@ -8589,9 +8954,8 @@ components:
8589
8954
  description: The associated assertion property.
8590
8955
  type: string
8591
8956
  target:
8592
- additionalProperties: false
8593
8957
  description: Value used by the operator.
8594
- type: object
8958
+ nullable: false
8595
8959
  type:
8596
8960
  $ref: '#/components/schemas/SyntheticsAssertionType'
8597
8961
  required:
@@ -8735,6 +9099,11 @@ components:
8735
9099
  items:
8736
9100
  $ref: '#/components/schemas/SyntheticsAssertion'
8737
9101
  type: array
9102
+ configVariables:
9103
+ description: Array of variables used for the test.
9104
+ items:
9105
+ $ref: '#/components/schemas/SyntheticsConfigVariable'
9106
+ type: array
8738
9107
  request:
8739
9108
  $ref: '#/components/schemas/SyntheticsTestRequest'
8740
9109
  setCookie:
@@ -9154,6 +9523,9 @@ components:
9154
9523
  - firefox.laptop_large
9155
9524
  - firefox.tablet
9156
9525
  - firefox.mobile_small
9526
+ - edge.laptop_large
9527
+ - edge.tablet
9528
+ - edge.mobile_small
9157
9529
  type: string
9158
9530
  x-enum-varnames:
9159
9531
  - LAPTOP_LARGE
@@ -9165,6 +9537,9 @@ components:
9165
9537
  - FIREFOX_LAPTOP_LARGE
9166
9538
  - FIREFOX_TABLET
9167
9539
  - FIREFOX_MOBILE_SMALL
9540
+ - EDGE_LAPTOP_LARGE
9541
+ - EDGE_TABLET
9542
+ - EDGE_MOBILE_SMALL
9168
9543
  SyntheticsErrorCode:
9169
9544
  description: Error code that can be returned by a Synthetic test.
9170
9545
  enum:
@@ -9213,6 +9588,17 @@ components:
9213
9588
  SyntheticsGlobalVariable:
9214
9589
  description: Synthetics global variable.
9215
9590
  properties:
9591
+ attributes:
9592
+ description: Attributes of the global variable.
9593
+ properties:
9594
+ restricted_roles:
9595
+ description: List of role identifiers that can be pulled from the Roles
9596
+ API.
9597
+ items:
9598
+ description: UUID for a role.
9599
+ type: string
9600
+ type: array
9601
+ type: object
9216
9602
  description:
9217
9603
  description: Description of the global variable.
9218
9604
  example: Example description
@@ -9281,11 +9667,13 @@ components:
9281
9667
  - raw
9282
9668
  - json_path
9283
9669
  - regex
9670
+ - x_path
9284
9671
  type: string
9285
9672
  x-enum-varnames:
9286
9673
  - RAW
9287
9674
  - JSON_PATH
9288
9675
  - REGEX
9676
+ - X_PATH
9289
9677
  SyntheticsGlobalVariableValue:
9290
9678
  description: Value of the global variable.
9291
9679
  example:
@@ -9293,12 +9681,13 @@ components:
9293
9681
  value: value
9294
9682
  properties:
9295
9683
  secure:
9296
- description: Determines if the variable is secure.
9684
+ description: Determines if the value of the variable is hidden.
9297
9685
  type: boolean
9298
9686
  value:
9299
9687
  description: 'Value of the global variable. When reading a global variable,
9300
9688
 
9301
- the value will not be present if the variable is secure.'
9689
+ the value will not be present if the variable is hidden with the `secure`
9690
+ property.'
9302
9691
  example: example-value
9303
9692
  type: string
9304
9693
  type: object
@@ -9699,7 +10088,7 @@ components:
9699
10088
  $ref: '#/components/schemas/SyntheticsAssertion'
9700
10089
  type: array
9701
10090
  configVariables:
9702
- description: API tests only - array of variables used for the test.
10091
+ description: Array of variables used for the test.
9703
10092
  items:
9704
10093
  $ref: '#/components/schemas/SyntheticsConfigVariable'
9705
10094
  type: array
@@ -9947,6 +10336,9 @@ components:
9947
10336
  maximum: 65535
9948
10337
  minimum: 1
9949
10338
  type: integer
10339
+ follow_redirects:
10340
+ description: Specifies whether or not the request follows redirects.
10341
+ type: boolean
9950
10342
  headers:
9951
10343
  $ref: '#/components/schemas/SyntheticsTestHeaders'
9952
10344
  host:
@@ -10076,6 +10468,9 @@ components:
10076
10468
  SyntheticsTriggerCITestsResponse:
10077
10469
  description: Object containing information about the tests triggered.
10078
10470
  properties:
10471
+ batch_id:
10472
+ description: The public ID of the batch triggered.
10473
+ type: string
10079
10474
  locations:
10080
10475
  description: List of Synthetics locations.
10081
10476
  items:
@@ -10210,6 +10605,12 @@ components:
10210
10605
  type: array
10211
10606
  event_query:
10212
10607
  $ref: '#/components/schemas/LogQueryDefinition'
10608
+ formulas:
10609
+ description: List of formulas that operate on queries. **This feature is
10610
+ currently in beta.**
10611
+ items:
10612
+ $ref: '#/components/schemas/WidgetFormula'
10613
+ type: array
10213
10614
  limit:
10214
10615
  description: For metric queries, the number of lines to show in the table.
10215
10616
  Only one request should have this property.
@@ -10228,12 +10629,20 @@ components:
10228
10629
  q:
10229
10630
  description: Query definition.
10230
10631
  type: string
10231
- rum_query:
10232
- $ref: '#/components/schemas/LogQueryDefinition'
10233
- security_query:
10234
- $ref: '#/components/schemas/LogQueryDefinition'
10235
- type: object
10236
- TagToHosts:
10632
+ queries:
10633
+ description: List of queries that can be returned directly or used in formulas.
10634
+ **This feature is currently in beta.**
10635
+ items:
10636
+ $ref: '#/components/schemas/FormulaAndFunctionQueryDefinition'
10637
+ type: array
10638
+ response_format:
10639
+ $ref: '#/components/schemas/FormulaAndFunctionResponseFormat'
10640
+ rum_query:
10641
+ $ref: '#/components/schemas/LogQueryDefinition'
10642
+ security_query:
10643
+ $ref: '#/components/schemas/LogQueryDefinition'
10644
+ type: object
10645
+ TagToHosts:
10237
10646
  description: In this object, the key is the tag, the value is a list of host
10238
10647
  names that are reporting that tag.
10239
10648
  properties:
@@ -10379,6 +10788,8 @@ components:
10379
10788
  properties:
10380
10789
  apm_query:
10381
10790
  $ref: '#/components/schemas/LogQueryDefinition'
10791
+ audit_query:
10792
+ $ref: '#/components/schemas/LogQueryDefinition'
10382
10793
  display_type:
10383
10794
  $ref: '#/components/schemas/WidgetDisplayType'
10384
10795
  event_query:
@@ -10470,6 +10881,8 @@ components:
10470
10881
  properties:
10471
10882
  apm_query:
10472
10883
  $ref: '#/components/schemas/LogQueryDefinition'
10884
+ audit_query:
10885
+ $ref: '#/components/schemas/LogQueryDefinition'
10473
10886
  conditional_formats:
10474
10887
  description: List of conditional formats.
10475
10888
  example:
@@ -10782,6 +11195,10 @@ components:
10782
11195
  - profiled_host_percentage
10783
11196
  - profiled_container_usage
10784
11197
  - profiled_container_percentage
11198
+ - dbm_host_usage
11199
+ - dbm_host_percentage
11200
+ - dbm_queries_usage
11201
+ - dbm_queries_percentage
10785
11202
  - '*'
10786
11203
  type: string
10787
11204
  x-enum-varnames:
@@ -10813,6 +11230,10 @@ components:
10813
11230
  - PROFILED_HOST_PERCENTAGE
10814
11231
  - PROFILED_CONTAINER_USAGE
10815
11232
  - PROFILED_CONTAINER_PERCENTAGE
11233
+ - DBM_HOST_USAGE
11234
+ - DBM_HOST_PERCENTAGE
11235
+ - DBM_QUERIES_USAGE
11236
+ - DBM_QUERIES_PERCENTAGE
10816
11237
  - ALL
10817
11238
  UsageAttributionTagNames:
10818
11239
  additionalProperties:
@@ -10859,6 +11280,24 @@ components:
10859
11280
  description: The container usage by tag(s).
10860
11281
  format: double
10861
11282
  type: number
11283
+ cspm_container_percentage:
11284
+ description: The percentage of Cloud Security Posture Management container
11285
+ usage by tag(s)
11286
+ format: double
11287
+ type: number
11288
+ cspm_container_usage:
11289
+ description: The Cloud Security Posture Management container usage by tag(s)
11290
+ format: double
11291
+ type: number
11292
+ cspm_host_percentage:
11293
+ description: The percentage of Cloud Security Posture Management host usage
11294
+ by tag(s)
11295
+ format: double
11296
+ type: number
11297
+ cspm_host_usage:
11298
+ description: The Cloud Security Posture Management host usage by tag(s)
11299
+ format: double
11300
+ type: number
10862
11301
  custom_timeseries_percentage:
10863
11302
  description: The percentage of custom metrics usage by tag(s).
10864
11303
  format: double
@@ -10884,6 +11323,23 @@ components:
10884
11323
  description: The Cloud Workload Security host usage by tag(s)
10885
11324
  format: double
10886
11325
  type: number
11326
+ dbm_host_percentage:
11327
+ description: The percentage of Database Monitoring host usage by tag(s).
11328
+ format: double
11329
+ type: number
11330
+ dbm_host_usage:
11331
+ description: The Database Monitoring host usage by tag(s).
11332
+ format: double
11333
+ type: number
11334
+ dbm_queries_percentage:
11335
+ description: The percentage of Database Monitoring normalized queries usage
11336
+ by tag(s).
11337
+ format: double
11338
+ type: number
11339
+ dbm_queries_usage:
11340
+ description: The Database Monitoring normalized queries usage by tag(s).
11341
+ format: double
11342
+ type: number
10887
11343
  infra_host_percentage:
10888
11344
  description: The percentage of infrastructure host usage by tag(s).
10889
11345
  format: double
@@ -11235,6 +11691,35 @@ components:
11235
11691
  meta:
11236
11692
  $ref: '#/components/schemas/UsageCustomReportsMeta'
11237
11693
  type: object
11694
+ UsageDBMHour:
11695
+ description: Database Monitoring usage for a given organization for a given
11696
+ hour.
11697
+ properties:
11698
+ dbm_host_count:
11699
+ description: "The total number of Database Monitoring host hours from the
11700
+ start of the given hour\u2019s month until the given hour."
11701
+ format: int64
11702
+ type: integer
11703
+ dbm_queries_count:
11704
+ description: "The total number of normalized Database Monitoring queries
11705
+ from the start of the given hour\u2019s month until the given hour."
11706
+ format: int64
11707
+ type: integer
11708
+ hour:
11709
+ description: The hour for the usage.
11710
+ format: date-time
11711
+ type: string
11712
+ type: object
11713
+ UsageDBMResponse:
11714
+ description: Response containing the Database Monitoring usage for each hour
11715
+ for a given organization.
11716
+ properties:
11717
+ usage:
11718
+ description: Get hourly usage for Database Monitoring
11719
+ items:
11720
+ $ref: '#/components/schemas/UsageDBMHour'
11721
+ type: array
11722
+ type: object
11238
11723
  UsageFargateHour:
11239
11724
  description: Number of Fargate tasks run and hourly usage.
11240
11725
  properties:
@@ -11914,6 +12399,16 @@ components:
11914
12399
  description: The date for the usage.
11915
12400
  format: date-time
11916
12401
  type: string
12402
+ dbm_host_top99p:
12403
+ description: Shows the 99th percentile of all Database Monitoring hosts
12404
+ over all hours in the current date for all organizations.
12405
+ format: int64
12406
+ type: integer
12407
+ dbm_queries_count_avg:
12408
+ description: Shows the average of all normalized Database Monitoring queries
12409
+ over all hours in the current date for all organizations.
12410
+ format: int64
12411
+ type: integer
11917
12412
  fargate_tasks_count_avg:
11918
12413
  description: Shows the high-watermark of all Fargate tasks over all hours
11919
12414
  in the current date for all organizations.
@@ -12130,6 +12625,16 @@ components:
12130
12625
  over all hours in the current date for the given org.
12131
12626
  format: int64
12132
12627
  type: integer
12628
+ dbm_host_top99p_sum:
12629
+ description: Shows the 99th percentile of all Database Monitoring hosts
12630
+ over all hours in the current month for all organizations.
12631
+ format: int64
12632
+ type: integer
12633
+ dbm_queries_agg_sum:
12634
+ description: Shows the sum of all distinct Database Monitoring normalized
12635
+ queries over all hours in the current month for all organizations.
12636
+ format: int64
12637
+ type: integer
12133
12638
  fargate_tasks_count_avg:
12134
12639
  description: The average task count for Fargate.
12135
12640
  format: int64
@@ -12354,6 +12859,16 @@ components:
12354
12859
  over all hours in the current months for all organizations.
12355
12860
  format: int64
12356
12861
  type: integer
12862
+ dbm_host_top99p_sum:
12863
+ description: Shows the 99th percentile of all Database Monitoring hosts
12864
+ over all hours in the current month for all organizations.
12865
+ format: int64
12866
+ type: integer
12867
+ dbm_queries_agg_sum:
12868
+ description: Shows the sum of all distinct Database Monitoring Normalized
12869
+ Queries over all hours in the current month for all organizations.
12870
+ format: int64
12871
+ type: integer
12357
12872
  end_date:
12358
12873
  description: Shows the last date of usage in the current months for all
12359
12874
  organizations.
@@ -12727,6 +13242,158 @@ components:
12727
13242
  user:
12728
13243
  $ref: '#/components/schemas/User'
12729
13244
  type: object
13245
+ WebhooksIntegration:
13246
+ description: Datadog-Webhooks integration.
13247
+ properties:
13248
+ custom_headers:
13249
+ description: 'If `null`, uses no header.
13250
+
13251
+ If given a JSON payload, these will be headers attached to your webhook.'
13252
+ nullable: true
13253
+ type: string
13254
+ encode_as:
13255
+ $ref: '#/components/schemas/WebhooksIntegrationEncoding'
13256
+ name:
13257
+ description: 'The name of the webhook. It corresponds with `<WEBHOOK_NAME>`.
13258
+
13259
+ Learn more on how to use it in
13260
+
13261
+ [monitor notifications](https://docs.datadoghq.com/monitors/notifications).'
13262
+ example: WEBHOOK_NAME
13263
+ type: string
13264
+ payload:
13265
+ description: 'If `null`, uses the default payload.
13266
+
13267
+ If given a JSON payload, the webhook returns the payload
13268
+
13269
+ specified by the given payload.
13270
+
13271
+ [Webhooks variable usage](https://docs.datadoghq.com/integrations/webhooks/#usage).'
13272
+ nullable: true
13273
+ type: string
13274
+ url:
13275
+ description: URL of the webhook.
13276
+ example: https://example.com/webhook
13277
+ type: string
13278
+ required:
13279
+ - name
13280
+ - url
13281
+ type: object
13282
+ WebhooksIntegrationCustomVariable:
13283
+ description: Custom variable for Webhook integration.
13284
+ properties:
13285
+ is_secret:
13286
+ description: 'Make custom variable is secret or not.
13287
+
13288
+ If the custom variable is secret, the value is not returned in the response
13289
+ payload.'
13290
+ example: true
13291
+ type: boolean
13292
+ name:
13293
+ description: The name of the variable. It corresponds with `<CUSTOM_VARIABLE_NAME>`.
13294
+ example: CUSTOM_VARIABLE_NAME
13295
+ type: string
13296
+ value:
13297
+ description: Value of the custom variable.
13298
+ example: CUSTOM_VARIABLE_VALUE
13299
+ type: string
13300
+ required:
13301
+ - name
13302
+ - value
13303
+ - is_secret
13304
+ type: object
13305
+ WebhooksIntegrationCustomVariableResponse:
13306
+ description: Custom variable for Webhook integration.
13307
+ properties:
13308
+ is_secret:
13309
+ description: 'Make custom variable is secret or not.
13310
+
13311
+ If the custom variable is secret, the value is not returned in the response
13312
+ payload.'
13313
+ example: true
13314
+ type: boolean
13315
+ name:
13316
+ description: The name of the variable. It corresponds with `<CUSTOM_VARIABLE_NAME>`.
13317
+ It must only contains upper-case characters, integers or underscores.
13318
+ example: CUSTOM_VARIABLE_NAME
13319
+ type: string
13320
+ value:
13321
+ description: Value of the custom variable. It won't be returned if the variable
13322
+ is secret.
13323
+ example: CUSTOM_VARIABLE_VALUE
13324
+ type: string
13325
+ required:
13326
+ - name
13327
+ - is_secret
13328
+ type: object
13329
+ WebhooksIntegrationCustomVariableUpdateRequest:
13330
+ description: 'Update request of a custom variable object.
13331
+
13332
+
13333
+ *All properties are optional.*'
13334
+ properties:
13335
+ is_secret:
13336
+ description: 'Make custom variable is secret or not.
13337
+
13338
+ If the custom variable is secret, the value is not returned in the response
13339
+ payload.'
13340
+ type: boolean
13341
+ name:
13342
+ description: The name of the variable. It corresponds with `<CUSTOM_VARIABLE_NAME>`.
13343
+ It must only contains upper-case characters, integers or underscores.
13344
+ example: CUSTOM_VARIABLE_NAME
13345
+ type: string
13346
+ value:
13347
+ description: Value of the custom variable.
13348
+ example: CUSTOM_VARIABLE_VALUE
13349
+ type: string
13350
+ type: object
13351
+ WebhooksIntegrationEncoding:
13352
+ default: json
13353
+ description: Encoding type. Can be given either `json` or `form`.
13354
+ enum:
13355
+ - json
13356
+ - form
13357
+ type: string
13358
+ x-enum-varnames:
13359
+ - JSON
13360
+ - FORM
13361
+ WebhooksIntegrationUpdateRequest:
13362
+ description: 'Update request of a Webhooks integration object.
13363
+
13364
+
13365
+ *All properties are optional.*'
13366
+ properties:
13367
+ custom_headers:
13368
+ description: 'If `null`, uses no header.
13369
+
13370
+ If given a JSON payload, these will be headers attached to your webhook.'
13371
+ type: string
13372
+ encode_as:
13373
+ $ref: '#/components/schemas/WebhooksIntegrationEncoding'
13374
+ name:
13375
+ description: 'The name of the webhook. It corresponds with `<WEBHOOK_NAME>`.
13376
+
13377
+ Learn more on how to use it in
13378
+
13379
+ [monitor notifications](https://docs.datadoghq.com/monitors/notifications).'
13380
+ example: WEBHOOK_NAME
13381
+ type: string
13382
+ payload:
13383
+ description: 'If `null`, uses the default payload.
13384
+
13385
+ If given a JSON payload, the webhook returns the payload
13386
+
13387
+ specified by the given payload.
13388
+
13389
+ [Webhooks variable usage](https://docs.datadoghq.com/integrations/webhooks/#usage).'
13390
+ nullable: true
13391
+ type: string
13392
+ url:
13393
+ description: URL of the webhook.
13394
+ example: https://example.com/webhook
13395
+ type: string
13396
+ type: object
12730
13397
  Widget:
12731
13398
  description: "Information about widget.\n\n**Note**: The `layout` property is
12732
13399
  required for widgets in dashboards with `free` `layout_type`.\n For the
@@ -12753,6 +13420,7 @@ components:
12753
13420
  - max
12754
13421
  - min
12755
13422
  - sum
13423
+ - percentile
12756
13424
  type: string
12757
13425
  x-enum-varnames:
12758
13426
  - AVERAGE
@@ -12760,6 +13428,7 @@ components:
12760
13428
  - MAXIMUM
12761
13429
  - MINIMUM
12762
13430
  - SUM
13431
+ - PERCENTILE
12763
13432
  WidgetAxis:
12764
13433
  description: Axis controls for the widget.
12765
13434
  properties:
@@ -12919,6 +13588,7 @@ components:
12919
13588
  - $ref: '#/components/schemas/TimeseriesWidgetDefinition'
12920
13589
  - $ref: '#/components/schemas/ToplistWidgetDefinition'
12921
13590
  - $ref: '#/components/schemas/TreeMapWidgetDefinition'
13591
+ - $ref: '#/components/schemas/ListStreamWidgetDefinition'
12922
13592
  type: object
12923
13593
  WidgetDisplayType:
12924
13594
  description: Type of display to use for the request.
@@ -12977,6 +13647,13 @@ components:
12977
13647
  alias:
12978
13648
  description: Expression alias.
12979
13649
  type: string
13650
+ cell_display_mode:
13651
+ $ref: '#/components/schemas/TableWidgetCellDisplayMode'
13652
+ conditional_formats:
13653
+ description: List of conditional formats.
13654
+ items:
13655
+ $ref: '#/components/schemas/WidgetConditionalFormat'
13656
+ type: array
12980
13657
  formula:
12981
13658
  description: String expression built from queries, formulas, and functions.
12982
13659
  example: func(a) + b
@@ -13455,6 +14132,38 @@ components:
13455
14132
  - TIMESERIES
13456
14133
  - TOPLIST
13457
14134
  securitySchemes:
14135
+ AuthZ:
14136
+ description: This API uses OAuth 2 with the implicit grant flow.
14137
+ flows:
14138
+ authorizationCode:
14139
+ authorizationUrl: /oauth2/v1/authorize
14140
+ scopes:
14141
+ dashboards_public_share: The ability to share dashboards externally.
14142
+ dashboards_read: The ability to view dashboards.
14143
+ dashboards_write: The ability to create and change dashboards.
14144
+ events_read: The ability to read events data.
14145
+ metrics_read: The ability to view custom metrics.
14146
+ monitors_downtime: The ability to set downtimes for your organization.
14147
+ A user with this permission can suppress alerts from any monitor using
14148
+ a downtime, even if they do not have permission to edit those monitors
14149
+ explicitly.
14150
+ monitors_read: The ability to view monitors.
14151
+ monitors_write: The ability to change, mute, and delete individual monitors.
14152
+ synthetics_global_variable_read: The ability to view, search and use in
14153
+ tests the list of global variables available for Synthetics.
14154
+ synthetics_global_variable_write: The ability to create, edit, and delete
14155
+ global variables for Synthetics.
14156
+ synthetics_private_location_read: The ability to view, search and use
14157
+ in tests the list of private locations available.
14158
+ synthetics_read: The ability to list and view configured Synthetic tests.
14159
+ synthetics_write: The ability to create, edit, and delete Synthetic tests.
14160
+ timeseries_query: The ability to query timeseries data.
14161
+ usage_read: The ability to view your organization's usage and usage attribution.
14162
+ user_access_invite: Allows users to invite other users to your organization.
14163
+ user_access_manage: Grants the permission to disable users, manage user
14164
+ roles and SAML-to-role mappings.
14165
+ tokenUrl: /oauth2/v1/token
14166
+ type: oauth2
13458
14167
  apiKeyAuth:
13459
14168
  description: Your Datadog API Key.
13460
14169
  in: header
@@ -14064,6 +14773,58 @@ paths:
14064
14773
 
14065
14774
  If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
14066
14775
  /api/v1/dashboard:
14776
+ delete:
14777
+ description: Delete dashboards using the specified IDs. If there are any failures,
14778
+ no dashboards will be deleted (partial success is not allowed).
14779
+ operationId: DeleteDashboards
14780
+ requestBody:
14781
+ content:
14782
+ application/json:
14783
+ examples:
14784
+ json-request-body:
14785
+ value:
14786
+ data:
14787
+ - id: 123-abc-456
14788
+ type: dashboard
14789
+ - id: 789-def-101
14790
+ type: dashboard
14791
+ schema:
14792
+ $ref: '#/components/schemas/DashboardBulkDeleteRequest'
14793
+ description: Delete dashboards request body.
14794
+ required: true
14795
+ responses:
14796
+ '204':
14797
+ description: No Content
14798
+ '400':
14799
+ content:
14800
+ application/json:
14801
+ schema:
14802
+ $ref: '#/components/schemas/APIErrorResponse'
14803
+ description: Bad Request
14804
+ '403':
14805
+ content:
14806
+ application/json:
14807
+ schema:
14808
+ $ref: '#/components/schemas/APIErrorResponse'
14809
+ description: Forbidden
14810
+ '404':
14811
+ content:
14812
+ application/json:
14813
+ schema:
14814
+ $ref: '#/components/schemas/APIErrorResponse'
14815
+ description: Dashboards Not Found
14816
+ security:
14817
+ - apiKeyAuth: []
14818
+ appKeyAuth: []
14819
+ - AuthZ:
14820
+ - dashboards_write
14821
+ summary: Delete dashboards
14822
+ tags:
14823
+ - Dashboards
14824
+ x-codegen-request-body-name: body
14825
+ x-menu-order: 4
14826
+ x-undo:
14827
+ type: idempotent
14067
14828
  get:
14068
14829
  description: 'Get all dashboards.
14069
14830
 
@@ -14094,12 +14855,69 @@ paths:
14094
14855
  schema:
14095
14856
  $ref: '#/components/schemas/APIErrorResponse'
14096
14857
  description: Authentication Error
14858
+ security:
14859
+ - apiKeyAuth: []
14860
+ appKeyAuth: []
14861
+ - AuthZ:
14862
+ - dashboards_read
14097
14863
  summary: Get all dashboards
14098
14864
  tags:
14099
14865
  - Dashboards
14100
14866
  x-menu-order: 2
14101
14867
  x-undo:
14102
14868
  type: safe
14869
+ patch:
14870
+ description: Restore dashboards using the specified IDs. If there are any failures,
14871
+ no dashboards will be restored (partial success is not allowed).
14872
+ operationId: RestoreDashboards
14873
+ requestBody:
14874
+ content:
14875
+ application/json:
14876
+ examples:
14877
+ json-request-body:
14878
+ value:
14879
+ data:
14880
+ - id: 123-abc-456
14881
+ type: dashboard
14882
+ - id: 789-def-101
14883
+ type: dashboard
14884
+ schema:
14885
+ $ref: '#/components/schemas/DashboardRestoreRequest'
14886
+ description: Restore dashboards request body.
14887
+ required: true
14888
+ responses:
14889
+ '204':
14890
+ description: No Content
14891
+ '400':
14892
+ content:
14893
+ application/json:
14894
+ schema:
14895
+ $ref: '#/components/schemas/APIErrorResponse'
14896
+ description: Bad Request
14897
+ '403':
14898
+ content:
14899
+ application/json:
14900
+ schema:
14901
+ $ref: '#/components/schemas/APIErrorResponse'
14902
+ description: Forbidden
14903
+ '404':
14904
+ content:
14905
+ application/json:
14906
+ schema:
14907
+ $ref: '#/components/schemas/APIErrorResponse'
14908
+ description: Dashboards Not Found
14909
+ security:
14910
+ - apiKeyAuth: []
14911
+ appKeyAuth: []
14912
+ - AuthZ:
14913
+ - dashboards_write
14914
+ summary: Restore deleted dashboards
14915
+ tags:
14916
+ - Dashboards
14917
+ x-codegen-request-body-name: body
14918
+ x-menu-order: 5
14919
+ x-undo:
14920
+ type: idempotent
14103
14921
  post:
14104
14922
  description: 'Create a dashboard using the specified options. When defining
14105
14923
  queries in your widgets, take note of which queries should have the `as_count()`
@@ -14134,6 +14952,11 @@ paths:
14134
14952
  schema:
14135
14953
  $ref: '#/components/schemas/APIErrorResponse'
14136
14954
  description: Authentication Error
14955
+ security:
14956
+ - apiKeyAuth: []
14957
+ appKeyAuth: []
14958
+ - AuthZ:
14959
+ - dashboards_write
14137
14960
  summary: Create a new dashboard
14138
14961
  tags:
14139
14962
  - Dashboards
@@ -14168,6 +14991,11 @@ paths:
14168
14991
  schema:
14169
14992
  $ref: '#/components/schemas/APIErrorResponse'
14170
14993
  description: Forbidden
14994
+ security:
14995
+ - apiKeyAuth: []
14996
+ appKeyAuth: []
14997
+ - AuthZ:
14998
+ - dashboards_read
14171
14999
  summary: Get all dashboard lists
14172
15000
  tags:
14173
15001
  - Dashboard Lists
@@ -14203,6 +15031,11 @@ paths:
14203
15031
  schema:
14204
15032
  $ref: '#/components/schemas/APIErrorResponse'
14205
15033
  description: Forbidden
15034
+ security:
15035
+ - apiKeyAuth: []
15036
+ appKeyAuth: []
15037
+ - AuthZ:
15038
+ - dashboards_write
14206
15039
  summary: Create a dashboard list
14207
15040
  tags:
14208
15041
  - Dashboard Lists
@@ -14245,6 +15078,11 @@ paths:
14245
15078
  schema:
14246
15079
  $ref: '#/components/schemas/APIErrorResponse'
14247
15080
  description: Not Found
15081
+ security:
15082
+ - apiKeyAuth: []
15083
+ appKeyAuth: []
15084
+ - AuthZ:
15085
+ - dashboards_write
14248
15086
  summary: Delete a dashboard list
14249
15087
  tags:
14250
15088
  - Dashboard Lists
@@ -14281,6 +15119,11 @@ paths:
14281
15119
  schema:
14282
15120
  $ref: '#/components/schemas/APIErrorResponse'
14283
15121
  description: Not Found
15122
+ security:
15123
+ - apiKeyAuth: []
15124
+ appKeyAuth: []
15125
+ - AuthZ:
15126
+ - dashboards_read
14284
15127
  summary: Get a dashboard list
14285
15128
  tags:
14286
15129
  - Dashboard Lists
@@ -14330,6 +15173,11 @@ paths:
14330
15173
  schema:
14331
15174
  $ref: '#/components/schemas/APIErrorResponse'
14332
15175
  description: Not Found
15176
+ security:
15177
+ - apiKeyAuth: []
15178
+ appKeyAuth: []
15179
+ - AuthZ:
15180
+ - dashboards_write
14333
15181
  summary: Update a dashboard list
14334
15182
  tags:
14335
15183
  - Dashboard Lists
@@ -14367,6 +15215,11 @@ paths:
14367
15215
  schema:
14368
15216
  $ref: '#/components/schemas/APIErrorResponse'
14369
15217
  description: Dashboards Not Found
15218
+ security:
15219
+ - apiKeyAuth: []
15220
+ appKeyAuth: []
15221
+ - AuthZ:
15222
+ - dashboards_write
14370
15223
  summary: Delete a dashboard
14371
15224
  tags:
14372
15225
  - Dashboards
@@ -14402,10 +15255,15 @@ paths:
14402
15255
  schema:
14403
15256
  $ref: '#/components/schemas/APIErrorResponse'
14404
15257
  description: Item Not Found
15258
+ security:
15259
+ - apiKeyAuth: []
15260
+ appKeyAuth: []
15261
+ - AuthZ:
15262
+ - dashboards_read
14405
15263
  summary: Get a dashboard
14406
15264
  tags:
14407
15265
  - Dashboards
14408
- x-menu-order: 5
15266
+ x-menu-order: 7
14409
15267
  x-undo:
14410
15268
  type: safe
14411
15269
  put:
@@ -14450,11 +15308,16 @@ paths:
14450
15308
  schema:
14451
15309
  $ref: '#/components/schemas/APIErrorResponse'
14452
15310
  description: Item Not Found
15311
+ security:
15312
+ - apiKeyAuth: []
15313
+ appKeyAuth: []
15314
+ - AuthZ:
15315
+ - dashboards_write
14453
15316
  summary: Update a dashboard
14454
15317
  tags:
14455
15318
  - Dashboards
14456
15319
  x-codegen-request-body-name: body
14457
- x-menu-order: 4
15320
+ x-menu-order: 6
14458
15321
  x-undo:
14459
15322
  type: idempotent
14460
15323
  /api/v1/downtime:
@@ -14483,6 +15346,10 @@ paths:
14483
15346
  schema:
14484
15347
  $ref: '#/components/schemas/APIErrorResponse'
14485
15348
  description: Forbidden
15349
+ security:
15350
+ - apiKeyAuth: []
15351
+ appKeyAuth: []
15352
+ - AuthZ: []
14486
15353
  summary: Get all downtimes
14487
15354
  tags:
14488
15355
  - Downtimes
@@ -14518,6 +15385,11 @@ paths:
14518
15385
  schema:
14519
15386
  $ref: '#/components/schemas/APIErrorResponse'
14520
15387
  description: Forbidden
15388
+ security:
15389
+ - apiKeyAuth: []
15390
+ appKeyAuth: []
15391
+ - AuthZ:
15392
+ - monitors_downtime
14521
15393
  summary: Schedule a downtime
14522
15394
  tags:
14523
15395
  - Downtimes
@@ -14563,6 +15435,11 @@ paths:
14563
15435
  schema:
14564
15436
  $ref: '#/components/schemas/APIErrorResponse'
14565
15437
  description: Downtimes not found
15438
+ security:
15439
+ - apiKeyAuth: []
15440
+ appKeyAuth: []
15441
+ - AuthZ:
15442
+ - monitors_downtime
14566
15443
  summary: Cancel downtimes by scope
14567
15444
  tags:
14568
15445
  - Downtimes
@@ -14598,6 +15475,11 @@ paths:
14598
15475
  schema:
14599
15476
  $ref: '#/components/schemas/APIErrorResponse'
14600
15477
  description: Downtime not found
15478
+ security:
15479
+ - apiKeyAuth: []
15480
+ appKeyAuth: []
15481
+ - AuthZ:
15482
+ - monitors_downtime
14601
15483
  summary: Cancel a downtime
14602
15484
  tags:
14603
15485
  - Downtimes
@@ -14635,6 +15517,10 @@ paths:
14635
15517
  schema:
14636
15518
  $ref: '#/components/schemas/APIErrorResponse'
14637
15519
  description: Downtime not found
15520
+ security:
15521
+ - apiKeyAuth: []
15522
+ appKeyAuth: []
15523
+ - AuthZ: []
14638
15524
  summary: Get a downtime
14639
15525
  tags:
14640
15526
  - Downtimes
@@ -14686,6 +15572,11 @@ paths:
14686
15572
  schema:
14687
15573
  $ref: '#/components/schemas/APIErrorResponse'
14688
15574
  description: Downtime not found
15575
+ security:
15576
+ - apiKeyAuth: []
15577
+ appKeyAuth: []
15578
+ - AuthZ:
15579
+ - monitors_downtime
14689
15580
  summary: Update a downtime
14690
15581
  tags:
14691
15582
  - Downtimes
@@ -14793,6 +15684,11 @@ paths:
14793
15684
  schema:
14794
15685
  $ref: '#/components/schemas/APIErrorResponse'
14795
15686
  description: Authentication Error
15687
+ security:
15688
+ - apiKeyAuth: []
15689
+ appKeyAuth: []
15690
+ - AuthZ:
15691
+ - events_read
14796
15692
  summary: Query the event stream
14797
15693
  tags:
14798
15694
  - Events
@@ -14866,6 +15762,11 @@ paths:
14866
15762
  schema:
14867
15763
  $ref: '#/components/schemas/APIErrorResponse'
14868
15764
  description: Item Not Found
15765
+ security:
15766
+ - apiKeyAuth: []
15767
+ appKeyAuth: []
15768
+ - AuthZ:
15769
+ - events_read
14869
15770
  summary: Get an event
14870
15771
  tags:
14871
15772
  - Events
@@ -14941,6 +15842,10 @@ paths:
14941
15842
  schema:
14942
15843
  $ref: '#/components/schemas/APIErrorResponse'
14943
15844
  description: Forbidden
15845
+ security:
15846
+ - apiKeyAuth: []
15847
+ appKeyAuth: []
15848
+ - AuthZ: []
14944
15849
  summary: Take graph snapshots
14945
15850
  tags:
14946
15851
  - Snapshots
@@ -15112,6 +16017,10 @@ paths:
15112
16017
  schema:
15113
16018
  $ref: '#/components/schemas/APIErrorResponse'
15114
16019
  description: Forbidden
16020
+ security:
16021
+ - apiKeyAuth: []
16022
+ appKeyAuth: []
16023
+ - AuthZ: []
15115
16024
  summary: Get all hosts for your organization
15116
16025
  tags:
15117
16026
  - Hosts
@@ -15720,6 +16629,10 @@ paths:
15720
16629
  schema:
15721
16630
  $ref: '#/components/schemas/APIErrorResponse'
15722
16631
  description: Authentication Error
16632
+ security:
16633
+ - apiKeyAuth: []
16634
+ appKeyAuth: []
16635
+ - AuthZ: []
15723
16636
  summary: Check that an AWS Lambda Function exists
15724
16637
  tags:
15725
16638
  - AWS Logs Integration
@@ -16461,24 +17374,364 @@ paths:
16461
17374
  schema:
16462
17375
  $ref: '#/components/schemas/APIErrorResponse'
16463
17376
  description: Item Not Found
16464
- summary: Remove a Slack integration channel
17377
+ summary: Remove a Slack integration channel
17378
+ tags:
17379
+ - Slack Integration
17380
+ x-menu-order: 5
17381
+ x-undo:
17382
+ type: idempotent
17383
+ get:
17384
+ description: Get a channel configured for your Datadog-Slack integration.
17385
+ operationId: GetSlackIntegrationChannel
17386
+ parameters:
17387
+ - $ref: '#/components/parameters/SlackAccountNamePathParameter'
17388
+ - $ref: '#/components/parameters/SlackChannelNamePathParameter'
17389
+ responses:
17390
+ '200':
17391
+ content:
17392
+ application/json:
17393
+ schema:
17394
+ $ref: '#/components/schemas/SlackIntegrationChannel'
17395
+ description: OK
17396
+ '400':
17397
+ content:
17398
+ application/json:
17399
+ schema:
17400
+ $ref: '#/components/schemas/APIErrorResponse'
17401
+ description: Bad Request
17402
+ '403':
17403
+ content:
17404
+ application/json:
17405
+ schema:
17406
+ $ref: '#/components/schemas/APIErrorResponse'
17407
+ description: Authentication error
17408
+ '404':
17409
+ content:
17410
+ application/json:
17411
+ schema:
17412
+ $ref: '#/components/schemas/APIErrorResponse'
17413
+ description: Item Not Found
17414
+ summary: Get a Slack integration channel
17415
+ tags:
17416
+ - Slack Integration
17417
+ x-menu-order: 3
17418
+ x-undo:
17419
+ type: safe
17420
+ patch:
17421
+ description: Update a channel used in your Datadog-Slack integration.
17422
+ operationId: UpdateSlackIntegrationChannel
17423
+ parameters:
17424
+ - $ref: '#/components/parameters/SlackAccountNamePathParameter'
17425
+ - $ref: '#/components/parameters/SlackChannelNamePathParameter'
17426
+ requestBody:
17427
+ content:
17428
+ application/json:
17429
+ schema:
17430
+ $ref: '#/components/schemas/SlackIntegrationChannel'
17431
+ description: Payload describing fields and values to be updated.
17432
+ required: true
17433
+ responses:
17434
+ '200':
17435
+ content:
17436
+ application/json:
17437
+ schema:
17438
+ $ref: '#/components/schemas/SlackIntegrationChannel'
17439
+ description: OK
17440
+ '400':
17441
+ content:
17442
+ application/json:
17443
+ schema:
17444
+ $ref: '#/components/schemas/APIErrorResponse'
17445
+ description: Bad Request
17446
+ '403':
17447
+ content:
17448
+ application/json:
17449
+ schema:
17450
+ $ref: '#/components/schemas/APIErrorResponse'
17451
+ description: Authentication error
17452
+ '404':
17453
+ content:
17454
+ application/json:
17455
+ schema:
17456
+ $ref: '#/components/schemas/APIErrorResponse'
17457
+ description: Item Not Found
17458
+ summary: Update a Slack integration channel
17459
+ tags:
17460
+ - Slack Integration
17461
+ x-codegen-request-body-name: body
17462
+ x-menu-order: 4
17463
+ x-undo:
17464
+ type: idempotent
17465
+ /api/v1/integration/webhooks/configuration/custom-variables:
17466
+ post:
17467
+ description: Creates an endpoint with the name `<CUSTOM_VARIABLE_NAME>`.
17468
+ operationId: CreateWebhooksIntegrationCustomVariable
17469
+ requestBody:
17470
+ content:
17471
+ application/json:
17472
+ schema:
17473
+ $ref: '#/components/schemas/WebhooksIntegrationCustomVariable'
17474
+ description: Define a custom variable request body.
17475
+ required: true
17476
+ responses:
17477
+ '201':
17478
+ content:
17479
+ application/json:
17480
+ schema:
17481
+ $ref: '#/components/schemas/WebhooksIntegrationCustomVariableResponse'
17482
+ description: OK
17483
+ '400':
17484
+ content:
17485
+ application/json:
17486
+ schema:
17487
+ $ref: '#/components/schemas/APIErrorResponse'
17488
+ description: Bad Request
17489
+ '403':
17490
+ content:
17491
+ application/json:
17492
+ schema:
17493
+ $ref: '#/components/schemas/APIErrorResponse'
17494
+ description: Authentication error
17495
+ summary: Create a custom variable
17496
+ tags:
17497
+ - Webhooks Integration
17498
+ x-codegen-request-body-name: body
17499
+ x-given:
17500
+ webhook-custom-variable:
17501
+ parameters:
17502
+ - name: body
17503
+ value: "{\n \"name\": \"{{ unique_upper_alnum }}\",\n \"value\": \"variable-value\",\n
17504
+ \ \"is_secret\": false\n}"
17505
+ step: there is a valid "webhook-custom-variable" in the system
17506
+ x-menu-order: 5
17507
+ x-undo:
17508
+ operationId: DeleteWebhooksIntegrationCustomVariable
17509
+ parameters:
17510
+ - name: custom_variable_name
17511
+ source: name
17512
+ type: unsafe
17513
+ /api/v1/integration/webhooks/configuration/custom-variables/{custom_variable_name}:
17514
+ delete:
17515
+ description: Deletes the endpoint with the name `<CUSTOM_VARIABLE_NAME>`.
17516
+ operationId: DeleteWebhooksIntegrationCustomVariable
17517
+ parameters:
17518
+ - description: The name of the custom variable.
17519
+ in: path
17520
+ name: custom_variable_name
17521
+ required: true
17522
+ schema:
17523
+ type: string
17524
+ responses:
17525
+ '200':
17526
+ description: OK
17527
+ '403':
17528
+ content:
17529
+ application/json:
17530
+ schema:
17531
+ $ref: '#/components/schemas/APIErrorResponse'
17532
+ description: Authentication error
17533
+ '404':
17534
+ content:
17535
+ application/json:
17536
+ schema:
17537
+ $ref: '#/components/schemas/APIErrorResponse'
17538
+ description: Item Not Found
17539
+ summary: Delete a custom variable
17540
+ tags:
17541
+ - Webhooks Integration
17542
+ x-menu-order: 8
17543
+ x-undo:
17544
+ type: idempotent
17545
+ get:
17546
+ description: 'Shows the content of the custom variable with the name `<CUSTOM_VARIABLE_NAME>`.
17547
+
17548
+
17549
+ If the custom variable is secret, the value does not return in the
17550
+
17551
+ response payload.'
17552
+ operationId: GetWebhooksIntegrationCustomVariable
17553
+ parameters:
17554
+ - description: The name of the custom variable.
17555
+ in: path
17556
+ name: custom_variable_name
17557
+ required: true
17558
+ schema:
17559
+ type: string
17560
+ responses:
17561
+ '200':
17562
+ content:
17563
+ application/json:
17564
+ schema:
17565
+ $ref: '#/components/schemas/WebhooksIntegrationCustomVariableResponse'
17566
+ description: OK
17567
+ '400':
17568
+ content:
17569
+ application/json:
17570
+ schema:
17571
+ $ref: '#/components/schemas/APIErrorResponse'
17572
+ description: Bad Request
17573
+ '403':
17574
+ content:
17575
+ application/json:
17576
+ schema:
17577
+ $ref: '#/components/schemas/APIErrorResponse'
17578
+ description: Authentication error
17579
+ '404':
17580
+ content:
17581
+ application/json:
17582
+ schema:
17583
+ $ref: '#/components/schemas/APIErrorResponse'
17584
+ description: Item Not Found
17585
+ summary: Get a custom variable
17586
+ tags:
17587
+ - Webhooks Integration
17588
+ x-menu-order: 6
17589
+ x-undo:
17590
+ type: safe
17591
+ put:
17592
+ description: Updates the endpoint with the name `<CUSTOM_VARIABLE_NAME>`.
17593
+ operationId: UpdateWebhooksIntegrationCustomVariable
17594
+ parameters:
17595
+ - description: The name of the custom variable.
17596
+ in: path
17597
+ name: custom_variable_name
17598
+ required: true
17599
+ schema:
17600
+ type: string
17601
+ requestBody:
17602
+ content:
17603
+ application/json:
17604
+ schema:
17605
+ $ref: '#/components/schemas/WebhooksIntegrationCustomVariableUpdateRequest'
17606
+ description: Update an existing custom variable request body.
17607
+ required: true
17608
+ responses:
17609
+ '200':
17610
+ content:
17611
+ application/json:
17612
+ schema:
17613
+ $ref: '#/components/schemas/WebhooksIntegrationCustomVariableResponse'
17614
+ description: OK
17615
+ '400':
17616
+ content:
17617
+ application/json:
17618
+ schema:
17619
+ $ref: '#/components/schemas/APIErrorResponse'
17620
+ description: Bad Request
17621
+ '403':
17622
+ content:
17623
+ application/json:
17624
+ schema:
17625
+ $ref: '#/components/schemas/APIErrorResponse'
17626
+ description: Authentication error
17627
+ '404':
17628
+ content:
17629
+ application/json:
17630
+ schema:
17631
+ $ref: '#/components/schemas/APIErrorResponse'
17632
+ description: Item Not Found
17633
+ summary: Update a custom variable
17634
+ tags:
17635
+ - Webhooks Integration
17636
+ x-codegen-request-body-name: body
17637
+ x-menu-order: 7
17638
+ x-undo:
17639
+ type: safe
17640
+ /api/v1/integration/webhooks/configuration/webhooks:
17641
+ post:
17642
+ description: Creates an endpoint with the name `<WEBHOOK_NAME>`.
17643
+ operationId: CreateWebhooksIntegration
17644
+ requestBody:
17645
+ content:
17646
+ application/json:
17647
+ schema:
17648
+ $ref: '#/components/schemas/WebhooksIntegration'
17649
+ description: Create a webhooks integration request body.
17650
+ required: true
17651
+ responses:
17652
+ '201':
17653
+ content:
17654
+ application/json:
17655
+ schema:
17656
+ $ref: '#/components/schemas/WebhooksIntegration'
17657
+ description: OK
17658
+ '400':
17659
+ content:
17660
+ application/json:
17661
+ schema:
17662
+ $ref: '#/components/schemas/APIErrorResponse'
17663
+ description: Bad Request
17664
+ '403':
17665
+ content:
17666
+ application/json:
17667
+ schema:
17668
+ $ref: '#/components/schemas/APIErrorResponse'
17669
+ description: Authentication error
17670
+ summary: Create a webhooks integration
17671
+ tags:
17672
+ - Webhooks Integration
17673
+ x-codegen-request-body-name: body
17674
+ x-given:
17675
+ webhook:
17676
+ parameters:
17677
+ - name: body
17678
+ value: "{\n \"name\": \"{{ unique }}\",\n \"url\": \"http://example.com/webhook\"\n}"
17679
+ step: there is a valid "webhook" in the system
17680
+ x-menu-order: 1
17681
+ x-undo:
17682
+ operationId: DeleteWebhooksIntegration
17683
+ parameters:
17684
+ - name: webhook_name
17685
+ source: name
17686
+ type: unsafe
17687
+ /api/v1/integration/webhooks/configuration/webhooks/{webhook_name}:
17688
+ delete:
17689
+ description: Deletes the endpoint with the name `<WEBHOOK NAME>`.
17690
+ operationId: DeleteWebhooksIntegration
17691
+ parameters:
17692
+ - description: The name of the webhook.
17693
+ in: path
17694
+ name: webhook_name
17695
+ required: true
17696
+ schema:
17697
+ type: string
17698
+ responses:
17699
+ '200':
17700
+ description: OK
17701
+ '403':
17702
+ content:
17703
+ application/json:
17704
+ schema:
17705
+ $ref: '#/components/schemas/APIErrorResponse'
17706
+ description: Authentication error
17707
+ '404':
17708
+ content:
17709
+ application/json:
17710
+ schema:
17711
+ $ref: '#/components/schemas/APIErrorResponse'
17712
+ description: Item Not Found
17713
+ summary: Delete a webhook
16465
17714
  tags:
16466
- - Slack Integration
16467
- x-menu-order: 5
17715
+ - Webhooks Integration
17716
+ x-menu-order: 4
16468
17717
  x-undo:
16469
17718
  type: idempotent
16470
17719
  get:
16471
- description: Get a channel configured for your Datadog-Slack integration.
16472
- operationId: GetSlackIntegrationChannel
17720
+ description: Gets the content of the webhook with the name `<WEBHOOK_NAME>`.
17721
+ operationId: GetWebhooksIntegration
16473
17722
  parameters:
16474
- - $ref: '#/components/parameters/SlackAccountNamePathParameter'
16475
- - $ref: '#/components/parameters/SlackChannelNamePathParameter'
17723
+ - description: The name of the webhook.
17724
+ in: path
17725
+ name: webhook_name
17726
+ required: true
17727
+ schema:
17728
+ type: string
16476
17729
  responses:
16477
17730
  '200':
16478
17731
  content:
16479
17732
  application/json:
16480
17733
  schema:
16481
- $ref: '#/components/schemas/SlackIntegrationChannel'
17734
+ $ref: '#/components/schemas/WebhooksIntegration'
16482
17735
  description: OK
16483
17736
  '400':
16484
17737
  content:
@@ -16498,31 +17751,35 @@ paths:
16498
17751
  schema:
16499
17752
  $ref: '#/components/schemas/APIErrorResponse'
16500
17753
  description: Item Not Found
16501
- summary: Get a Slack integration channel
17754
+ summary: Get a webhook integration
16502
17755
  tags:
16503
- - Slack Integration
16504
- x-menu-order: 3
17756
+ - Webhooks Integration
17757
+ x-menu-order: 2
16505
17758
  x-undo:
16506
17759
  type: safe
16507
- patch:
16508
- description: Update a channel used in your Datadog-Slack integration.
16509
- operationId: UpdateSlackIntegrationChannel
17760
+ put:
17761
+ description: Updates the endpoint with the name `<WEBHOOK_NAME>`.
17762
+ operationId: UpdateWebhooksIntegration
16510
17763
  parameters:
16511
- - $ref: '#/components/parameters/SlackAccountNamePathParameter'
16512
- - $ref: '#/components/parameters/SlackChannelNamePathParameter'
17764
+ - description: The name of the webhook.
17765
+ in: path
17766
+ name: webhook_name
17767
+ required: true
17768
+ schema:
17769
+ type: string
16513
17770
  requestBody:
16514
17771
  content:
16515
17772
  application/json:
16516
17773
  schema:
16517
- $ref: '#/components/schemas/SlackIntegrationChannel'
16518
- description: Payload describing fields and values to be updated.
17774
+ $ref: '#/components/schemas/WebhooksIntegrationUpdateRequest'
17775
+ description: Update an existing Datadog-Webhooks integration.
16519
17776
  required: true
16520
17777
  responses:
16521
17778
  '200':
16522
17779
  content:
16523
17780
  application/json:
16524
17781
  schema:
16525
- $ref: '#/components/schemas/SlackIntegrationChannel'
17782
+ $ref: '#/components/schemas/WebhooksIntegration'
16526
17783
  description: OK
16527
17784
  '400':
16528
17785
  content:
@@ -16542,13 +17799,13 @@ paths:
16542
17799
  schema:
16543
17800
  $ref: '#/components/schemas/APIErrorResponse'
16544
17801
  description: Item Not Found
16545
- summary: Update a Slack integration channel
17802
+ summary: Update a webhook
16546
17803
  tags:
16547
- - Slack Integration
17804
+ - Webhooks Integration
16548
17805
  x-codegen-request-body-name: body
16549
- x-menu-order: 4
17806
+ x-menu-order: 3
16550
17807
  x-undo:
16551
- type: idempotent
17808
+ type: safe
16552
17809
  /api/v1/logs-queries/list:
16553
17810
  post:
16554
17811
  description: 'List endpoint returns logs that match a log search query.
@@ -17125,6 +18382,11 @@ paths:
17125
18382
  schema:
17126
18383
  $ref: '#/components/schemas/APIErrorResponse'
17127
18384
  description: Forbidden
18385
+ security:
18386
+ - apiKeyAuth: []
18387
+ appKeyAuth: []
18388
+ - AuthZ:
18389
+ - metrics_read
17128
18390
  summary: Get active metrics list
17129
18391
  tags:
17130
18392
  - Metrics
@@ -17161,6 +18423,11 @@ paths:
17161
18423
  schema:
17162
18424
  $ref: '#/components/schemas/APIErrorResponse'
17163
18425
  description: Not Found
18426
+ security:
18427
+ - apiKeyAuth: []
18428
+ appKeyAuth: []
18429
+ - AuthZ:
18430
+ - metrics_read
17164
18431
  summary: Get metric metadata
17165
18432
  tags:
17166
18433
  - Metrics
@@ -17315,6 +18582,11 @@ paths:
17315
18582
  schema:
17316
18583
  $ref: '#/components/schemas/APIErrorResponse'
17317
18584
  description: Forbidden
18585
+ security:
18586
+ - apiKeyAuth: []
18587
+ appKeyAuth: []
18588
+ - AuthZ:
18589
+ - monitors_read
17318
18590
  summary: Get all monitor details
17319
18591
  tags:
17320
18592
  - Monitors
@@ -17367,6 +18639,8 @@ paths:
17367
18639
 
17368
18640
  - event-v2: `event-v2 alert`
17369
18641
 
18642
+ - audit: `audit alert`
18643
+
17370
18644
 
17371
18645
  #### Query Types
17372
18646
 
@@ -17380,9 +18654,9 @@ paths:
17380
18654
 
17381
18655
  - `time_aggr`: avg, sum, max, min, change, or pct_change
17382
18656
 
17383
- - `time_window`: `last_#m` (with `#` between 1 and 2880 depending on the monitor
17384
- type) or `last_#h`(with `#` between 1 and 48 depending on the monitor type),
17385
- or `last_1d`
18657
+ - `time_window`: `last_#m` (with `#` between 1 and 10080 depending on the
18658
+ monitor type) or `last_#h`(with `#` between 1 and 168 depending on the monitor
18659
+ type) or `last_1d`, or `last_1w`
17386
18660
 
17387
18661
  - `space_aggr`: avg, sum, min, or max
17388
18662
 
@@ -17590,7 +18864,32 @@ paths:
17590
18864
  - **`time_window`**: The time window of the SLO target you wish to alert on.
17591
18865
  Valid options: `7d`, `30d`, `90d`.
17592
18866
 
17593
- - **`operator`**: `>=` or `>`'
18867
+ - **`operator`**: `>=` or `>`
18868
+
18869
+
18870
+ **Audit Alert Query**
18871
+
18872
+
18873
+ Example: `audits(query).rollup(rollup_method[, measure]).last(time_window)
18874
+ operator #`
18875
+
18876
+
18877
+ - **`query`** The search query - following the [Log search syntax](https://docs.datadoghq.com/logs/search_syntax/).
18878
+
18879
+ - **`rollup_method`** The stats roll-up method - supports `count`, `avg` and
18880
+ `cardinality`.
18881
+
18882
+ - **`measure`** For `avg` and cardinality `rollup_method` - specify the measure
18883
+ or the facet name you want to use.
18884
+
18885
+ - **`time_window`** #m (between 1 and 2880), #h (between 1 and 48).
18886
+
18887
+ - **`operator`** `<`, `<=`, `>`, `>=`, `==`, or `!=`.
18888
+
18889
+ - **`#`** an integer or decimal number used to set the threshold.
18890
+
18891
+
18892
+ **NOTE** Only available on US1-FED and in closed beta on EU, US3, and US1.'
17594
18893
  operationId: CreateMonitor
17595
18894
  requestBody:
17596
18895
  content:
@@ -17631,6 +18930,11 @@ paths:
17631
18930
  schema:
17632
18931
  $ref: '#/components/schemas/APIErrorResponse'
17633
18932
  description: Forbidden
18933
+ security:
18934
+ - apiKeyAuth: []
18935
+ appKeyAuth: []
18936
+ - AuthZ:
18937
+ - monitors_write
17634
18938
  summary: Create a monitor
17635
18939
  tags:
17636
18940
  - Monitors
@@ -17681,6 +18985,11 @@ paths:
17681
18985
  schema:
17682
18986
  $ref: '#/components/schemas/CheckCanDeleteMonitorResponse'
17683
18987
  description: Deletion conflict error
18988
+ security:
18989
+ - apiKeyAuth: []
18990
+ appKeyAuth: []
18991
+ - AuthZ:
18992
+ - monitors_read
17684
18993
  summary: Check if a monitor can be deleted
17685
18994
  tags:
17686
18995
  - Monitors
@@ -17763,6 +19072,11 @@ paths:
17763
19072
  schema:
17764
19073
  $ref: '#/components/schemas/APIErrorResponse'
17765
19074
  description: Forbidden
19075
+ security:
19076
+ - apiKeyAuth: []
19077
+ appKeyAuth: []
19078
+ - AuthZ:
19079
+ - monitors_read
17766
19080
  summary: Monitors group search
17767
19081
  tags:
17768
19082
  - Monitors
@@ -17845,6 +19159,11 @@ paths:
17845
19159
  schema:
17846
19160
  $ref: '#/components/schemas/APIErrorResponse'
17847
19161
  description: Forbidden
19162
+ security:
19163
+ - apiKeyAuth: []
19164
+ appKeyAuth: []
19165
+ - AuthZ:
19166
+ - monitors_read
17848
19167
  summary: Monitors search
17849
19168
  tags:
17850
19169
  - Monitors
@@ -17882,6 +19201,11 @@ paths:
17882
19201
  schema:
17883
19202
  $ref: '#/components/schemas/APIErrorResponse'
17884
19203
  description: Forbidden
19204
+ security:
19205
+ - apiKeyAuth: []
19206
+ appKeyAuth: []
19207
+ - AuthZ:
19208
+ - monitors_write
17885
19209
  summary: Validate a monitor
17886
19210
  tags:
17887
19211
  - Monitors
@@ -17940,6 +19264,11 @@ paths:
17940
19264
  schema:
17941
19265
  $ref: '#/components/schemas/APIErrorResponse'
17942
19266
  description: Item not found error
19267
+ security:
19268
+ - apiKeyAuth: []
19269
+ appKeyAuth: []
19270
+ - AuthZ:
19271
+ - monitors_write
17943
19272
  summary: Delete a monitor
17944
19273
  tags:
17945
19274
  - Monitors
@@ -17989,6 +19318,11 @@ paths:
17989
19318
  schema:
17990
19319
  $ref: '#/components/schemas/APIErrorResponse'
17991
19320
  description: Monitor Not Found error
19321
+ security:
19322
+ - apiKeyAuth: []
19323
+ appKeyAuth: []
19324
+ - AuthZ:
19325
+ - monitors_read
17992
19326
  summary: Get a monitor's details
17993
19327
  tags:
17994
19328
  - Monitors
@@ -18044,6 +19378,11 @@ paths:
18044
19378
  schema:
18045
19379
  $ref: '#/components/schemas/APIErrorResponse'
18046
19380
  description: Monitor Not Found error
19381
+ security:
19382
+ - apiKeyAuth: []
19383
+ appKeyAuth: []
19384
+ - AuthZ:
19385
+ - monitors_write
18047
19386
  summary: Edit a monitor
18048
19387
  tags:
18049
19388
  - Monitors
@@ -18585,7 +19924,7 @@ paths:
18585
19924
 
18586
19925
  Once a new child organization is created, you can interact with it
18587
19926
 
18588
- by using the `org.public_id`, `pi_key.key`, and
19927
+ by using the `org.public_id`, `api_key.key`, and
18589
19928
 
18590
19929
  `application_key.hash` provided in the response.'
18591
19930
  operationId: CreateChildOrg
@@ -18807,6 +20146,11 @@ paths:
18807
20146
  schema:
18808
20147
  $ref: '#/components/schemas/APIErrorResponse'
18809
20148
  description: Forbidden
20149
+ security:
20150
+ - apiKeyAuth: []
20151
+ appKeyAuth: []
20152
+ - AuthZ:
20153
+ - timeseries_query
18810
20154
  summary: Query timeseries points
18811
20155
  tags:
18812
20156
  - Metrics
@@ -18843,6 +20187,10 @@ paths:
18843
20187
  schema:
18844
20188
  $ref: '#/components/schemas/APIErrorResponse'
18845
20189
  description: Forbidden
20190
+ security:
20191
+ - apiKeyAuth: []
20192
+ appKeyAuth: []
20193
+ - AuthZ: []
18846
20194
  summary: Search metrics
18847
20195
  tags:
18848
20196
  - Metrics
@@ -18994,6 +20342,10 @@ paths:
18994
20342
  schema:
18995
20343
  $ref: '#/components/schemas/APIErrorResponse'
18996
20344
  description: Not Found
20345
+ security:
20346
+ - apiKeyAuth: []
20347
+ appKeyAuth: []
20348
+ - AuthZ: []
18997
20349
  summary: Get all SLOs
18998
20350
  tags:
18999
20351
  - Service Level Objectives
@@ -19442,6 +20794,10 @@ paths:
19442
20794
  schema:
19443
20795
  $ref: '#/components/schemas/APIErrorResponse'
19444
20796
  description: Not found
20797
+ security:
20798
+ - apiKeyAuth: []
20799
+ appKeyAuth: []
20800
+ - AuthZ: []
19445
20801
  summary: Get an SLO's details
19446
20802
  tags:
19447
20803
  - Service Level Objectives
@@ -19563,6 +20919,10 @@ paths:
19563
20919
  schema:
19564
20920
  $ref: '#/components/schemas/APIErrorResponse'
19565
20921
  description: Not Found
20922
+ security:
20923
+ - apiKeyAuth: []
20924
+ appKeyAuth: []
20925
+ - AuthZ: []
19566
20926
  summary: Get an SLO's history
19567
20927
  tags:
19568
20928
  - Service Level Objectives
@@ -19585,6 +20945,11 @@ paths:
19585
20945
  schema:
19586
20946
  $ref: '#/components/schemas/SyntheticsLocations'
19587
20947
  description: OK
20948
+ security:
20949
+ - apiKeyAuth: []
20950
+ appKeyAuth: []
20951
+ - AuthZ:
20952
+ - synthetics_private_location_read
19588
20953
  summary: Get all locations (public and private)
19589
20954
  tags:
19590
20955
  - Synthetics
@@ -19753,6 +21118,11 @@ paths:
19753
21118
  schema:
19754
21119
  $ref: '#/components/schemas/APIErrorResponse'
19755
21120
  description: Synthetics is not activated for the user.
21121
+ security:
21122
+ - apiKeyAuth: []
21123
+ appKeyAuth: []
21124
+ - AuthZ:
21125
+ - synthetics_read
19756
21126
  summary: Get the list of all tests
19757
21127
  tags:
19758
21128
  - Synthetics
@@ -19797,6 +21167,11 @@ paths:
19797
21167
  schema:
19798
21168
  $ref: '#/components/schemas/APIErrorResponse'
19799
21169
  description: Forbidden
21170
+ security:
21171
+ - apiKeyAuth: []
21172
+ appKeyAuth: []
21173
+ - AuthZ:
21174
+ - synthetics_write
19800
21175
  summary: Create an API test
19801
21176
  tags:
19802
21177
  - Synthetics
@@ -19842,6 +21217,11 @@ paths:
19842
21217
  description: '- Synthetic Monitoring is not activated for the user
19843
21218
 
19844
21219
  - Test is not owned by the user'
21220
+ security:
21221
+ - apiKeyAuth: []
21222
+ appKeyAuth: []
21223
+ - AuthZ:
21224
+ - synthetics_read
19845
21225
  summary: Get an API test
19846
21226
  tags:
19847
21227
  - Synthetics
@@ -19896,6 +21276,11 @@ paths:
19896
21276
  - Test is not owned by the user
19897
21277
 
19898
21278
  - Test can''t be found'
21279
+ security:
21280
+ - apiKeyAuth: []
21281
+ appKeyAuth: []
21282
+ - AuthZ:
21283
+ - synthetics_write
19899
21284
  summary: Edit an API test
19900
21285
  tags:
19901
21286
  - Synthetics
@@ -19941,6 +21326,11 @@ paths:
19941
21326
  schema:
19942
21327
  $ref: '#/components/schemas/APIErrorResponse'
19943
21328
  description: Forbidden
21329
+ security:
21330
+ - apiKeyAuth: []
21331
+ appKeyAuth: []
21332
+ - AuthZ:
21333
+ - synthetics_write
19944
21334
  summary: Create a browser test
19945
21335
  tags:
19946
21336
  - Synthetics
@@ -19984,6 +21374,11 @@ paths:
19984
21374
  description: '- Synthetic is not activated for the user
19985
21375
 
19986
21376
  - Test is not owned by the user'
21377
+ security:
21378
+ - apiKeyAuth: []
21379
+ appKeyAuth: []
21380
+ - AuthZ:
21381
+ - synthetics_read
19987
21382
  summary: Get a browser test
19988
21383
  tags:
19989
21384
  - Synthetics
@@ -20038,6 +21433,11 @@ paths:
20038
21433
  - Test is not owned by the user
20039
21434
 
20040
21435
  - Test can''t be found'
21436
+ security:
21437
+ - apiKeyAuth: []
21438
+ appKeyAuth: []
21439
+ - AuthZ:
21440
+ - synthetics_write
20041
21441
  summary: Edit a browser test
20042
21442
  tags:
20043
21443
  - Synthetics
@@ -20059,14 +21459,14 @@ paths:
20059
21459
  required: true
20060
21460
  schema:
20061
21461
  type: string
20062
- - description: Timestamp from which to start querying results.
21462
+ - description: Timestamp in milliseconds from which to start querying results.
20063
21463
  in: query
20064
21464
  name: from_ts
20065
21465
  required: false
20066
21466
  schema:
20067
21467
  format: int64
20068
21468
  type: integer
20069
- - description: Timestamp up to which to query results.
21469
+ - description: Timestamp in milliseconds up to which to query results.
20070
21470
  in: query
20071
21471
  name: to_ts
20072
21472
  required: false
@@ -20102,6 +21502,11 @@ paths:
20102
21502
  description: '- Synthetic is not activated for the user
20103
21503
 
20104
21504
  - Test is not owned by the user'
21505
+ security:
21506
+ - apiKeyAuth: []
21507
+ appKeyAuth: []
21508
+ - AuthZ:
21509
+ - synthetics_read
20105
21510
  summary: Get a browser test's latest results summaries
20106
21511
  tags:
20107
21512
  - Synthetics
@@ -20149,6 +21554,11 @@ paths:
20149
21554
  description: '- Synthetic is not activated for the user
20150
21555
 
20151
21556
  - Test or result is not owned by the user'
21557
+ security:
21558
+ - apiKeyAuth: []
21559
+ appKeyAuth: []
21560
+ - AuthZ:
21561
+ - synthetics_read
20152
21562
  summary: Get a browser test result
20153
21563
  tags:
20154
21564
  - Synthetics
@@ -20198,6 +21608,11 @@ paths:
20198
21608
  description: '- Tests to be deleted can''t be found
20199
21609
 
20200
21610
  - Synthetics is not activated for the user'
21611
+ security:
21612
+ - apiKeyAuth: []
21613
+ appKeyAuth: []
21614
+ - AuthZ:
21615
+ - synthetics_write
20201
21616
  summary: Delete tests
20202
21617
  tags:
20203
21618
  - Synthetics
@@ -20286,14 +21701,14 @@ paths:
20286
21701
  required: true
20287
21702
  schema:
20288
21703
  type: string
20289
- - description: Timestamp from which to start querying results.
21704
+ - description: Timestamp in milliseconds from which to start querying results.
20290
21705
  in: query
20291
21706
  name: from_ts
20292
21707
  required: false
20293
21708
  schema:
20294
21709
  format: int64
20295
21710
  type: integer
20296
- - description: Timestamp up to which to query results.
21711
+ - description: Timestamp in milliseconds up to which to query results.
20297
21712
  in: query
20298
21713
  name: to_ts
20299
21714
  required: false
@@ -20329,6 +21744,11 @@ paths:
20329
21744
  description: '- Synthetic is not activated for the user
20330
21745
 
20331
21746
  - Test is not owned by the user'
21747
+ security:
21748
+ - apiKeyAuth: []
21749
+ appKeyAuth: []
21750
+ - AuthZ:
21751
+ - synthetics_read
20332
21752
  summary: Get an API test's latest results summaries
20333
21753
  tags:
20334
21754
  - Synthetics
@@ -20374,6 +21794,11 @@ paths:
20374
21794
  description: '- Synthetic is not activated for the user
20375
21795
 
20376
21796
  - Test or result is not owned by the user'
21797
+ security:
21798
+ - apiKeyAuth: []
21799
+ appKeyAuth: []
21800
+ - AuthZ:
21801
+ - synthetics_read
20377
21802
  summary: Get an API test result
20378
21803
  tags:
20379
21804
  - Synthetics
@@ -20425,6 +21850,11 @@ paths:
20425
21850
  description: '- Synthetic is not activated for the user
20426
21851
 
20427
21852
  - Test is not owned by the user'
21853
+ security:
21854
+ - apiKeyAuth: []
21855
+ appKeyAuth: []
21856
+ - AuthZ:
21857
+ - synthetics_write
20428
21858
  summary: Pause or start a test
20429
21859
  tags:
20430
21860
  - Synthetics
@@ -20449,6 +21879,11 @@ paths:
20449
21879
  schema:
20450
21880
  $ref: '#/components/schemas/APIErrorResponse'
20451
21881
  description: Forbidden
21882
+ security:
21883
+ - apiKeyAuth: []
21884
+ appKeyAuth: []
21885
+ - AuthZ:
21886
+ - synthetics_global_variable_read
20452
21887
  summary: Get all global variables
20453
21888
  tags:
20454
21889
  - Synthetics
@@ -20527,6 +21962,11 @@ paths:
20527
21962
  schema:
20528
21963
  $ref: '#/components/schemas/APIErrorResponse'
20529
21964
  description: Not found
21965
+ security:
21966
+ - apiKeyAuth: []
21967
+ appKeyAuth: []
21968
+ - AuthZ:
21969
+ - synthetics_global_variable_write
20530
21970
  summary: Delete a global variable
20531
21971
  tags:
20532
21972
  - Synthetics
@@ -20562,6 +22002,11 @@ paths:
20562
22002
  schema:
20563
22003
  $ref: '#/components/schemas/APIErrorResponse'
20564
22004
  description: Not found
22005
+ security:
22006
+ - apiKeyAuth: []
22007
+ appKeyAuth: []
22008
+ - AuthZ:
22009
+ - synthetics_global_variable_read
20565
22010
  summary: Get a global variable
20566
22011
  tags:
20567
22012
  - Synthetics
@@ -20642,6 +22087,10 @@ paths:
20642
22087
  schema:
20643
22088
  $ref: '#/components/schemas/APIErrorResponse'
20644
22089
  description: Not Found
22090
+ security:
22091
+ - apiKeyAuth: []
22092
+ appKeyAuth: []
22093
+ - AuthZ: []
20645
22094
  summary: Get Tags
20646
22095
  tags:
20647
22096
  - Tags
@@ -20890,6 +22339,11 @@ paths:
20890
22339
  schema:
20891
22340
  $ref: '#/components/schemas/APIErrorResponse'
20892
22341
  description: Forbidden - User is not authorized
22342
+ security:
22343
+ - apiKeyAuth: []
22344
+ appKeyAuth: []
22345
+ - AuthZ:
22346
+ - usage_read
20893
22347
  summary: Get hourly usage for analyzed logs
20894
22348
  tags:
20895
22349
  - Usage Metering
@@ -20938,6 +22392,13 @@ paths:
20938
22392
  required: false
20939
22393
  schema:
20940
22394
  $ref: '#/components/schemas/UsageAttributionSort'
22395
+ - description: Include child org usage in the response. Defaults to false.
22396
+ in: query
22397
+ name: include_descendants
22398
+ required: false
22399
+ schema:
22400
+ default: false
22401
+ type: boolean
20941
22402
  responses:
20942
22403
  '200':
20943
22404
  content:
@@ -20951,6 +22412,11 @@ paths:
20951
22412
  schema:
20952
22413
  $ref: '#/components/schemas/APIErrorResponse'
20953
22414
  description: Forbidden - User is not authorized
22415
+ security:
22416
+ - apiKeyAuth: []
22417
+ appKeyAuth: []
22418
+ - AuthZ:
22419
+ - usage_read
20954
22420
  summary: Get Usage Attribution
20955
22421
  tags:
20956
22422
  - Usage Metering
@@ -21048,6 +22514,11 @@ paths:
21048
22514
  schema:
21049
22515
  $ref: '#/components/schemas/APIErrorResponse'
21050
22516
  description: Forbidden - User is not authorized
22517
+ security:
22518
+ - apiKeyAuth: []
22519
+ appKeyAuth: []
22520
+ - AuthZ:
22521
+ - usage_read
21051
22522
  summary: Get hourly usage for Lambda
21052
22523
  tags:
21053
22524
  - Usage Metering
@@ -21086,6 +22557,11 @@ paths:
21086
22557
  schema:
21087
22558
  $ref: '#/components/schemas/APIErrorResponse'
21088
22559
  description: Forbidden - User is not authorized
22560
+ security:
22561
+ - apiKeyAuth: []
22562
+ appKeyAuth: []
22563
+ - AuthZ:
22564
+ - usage_read
21089
22565
  summary: Get billable usage across your account
21090
22566
  tags:
21091
22567
  - Usage Metering
@@ -21182,12 +22658,65 @@ paths:
21182
22658
  schema:
21183
22659
  $ref: '#/components/schemas/APIErrorResponse'
21184
22660
  description: Forbidden - User is not authorized
22661
+ security:
22662
+ - apiKeyAuth: []
22663
+ appKeyAuth: []
22664
+ - AuthZ:
22665
+ - usage_read
21185
22666
  summary: Get hourly usage for Cloud Workload Security
21186
22667
  tags:
21187
22668
  - Usage Metering
21188
22669
  x-menu-order: 31
21189
22670
  x-undo:
21190
22671
  type: safe
22672
+ /api/v1/usage/dbm:
22673
+ get:
22674
+ description: Get hourly usage for Database Monitoring
22675
+ operationId: GetUsageDBM
22676
+ parameters:
22677
+ - description: 'Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]`
22678
+ for usage beginning at this hour.'
22679
+ in: query
22680
+ name: start_hr
22681
+ required: true
22682
+ schema:
22683
+ format: date-time
22684
+ type: string
22685
+ - description: 'Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]`
22686
+ for usage ending
22687
+
22688
+ **before** this hour.'
22689
+ in: query
22690
+ name: end_hr
22691
+ required: false
22692
+ schema:
22693
+ format: date-time
22694
+ type: string
22695
+ responses:
22696
+ '200':
22697
+ content:
22698
+ application/json;datetime-format=rfc3339:
22699
+ schema:
22700
+ $ref: '#/components/schemas/UsageDBMResponse'
22701
+ description: OK
22702
+ '400':
22703
+ content:
22704
+ application/json;datetime-format=rfc3339:
22705
+ schema:
22706
+ $ref: '#/components/schemas/APIErrorResponse'
22707
+ description: Bad Request
22708
+ '403':
22709
+ content:
22710
+ application/json;datetime-format=rfc3339:
22711
+ schema:
22712
+ $ref: '#/components/schemas/APIErrorResponse'
22713
+ description: Forbidden - User is not authorized
22714
+ summary: Get hourly usage for Database Monitoring
22715
+ tags:
22716
+ - Usage Metering
22717
+ x-menu-order: 32
22718
+ x-undo:
22719
+ type: safe
21191
22720
  /api/v1/usage/fargate:
21192
22721
  get:
21193
22722
  description: Get hourly usage for [Fargate](https://docs.datadoghq.com/integrations/ecs_fargate/).
@@ -21228,6 +22757,11 @@ paths:
21228
22757
  schema:
21229
22758
  $ref: '#/components/schemas/APIErrorResponse'
21230
22759
  description: Forbidden - User is not authorized
22760
+ security:
22761
+ - apiKeyAuth: []
22762
+ appKeyAuth: []
22763
+ - AuthZ:
22764
+ - usage_read
21231
22765
  summary: Get hourly usage for Fargate
21232
22766
  tags:
21233
22767
  - Usage Metering
@@ -21274,6 +22808,11 @@ paths:
21274
22808
  schema:
21275
22809
  $ref: '#/components/schemas/APIErrorResponse'
21276
22810
  description: Forbidden - User is not authorized
22811
+ security:
22812
+ - apiKeyAuth: []
22813
+ appKeyAuth: []
22814
+ - AuthZ:
22815
+ - usage_read
21277
22816
  summary: Get hourly usage for hosts and containers
21278
22817
  tags:
21279
22818
  - Usage Metering
@@ -21322,6 +22861,11 @@ paths:
21322
22861
  schema:
21323
22862
  $ref: '#/components/schemas/APIErrorResponse'
21324
22863
  description: Forbidden - User is not authorized
22864
+ security:
22865
+ - apiKeyAuth: []
22866
+ appKeyAuth: []
22867
+ - AuthZ:
22868
+ - usage_read
21325
22869
  summary: Get hourly usage for incident management
21326
22870
  tags:
21327
22871
  - Usage Metering
@@ -21368,6 +22912,11 @@ paths:
21368
22912
  schema:
21369
22913
  $ref: '#/components/schemas/APIErrorResponse'
21370
22914
  description: Forbidden - User is not authorized
22915
+ security:
22916
+ - apiKeyAuth: []
22917
+ appKeyAuth: []
22918
+ - AuthZ:
22919
+ - usage_read
21371
22920
  summary: Get hourly usage for indexed spans
21372
22921
  tags:
21373
22922
  - Usage Metering
@@ -21416,6 +22965,11 @@ paths:
21416
22965
  schema:
21417
22966
  $ref: '#/components/schemas/APIErrorResponse'
21418
22967
  description: Forbidden - User is not authorized
22968
+ security:
22969
+ - apiKeyAuth: []
22970
+ appKeyAuth: []
22971
+ - AuthZ:
22972
+ - usage_read
21419
22973
  summary: Get hourly usage for ingested spans
21420
22974
  tags:
21421
22975
  - Usage Metering
@@ -21464,6 +23018,11 @@ paths:
21464
23018
  schema:
21465
23019
  $ref: '#/components/schemas/APIErrorResponse'
21466
23020
  description: Forbidden - User is not authorized
23021
+ security:
23022
+ - apiKeyAuth: []
23023
+ appKeyAuth: []
23024
+ - AuthZ:
23025
+ - usage_read
21467
23026
  summary: Get hourly usage for IoT
21468
23027
  tags:
21469
23028
  - Usage Metering
@@ -21510,6 +23069,11 @@ paths:
21510
23069
  schema:
21511
23070
  $ref: '#/components/schemas/APIErrorResponse'
21512
23071
  description: Forbidden - User is not authorized
23072
+ security:
23073
+ - apiKeyAuth: []
23074
+ appKeyAuth: []
23075
+ - AuthZ:
23076
+ - usage_read
21513
23077
  summary: Get hourly usage for Logs
21514
23078
  tags:
21515
23079
  - Usage Metering
@@ -21611,6 +23175,11 @@ paths:
21611
23175
  schema:
21612
23176
  $ref: '#/components/schemas/APIErrorResponse'
21613
23177
  description: Forbidden - User is not authorized
23178
+ security:
23179
+ - apiKeyAuth: []
23180
+ appKeyAuth: []
23181
+ - AuthZ:
23182
+ - usage_read
21614
23183
  summary: Get hourly usage for Logs by Index
21615
23184
  tags:
21616
23185
  - Usage Metering
@@ -21659,6 +23228,11 @@ paths:
21659
23228
  schema:
21660
23229
  $ref: '#/components/schemas/APIErrorResponse'
21661
23230
  description: Forbidden - User is not authorized
23231
+ security:
23232
+ - apiKeyAuth: []
23233
+ appKeyAuth: []
23234
+ - AuthZ:
23235
+ - usage_read
21662
23236
  summary: Get hourly usage for Network Flows
21663
23237
  tags:
21664
23238
  - Usage Metering
@@ -21705,6 +23279,11 @@ paths:
21705
23279
  schema:
21706
23280
  $ref: '#/components/schemas/APIErrorResponse'
21707
23281
  description: Forbidden - User is not authorized
23282
+ security:
23283
+ - apiKeyAuth: []
23284
+ appKeyAuth: []
23285
+ - AuthZ:
23286
+ - usage_read
21708
23287
  summary: Get hourly usage for Network Hosts
21709
23288
  tags:
21710
23289
  - Usage Metering
@@ -21753,6 +23332,11 @@ paths:
21753
23332
  schema:
21754
23333
  $ref: '#/components/schemas/APIErrorResponse'
21755
23334
  description: Forbidden - User is not authorized
23335
+ security:
23336
+ - apiKeyAuth: []
23337
+ appKeyAuth: []
23338
+ - AuthZ:
23339
+ - usage_read
21756
23340
  summary: Get hourly usage for profiled hosts
21757
23341
  tags:
21758
23342
  - Usage Metering
@@ -21806,6 +23390,11 @@ paths:
21806
23390
  schema:
21807
23391
  $ref: '#/components/schemas/APIErrorResponse'
21808
23392
  description: Forbidden - User is not authorized
23393
+ security:
23394
+ - apiKeyAuth: []
23395
+ appKeyAuth: []
23396
+ - AuthZ:
23397
+ - usage_read
21809
23398
  summary: Get hourly usage for RUM Sessions
21810
23399
  tags:
21811
23400
  - Usage Metering
@@ -21854,6 +23443,11 @@ paths:
21854
23443
  schema:
21855
23444
  $ref: '#/components/schemas/APIErrorResponse'
21856
23445
  description: Forbidden - User is not authorized
23446
+ security:
23447
+ - apiKeyAuth: []
23448
+ appKeyAuth: []
23449
+ - AuthZ:
23450
+ - usage_read
21857
23451
  summary: Get hourly usage for SNMP devices
21858
23452
  tags:
21859
23453
  - Usage Metering
@@ -21909,6 +23503,11 @@ paths:
21909
23503
  schema:
21910
23504
  $ref: '#/components/schemas/APIErrorResponse'
21911
23505
  description: Forbidden - User is not authorized
23506
+ security:
23507
+ - apiKeyAuth: []
23508
+ appKeyAuth: []
23509
+ - AuthZ:
23510
+ - usage_read
21912
23511
  summary: Get usage across your multi-org account
21913
23512
  tags:
21914
23513
  - Usage Metering
@@ -21956,6 +23555,11 @@ paths:
21956
23555
  schema:
21957
23556
  $ref: '#/components/schemas/APIErrorResponse'
21958
23557
  description: Forbidden - User is not authorized
23558
+ security:
23559
+ - apiKeyAuth: []
23560
+ appKeyAuth: []
23561
+ - AuthZ:
23562
+ - usage_read
21959
23563
  summary: Get hourly usage for Synthetics Checks
21960
23564
  tags:
21961
23565
  - Usage Metering
@@ -22002,6 +23606,11 @@ paths:
22002
23606
  schema:
22003
23607
  $ref: '#/components/schemas/APIErrorResponse'
22004
23608
  description: Forbidden - User is not authorized
23609
+ security:
23610
+ - apiKeyAuth: []
23611
+ appKeyAuth: []
23612
+ - AuthZ:
23613
+ - usage_read
22005
23614
  summary: Get hourly usage for Synthetics API Checks
22006
23615
  tags:
22007
23616
  - Usage Metering
@@ -22048,6 +23657,11 @@ paths:
22048
23657
  schema:
22049
23658
  $ref: '#/components/schemas/APIErrorResponse'
22050
23659
  description: Forbidden - User is not authorized
23660
+ security:
23661
+ - apiKeyAuth: []
23662
+ appKeyAuth: []
23663
+ - AuthZ:
23664
+ - usage_read
22051
23665
  summary: Get hourly usage for Synthetics Browser Checks
22052
23666
  tags:
22053
23667
  - Usage Metering
@@ -22094,6 +23708,11 @@ paths:
22094
23708
  schema:
22095
23709
  $ref: '#/components/schemas/APIErrorResponse'
22096
23710
  description: Forbidden - User is not authorized
23711
+ security:
23712
+ - apiKeyAuth: []
23713
+ appKeyAuth: []
23714
+ - AuthZ:
23715
+ - usage_read
22097
23716
  summary: Get hourly usage for custom metrics
22098
23717
  tags:
22099
23718
  - Usage Metering
@@ -22169,6 +23788,11 @@ paths:
22169
23788
  schema:
22170
23789
  $ref: '#/components/schemas/APIErrorResponse'
22171
23790
  description: Forbidden - User is not authorized
23791
+ security:
23792
+ - apiKeyAuth: []
23793
+ appKeyAuth: []
23794
+ - AuthZ:
23795
+ - usage_read
22172
23796
  summary: Get all custom metrics by hourly average
22173
23797
  tags:
22174
23798
  - Usage Metering
@@ -22192,6 +23816,10 @@ paths:
22192
23816
  schema:
22193
23817
  $ref: '#/components/schemas/APIErrorResponse'
22194
23818
  description: Authentication error
23819
+ security:
23820
+ - apiKeyAuth: []
23821
+ appKeyAuth: []
23822
+ - AuthZ: []
22195
23823
  summary: List all users
22196
23824
  tags:
22197
23825
  - Users
@@ -22238,6 +23866,11 @@ paths:
22238
23866
  schema:
22239
23867
  $ref: '#/components/schemas/APIErrorResponse'
22240
23868
  description: Conflict
23869
+ security:
23870
+ - apiKeyAuth: []
23871
+ appKeyAuth: []
23872
+ - AuthZ:
23873
+ - user_access_invite
22241
23874
  summary: Create a user
22242
23875
  tags:
22243
23876
  - Users
@@ -22409,6 +24042,7 @@ paths:
22409
24042
  description: Authentication error
22410
24043
  security:
22411
24044
  - apiKeyAuth: []
24045
+ - AuthZ: []
22412
24046
  summary: Validate API key
22413
24047
  tags:
22414
24048
  - Authentication
@@ -22701,8 +24335,8 @@ tags:
22701
24335
  them into structured attributes for easier querying.\n\n- See the [pipelines configuration
22702
24336
  page](https://app.datadoghq.com/logs/pipelines)\n for a list of the pipelines
22703
24337
  and processors currently configured in our UI.\n\n- Additional API-related information
22704
- about processors can be found in the\n [processors documentation](https://docs.datadoghq.com/logs/processing/processors/?tab=api#lookup-processor).\n\n-
22705
- For more information about Pipelines, see the\n [pipeline documentation](https://docs.datadoghq.com/logs/processing).\n\n**Notes:**\n\nThese
24338
+ about processors can be found in the\n [processors documentation](https://docs.datadoghq.com/logs/log_configuration/processors/?tab=api#lookup-processor).\n\n-
24339
+ For more information about Pipelines, see the\n [pipeline documentation](https://docs.datadoghq.com/logs/log_configuration/pipelines).\n\n**Notes:**\n\nThese
22706
24340
  endpoints are only available for admin users.\nMake sure to use an application
22707
24341
  key created by an admin.\n\n**Grok parsing rules may effect JSON output and require\nreturned
22708
24342
  data to be configured before using in a request.**\nFor example, if you are using
@@ -22711,7 +24345,7 @@ tags:
22711
24345
  all escaped spaces as `%{space}` to use\nin the body data."
22712
24346
  externalDocs:
22713
24347
  description: Find out more at
22714
- url: https://docs.datadoghq.com/logs/processing/
24348
+ url: https://docs.datadoghq.com/logs/log_configuration
22715
24349
  name: Logs Pipelines
22716
24350
  - description: "The metrics endpoint allows you to:\n\n- Post metrics data so it can
22717
24351
  be graphed on Datadog\u2019s dashboards\n- Query metrics from any time period\n-
@@ -22762,6 +24396,12 @@ tags:
22762
24396
  a message
22763
24397
 
22764
24398
  containing more than 500 characters, only the first 500 characters are displayed.
24399
+ Messages
24400
+
24401
+ are limited for checks with a Critical or Warning status, they are dropped for
24402
+ checks with
24403
+
24404
+ an OK status.
22765
24405
 
22766
24406
 
22767
24407
  - [Read more about Service Check monitors.][1]
@@ -22862,4 +24502,13 @@ tags:
22862
24502
  externalDocs:
22863
24503
  url: https://docs.datadoghq.com/account_management/users
22864
24504
  name: Users
24505
+ - description: 'Configure your Datadog-Webhooks integration directly through the Datadog
24506
+ API.
24507
+
24508
+ For more information about the Datadog-Webhooks integration,
24509
+
24510
+ see the [integration page](https://docs.datadoghq.com/integrations/webhooks).'
24511
+ externalDocs:
24512
+ url: https://docs.datadoghq.com/integrations/webhooks
24513
+ name: Webhooks Integration
22865
24514
  x-group-parameters: true