datadog_api_client 2.4.0 → 2.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (588) hide show
  1. checksums.yaml +4 -4
  2. data/.apigentools-info +4 -4
  3. data/.generator/schemas/v1/openapi.yaml +363 -27
  4. data/.generator/schemas/v2/openapi.yaml +1995 -780
  5. data/.generator/src/generator/templates/configuration.j2 +14 -4
  6. data/.generator/src/generator/templates/model_generic.j2 +17 -0
  7. data/.generator/src/generator/templates/package.j2 +0 -1
  8. data/.github/workflows/test.yml +18 -19
  9. data/CHANGELOG.md +27 -0
  10. data/examples/v1/dashboards/CreateDashboard_41622531.rb +56 -0
  11. data/examples/v1/service-level-objective-corrections/ListSLOCorrection.rb +5 -1
  12. data/examples/v1/synthetics/CreateSyntheticsAPITest.rb +1 -1
  13. data/examples/v1/synthetics/CreateSyntheticsAPITest_1279271422.rb +1 -1
  14. data/examples/v1/synthetics/CreateSyntheticsAPITest_1402674167.rb +1 -1
  15. data/examples/v1/synthetics/CreateSyntheticsAPITest_1487281163.rb +11 -1
  16. data/examples/v1/synthetics/CreateSyntheticsAPITest_960766374.rb +109 -0
  17. data/examples/v1/synthetics/CreateSyntheticsBrowserTest.rb +1 -1
  18. data/examples/v1/synthetics/CreateSyntheticsBrowserTest_2932742688.rb +1 -1
  19. data/examples/v1/synthetics/ListTests.rb +1 -1
  20. data/examples/v1/synthetics/UpdateAPITest.rb +1 -1
  21. data/examples/v1/synthetics/UpdateBrowserTest.rb +2 -1
  22. data/examples/v2/ci-visibility-pipelines/AggregateCIAppPipelineEvents.rb +1 -1
  23. data/examples/v2/ci-visibility-pipelines/ListCIAppPipelineEvents.rb +1 -1
  24. data/examples/v2/logs-metrics/CreateLogsMetric.rb +3 -1
  25. data/examples/v2/logs-metrics/UpdateLogsMetric_1901534424.rb +19 -0
  26. data/examples/v2/security-monitoring/CreateSecurityMonitoringRule_1092490364.rb +41 -0
  27. data/examples/v2/security-monitoring/GetSecurityMonitoringRule_3370522281.rb +8 -0
  28. data/examples/v2/security-monitoring/UpdateSecurityMonitoringRule_428087276.rb +36 -0
  29. data/examples/v2/sensitive-data-scanner/CreateScanningGroup.rb +36 -0
  30. data/examples/v2/sensitive-data-scanner/CreateScanningRule.rb +34 -0
  31. data/examples/v2/sensitive-data-scanner/DeleteScanningGroup.rb +12 -0
  32. data/examples/v2/sensitive-data-scanner/DeleteScanningRule.rb +12 -0
  33. data/examples/v2/sensitive-data-scanner/ListScanningGroups.rb +5 -0
  34. data/examples/v2/sensitive-data-scanner/ListStandardPatterns.rb +5 -0
  35. data/examples/v2/sensitive-data-scanner/ReorderScanningGroups.rb +29 -0
  36. data/examples/v2/sensitive-data-scanner/UpdateScanningGroup.rb +40 -0
  37. data/examples/v2/sensitive-data-scanner/UpdateScanningRule.rb +38 -0
  38. data/examples/v2/usage-metering/GetHistoricalCostByOrg.rb +1 -1
  39. data/lib/datadog_api_client/configuration.rb +14 -4
  40. data/lib/datadog_api_client/inflector.rb +74 -1
  41. data/lib/datadog_api_client/models.rb +0 -1
  42. data/lib/datadog_api_client/v1/api/events_api.rb +1 -1
  43. data/lib/datadog_api_client/v1/api/service_level_objective_corrections_api.rb +4 -0
  44. data/lib/datadog_api_client/v1/api/synthetics_api.rb +6 -2
  45. data/lib/datadog_api_client/v1/models/add_signal_to_incident_request.rb +1 -1
  46. data/lib/datadog_api_client/v1/models/alert_graph_widget_definition.rb +3 -3
  47. data/lib/datadog_api_client/v1/models/alert_value_widget_definition.rb +2 -2
  48. data/lib/datadog_api_client/v1/models/api_error_response.rb +1 -1
  49. data/lib/datadog_api_client/v1/models/api_key.rb +1 -1
  50. data/lib/datadog_api_client/v1/models/apm_stats_query_column_type.rb +1 -1
  51. data/lib/datadog_api_client/v1/models/apm_stats_query_definition.rb +5 -5
  52. data/lib/datadog_api_client/v1/models/application_key.rb +1 -1
  53. data/lib/datadog_api_client/v1/models/aws_account_and_lambda_request.rb +2 -2
  54. data/lib/datadog_api_client/v1/models/aws_logs_services_request.rb +2 -2
  55. data/lib/datadog_api_client/v1/models/cancel_downtimes_by_scope_request.rb +1 -1
  56. data/lib/datadog_api_client/v1/models/change_widget_definition.rb +2 -2
  57. data/lib/datadog_api_client/v1/models/check_can_delete_monitor_response.rb +1 -1
  58. data/lib/datadog_api_client/v1/models/check_status_widget_definition.rb +3 -3
  59. data/lib/datadog_api_client/v1/models/dashboard.rb +3 -3
  60. data/lib/datadog_api_client/v1/models/dashboard_bulk_action_data.rb +2 -2
  61. data/lib/datadog_api_client/v1/models/dashboard_bulk_delete_request.rb +1 -1
  62. data/lib/datadog_api_client/v1/models/dashboard_list.rb +1 -1
  63. data/lib/datadog_api_client/v1/models/dashboard_restore_request.rb +1 -1
  64. data/lib/datadog_api_client/v1/models/dashboard_template_variable.rb +1 -1
  65. data/lib/datadog_api_client/v1/models/dashboard_template_variable_preset_value.rb +1 -1
  66. data/lib/datadog_api_client/v1/models/distribution_points_payload.rb +1 -1
  67. data/lib/datadog_api_client/v1/models/distribution_points_series.rb +2 -2
  68. data/lib/datadog_api_client/v1/models/distribution_widget_definition.rb +2 -2
  69. data/lib/datadog_api_client/v1/models/downtime.rb +3 -3
  70. data/lib/datadog_api_client/v1/models/downtime_child.rb +3 -3
  71. data/lib/datadog_api_client/v1/models/downtime_recurrence.rb +2 -2
  72. data/lib/datadog_api_client/v1/models/event.rb +1 -1
  73. data/lib/datadog_api_client/v1/models/event_create_request.rb +3 -3
  74. data/lib/datadog_api_client/v1/models/event_query_definition.rb +2 -2
  75. data/lib/datadog_api_client/v1/models/event_stream_widget_definition.rb +2 -2
  76. data/lib/datadog_api_client/v1/models/event_timeline_widget_definition.rb +2 -2
  77. data/lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stats_query_definition.rb +7 -7
  78. data/lib/datadog_api_client/v1/models/formula_and_function_apm_resource_stats_query_definition.rb +5 -5
  79. data/lib/datadog_api_client/v1/models/formula_and_function_event_query_definition.rb +3 -3
  80. data/lib/datadog_api_client/v1/models/formula_and_function_event_query_definition_compute.rb +1 -1
  81. data/lib/datadog_api_client/v1/models/formula_and_function_event_query_definition_search.rb +1 -1
  82. data/lib/datadog_api_client/v1/models/formula_and_function_event_query_group_by.rb +1 -1
  83. data/lib/datadog_api_client/v1/models/formula_and_function_event_query_group_by_sort.rb +1 -1
  84. data/lib/datadog_api_client/v1/models/formula_and_function_metric_query_definition.rb +3 -3
  85. data/lib/datadog_api_client/v1/models/formula_and_function_process_query_definition.rb +3 -3
  86. data/lib/datadog_api_client/v1/models/free_text_widget_definition.rb +2 -2
  87. data/lib/datadog_api_client/v1/models/funnel_query.rb +3 -3
  88. data/lib/datadog_api_client/v1/models/funnel_step.rb +2 -2
  89. data/lib/datadog_api_client/v1/models/funnel_widget_definition.rb +2 -2
  90. data/lib/datadog_api_client/v1/models/funnel_widget_request.rb +2 -2
  91. data/lib/datadog_api_client/v1/models/geomap_widget_definition.rb +4 -4
  92. data/lib/datadog_api_client/v1/models/geomap_widget_definition_style.rb +2 -2
  93. data/lib/datadog_api_client/v1/models/geomap_widget_definition_view.rb +1 -1
  94. data/lib/datadog_api_client/v1/models/group_widget_definition.rb +3 -3
  95. data/lib/datadog_api_client/v1/models/heat_map_widget_definition.rb +2 -2
  96. data/lib/datadog_api_client/v1/models/host_map_widget_definition.rb +2 -2
  97. data/lib/datadog_api_client/v1/models/http_log_error.rb +2 -2
  98. data/lib/datadog_api_client/v1/models/http_log_item.rb +1 -1
  99. data/lib/datadog_api_client/v1/models/i_frame_widget_definition.rb +2 -2
  100. data/lib/datadog_api_client/v1/models/idp_form_data.rb +1 -1
  101. data/lib/datadog_api_client/v1/models/idp_response.rb +1 -1
  102. data/lib/datadog_api_client/v1/models/image_widget_definition.rb +2 -2
  103. data/lib/datadog_api_client/v1/models/list_stream_column.rb +2 -2
  104. data/lib/datadog_api_client/v1/models/list_stream_query.rb +2 -2
  105. data/lib/datadog_api_client/v1/models/list_stream_widget_definition.rb +2 -2
  106. data/lib/datadog_api_client/v1/models/list_stream_widget_request.rb +3 -3
  107. data/lib/datadog_api_client/v1/models/log_query_definition_group_by.rb +1 -1
  108. data/lib/datadog_api_client/v1/models/log_query_definition_group_by_sort.rb +2 -2
  109. data/lib/datadog_api_client/v1/models/log_query_definition_search.rb +1 -1
  110. data/lib/datadog_api_client/v1/models/log_stream_widget_definition.rb +1 -1
  111. data/lib/datadog_api_client/v1/models/logs_arithmetic_processor.rb +3 -3
  112. data/lib/datadog_api_client/v1/models/logs_attribute_remapper.rb +3 -3
  113. data/lib/datadog_api_client/v1/models/logs_category_processor.rb +3 -3
  114. data/lib/datadog_api_client/v1/models/logs_date_remapper.rb +2 -2
  115. data/lib/datadog_api_client/v1/models/logs_exclusion.rb +1 -1
  116. data/lib/datadog_api_client/v1/models/logs_exclusion_filter.rb +1 -1
  117. data/lib/datadog_api_client/v1/models/logs_geo_ip_parser.rb +3 -3
  118. data/lib/datadog_api_client/v1/models/logs_grok_parser.rb +4 -4
  119. data/lib/datadog_api_client/v1/models/logs_grok_parser_rules.rb +1 -1
  120. data/lib/datadog_api_client/v1/models/logs_index.rb +2 -2
  121. data/lib/datadog_api_client/v1/models/logs_index_update_request.rb +1 -1
  122. data/lib/datadog_api_client/v1/models/logs_indexes_order.rb +1 -1
  123. data/lib/datadog_api_client/v1/models/logs_list_request.rb +2 -2
  124. data/lib/datadog_api_client/v1/models/logs_list_request_time.rb +2 -2
  125. data/lib/datadog_api_client/v1/models/logs_lookup_processor.rb +4 -4
  126. data/lib/datadog_api_client/v1/models/logs_message_remapper.rb +2 -2
  127. data/lib/datadog_api_client/v1/models/logs_pipeline.rb +1 -1
  128. data/lib/datadog_api_client/v1/models/logs_pipeline_processor.rb +1 -1
  129. data/lib/datadog_api_client/v1/models/logs_pipelines_order.rb +1 -1
  130. data/lib/datadog_api_client/v1/models/logs_processor.rb +1 -0
  131. data/lib/datadog_api_client/v1/models/logs_query_compute.rb +1 -1
  132. data/lib/datadog_api_client/v1/models/logs_service_remapper.rb +2 -2
  133. data/lib/datadog_api_client/v1/models/logs_status_remapper.rb +2 -2
  134. data/lib/datadog_api_client/v1/models/logs_string_builder_processor.rb +3 -3
  135. data/lib/datadog_api_client/v1/models/logs_trace_remapper.rb +1 -1
  136. data/lib/datadog_api_client/v1/models/logs_url_parser.rb +3 -3
  137. data/lib/datadog_api_client/v1/models/logs_user_agent_parser.rb +3 -3
  138. data/lib/datadog_api_client/v1/models/metrics_payload.rb +1 -1
  139. data/lib/datadog_api_client/v1/models/metrics_query_metadata.rb +1 -1
  140. data/lib/datadog_api_client/v1/models/monitor.rb +3 -3
  141. data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_definition.rb +3 -3
  142. data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_definition_compute.rb +1 -1
  143. data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_definition_search.rb +1 -1
  144. data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_group_by.rb +1 -1
  145. data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_group_by_sort.rb +1 -1
  146. data/lib/datadog_api_client/v1/models/monitor_options.rb +12 -2
  147. data/lib/datadog_api_client/v1/models/monitor_options_scheduling_options_evaluation_window.rb +2 -2
  148. data/lib/datadog_api_client/v1/models/monitor_summary_widget_definition.rb +2 -2
  149. data/lib/datadog_api_client/v1/models/monitor_update_request.rb +1 -1
  150. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +121 -1
  151. data/lib/datadog_api_client/v1/models/note_widget_definition.rb +2 -2
  152. data/lib/datadog_api_client/v1/models/notebook_absolute_time.rb +2 -2
  153. data/lib/datadog_api_client/v1/models/notebook_cell_create_request.rb +2 -2
  154. data/lib/datadog_api_client/v1/models/notebook_cell_response.rb +3 -3
  155. data/lib/datadog_api_client/v1/models/notebook_cell_update_request.rb +3 -3
  156. data/lib/datadog_api_client/v1/models/notebook_create_data.rb +2 -2
  157. data/lib/datadog_api_client/v1/models/notebook_create_data_attributes.rb +3 -3
  158. data/lib/datadog_api_client/v1/models/notebook_create_request.rb +1 -1
  159. data/lib/datadog_api_client/v1/models/notebook_distribution_cell_attributes.rb +1 -1
  160. data/lib/datadog_api_client/v1/models/notebook_heat_map_cell_attributes.rb +1 -1
  161. data/lib/datadog_api_client/v1/models/notebook_log_stream_cell_attributes.rb +1 -1
  162. data/lib/datadog_api_client/v1/models/notebook_markdown_cell_attributes.rb +1 -1
  163. data/lib/datadog_api_client/v1/models/notebook_markdown_cell_definition.rb +2 -2
  164. data/lib/datadog_api_client/v1/models/notebook_relative_time.rb +1 -1
  165. data/lib/datadog_api_client/v1/models/notebook_response_data.rb +3 -3
  166. data/lib/datadog_api_client/v1/models/notebook_response_data_attributes.rb +3 -3
  167. data/lib/datadog_api_client/v1/models/notebook_split_by.rb +2 -2
  168. data/lib/datadog_api_client/v1/models/notebook_timeseries_cell_attributes.rb +1 -1
  169. data/lib/datadog_api_client/v1/models/notebook_toplist_cell_attributes.rb +1 -1
  170. data/lib/datadog_api_client/v1/models/notebook_update_data.rb +2 -2
  171. data/lib/datadog_api_client/v1/models/notebook_update_data_attributes.rb +3 -3
  172. data/lib/datadog_api_client/v1/models/notebook_update_request.rb +1 -1
  173. data/lib/datadog_api_client/v1/models/notebooks_response_data.rb +3 -3
  174. data/lib/datadog_api_client/v1/models/notebooks_response_data_attributes.rb +1 -1
  175. data/lib/datadog_api_client/v1/models/organization.rb +1 -1
  176. data/lib/datadog_api_client/v1/models/organization_create_body.rb +1 -1
  177. data/lib/datadog_api_client/v1/models/pager_duty_service.rb +2 -2
  178. data/lib/datadog_api_client/v1/models/pager_duty_service_key.rb +1 -1
  179. data/lib/datadog_api_client/v1/models/pager_duty_service_name.rb +1 -1
  180. data/lib/datadog_api_client/v1/models/process_query_definition.rb +2 -2
  181. data/lib/datadog_api_client/v1/models/query_value_widget_definition.rb +2 -2
  182. data/lib/datadog_api_client/v1/models/reference_table_logs_lookup_processor.rb +198 -0
  183. data/lib/datadog_api_client/v1/models/scatter_plot_widget_definition.rb +2 -2
  184. data/lib/datadog_api_client/v1/models/scatterplot_widget_formula.rb +2 -2
  185. data/lib/datadog_api_client/v1/models/search_slo_threshold.rb +2 -2
  186. data/lib/datadog_api_client/v1/models/series.rb +2 -2
  187. data/lib/datadog_api_client/v1/models/service_check.rb +4 -4
  188. data/lib/datadog_api_client/v1/models/service_level_objective.rb +3 -3
  189. data/lib/datadog_api_client/v1/models/service_level_objective_query.rb +2 -2
  190. data/lib/datadog_api_client/v1/models/service_level_objective_request.rb +3 -3
  191. data/lib/datadog_api_client/v1/models/service_map_widget_definition.rb +3 -3
  192. data/lib/datadog_api_client/v1/models/service_summary_widget_definition.rb +4 -4
  193. data/lib/datadog_api_client/v1/models/signal_assignee_update_request.rb +1 -1
  194. data/lib/datadog_api_client/v1/models/signal_state_update_request.rb +1 -1
  195. data/lib/datadog_api_client/v1/models/slo_bulk_delete_error.rb +3 -3
  196. data/lib/datadog_api_client/v1/models/slo_correction_create_data.rb +1 -1
  197. data/lib/datadog_api_client/v1/models/slo_correction_create_request_attributes.rb +3 -3
  198. data/lib/datadog_api_client/v1/models/slo_history_metrics.rb +7 -7
  199. data/lib/datadog_api_client/v1/models/slo_history_metrics_series.rb +3 -3
  200. data/lib/datadog_api_client/v1/models/slo_history_response_error_with_type.rb +2 -2
  201. data/lib/datadog_api_client/v1/models/slo_list_widget_definition.rb +2 -2
  202. data/lib/datadog_api_client/v1/models/slo_list_widget_query.rb +2 -2
  203. data/lib/datadog_api_client/v1/models/slo_list_widget_request.rb +2 -2
  204. data/lib/datadog_api_client/v1/models/slo_threshold.rb +2 -2
  205. data/lib/datadog_api_client/v1/models/slo_widget_definition.rb +2 -2
  206. data/lib/datadog_api_client/v1/models/sunburst_widget_definition.rb +2 -2
  207. data/lib/datadog_api_client/v1/models/sunburst_widget_legend_inline_automatic.rb +1 -1
  208. data/lib/datadog_api_client/v1/models/sunburst_widget_legend_table.rb +1 -1
  209. data/lib/datadog_api_client/v1/models/synthetics_api_step.rb +4 -4
  210. data/lib/datadog_api_client/v1/models/synthetics_api_test.rb +6 -6
  211. data/lib/datadog_api_client/v1/models/synthetics_api_test_result_full_check.rb +1 -1
  212. data/lib/datadog_api_client/v1/models/synthetics_assertion_json_path_target.rb +2 -2
  213. data/lib/datadog_api_client/v1/models/synthetics_assertion_target.rb +3 -3
  214. data/lib/datadog_api_client/v1/models/synthetics_assertion_x_path_target.rb +2 -2
  215. data/lib/datadog_api_client/v1/models/synthetics_basic_auth.rb +3 -1
  216. data/lib/datadog_api_client/v1/models/synthetics_basic_auth_digest.rb +2 -2
  217. data/lib/datadog_api_client/v1/models/synthetics_basic_auth_ntlm.rb +1 -1
  218. data/lib/datadog_api_client/v1/models/synthetics_basic_auth_oauth_client.rb +212 -0
  219. data/lib/datadog_api_client/v1/models/{http_method.rb → synthetics_basic_auth_oauth_client_type.rb} +3 -9
  220. data/lib/datadog_api_client/v1/models/synthetics_basic_auth_oauth_rop.rb +232 -0
  221. data/lib/datadog_api_client/v1/models/synthetics_basic_auth_oauth_rop_type.rb +26 -0
  222. data/lib/datadog_api_client/v1/models/synthetics_basic_auth_oauth_token_api_authentication.rb +27 -0
  223. data/lib/datadog_api_client/v1/models/synthetics_basic_auth_sigv4.rb +3 -3
  224. data/lib/datadog_api_client/v1/models/synthetics_basic_auth_web.rb +2 -2
  225. data/lib/datadog_api_client/v1/models/synthetics_browser_error.rb +3 -3
  226. data/lib/datadog_api_client/v1/models/synthetics_browser_test.rb +6 -6
  227. data/lib/datadog_api_client/v1/models/synthetics_browser_test_config.rb +2 -2
  228. data/lib/datadog_api_client/v1/models/synthetics_browser_test_result_full_check.rb +1 -1
  229. data/lib/datadog_api_client/v1/models/synthetics_browser_test_rum_settings.rb +1 -1
  230. data/lib/datadog_api_client/v1/models/synthetics_browser_variable.rb +2 -2
  231. data/lib/datadog_api_client/v1/models/synthetics_ci_test.rb +1 -1
  232. data/lib/datadog_api_client/v1/models/synthetics_config_variable.rb +2 -2
  233. data/lib/datadog_api_client/v1/models/synthetics_device.rb +4 -4
  234. data/lib/datadog_api_client/v1/models/synthetics_global_variable.rb +4 -4
  235. data/lib/datadog_api_client/v1/models/synthetics_global_variable_parse_test_options.rb +1 -1
  236. data/lib/datadog_api_client/v1/models/synthetics_private_location.rb +3 -3
  237. data/lib/datadog_api_client/v1/models/synthetics_step_detail_warning.rb +2 -2
  238. data/lib/datadog_api_client/v1/models/synthetics_test_call_type.rb +27 -0
  239. data/lib/datadog_api_client/v1/models/synthetics_test_options.rb +2 -2
  240. data/lib/datadog_api_client/v1/models/synthetics_test_options_monitor_options.rb +1 -1
  241. data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +16 -6
  242. data/lib/datadog_api_client/v1/models/synthetics_test_request_proxy.rb +1 -1
  243. data/lib/datadog_api_client/v1/models/synthetics_trigger_body.rb +1 -1
  244. data/lib/datadog_api_client/v1/models/synthetics_trigger_test.rb +1 -1
  245. data/lib/datadog_api_client/v1/models/synthetics_variable_parser.rb +1 -1
  246. data/lib/datadog_api_client/v1/models/table_widget_definition.rb +2 -2
  247. data/lib/datadog_api_client/v1/models/timeseries_background.rb +1 -1
  248. data/lib/datadog_api_client/v1/models/timeseries_widget_definition.rb +2 -2
  249. data/lib/datadog_api_client/v1/models/timeseries_widget_expression_alias.rb +1 -1
  250. data/lib/datadog_api_client/v1/models/toplist_widget_definition.rb +2 -2
  251. data/lib/datadog_api_client/v1/models/toplist_widget_request.rb +1 -1
  252. data/lib/datadog_api_client/v1/models/topology_map_widget_definition.rb +2 -2
  253. data/lib/datadog_api_client/v1/models/topology_query.rb +1 -1
  254. data/lib/datadog_api_client/v1/models/tree_map_widget_definition.rb +2 -2
  255. data/lib/datadog_api_client/v1/models/usage_billable_summary_keys.rb +91 -1
  256. data/lib/datadog_api_client/v1/models/usage_cloud_security_posture_management_hour.rb +12 -1
  257. data/lib/datadog_api_client/v1/models/usage_host_hour.rb +11 -1
  258. data/lib/datadog_api_client/v1/models/usage_summary_date.rb +31 -1
  259. data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +31 -1
  260. data/lib/datadog_api_client/v1/models/usage_summary_response.rb +31 -1
  261. data/lib/datadog_api_client/v1/models/webhooks_integration.rb +2 -2
  262. data/lib/datadog_api_client/v1/models/webhooks_integration_custom_variable.rb +3 -3
  263. data/lib/datadog_api_client/v1/models/webhooks_integration_custom_variable_response.rb +2 -2
  264. data/lib/datadog_api_client/v1/models/widget.rb +1 -1
  265. data/lib/datadog_api_client/v1/models/widget_conditional_format.rb +3 -3
  266. data/lib/datadog_api_client/v1/models/widget_event.rb +1 -1
  267. data/lib/datadog_api_client/v1/models/widget_field_sort.rb +2 -2
  268. data/lib/datadog_api_client/v1/models/widget_formula.rb +15 -5
  269. data/lib/datadog_api_client/v1/models/widget_formula_style.rb +108 -0
  270. data/lib/datadog_api_client/v1/models/widget_layout.rb +4 -4
  271. data/lib/datadog_api_client/v1/models/widget_marker.rb +1 -1
  272. data/lib/datadog_api_client/v2/api/authn_mappings_api.rb +1 -1
  273. data/lib/datadog_api_client/v2/api/incident_services_api.rb +1 -1
  274. data/lib/datadog_api_client/v2/api/incident_teams_api.rb +1 -1
  275. data/lib/datadog_api_client/v2/api/incidents_api.rb +1 -1
  276. data/lib/datadog_api_client/v2/api/key_management_api.rb +3 -3
  277. data/lib/datadog_api_client/v2/api/roles_api.rb +2 -2
  278. data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +1 -1
  279. data/lib/datadog_api_client/v2/api/sensitive_data_scanner_api.rb +649 -0
  280. data/lib/datadog_api_client/v2/api/service_accounts_api.rb +1 -1
  281. data/lib/datadog_api_client/v2/api/usage_metering_api.rb +1 -1
  282. data/lib/datadog_api_client/v2/api/users_api.rb +1 -1
  283. data/lib/datadog_api_client/v2/models/api_error_response.rb +1 -1
  284. data/lib/datadog_api_client/v2/models/api_key_create_attributes.rb +1 -1
  285. data/lib/datadog_api_client/v2/models/api_key_create_data.rb +2 -2
  286. data/lib/datadog_api_client/v2/models/api_key_create_request.rb +1 -1
  287. data/lib/datadog_api_client/v2/models/api_key_update_attributes.rb +1 -1
  288. data/lib/datadog_api_client/v2/models/api_key_update_data.rb +3 -3
  289. data/lib/datadog_api_client/v2/models/api_key_update_request.rb +1 -1
  290. data/lib/datadog_api_client/v2/models/application_key_create_attributes.rb +1 -1
  291. data/lib/datadog_api_client/v2/models/application_key_create_data.rb +2 -2
  292. data/lib/datadog_api_client/v2/models/application_key_create_request.rb +1 -1
  293. data/lib/datadog_api_client/v2/models/application_key_update_data.rb +3 -3
  294. data/lib/datadog_api_client/v2/models/application_key_update_request.rb +1 -1
  295. data/lib/datadog_api_client/v2/models/audit_logs_query_options.rb +1 -1
  296. data/lib/datadog_api_client/v2/models/audit_logs_query_page_options.rb +1 -1
  297. data/lib/datadog_api_client/v2/models/authn_mapping.rb +2 -2
  298. data/lib/datadog_api_client/v2/models/authn_mapping_create_data.rb +1 -1
  299. data/lib/datadog_api_client/v2/models/authn_mapping_create_request.rb +1 -1
  300. data/lib/datadog_api_client/v2/models/authn_mapping_update_data.rb +2 -2
  301. data/lib/datadog_api_client/v2/models/authn_mapping_update_request.rb +1 -1
  302. data/lib/datadog_api_client/v2/models/ci_app_aggregation_function.rb +4 -0
  303. data/lib/datadog_api_client/v2/models/ci_app_compute.rb +1 -1
  304. data/lib/datadog_api_client/v2/models/ci_app_group_by_histogram.rb +3 -3
  305. data/lib/datadog_api_client/v2/models/ci_app_pipelines_group_by.rb +1 -1
  306. data/lib/datadog_api_client/v2/models/ci_app_query_options.rb +1 -1
  307. data/lib/datadog_api_client/v2/models/ci_app_query_page_options.rb +1 -1
  308. data/lib/datadog_api_client/v2/models/ci_app_tests_group_by.rb +1 -1
  309. data/lib/datadog_api_client/v2/models/cloud_configuration_compliance_rule_options.rb +143 -0
  310. data/lib/datadog_api_client/v2/models/cloud_configuration_rego_rule.rb +132 -0
  311. data/lib/datadog_api_client/v2/models/cloud_configuration_rule_case_create.rb +121 -0
  312. data/lib/datadog_api_client/v2/models/cloud_configuration_rule_compliance_signal_options.rb +110 -0
  313. data/lib/datadog_api_client/v2/models/cloud_configuration_rule_create_payload.rb +239 -0
  314. data/lib/datadog_api_client/v2/models/cloud_configuration_rule_options.rb +109 -0
  315. data/lib/datadog_api_client/v2/models/cloud_configuration_rule_type.rb +26 -0
  316. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_create_attributes.rb +2 -2
  317. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_create_data.rb +2 -2
  318. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_create_request.rb +1 -1
  319. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_update_data.rb +2 -2
  320. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_update_request.rb +1 -1
  321. data/lib/datadog_api_client/v2/models/confluent_account_create_request.rb +1 -1
  322. data/lib/datadog_api_client/v2/models/confluent_account_create_request_attributes.rb +2 -2
  323. data/lib/datadog_api_client/v2/models/confluent_account_create_request_data.rb +2 -2
  324. data/lib/datadog_api_client/v2/models/confluent_account_response_attributes.rb +1 -1
  325. data/lib/datadog_api_client/v2/models/confluent_account_response_data.rb +3 -3
  326. data/lib/datadog_api_client/v2/models/confluent_account_update_request.rb +1 -1
  327. data/lib/datadog_api_client/v2/models/confluent_account_update_request_attributes.rb +2 -2
  328. data/lib/datadog_api_client/v2/models/confluent_account_update_request_data.rb +2 -2
  329. data/lib/datadog_api_client/v2/models/confluent_resource_request.rb +1 -1
  330. data/lib/datadog_api_client/v2/models/confluent_resource_request_data.rb +3 -3
  331. data/lib/datadog_api_client/v2/models/confluent_resource_response_attributes.rb +1 -1
  332. data/lib/datadog_api_client/v2/models/confluent_resource_response_data.rb +3 -3
  333. data/lib/datadog_api_client/v2/models/dashboard_list_item.rb +3 -3
  334. data/lib/datadog_api_client/v2/models/dashboard_list_item_request.rb +2 -2
  335. data/lib/datadog_api_client/v2/models/dashboard_list_item_response.rb +2 -2
  336. data/lib/datadog_api_client/v2/models/dashboard_list_items.rb +1 -1
  337. data/lib/datadog_api_client/v2/models/events_query_options.rb +1 -1
  338. data/lib/datadog_api_client/v2/models/events_request_page.rb +1 -1
  339. data/lib/datadog_api_client/v2/models/full_api_key_attributes.rb +1 -1
  340. data/lib/datadog_api_client/v2/models/full_application_key_attributes.rb +1 -1
  341. data/lib/datadog_api_client/v2/models/http_log_item.rb +1 -1
  342. data/lib/datadog_api_client/v2/models/incident_attachment_data.rb +4 -4
  343. data/lib/datadog_api_client/v2/models/incident_attachment_link_attributes.rb +2 -2
  344. data/lib/datadog_api_client/v2/models/incident_attachment_link_attributes_attachment_object.rb +2 -2
  345. data/lib/datadog_api_client/v2/models/incident_attachment_postmortem_attributes.rb +2 -2
  346. data/lib/datadog_api_client/v2/models/incident_attachment_update_data.rb +1 -1
  347. data/lib/datadog_api_client/v2/models/incident_attachment_update_request.rb +1 -1
  348. data/lib/datadog_api_client/v2/models/incident_attachment_update_response.rb +1 -1
  349. data/lib/datadog_api_client/v2/models/incident_attachments_postmortem_attributes_attachment_object.rb +2 -2
  350. data/lib/datadog_api_client/v2/models/incident_attachments_response.rb +1 -1
  351. data/lib/datadog_api_client/v2/models/incident_create_attributes.rb +2 -2
  352. data/lib/datadog_api_client/v2/models/incident_create_data.rb +2 -2
  353. data/lib/datadog_api_client/v2/models/incident_create_relationships.rb +1 -1
  354. data/lib/datadog_api_client/v2/models/incident_create_request.rb +1 -1
  355. data/lib/datadog_api_client/v2/models/incident_response.rb +1 -1
  356. data/lib/datadog_api_client/v2/models/incident_response_attributes.rb +1 -1
  357. data/lib/datadog_api_client/v2/models/incident_response_data.rb +2 -2
  358. data/lib/datadog_api_client/v2/models/incident_service_create_attributes.rb +1 -1
  359. data/lib/datadog_api_client/v2/models/incident_service_create_data.rb +1 -1
  360. data/lib/datadog_api_client/v2/models/incident_service_create_request.rb +1 -1
  361. data/lib/datadog_api_client/v2/models/incident_service_response.rb +1 -1
  362. data/lib/datadog_api_client/v2/models/incident_service_response_data.rb +2 -2
  363. data/lib/datadog_api_client/v2/models/incident_service_update_attributes.rb +1 -1
  364. data/lib/datadog_api_client/v2/models/incident_service_update_data.rb +1 -1
  365. data/lib/datadog_api_client/v2/models/incident_service_update_request.rb +1 -1
  366. data/lib/datadog_api_client/v2/models/incident_services_response.rb +1 -1
  367. data/lib/datadog_api_client/v2/models/incident_team_create_attributes.rb +1 -1
  368. data/lib/datadog_api_client/v2/models/incident_team_create_data.rb +1 -1
  369. data/lib/datadog_api_client/v2/models/incident_team_create_request.rb +1 -1
  370. data/lib/datadog_api_client/v2/models/incident_team_response.rb +1 -1
  371. data/lib/datadog_api_client/v2/models/incident_team_update_attributes.rb +1 -1
  372. data/lib/datadog_api_client/v2/models/incident_team_update_data.rb +1 -1
  373. data/lib/datadog_api_client/v2/models/incident_team_update_request.rb +1 -1
  374. data/lib/datadog_api_client/v2/models/incident_teams_response.rb +1 -1
  375. data/lib/datadog_api_client/v2/models/incident_timeline_cell_markdown_create_attributes.rb +2 -2
  376. data/lib/datadog_api_client/v2/models/incident_update_data.rb +2 -2
  377. data/lib/datadog_api_client/v2/models/incident_update_request.rb +1 -1
  378. data/lib/datadog_api_client/v2/models/incidents_response.rb +1 -1
  379. data/lib/datadog_api_client/v2/models/logs_archive_attributes.rb +2 -2
  380. data/lib/datadog_api_client/v2/models/logs_archive_create_request_attributes.rb +3 -3
  381. data/lib/datadog_api_client/v2/models/logs_archive_create_request_definition.rb +1 -1
  382. data/lib/datadog_api_client/v2/models/logs_archive_definition.rb +1 -1
  383. data/lib/datadog_api_client/v2/models/logs_archive_destination_azure.rb +4 -4
  384. data/lib/datadog_api_client/v2/models/logs_archive_destination_gcs.rb +3 -3
  385. data/lib/datadog_api_client/v2/models/logs_archive_destination_s3.rb +3 -3
  386. data/lib/datadog_api_client/v2/models/logs_archive_integration_azure.rb +2 -2
  387. data/lib/datadog_api_client/v2/models/logs_archive_integration_gcs.rb +2 -2
  388. data/lib/datadog_api_client/v2/models/logs_archive_integration_s3.rb +2 -2
  389. data/lib/datadog_api_client/v2/models/logs_archive_order_attributes.rb +1 -1
  390. data/lib/datadog_api_client/v2/models/logs_archive_order_definition.rb +2 -2
  391. data/lib/datadog_api_client/v2/models/logs_compute.rb +1 -1
  392. data/lib/datadog_api_client/v2/models/logs_group_by.rb +1 -1
  393. data/lib/datadog_api_client/v2/models/logs_group_by_histogram.rb +3 -3
  394. data/lib/datadog_api_client/v2/models/logs_list_request_page.rb +1 -1
  395. data/lib/datadog_api_client/v2/models/logs_metric_compute.rb +13 -2
  396. data/lib/datadog_api_client/v2/models/logs_metric_create_attributes.rb +1 -1
  397. data/lib/datadog_api_client/v2/models/logs_metric_create_data.rb +3 -3
  398. data/lib/datadog_api_client/v2/models/logs_metric_create_request.rb +1 -1
  399. data/lib/datadog_api_client/v2/models/logs_metric_group_by.rb +1 -1
  400. data/lib/datadog_api_client/v2/models/logs_metric_response_compute.rb +12 -1
  401. data/lib/datadog_api_client/v2/models/logs_metric_update_attributes.rb +11 -1
  402. data/lib/datadog_api_client/v2/models/logs_metric_update_compute.rb +99 -0
  403. data/lib/datadog_api_client/v2/models/logs_metric_update_data.rb +2 -2
  404. data/lib/datadog_api_client/v2/models/logs_metric_update_request.rb +1 -1
  405. data/lib/datadog_api_client/v2/models/logs_query_options.rb +1 -1
  406. data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_create.rb +2 -2
  407. data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_create_request.rb +1 -1
  408. data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_delete.rb +2 -2
  409. data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_delete_request.rb +1 -1
  410. data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_status.rb +2 -2
  411. data/lib/datadog_api_client/v2/models/metric_custom_aggregation.rb +2 -2
  412. data/lib/datadog_api_client/v2/models/metric_origin.rb +3 -3
  413. data/lib/datadog_api_client/v2/models/metric_payload.rb +1 -1
  414. data/lib/datadog_api_client/v2/models/metric_series.rb +2 -2
  415. data/lib/datadog_api_client/v2/models/metric_tag_configuration_attributes.rb +1 -1
  416. data/lib/datadog_api_client/v2/models/metric_tag_configuration_create_attributes.rb +2 -2
  417. data/lib/datadog_api_client/v2/models/metric_tag_configuration_create_data.rb +2 -2
  418. data/lib/datadog_api_client/v2/models/metric_tag_configuration_create_request.rb +1 -1
  419. data/lib/datadog_api_client/v2/models/metric_tag_configuration_update_data.rb +2 -2
  420. data/lib/datadog_api_client/v2/models/metric_tag_configuration_update_request.rb +1 -1
  421. data/lib/datadog_api_client/v2/models/monitor_type.rb +1 -1
  422. data/lib/datadog_api_client/v2/models/nullable_relationship_to_user_data.rb +2 -2
  423. data/lib/datadog_api_client/v2/models/opsgenie_service_create_attributes.rb +3 -3
  424. data/lib/datadog_api_client/v2/models/opsgenie_service_create_data.rb +2 -2
  425. data/lib/datadog_api_client/v2/models/opsgenie_service_create_request.rb +1 -1
  426. data/lib/datadog_api_client/v2/models/opsgenie_service_response.rb +1 -1
  427. data/lib/datadog_api_client/v2/models/opsgenie_service_response_data.rb +3 -3
  428. data/lib/datadog_api_client/v2/models/opsgenie_service_update_data.rb +3 -3
  429. data/lib/datadog_api_client/v2/models/opsgenie_service_update_request.rb +1 -1
  430. data/lib/datadog_api_client/v2/models/opsgenie_services_response.rb +1 -1
  431. data/lib/datadog_api_client/v2/models/organization.rb +1 -1
  432. data/lib/datadog_api_client/v2/models/partial_api_key_attributes.rb +1 -1
  433. data/lib/datadog_api_client/v2/models/partial_application_key_attributes.rb +1 -1
  434. data/lib/datadog_api_client/v2/models/permission.rb +1 -1
  435. data/lib/datadog_api_client/v2/models/process_summaries_meta_page.rb +1 -1
  436. data/lib/datadog_api_client/v2/models/relationship_to_incident_attachment.rb +1 -1
  437. data/lib/datadog_api_client/v2/models/relationship_to_incident_attachment_data.rb +2 -2
  438. data/lib/datadog_api_client/v2/models/relationship_to_incident_integration_metadata_data.rb +2 -2
  439. data/lib/datadog_api_client/v2/models/relationship_to_incident_integration_metadatas.rb +1 -1
  440. data/lib/datadog_api_client/v2/models/relationship_to_incident_postmortem.rb +1 -1
  441. data/lib/datadog_api_client/v2/models/relationship_to_incident_postmortem_data.rb +2 -2
  442. data/lib/datadog_api_client/v2/models/relationship_to_organization.rb +1 -1
  443. data/lib/datadog_api_client/v2/models/relationship_to_organization_data.rb +2 -2
  444. data/lib/datadog_api_client/v2/models/relationship_to_organizations.rb +1 -1
  445. data/lib/datadog_api_client/v2/models/relationship_to_saml_assertion_attribute.rb +1 -1
  446. data/lib/datadog_api_client/v2/models/relationship_to_saml_assertion_attribute_data.rb +2 -2
  447. data/lib/datadog_api_client/v2/models/relationship_to_user.rb +1 -1
  448. data/lib/datadog_api_client/v2/models/relationship_to_user_data.rb +2 -2
  449. data/lib/datadog_api_client/v2/models/relationship_to_users.rb +1 -1
  450. data/lib/datadog_api_client/v2/models/role.rb +1 -1
  451. data/lib/datadog_api_client/v2/models/role_clone.rb +2 -2
  452. data/lib/datadog_api_client/v2/models/role_clone_attributes.rb +1 -1
  453. data/lib/datadog_api_client/v2/models/role_clone_request.rb +1 -1
  454. data/lib/datadog_api_client/v2/models/role_create_attributes.rb +1 -1
  455. data/lib/datadog_api_client/v2/models/role_create_data.rb +1 -1
  456. data/lib/datadog_api_client/v2/models/role_create_request.rb +1 -1
  457. data/lib/datadog_api_client/v2/models/role_create_response_data.rb +1 -1
  458. data/lib/datadog_api_client/v2/models/role_update_data.rb +3 -3
  459. data/lib/datadog_api_client/v2/models/role_update_request.rb +1 -1
  460. data/lib/datadog_api_client/v2/models/role_update_response_data.rb +1 -1
  461. data/lib/datadog_api_client/v2/models/rum_application.rb +3 -3
  462. data/lib/datadog_api_client/v2/models/rum_application_attributes.rb +41 -10
  463. data/lib/datadog_api_client/v2/models/rum_application_create.rb +2 -2
  464. data/lib/datadog_api_client/v2/models/rum_application_create_attributes.rb +1 -1
  465. data/lib/datadog_api_client/v2/models/rum_application_create_request.rb +1 -1
  466. data/lib/datadog_api_client/v2/models/rum_application_list.rb +130 -0
  467. data/lib/datadog_api_client/v2/models/rum_application_list_attributes.rb +280 -0
  468. data/lib/datadog_api_client/v2/models/rum_application_list_type.rb +26 -0
  469. data/lib/datadog_api_client/v2/models/rum_application_update.rb +2 -2
  470. data/lib/datadog_api_client/v2/models/rum_application_update_request.rb +1 -1
  471. data/lib/datadog_api_client/v2/models/rum_applications_response.rb +1 -1
  472. data/lib/datadog_api_client/v2/models/rum_compute.rb +1 -1
  473. data/lib/datadog_api_client/v2/models/rum_group_by.rb +1 -1
  474. data/lib/datadog_api_client/v2/models/rum_group_by_histogram.rb +3 -3
  475. data/lib/datadog_api_client/v2/models/rum_query_options.rb +1 -1
  476. data/lib/datadog_api_client/v2/models/rum_query_page_options.rb +1 -1
  477. data/lib/datadog_api_client/v2/models/saml_assertion_attribute.rb +2 -2
  478. data/lib/datadog_api_client/v2/models/security_filter_attributes.rb +1 -1
  479. data/lib/datadog_api_client/v2/models/security_filter_create_attributes.rb +5 -5
  480. data/lib/datadog_api_client/v2/models/security_filter_create_data.rb +2 -2
  481. data/lib/datadog_api_client/v2/models/security_filter_create_request.rb +1 -1
  482. data/lib/datadog_api_client/v2/models/security_filter_exclusion_filter.rb +2 -2
  483. data/lib/datadog_api_client/v2/models/security_filter_update_attributes.rb +1 -1
  484. data/lib/datadog_api_client/v2/models/security_filter_update_data.rb +2 -2
  485. data/lib/datadog_api_client/v2/models/security_filter_update_request.rb +1 -1
  486. data/lib/datadog_api_client/v2/models/security_monitoring_rule_case_create.rb +1 -1
  487. data/lib/datadog_api_client/v2/models/security_monitoring_rule_create_payload.rb +2 -1
  488. data/lib/datadog_api_client/v2/models/security_monitoring_rule_options.rb +11 -1
  489. data/lib/datadog_api_client/v2/models/security_monitoring_rule_update_payload.rb +12 -2
  490. data/lib/datadog_api_client/v2/models/security_monitoring_signal_assignee_update_attributes.rb +1 -1
  491. data/lib/datadog_api_client/v2/models/security_monitoring_signal_assignee_update_data.rb +1 -1
  492. data/lib/datadog_api_client/v2/models/security_monitoring_signal_assignee_update_request.rb +1 -1
  493. data/lib/datadog_api_client/v2/models/security_monitoring_signal_incidents_update_attributes.rb +1 -1
  494. data/lib/datadog_api_client/v2/models/security_monitoring_signal_incidents_update_data.rb +1 -1
  495. data/lib/datadog_api_client/v2/models/security_monitoring_signal_incidents_update_request.rb +1 -1
  496. data/lib/datadog_api_client/v2/models/security_monitoring_signal_list_request_page.rb +1 -1
  497. data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_create_payload.rb +6 -6
  498. data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_query.rb +2 -2
  499. data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_response_query.rb +1 -1
  500. data/lib/datadog_api_client/v2/models/security_monitoring_signal_state_update_attributes.rb +1 -1
  501. data/lib/datadog_api_client/v2/models/security_monitoring_signal_state_update_data.rb +1 -1
  502. data/lib/datadog_api_client/v2/models/security_monitoring_signal_state_update_request.rb +1 -1
  503. data/lib/datadog_api_client/v2/models/security_monitoring_signal_triage_attributes.rb +5 -5
  504. data/lib/datadog_api_client/v2/models/security_monitoring_signal_triage_update_response.rb +1 -1
  505. data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_create_payload.rb +6 -6
  506. data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_query.rb +1 -1
  507. data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_response.rb +11 -1
  508. data/lib/datadog_api_client/v2/models/security_monitoring_triage_user.rb +1 -1
  509. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_config_request.rb +130 -0
  510. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_configuration.rb +108 -0
  511. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_configuration_data.rb +98 -0
  512. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_configuration_relationships.rb +98 -0
  513. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_configuration_type.rb +26 -0
  514. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_create_group_response.rb +108 -0
  515. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_create_rule_response.rb +108 -0
  516. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_filter.rb +98 -0
  517. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_get_config_included_item.rb +63 -0
  518. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_get_config_response.rb +120 -0
  519. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_get_config_response_data.rb +118 -0
  520. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group.rb +108 -0
  521. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_attributes.rb +140 -0
  522. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_create.rb +140 -0
  523. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_create_request.rb +108 -0
  524. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_data.rb +98 -0
  525. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_delete_request.rb +109 -0
  526. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_delete_response.rb +98 -0
  527. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_included_item.rb +128 -0
  528. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_item.rb +108 -0
  529. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_list.rb +100 -0
  530. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_relationships.rb +108 -0
  531. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_response.rb +128 -0
  532. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_type.rb +26 -0
  533. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_update.rb +128 -0
  534. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_update_request.rb +130 -0
  535. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_update_response.rb +98 -0
  536. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_meta.rb +149 -0
  537. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_meta_version_only.rb +109 -0
  538. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_product.rb +29 -0
  539. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_reorder_config.rb +118 -0
  540. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_reorder_groups_response.rb +98 -0
  541. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule.rb +108 -0
  542. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_attributes.rb +162 -0
  543. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_create.rb +151 -0
  544. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_create_request.rb +130 -0
  545. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_data.rb +100 -0
  546. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_delete_request.rb +109 -0
  547. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_delete_response.rb +98 -0
  548. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_included_item.rb +128 -0
  549. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_relationships.rb +108 -0
  550. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_response.rb +128 -0
  551. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_type.rb +26 -0
  552. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_update.rb +128 -0
  553. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_update_request.rb +130 -0
  554. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_update_response.rb +98 -0
  555. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_standard_pattern.rb +108 -0
  556. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_standard_pattern_attributes.rb +120 -0
  557. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_standard_pattern_data.rb +98 -0
  558. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_standard_pattern_type.rb +26 -0
  559. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_standard_patterns_response_data.rb +100 -0
  560. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_standard_patterns_response_item.rb +118 -0
  561. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_text_replacement.rb +135 -0
  562. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_text_replacement_type.rb +35 -0
  563. data/lib/datadog_api_client/v2/models/service_account_create_attributes.rb +2 -2
  564. data/lib/datadog_api_client/v2/models/service_account_create_data.rb +2 -2
  565. data/lib/datadog_api_client/v2/models/service_account_create_request.rb +1 -1
  566. data/lib/datadog_api_client/v2/models/service_definition_v1.rb +2 -2
  567. data/lib/datadog_api_client/v2/models/service_definition_v1_info.rb +1 -1
  568. data/lib/datadog_api_client/v2/models/service_definition_v1_resource.rb +3 -3
  569. data/lib/datadog_api_client/v2/models/service_definition_v2.rb +2 -2
  570. data/lib/datadog_api_client/v2/models/service_definition_v2_doc.rb +2 -2
  571. data/lib/datadog_api_client/v2/models/service_definition_v2_email.rb +2 -2
  572. data/lib/datadog_api_client/v2/models/service_definition_v2_link.rb +3 -3
  573. data/lib/datadog_api_client/v2/models/service_definition_v2_opsgenie.rb +1 -1
  574. data/lib/datadog_api_client/v2/models/service_definition_v2_repo.rb +2 -2
  575. data/lib/datadog_api_client/v2/models/service_definition_v2_slack.rb +2 -2
  576. data/lib/datadog_api_client/v2/models/user_create_attributes.rb +1 -1
  577. data/lib/datadog_api_client/v2/models/user_create_data.rb +2 -2
  578. data/lib/datadog_api_client/v2/models/user_create_request.rb +1 -1
  579. data/lib/datadog_api_client/v2/models/user_invitation_data.rb +2 -2
  580. data/lib/datadog_api_client/v2/models/user_invitation_relationships.rb +1 -1
  581. data/lib/datadog_api_client/v2/models/user_invitations_request.rb +1 -1
  582. data/lib/datadog_api_client/v2/models/user_update_data.rb +3 -3
  583. data/lib/datadog_api_client/v2/models/user_update_request.rb +1 -1
  584. data/lib/datadog_api_client/version.rb +1 -1
  585. data/spec/fixtures/synthetics_unknown_nested_enum.json +3 -3
  586. data/spec/v1/deserialization_spec.rb +4 -5
  587. metadata +91 -4
  588. data/lib/datadog_api_client/api_key_configuration.rb +0 -16
@@ -286,7 +286,7 @@ components:
286
286
  format: int64
287
287
  type: integer
288
288
  PageSize:
289
- description: Size for a given page.
289
+ description: Size for a given page. The maximum allowed value is 5000.
290
290
  in: query
291
291
  name: page[size]
292
292
  required: false
@@ -316,6 +316,20 @@ components:
316
316
  required: true
317
317
  schema:
318
318
  type: string
319
+ SensitiveDataScannerGroupID:
320
+ description: The ID of a group of rules.
321
+ in: path
322
+ name: group_id
323
+ required: true
324
+ schema:
325
+ type: string
326
+ SensitiveDataScannerRuleID:
327
+ description: The ID of the rule.
328
+ in: path
329
+ name: rule_id
330
+ required: true
331
+ schema:
332
+ type: string
319
333
  ServiceAccountID:
320
334
  description: The ID of the service account.
321
335
  in: path
@@ -783,8 +797,8 @@ components:
783
797
  type: integer
784
798
  timezone:
785
799
  default: UTC
786
- description: 'Timezone code. Can be specified as an offset, for example:
787
- "UTC+03:00".'
800
+ description: The timezone can be specified as GMT, UTC, an offset from UTC
801
+ (like UTC+1), or as a Timezone Database identifier (like America/New_York).
788
802
  example: GMT
789
803
  type: string
790
804
  type: object
@@ -1182,6 +1196,10 @@ components:
1182
1196
  - max
1183
1197
  - avg
1184
1198
  - median
1199
+ - latest
1200
+ - earliest
1201
+ - most_frequent
1202
+ - delta
1185
1203
  example: pc90
1186
1204
  type: string
1187
1205
  x-enum-varnames:
@@ -1197,6 +1215,10 @@ components:
1197
1215
  - MAX
1198
1216
  - AVG
1199
1217
  - MEDIAN
1218
+ - LATEST
1219
+ - EARLIEST
1220
+ - MOST_FREQUENT
1221
+ - DELTA
1200
1222
  CIAppCompute:
1201
1223
  description: A compute rule to compute metrics or timeseries.
1202
1224
  properties:
@@ -1476,8 +1498,8 @@ components:
1476
1498
  type: integer
1477
1499
  timezone:
1478
1500
  default: UTC
1479
- description: 'The timezone can be specified both as an offset, for example:
1480
- "UTC+03:00".'
1501
+ description: The timezone can be specified as GMT, UTC, an offset from UTC
1502
+ (like UTC+1), or as a Timezone Database identifier (like America/New_York).
1481
1503
  example: GMT
1482
1504
  type: string
1483
1505
  type: object
@@ -1753,6 +1775,156 @@ components:
1753
1775
  example: infra_host
1754
1776
  type: string
1755
1777
  type: object
1778
+ CloudConfigurationComplianceRuleOptions:
1779
+ description: Options for cloud_configuration rules.
1780
+ properties:
1781
+ complexRule:
1782
+ description: 'Whether the rule is a complex one.
1783
+
1784
+ Must be set to true if `regoRule.resourceTypes` contains more than one
1785
+ item. Defaults to false.
1786
+
1787
+ '
1788
+ type: boolean
1789
+ regoRule:
1790
+ $ref: '#/components/schemas/CloudConfigurationRegoRule'
1791
+ resourceType:
1792
+ description: 'Main resource type to be checked by the rule. It should be
1793
+ specified again in `regoRule.resourceTypes`.
1794
+
1795
+ '
1796
+ example: aws_acm
1797
+ type: string
1798
+ required:
1799
+ - resourceType
1800
+ - regoRule
1801
+ type: object
1802
+ CloudConfigurationRegoRule:
1803
+ description: Rule details.
1804
+ properties:
1805
+ policy:
1806
+ description: 'The policy written in `rego`, see: https://www.openpolicyagent.org/docs/latest/policy-language/'
1807
+ example: "package datadog\n\nimport data.datadog.output as dd_output\nimport
1808
+ future.keywords.contains\nimport future.keywords.if\nimport future.keywords.in\n\neval(resource)
1809
+ = \"skip\" if {\n # Logic that evaluates to true if the resource should
1810
+ be skipped\n true\n} else = \"pass\" {\n # Logic that evaluates to true
1811
+ if the resource is compliant\n true\n} else = \"fail\" {\n # Logic that
1812
+ evaluates to true if the resource is not compliant\n true\n}\n\n# This
1813
+ part remains unchanged for all rules\nresults contains result if {\n some
1814
+ resource in input.resources[input.main_resource_type]\n result := dd_output.format(resource,
1815
+ eval(resource))\n}\n"
1816
+ type: string
1817
+ resourceTypes:
1818
+ description: List of resource types that will be evaluated upon. Must have
1819
+ at least one element.
1820
+ example:
1821
+ - gcp_iam_service_account
1822
+ - gcp_iam_policy
1823
+ items:
1824
+ type: string
1825
+ type: array
1826
+ required:
1827
+ - policy
1828
+ - resourceTypes
1829
+ type: object
1830
+ CloudConfigurationRuleCaseCreate:
1831
+ description: Description of signals.
1832
+ properties:
1833
+ notifications:
1834
+ description: Notification targets for each rule case.
1835
+ items:
1836
+ description: Notification.
1837
+ type: string
1838
+ type: array
1839
+ status:
1840
+ $ref: '#/components/schemas/SecurityMonitoringRuleSeverity'
1841
+ required:
1842
+ - status
1843
+ type: object
1844
+ CloudConfigurationRuleComplianceSignalOptions:
1845
+ description: How to generate compliance signals. Useful for cloud_configuration
1846
+ rules only.
1847
+ properties:
1848
+ userActivationStatus:
1849
+ description: Whether signals will be sent.
1850
+ type: boolean
1851
+ userGroupByFields:
1852
+ description: Fields to use to group findings by when sending signals.
1853
+ items:
1854
+ type: string
1855
+ type: array
1856
+ type: object
1857
+ CloudConfigurationRuleCreatePayload:
1858
+ description: Create a new cloud configuration rule.
1859
+ properties:
1860
+ cases:
1861
+ description: 'Description of generated findings and signals (severity and
1862
+ channels to be notified in case of a signal). Must contain exactly one
1863
+ item.
1864
+
1865
+ '
1866
+ items:
1867
+ $ref: '#/components/schemas/CloudConfigurationRuleCaseCreate'
1868
+ type: array
1869
+ complianceSignalOptions:
1870
+ $ref: '#/components/schemas/CloudConfigurationRuleComplianceSignalOptions'
1871
+ isEnabled:
1872
+ description: Whether the rule is enabled.
1873
+ example: true
1874
+ type: boolean
1875
+ message:
1876
+ description: Message in markdown format for generated findings and signals.
1877
+ example: '#Description
1878
+
1879
+ Explanation of the rule.
1880
+
1881
+
1882
+ #Remediation
1883
+
1884
+ How to fix the security issue.
1885
+
1886
+ '
1887
+ type: string
1888
+ name:
1889
+ description: The name of the rule.
1890
+ example: My security monitoring rule.
1891
+ type: string
1892
+ options:
1893
+ $ref: '#/components/schemas/CloudConfigurationRuleOptions'
1894
+ tags:
1895
+ description: Tags for generated findings and signals.
1896
+ example:
1897
+ - env:prod
1898
+ - team:security
1899
+ items:
1900
+ description: Tag.
1901
+ type: string
1902
+ type: array
1903
+ type:
1904
+ $ref: '#/components/schemas/CloudConfigurationRuleType'
1905
+ required:
1906
+ - name
1907
+ - isEnabled
1908
+ - options
1909
+ - complianceSignalOptions
1910
+ - cases
1911
+ - message
1912
+ type: object
1913
+ CloudConfigurationRuleOptions:
1914
+ description: Options on cloud configuration rules.
1915
+ properties:
1916
+ complianceRuleOptions:
1917
+ $ref: '#/components/schemas/CloudConfigurationComplianceRuleOptions'
1918
+ required:
1919
+ - complianceRuleOptions
1920
+ type: object
1921
+ CloudConfigurationRuleType:
1922
+ description: The rule type.
1923
+ enum:
1924
+ - cloud_configuration
1925
+ type: string
1926
+ x-enum-varnames:
1927
+ - CLOUD_CONFIGURATION
1756
1928
  CloudWorkloadSecurityAgentRuleAttributes:
1757
1929
  description: A Cloud Workload Security Agent rule returned by the API.
1758
1930
  properties:
@@ -2722,7 +2894,8 @@ components:
2722
2894
  type: integer
2723
2895
  timezone:
2724
2896
  default: UTC
2725
- description: 'The timezone can be specified as an offset, for example: `UTC+03:00`.'
2897
+ description: The timezone can be specified as GMT, UTC, an offset from UTC
2898
+ (like UTC+1), or as a Timezone Database identifier (like America/New_York).
2726
2899
  example: GMT
2727
2900
  type: string
2728
2901
  type: object
@@ -5003,6 +5176,8 @@ components:
5003
5176
  properties:
5004
5177
  aggregation_type:
5005
5178
  $ref: '#/components/schemas/LogsMetricComputeAggregationType'
5179
+ include_percentiles:
5180
+ $ref: '#/components/schemas/LogsMetricComputeIncludePercentiles'
5006
5181
  path:
5007
5182
  description: The path to the value the log-based metric will aggregate on
5008
5183
  (only used if the aggregation type is a "distribution").
@@ -5021,6 +5196,13 @@ components:
5021
5196
  x-enum-varnames:
5022
5197
  - COUNT
5023
5198
  - DISTRIBUTION
5199
+ LogsMetricComputeIncludePercentiles:
5200
+ description: 'Toggle to include or exclude percentile aggregations for distribution
5201
+ metrics.
5202
+
5203
+ Only present when the `aggregation_type` is `distribution`.'
5204
+ example: true
5205
+ type: boolean
5024
5206
  LogsMetricCreateAttributes:
5025
5207
  description: The object describing the Datadog log-based metric to create.
5026
5208
  properties:
@@ -5112,6 +5294,8 @@ components:
5112
5294
  properties:
5113
5295
  aggregation_type:
5114
5296
  $ref: '#/components/schemas/LogsMetricResponseComputeAggregationType'
5297
+ include_percentiles:
5298
+ $ref: '#/components/schemas/LogsMetricComputeIncludePercentiles'
5115
5299
  path:
5116
5300
  description: The path to the value the log-based metric will aggregate on
5117
5301
  (only used if the aggregation type is a "distribution").
@@ -5173,6 +5357,8 @@ components:
5173
5357
  LogsMetricUpdateAttributes:
5174
5358
  description: The log-based metric properties that will be updated.
5175
5359
  properties:
5360
+ compute:
5361
+ $ref: '#/components/schemas/LogsMetricUpdateCompute'
5176
5362
  filter:
5177
5363
  $ref: '#/components/schemas/LogsMetricFilter'
5178
5364
  group_by:
@@ -5181,6 +5367,12 @@ components:
5181
5367
  $ref: '#/components/schemas/LogsMetricGroupBy'
5182
5368
  type: array
5183
5369
  type: object
5370
+ LogsMetricUpdateCompute:
5371
+ description: The compute rule to compute the log-based metric.
5372
+ properties:
5373
+ include_percentiles:
5374
+ $ref: '#/components/schemas/LogsMetricComputeIncludePercentiles'
5375
+ type: object
5184
5376
  LogsMetricUpdateData:
5185
5377
  description: The new log-based metric properties.
5186
5378
  properties:
@@ -5256,8 +5448,8 @@ components:
5256
5448
  type: integer
5257
5449
  timezone:
5258
5450
  default: UTC
5259
- description: 'The timezone can be specified both as an offset, for example:
5260
- "UTC+03:00".'
5451
+ description: The timezone can be specified as GMT, UTC, an offset from UTC
5452
+ (like UTC+1), or as a Timezone Database identifier (like America/New_York).
5261
5453
  example: GMT
5262
5454
  type: string
5263
5455
  type: object
@@ -5969,7 +6161,7 @@ components:
5969
6161
  format: date-time
5970
6162
  type: string
5971
6163
  include_percentiles:
5972
- description: 'Toggle to turn on/off percentile aggregations for distribution
6164
+ description: 'Toggle to include or exclude percentile aggregations for distribution
5973
6165
  metrics.
5974
6166
 
5975
6167
  Only present when the `metric_type` is `distribution`.'
@@ -6885,6 +7077,10 @@ components:
6885
7077
  description: ID of the RUM application.
6886
7078
  example: abcd1234-0000-0000-abcd-1234abcd5678
6887
7079
  type: string
7080
+ client_token:
7081
+ description: Client token of the RUM application.
7082
+ example: abcd1234efgh5678ijkl90abcd1234efgh0
7083
+ type: string
6888
7084
  created_at:
6889
7085
  description: Timestamp in ms of the creation date.
6890
7086
  example: 1659479836169
@@ -6895,9 +7091,12 @@ components:
6895
7091
  example: john.doe
6896
7092
  type: string
6897
7093
  hash:
6898
- description: Client token of the RUM application.
6899
- example: abcd1234efgh5678ijkl90abcd1234efgh0
7094
+ description: Hash of the RUM application. Optional.
6900
7095
  type: string
7096
+ is_active:
7097
+ description: Indicates if the RUM application is active.
7098
+ example: true
7099
+ type: boolean
6901
7100
  name:
6902
7101
  description: Name of the RUM application.
6903
7102
  example: my_rum_application
@@ -6924,6 +7123,7 @@ components:
6924
7123
  type: string
6925
7124
  required:
6926
7125
  - application_id
7126
+ - client_token
6927
7127
  - created_at
6928
7128
  - created_by_handle
6929
7129
  - name
@@ -6975,6 +7175,83 @@ components:
6975
7175
  type: string
6976
7176
  x-enum-varnames:
6977
7177
  - RUM_APPLICATION_CREATE
7178
+ RUMApplicationList:
7179
+ description: RUM application list.
7180
+ properties:
7181
+ attributes:
7182
+ $ref: '#/components/schemas/RUMApplicationListAttributes'
7183
+ type:
7184
+ $ref: '#/components/schemas/RUMApplicationListType'
7185
+ required:
7186
+ - attributes
7187
+ - type
7188
+ type: object
7189
+ RUMApplicationListAttributes:
7190
+ description: RUM application list attributes.
7191
+ properties:
7192
+ application_id:
7193
+ description: ID of the RUM application.
7194
+ example: abcd1234-0000-0000-abcd-1234abcd5678
7195
+ type: string
7196
+ created_at:
7197
+ description: Timestamp in ms of the creation date.
7198
+ example: 1659479836169
7199
+ format: int64
7200
+ type: integer
7201
+ created_by_handle:
7202
+ description: Handle of the creator user.
7203
+ example: john.doe
7204
+ type: string
7205
+ hash:
7206
+ description: Hash of the RUM application. Optional.
7207
+ type: string
7208
+ is_active:
7209
+ description: Indicates if the RUM application is active.
7210
+ example: true
7211
+ type: boolean
7212
+ name:
7213
+ description: Name of the RUM application.
7214
+ example: my_rum_application
7215
+ type: string
7216
+ org_id:
7217
+ description: Org ID of the RUM application.
7218
+ example: 999
7219
+ format: int32
7220
+ maximum: 2147483647
7221
+ type: integer
7222
+ type:
7223
+ description: Type of the RUM application. Supported values are `browser`,
7224
+ `ios`, `android`, `react-native`, `flutter`.
7225
+ example: browser
7226
+ type: string
7227
+ updated_at:
7228
+ description: Timestamp in ms of the last update date.
7229
+ example: 1659479836169
7230
+ format: int64
7231
+ type: integer
7232
+ updated_by_handle:
7233
+ description: Handle of the updater user.
7234
+ example: jane.doe
7235
+ type: string
7236
+ required:
7237
+ - application_id
7238
+ - created_at
7239
+ - created_by_handle
7240
+ - name
7241
+ - org_id
7242
+ - type
7243
+ - updated_at
7244
+ - updated_by_handle
7245
+ type: object
7246
+ RUMApplicationListType:
7247
+ default: rum_application
7248
+ description: RUM application list type.
7249
+ enum:
7250
+ - rum_application
7251
+ example: rum_application
7252
+ type: string
7253
+ x-enum-varnames:
7254
+ - RUM_APPLICATION
6978
7255
  RUMApplicationResponse:
6979
7256
  description: RUM application response.
6980
7257
  properties:
@@ -7041,7 +7318,7 @@ components:
7041
7318
  data:
7042
7319
  description: RUM applications array response.
7043
7320
  items:
7044
- $ref: '#/components/schemas/RUMApplication'
7321
+ $ref: '#/components/schemas/RUMApplicationList'
7045
7322
  type: array
7046
7323
  type: object
7047
7324
  RUMBucketResponse:
@@ -7282,8 +7559,8 @@ components:
7282
7559
  type: integer
7283
7560
  timezone:
7284
7561
  default: UTC
7285
- description: 'The timezone can be specified both as an offset, for example:
7286
- "UTC+03:00".'
7562
+ description: The timezone can be specified as GMT, UTC, an offset from UTC
7563
+ (like UTC+1), or as a Timezone Database identifier (like America/New_York).
7287
7564
  example: GMT
7288
7565
  type: string
7289
7566
  type: object
@@ -8231,6 +8508,7 @@ components:
8231
8508
  oneOf:
8232
8509
  - $ref: '#/components/schemas/SecurityMonitoringStandardRuleCreatePayload'
8233
8510
  - $ref: '#/components/schemas/SecurityMonitoringSignalRuleCreatePayload'
8511
+ - $ref: '#/components/schemas/CloudConfigurationRuleCreatePayload'
8234
8512
  type: object
8235
8513
  SecurityMonitoringRuleDecreaseCriticalityBasedOnEnv:
8236
8514
  description: 'If true, signals in non-production environments have a lower severity
@@ -8436,6 +8714,8 @@ components:
8436
8714
  SecurityMonitoringRuleOptions:
8437
8715
  description: Options on rules.
8438
8716
  properties:
8717
+ complianceRuleOptions:
8718
+ $ref: '#/components/schemas/CloudConfigurationComplianceRuleOptions'
8439
8719
  decreaseCriticalityBasedOnEnv:
8440
8720
  $ref: '#/components/schemas/SecurityMonitoringRuleDecreaseCriticalityBasedOnEnv'
8441
8721
  detectionMethod:
@@ -8530,6 +8810,8 @@ components:
8530
8810
  items:
8531
8811
  $ref: '#/components/schemas/SecurityMonitoringRuleCase'
8532
8812
  type: array
8813
+ complianceSignalOptions:
8814
+ $ref: '#/components/schemas/CloudConfigurationRuleComplianceSignalOptions'
8533
8815
  filters:
8534
8816
  description: Additional queries to filter matched events before they are
8535
8817
  processed.
@@ -9210,6 +9492,8 @@ components:
9210
9492
  items:
9211
9493
  $ref: '#/components/schemas/SecurityMonitoringRuleCase'
9212
9494
  type: array
9495
+ complianceSignalOptions:
9496
+ $ref: '#/components/schemas/CloudConfigurationRuleComplianceSignalOptions'
9213
9497
  createdAt:
9214
9498
  description: When the rule was created, timestamp in milliseconds.
9215
9499
  format: int64
@@ -9289,85 +9573,672 @@ components:
9289
9573
  required:
9290
9574
  - uuid
9291
9575
  type: object
9292
- ServiceAccountCreateAttributes:
9293
- description: Attributes of the created user.
9576
+ SensitiveDataScannerConfigRequest:
9577
+ description: Group reorder request.
9294
9578
  properties:
9295
- email:
9296
- description: The email of the user.
9297
- example: jane.doe@example.com
9298
- type: string
9299
- name:
9300
- description: The name of the user.
9301
- type: string
9302
- service_account:
9303
- description: Whether the user is a service account. Must be true.
9304
- example: true
9305
- type: boolean
9306
- title:
9307
- description: The title of the user.
9308
- type: string
9579
+ data:
9580
+ $ref: '#/components/schemas/SensitiveDataScannerReorderConfig'
9581
+ meta:
9582
+ $ref: '#/components/schemas/SensitiveDataScannerMetaVersionOnly'
9309
9583
  required:
9310
- - email
9311
- - service_account
9584
+ - data
9585
+ - meta
9312
9586
  type: object
9313
- ServiceAccountCreateData:
9314
- description: Object to create a service account User.
9587
+ SensitiveDataScannerConfiguration:
9588
+ description: A Sensitive Data Scanner configuration.
9315
9589
  properties:
9316
- attributes:
9317
- $ref: '#/components/schemas/ServiceAccountCreateAttributes'
9318
- relationships:
9319
- $ref: '#/components/schemas/UserRelationships'
9590
+ id:
9591
+ description: ID of the configuration.
9592
+ type: string
9320
9593
  type:
9321
- $ref: '#/components/schemas/UsersType'
9322
- required:
9323
- - attributes
9324
- - type
9594
+ $ref: '#/components/schemas/SensitiveDataScannerConfigurationType'
9325
9595
  type: object
9326
- ServiceAccountCreateRequest:
9327
- description: Create a service account.
9596
+ SensitiveDataScannerConfigurationData:
9597
+ description: A Sensitive Data Scanner configuration data.
9328
9598
  properties:
9329
9599
  data:
9330
- $ref: '#/components/schemas/ServiceAccountCreateData'
9331
- required:
9332
- - data
9600
+ $ref: '#/components/schemas/SensitiveDataScannerConfiguration'
9333
9601
  type: object
9334
- ServiceDefinitionCreateResponse:
9335
- description: Create service definitions response.
9602
+ SensitiveDataScannerConfigurationRelationships:
9603
+ description: Relationships of the configuration.
9604
+ properties:
9605
+ groups:
9606
+ $ref: '#/components/schemas/SensitiveDataScannerGroupList'
9607
+ type: object
9608
+ SensitiveDataScannerConfigurationType:
9609
+ default: sensitive_data_scanner_configuration
9610
+ description: Sensitive Data Scanner configuration type.
9611
+ enum:
9612
+ - sensitive_data_scanner_configuration
9613
+ example: sensitive_data_scanner_configuration
9614
+ type: string
9615
+ x-enum-varnames:
9616
+ - SENSITIVE_DATA_SCANNER_CONFIGURATIONS
9617
+ SensitiveDataScannerCreateGroupResponse:
9618
+ description: Create group response.
9336
9619
  properties:
9337
9620
  data:
9338
- description: Create service definitions response payload.
9339
- items:
9340
- $ref: '#/components/schemas/ServiceDefinitionData'
9341
- type: array
9621
+ $ref: '#/components/schemas/SensitiveDataScannerGroupResponse'
9622
+ meta:
9623
+ $ref: '#/components/schemas/SensitiveDataScannerMetaVersionOnly'
9342
9624
  type: object
9343
- ServiceDefinitionData:
9344
- description: Service definition data.
9625
+ SensitiveDataScannerCreateRuleResponse:
9626
+ description: Create rule response.
9345
9627
  properties:
9346
- attributes:
9347
- $ref: '#/components/schemas/ServiceDefinitionDataAttributes'
9348
- type:
9349
- description: Service definition type.
9628
+ data:
9629
+ $ref: '#/components/schemas/SensitiveDataScannerRuleResponse'
9630
+ meta:
9631
+ $ref: '#/components/schemas/SensitiveDataScannerMetaVersionOnly'
9632
+ type: object
9633
+ SensitiveDataScannerFilter:
9634
+ description: Filter for the Scanning Group.
9635
+ properties:
9636
+ query:
9637
+ description: Query to filter the events.
9350
9638
  type: string
9351
9639
  type: object
9352
- ServiceDefinitionDataAttributes:
9353
- description: Service definition attributes.
9640
+ SensitiveDataScannerGetConfigIncludedArray:
9641
+ description: Included objects from relationships.
9642
+ items:
9643
+ $ref: '#/components/schemas/SensitiveDataScannerGetConfigIncludedItem'
9644
+ type: array
9645
+ SensitiveDataScannerGetConfigIncludedItem:
9646
+ description: An object related to the configuration.
9647
+ oneOf:
9648
+ - $ref: '#/components/schemas/SensitiveDataScannerRuleIncludedItem'
9649
+ - $ref: '#/components/schemas/SensitiveDataScannerGroupIncludedItem'
9650
+ type: object
9651
+ SensitiveDataScannerGetConfigResponse:
9652
+ description: Get all groups response.
9354
9653
  properties:
9654
+ data:
9655
+ $ref: '#/components/schemas/SensitiveDataScannerGetConfigResponseData'
9656
+ included:
9657
+ $ref: '#/components/schemas/SensitiveDataScannerGetConfigIncludedArray'
9355
9658
  meta:
9356
- $ref: '#/components/schemas/ServiceDefinitionMeta'
9357
- schema:
9358
- $ref: '#/components/schemas/ServiceDefinitionSchema'
9659
+ $ref: '#/components/schemas/SensitiveDataScannerMeta'
9359
9660
  type: object
9360
- ServiceDefinitionGetResponse:
9361
- description: Get service definition response.
9661
+ SensitiveDataScannerGetConfigResponseData:
9662
+ description: Response data related to the scanning groups.
9362
9663
  properties:
9363
- data:
9364
- $ref: '#/components/schemas/ServiceDefinitionData'
9664
+ id:
9665
+ description: ID of the configuration.
9666
+ type: string
9667
+ relationships:
9668
+ $ref: '#/components/schemas/SensitiveDataScannerConfigurationRelationships'
9669
+ type:
9670
+ $ref: '#/components/schemas/SensitiveDataScannerConfigurationType'
9365
9671
  type: object
9366
- ServiceDefinitionMeta:
9367
- description: Metadata about a service definition.
9672
+ SensitiveDataScannerGroup:
9673
+ description: A scanning group.
9368
9674
  properties:
9369
- github-html-url:
9370
- description: GitHub HTML URL.
9675
+ id:
9676
+ description: ID of the group.
9677
+ type: string
9678
+ type:
9679
+ $ref: '#/components/schemas/SensitiveDataScannerGroupType'
9680
+ type: object
9681
+ SensitiveDataScannerGroupAttributes:
9682
+ description: Attributes of the Sensitive Data Scanner group.
9683
+ properties:
9684
+ description:
9685
+ description: Description of the group.
9686
+ type: string
9687
+ filter:
9688
+ $ref: '#/components/schemas/SensitiveDataScannerFilter'
9689
+ is_enabled:
9690
+ description: Whether or not the group is enabled.
9691
+ type: boolean
9692
+ name:
9693
+ description: Name of the group.
9694
+ type: string
9695
+ product_list:
9696
+ description: List of products the scanning group applies.
9697
+ items:
9698
+ $ref: '#/components/schemas/SensitiveDataScannerProduct'
9699
+ type: array
9700
+ type: object
9701
+ SensitiveDataScannerGroupCreate:
9702
+ description: Data related to the creation of a group.
9703
+ properties:
9704
+ attributes:
9705
+ $ref: '#/components/schemas/SensitiveDataScannerGroupAttributes'
9706
+ relationships:
9707
+ $ref: '#/components/schemas/SensitiveDataScannerGroupRelationships'
9708
+ type:
9709
+ $ref: '#/components/schemas/SensitiveDataScannerGroupType'
9710
+ required:
9711
+ - type
9712
+ - attributes
9713
+ type: object
9714
+ SensitiveDataScannerGroupCreateRequest:
9715
+ description: Create group request.
9716
+ properties:
9717
+ data:
9718
+ $ref: '#/components/schemas/SensitiveDataScannerGroupCreate'
9719
+ meta:
9720
+ $ref: '#/components/schemas/SensitiveDataScannerMetaVersionOnly'
9721
+ type: object
9722
+ SensitiveDataScannerGroupData:
9723
+ description: A scanning group data.
9724
+ properties:
9725
+ data:
9726
+ $ref: '#/components/schemas/SensitiveDataScannerGroup'
9727
+ type: object
9728
+ SensitiveDataScannerGroupDeleteRequest:
9729
+ description: Delete group request.
9730
+ properties:
9731
+ meta:
9732
+ $ref: '#/components/schemas/SensitiveDataScannerMetaVersionOnly'
9733
+ required:
9734
+ - meta
9735
+ type: object
9736
+ SensitiveDataScannerGroupDeleteResponse:
9737
+ description: Delete group response.
9738
+ properties:
9739
+ meta:
9740
+ $ref: '#/components/schemas/SensitiveDataScannerMetaVersionOnly'
9741
+ type: object
9742
+ SensitiveDataScannerGroupIncludedItem:
9743
+ description: A Scanning Group included item.
9744
+ properties:
9745
+ attributes:
9746
+ $ref: '#/components/schemas/SensitiveDataScannerGroupAttributes'
9747
+ id:
9748
+ description: ID of the group.
9749
+ type: string
9750
+ relationships:
9751
+ $ref: '#/components/schemas/SensitiveDataScannerGroupRelationships'
9752
+ type:
9753
+ $ref: '#/components/schemas/SensitiveDataScannerGroupType'
9754
+ type: object
9755
+ SensitiveDataScannerGroupItem:
9756
+ description: Data related to a Sensitive Data Scanner Group.
9757
+ properties:
9758
+ id:
9759
+ description: ID of the group.
9760
+ type: string
9761
+ type:
9762
+ $ref: '#/components/schemas/SensitiveDataScannerGroupType'
9763
+ type: object
9764
+ SensitiveDataScannerGroupList:
9765
+ description: List of groups, ordered.
9766
+ properties:
9767
+ data:
9768
+ description: List of groups. The order is important.
9769
+ items:
9770
+ $ref: '#/components/schemas/SensitiveDataScannerGroupItem'
9771
+ type: array
9772
+ type: object
9773
+ SensitiveDataScannerGroupRelationships:
9774
+ description: Relationships of the group.
9775
+ properties:
9776
+ configuration:
9777
+ $ref: '#/components/schemas/SensitiveDataScannerConfigurationData'
9778
+ rules:
9779
+ $ref: '#/components/schemas/SensitiveDataScannerRuleData'
9780
+ type: object
9781
+ SensitiveDataScannerGroupResponse:
9782
+ description: Response data related to the creation of a group.
9783
+ properties:
9784
+ attributes:
9785
+ $ref: '#/components/schemas/SensitiveDataScannerGroupAttributes'
9786
+ id:
9787
+ description: ID of the group.
9788
+ type: string
9789
+ relationships:
9790
+ $ref: '#/components/schemas/SensitiveDataScannerGroupRelationships'
9791
+ type:
9792
+ $ref: '#/components/schemas/SensitiveDataScannerGroupType'
9793
+ type: object
9794
+ SensitiveDataScannerGroupType:
9795
+ default: sensitive_data_scanner_group
9796
+ description: Sensitive Data Scanner group type.
9797
+ enum:
9798
+ - sensitive_data_scanner_group
9799
+ example: sensitive_data_scanner_group
9800
+ type: string
9801
+ x-enum-varnames:
9802
+ - SENSITIVE_DATA_SCANNER_GROUP
9803
+ SensitiveDataScannerGroupUpdate:
9804
+ description: Data related to the update of a group.
9805
+ properties:
9806
+ attributes:
9807
+ $ref: '#/components/schemas/SensitiveDataScannerGroupAttributes'
9808
+ id:
9809
+ description: ID of the group.
9810
+ type: string
9811
+ relationships:
9812
+ $ref: '#/components/schemas/SensitiveDataScannerGroupRelationships'
9813
+ type:
9814
+ $ref: '#/components/schemas/SensitiveDataScannerGroupType'
9815
+ type: object
9816
+ SensitiveDataScannerGroupUpdateRequest:
9817
+ description: Update group request.
9818
+ properties:
9819
+ data:
9820
+ $ref: '#/components/schemas/SensitiveDataScannerGroupUpdate'
9821
+ meta:
9822
+ $ref: '#/components/schemas/SensitiveDataScannerMetaVersionOnly'
9823
+ required:
9824
+ - data
9825
+ - meta
9826
+ type: object
9827
+ SensitiveDataScannerGroupUpdateResponse:
9828
+ description: Update group response.
9829
+ properties:
9830
+ meta:
9831
+ $ref: '#/components/schemas/SensitiveDataScannerMetaVersionOnly'
9832
+ type: object
9833
+ SensitiveDataScannerMeta:
9834
+ description: Meta response containing information about the API.
9835
+ properties:
9836
+ count_limit:
9837
+ description: Maximum number of scanning rules allowed for the org.
9838
+ format: int64
9839
+ type: integer
9840
+ group_count_limit:
9841
+ description: Maximum number of scanning groups allowed for the org.
9842
+ format: int64
9843
+ type: integer
9844
+ has_highlight_enabled:
9845
+ description: Whether or not scanned events are highlighted in Logs or RUM
9846
+ for the org.
9847
+ type: boolean
9848
+ is_pci_compliant:
9849
+ description: Whether or not the org is compliant to the payment card industry
9850
+ standard.
9851
+ type: boolean
9852
+ version:
9853
+ description: Version of the API.
9854
+ example: 0
9855
+ format: int64
9856
+ minimum: 0
9857
+ type: integer
9858
+ type: object
9859
+ SensitiveDataScannerMetaVersionOnly:
9860
+ description: Meta payload containing information about the API.
9861
+ properties:
9862
+ version:
9863
+ description: Version of the API (optional).
9864
+ example: 0
9865
+ format: int64
9866
+ minimum: 0
9867
+ type: integer
9868
+ type: object
9869
+ SensitiveDataScannerProduct:
9870
+ default: logs
9871
+ description: Datadog product onto which Sensitive Data Scanner can be activated.
9872
+ enum:
9873
+ - logs
9874
+ - rum
9875
+ - events
9876
+ - apm
9877
+ type: string
9878
+ x-enum-varnames:
9879
+ - LOGS
9880
+ - RUM
9881
+ - EVENTS
9882
+ - APM
9883
+ SensitiveDataScannerReorderConfig:
9884
+ description: Data related to the reordering of scanning groups.
9885
+ properties:
9886
+ id:
9887
+ description: ID of the configuration.
9888
+ type: string
9889
+ relationships:
9890
+ $ref: '#/components/schemas/SensitiveDataScannerConfigurationRelationships'
9891
+ type:
9892
+ $ref: '#/components/schemas/SensitiveDataScannerConfigurationType'
9893
+ type: object
9894
+ SensitiveDataScannerReorderGroupsResponse:
9895
+ description: Group reorder response.
9896
+ properties:
9897
+ meta:
9898
+ $ref: '#/components/schemas/SensitiveDataScannerMeta'
9899
+ type: object
9900
+ SensitiveDataScannerRule:
9901
+ description: Rule item included in the group.
9902
+ properties:
9903
+ id:
9904
+ description: ID of the rule.
9905
+ type: string
9906
+ type:
9907
+ $ref: '#/components/schemas/SensitiveDataScannerRuleType'
9908
+ type: object
9909
+ SensitiveDataScannerRuleAttributes:
9910
+ description: Attributes of the Sensitive Data Scanner rule.
9911
+ properties:
9912
+ description:
9913
+ description: Description of the rule.
9914
+ type: string
9915
+ excluded_attributes:
9916
+ description: Attributes excluded from the scan.
9917
+ example:
9918
+ - username
9919
+ items:
9920
+ type: string
9921
+ type: array
9922
+ is_enabled:
9923
+ description: Whether or not the rule is enabled.
9924
+ type: boolean
9925
+ name:
9926
+ description: Name of the rule.
9927
+ type: string
9928
+ pattern:
9929
+ description: Not included if there is a relationship to a standard pattern.
9930
+ type: string
9931
+ tags:
9932
+ description: List of tags.
9933
+ items:
9934
+ type: string
9935
+ type: array
9936
+ text_replacement:
9937
+ $ref: '#/components/schemas/SensitiveDataScannerTextReplacement'
9938
+ type: object
9939
+ SensitiveDataScannerRuleCreate:
9940
+ description: Data related to the creation of a rule.
9941
+ properties:
9942
+ attributes:
9943
+ $ref: '#/components/schemas/SensitiveDataScannerRuleAttributes'
9944
+ relationships:
9945
+ $ref: '#/components/schemas/SensitiveDataScannerRuleRelationships'
9946
+ type:
9947
+ $ref: '#/components/schemas/SensitiveDataScannerRuleType'
9948
+ required:
9949
+ - type
9950
+ - attributes
9951
+ - relationships
9952
+ type: object
9953
+ SensitiveDataScannerRuleCreateRequest:
9954
+ description: Create rule request.
9955
+ properties:
9956
+ data:
9957
+ $ref: '#/components/schemas/SensitiveDataScannerRuleCreate'
9958
+ meta:
9959
+ $ref: '#/components/schemas/SensitiveDataScannerMetaVersionOnly'
9960
+ required:
9961
+ - data
9962
+ - meta
9963
+ type: object
9964
+ SensitiveDataScannerRuleData:
9965
+ description: Rules included in the group.
9966
+ properties:
9967
+ data:
9968
+ description: Rules included in the group. The order is important.
9969
+ items:
9970
+ $ref: '#/components/schemas/SensitiveDataScannerRule'
9971
+ type: array
9972
+ type: object
9973
+ SensitiveDataScannerRuleDeleteRequest:
9974
+ description: Delete rule request.
9975
+ properties:
9976
+ meta:
9977
+ $ref: '#/components/schemas/SensitiveDataScannerMetaVersionOnly'
9978
+ required:
9979
+ - meta
9980
+ type: object
9981
+ SensitiveDataScannerRuleDeleteResponse:
9982
+ description: Delete rule response.
9983
+ properties:
9984
+ meta:
9985
+ $ref: '#/components/schemas/SensitiveDataScannerMetaVersionOnly'
9986
+ type: object
9987
+ SensitiveDataScannerRuleIncludedItem:
9988
+ description: A Scanning Rule included item.
9989
+ properties:
9990
+ attributes:
9991
+ $ref: '#/components/schemas/SensitiveDataScannerRuleAttributes'
9992
+ id:
9993
+ description: ID of the rule.
9994
+ type: string
9995
+ relationships:
9996
+ $ref: '#/components/schemas/SensitiveDataScannerRuleRelationships'
9997
+ type:
9998
+ $ref: '#/components/schemas/SensitiveDataScannerRuleType'
9999
+ type: object
10000
+ SensitiveDataScannerRuleRelationships:
10001
+ description: Relationships of a scanning rule.
10002
+ properties:
10003
+ group:
10004
+ $ref: '#/components/schemas/SensitiveDataScannerGroupData'
10005
+ standard_pattern:
10006
+ $ref: '#/components/schemas/SensitiveDataScannerStandardPatternData'
10007
+ type: object
10008
+ SensitiveDataScannerRuleResponse:
10009
+ description: Response data related to the creation of a rule.
10010
+ properties:
10011
+ attributes:
10012
+ $ref: '#/components/schemas/SensitiveDataScannerRuleAttributes'
10013
+ id:
10014
+ description: ID of the rule.
10015
+ type: string
10016
+ relationships:
10017
+ $ref: '#/components/schemas/SensitiveDataScannerRuleRelationships'
10018
+ type:
10019
+ $ref: '#/components/schemas/SensitiveDataScannerRuleType'
10020
+ type: object
10021
+ SensitiveDataScannerRuleType:
10022
+ default: sensitive_data_scanner_rule
10023
+ description: Sensitive Data Scanner rule type.
10024
+ enum:
10025
+ - sensitive_data_scanner_rule
10026
+ example: sensitive_data_scanner_rule
10027
+ type: string
10028
+ x-enum-varnames:
10029
+ - SENSITIVE_DATA_SCANNER_RULE
10030
+ SensitiveDataScannerRuleUpdate:
10031
+ description: Data related to the update of a rule.
10032
+ properties:
10033
+ attributes:
10034
+ $ref: '#/components/schemas/SensitiveDataScannerRuleAttributes'
10035
+ id:
10036
+ description: ID of the rule.
10037
+ type: string
10038
+ relationships:
10039
+ $ref: '#/components/schemas/SensitiveDataScannerRuleRelationships'
10040
+ type:
10041
+ $ref: '#/components/schemas/SensitiveDataScannerRuleType'
10042
+ type: object
10043
+ SensitiveDataScannerRuleUpdateRequest:
10044
+ description: Update rule request.
10045
+ properties:
10046
+ data:
10047
+ $ref: '#/components/schemas/SensitiveDataScannerRuleUpdate'
10048
+ meta:
10049
+ $ref: '#/components/schemas/SensitiveDataScannerMetaVersionOnly'
10050
+ required:
10051
+ - data
10052
+ - meta
10053
+ type: object
10054
+ SensitiveDataScannerRuleUpdateResponse:
10055
+ description: Update rule response.
10056
+ properties:
10057
+ meta:
10058
+ $ref: '#/components/schemas/SensitiveDataScannerMetaVersionOnly'
10059
+ type: object
10060
+ SensitiveDataScannerStandardPattern:
10061
+ description: Data containing the standard pattern id.
10062
+ properties:
10063
+ id:
10064
+ description: ID of the standard pattern.
10065
+ type: string
10066
+ type:
10067
+ $ref: '#/components/schemas/SensitiveDataScannerStandardPatternType'
10068
+ type: object
10069
+ SensitiveDataScannerStandardPatternAttributes:
10070
+ description: Attributes of the Sensitive Data Scanner standard pattern.
10071
+ properties:
10072
+ name:
10073
+ description: Name of the standard pattern.
10074
+ type: string
10075
+ pattern:
10076
+ description: Regex to match.
10077
+ type: string
10078
+ tags:
10079
+ description: List of tags.
10080
+ items:
10081
+ type: string
10082
+ type: array
10083
+ type: object
10084
+ SensitiveDataScannerStandardPatternData:
10085
+ description: A standard pattern.
10086
+ properties:
10087
+ data:
10088
+ $ref: '#/components/schemas/SensitiveDataScannerStandardPattern'
10089
+ type: object
10090
+ SensitiveDataScannerStandardPatternType:
10091
+ default: sensitive_data_scanner_standard_pattern
10092
+ description: Sensitive Data Scanner standard pattern type.
10093
+ enum:
10094
+ - sensitive_data_scanner_standard_pattern
10095
+ example: sensitive_data_scanner_standard_pattern
10096
+ type: string
10097
+ x-enum-varnames:
10098
+ - SENSITIVE_DATA_SCANNER_STANDARD_PATTERN
10099
+ SensitiveDataScannerStandardPatternsResponse:
10100
+ description: List Standard patterns response.
10101
+ items:
10102
+ $ref: '#/components/schemas/SensitiveDataScannerStandardPatternsResponseItem'
10103
+ type: array
10104
+ SensitiveDataScannerStandardPatternsResponseData:
10105
+ description: List Standard patterns response data.
10106
+ properties:
10107
+ data:
10108
+ $ref: '#/components/schemas/SensitiveDataScannerStandardPatternsResponse'
10109
+ type: object
10110
+ SensitiveDataScannerStandardPatternsResponseItem:
10111
+ description: Standard pattern item.
10112
+ properties:
10113
+ attributes:
10114
+ $ref: '#/components/schemas/SensitiveDataScannerStandardPatternAttributes'
10115
+ id:
10116
+ description: ID of the standard pattern.
10117
+ type: string
10118
+ type:
10119
+ $ref: '#/components/schemas/SensitiveDataScannerStandardPatternType'
10120
+ type: object
10121
+ SensitiveDataScannerTextReplacement:
10122
+ description: Object describing how the scanned event will be replaced.
10123
+ properties:
10124
+ number_of_chars:
10125
+ description: 'Required if type == ''partial_replacement_from_beginning''
10126
+
10127
+ or ''partial_replacement_from_end''. It must be > 0.'
10128
+ format: int64
10129
+ minimum: 0
10130
+ type: integer
10131
+ replacement_string:
10132
+ description: Required if type == 'replacement_string'.
10133
+ type: string
10134
+ type:
10135
+ $ref: '#/components/schemas/SensitiveDataScannerTextReplacementType'
10136
+ type: object
10137
+ SensitiveDataScannerTextReplacementType:
10138
+ default: none
10139
+ description: 'Type of the replacement text. None means no replacement.
10140
+
10141
+ hash means the data will be stubbed. replacement_string means that
10142
+
10143
+ one can chose a text to replace the data. partial_replacement_from_beginning
10144
+
10145
+ allows a user to partially replace the data from the beginning, and
10146
+
10147
+ partial_replacement_from_end on the other hand, allows to replace data from
10148
+
10149
+ the end.'
10150
+ enum:
10151
+ - none
10152
+ - hash
10153
+ - replacement_string
10154
+ - partial_replacement_from_beginning
10155
+ - partial_replacement_from_end
10156
+ type: string
10157
+ x-enum-varnames:
10158
+ - NONE
10159
+ - HASH
10160
+ - REPLACEMENT_STRING
10161
+ - PARTIAL_REPLACEMENT_FROM_BEGINNING
10162
+ - PARTIAL_REPLACEMENT_FROM_END
10163
+ ServiceAccountCreateAttributes:
10164
+ description: Attributes of the created user.
10165
+ properties:
10166
+ email:
10167
+ description: The email of the user.
10168
+ example: jane.doe@example.com
10169
+ type: string
10170
+ name:
10171
+ description: The name of the user.
10172
+ type: string
10173
+ service_account:
10174
+ description: Whether the user is a service account. Must be true.
10175
+ example: true
10176
+ type: boolean
10177
+ title:
10178
+ description: The title of the user.
10179
+ type: string
10180
+ required:
10181
+ - email
10182
+ - service_account
10183
+ type: object
10184
+ ServiceAccountCreateData:
10185
+ description: Object to create a service account User.
10186
+ properties:
10187
+ attributes:
10188
+ $ref: '#/components/schemas/ServiceAccountCreateAttributes'
10189
+ relationships:
10190
+ $ref: '#/components/schemas/UserRelationships'
10191
+ type:
10192
+ $ref: '#/components/schemas/UsersType'
10193
+ required:
10194
+ - attributes
10195
+ - type
10196
+ type: object
10197
+ ServiceAccountCreateRequest:
10198
+ description: Create a service account.
10199
+ properties:
10200
+ data:
10201
+ $ref: '#/components/schemas/ServiceAccountCreateData'
10202
+ required:
10203
+ - data
10204
+ type: object
10205
+ ServiceDefinitionCreateResponse:
10206
+ description: Create service definitions response.
10207
+ properties:
10208
+ data:
10209
+ description: Create service definitions response payload.
10210
+ items:
10211
+ $ref: '#/components/schemas/ServiceDefinitionData'
10212
+ type: array
10213
+ type: object
10214
+ ServiceDefinitionData:
10215
+ description: Service definition data.
10216
+ properties:
10217
+ attributes:
10218
+ $ref: '#/components/schemas/ServiceDefinitionDataAttributes'
10219
+ type:
10220
+ description: Service definition type.
10221
+ type: string
10222
+ type: object
10223
+ ServiceDefinitionDataAttributes:
10224
+ description: Service definition attributes.
10225
+ properties:
10226
+ meta:
10227
+ $ref: '#/components/schemas/ServiceDefinitionMeta'
10228
+ schema:
10229
+ $ref: '#/components/schemas/ServiceDefinitionSchema'
10230
+ type: object
10231
+ ServiceDefinitionGetResponse:
10232
+ description: Get service definition response.
10233
+ properties:
10234
+ data:
10235
+ $ref: '#/components/schemas/ServiceDefinitionData'
10236
+ type: object
10237
+ ServiceDefinitionMeta:
10238
+ description: Metadata about a service definition.
10239
+ properties:
10240
+ github-html-url:
10241
+ description: GitHub HTML URL.
9371
10242
  type: string
9372
10243
  ingested-schema-version:
9373
10244
  description: Ingestion schema version.
@@ -14112,22 +14983,178 @@ paths:
14112
14983
  appKeyAuth: []
14113
14984
  - AuthZ:
14114
14985
  - user_access_manage
14115
- summary: Delete role
14986
+ summary: Delete role
14987
+ tags:
14988
+ - Roles
14989
+ x-codegen-request-body-name: body
14990
+ get:
14991
+ description: "Get a role in the organization specified by the role\u2019s `role_id`."
14992
+ operationId: GetRole
14993
+ parameters:
14994
+ - $ref: '#/components/parameters/RoleID'
14995
+ responses:
14996
+ '200':
14997
+ content:
14998
+ application/json:
14999
+ schema:
15000
+ $ref: '#/components/schemas/RoleResponse'
15001
+ description: OK
15002
+ '403':
15003
+ content:
15004
+ application/json:
15005
+ schema:
15006
+ $ref: '#/components/schemas/APIErrorResponse'
15007
+ description: Authentication error
15008
+ '404':
15009
+ content:
15010
+ application/json:
15011
+ schema:
15012
+ $ref: '#/components/schemas/APIErrorResponse'
15013
+ description: Not found
15014
+ '429':
15015
+ $ref: '#/components/responses/TooManyRequestsResponse'
15016
+ security:
15017
+ - apiKeyAuth: []
15018
+ appKeyAuth: []
15019
+ - AuthZ: []
15020
+ summary: Get a role
15021
+ tags:
15022
+ - Roles
15023
+ x-codegen-request-body-name: body
15024
+ patch:
15025
+ description: Edit a role. Can only be used with application keys belonging to
15026
+ administrators.
15027
+ operationId: UpdateRole
15028
+ parameters:
15029
+ - $ref: '#/components/parameters/RoleID'
15030
+ requestBody:
15031
+ content:
15032
+ application/json:
15033
+ schema:
15034
+ $ref: '#/components/schemas/RoleUpdateRequest'
15035
+ required: true
15036
+ responses:
15037
+ '200':
15038
+ content:
15039
+ application/json:
15040
+ schema:
15041
+ $ref: '#/components/schemas/RoleUpdateResponse'
15042
+ description: OK
15043
+ '400':
15044
+ content:
15045
+ application/json:
15046
+ schema:
15047
+ $ref: '#/components/schemas/APIErrorResponse'
15048
+ description: Bad Request
15049
+ '403':
15050
+ content:
15051
+ application/json:
15052
+ schema:
15053
+ $ref: '#/components/schemas/APIErrorResponse'
15054
+ description: Authentication error
15055
+ '404':
15056
+ content:
15057
+ application/json:
15058
+ schema:
15059
+ $ref: '#/components/schemas/APIErrorResponse'
15060
+ description: Not found
15061
+ '422':
15062
+ content:
15063
+ application/json:
15064
+ schema:
15065
+ $ref: '#/components/schemas/APIErrorResponse'
15066
+ description: Unprocessable Entity
15067
+ '429':
15068
+ $ref: '#/components/responses/TooManyRequestsResponse'
15069
+ security:
15070
+ - apiKeyAuth: []
15071
+ appKeyAuth: []
15072
+ - AuthZ:
15073
+ - user_access_manage
15074
+ summary: Update a role
15075
+ tags:
15076
+ - Roles
15077
+ x-codegen-request-body-name: body
15078
+ /api/v2/roles/{role_id}/clone:
15079
+ post:
15080
+ description: Clone an existing role
15081
+ operationId: CloneRole
15082
+ parameters:
15083
+ - $ref: '#/components/parameters/RoleID'
15084
+ requestBody:
15085
+ content:
15086
+ application/json:
15087
+ schema:
15088
+ $ref: '#/components/schemas/RoleCloneRequest'
15089
+ required: true
15090
+ responses:
15091
+ '200':
15092
+ content:
15093
+ application/json:
15094
+ schema:
15095
+ $ref: '#/components/schemas/RoleResponse'
15096
+ description: OK
15097
+ '400':
15098
+ content:
15099
+ application/json:
15100
+ schema:
15101
+ $ref: '#/components/schemas/APIErrorResponse'
15102
+ description: Bad Request
15103
+ '403':
15104
+ content:
15105
+ application/json:
15106
+ schema:
15107
+ $ref: '#/components/schemas/APIErrorResponse'
15108
+ description: Authentication error
15109
+ '404':
15110
+ content:
15111
+ application/json:
15112
+ schema:
15113
+ $ref: '#/components/schemas/APIErrorResponse'
15114
+ description: Not found
15115
+ '409':
15116
+ content:
15117
+ application/json:
15118
+ schema:
15119
+ $ref: '#/components/schemas/APIErrorResponse'
15120
+ description: Conflict
15121
+ '429':
15122
+ $ref: '#/components/responses/TooManyRequestsResponse'
15123
+ security:
15124
+ - apiKeyAuth: []
15125
+ appKeyAuth: []
15126
+ - AuthZ:
15127
+ - user_access_manage
15128
+ summary: Create a new role by cloning an existing role
14116
15129
  tags:
14117
15130
  - Roles
14118
15131
  x-codegen-request-body-name: body
14119
- get:
14120
- description: "Get a role in the organization specified by the role\u2019s `role_id`."
14121
- operationId: GetRole
15132
+ x-permission: OR(USER_ACCESS_MANAGE)
15133
+ /api/v2/roles/{role_id}/permissions:
15134
+ delete:
15135
+ description: Removes a permission from a role.
15136
+ operationId: RemovePermissionFromRole
14122
15137
  parameters:
14123
15138
  - $ref: '#/components/parameters/RoleID'
15139
+ requestBody:
15140
+ content:
15141
+ application/json:
15142
+ schema:
15143
+ $ref: '#/components/schemas/RelationshipToPermission'
15144
+ required: true
14124
15145
  responses:
14125
15146
  '200':
14126
15147
  content:
14127
15148
  application/json:
14128
15149
  schema:
14129
- $ref: '#/components/schemas/RoleResponse'
15150
+ $ref: '#/components/schemas/PermissionsResponse'
14130
15151
  description: OK
15152
+ '400':
15153
+ content:
15154
+ application/json:
15155
+ schema:
15156
+ $ref: '#/components/schemas/APIErrorResponse'
15157
+ description: Bad Request
14131
15158
  '403':
14132
15159
  content:
14133
15160
  application/json:
@@ -14145,36 +15172,24 @@ paths:
14145
15172
  security:
14146
15173
  - apiKeyAuth: []
14147
15174
  appKeyAuth: []
14148
- - AuthZ: []
14149
- summary: Get a role
15175
+ - AuthZ:
15176
+ - user_access_manage
15177
+ summary: Revoke permission
14150
15178
  tags:
14151
15179
  - Roles
14152
15180
  x-codegen-request-body-name: body
14153
- patch:
14154
- description: Edit a role. Can only be used with application keys belonging to
14155
- administrators.
14156
- operationId: UpdateRole
15181
+ get:
15182
+ description: Returns a list of all permissions for a single role.
15183
+ operationId: ListRolePermissions
14157
15184
  parameters:
14158
15185
  - $ref: '#/components/parameters/RoleID'
14159
- requestBody:
14160
- content:
14161
- application/json:
14162
- schema:
14163
- $ref: '#/components/schemas/RoleUpdateRequest'
14164
- required: true
14165
15186
  responses:
14166
15187
  '200':
14167
15188
  content:
14168
15189
  application/json:
14169
15190
  schema:
14170
- $ref: '#/components/schemas/RoleUpdateResponse'
15191
+ $ref: '#/components/schemas/PermissionsResponse'
14171
15192
  description: OK
14172
- '400':
14173
- content:
14174
- application/json:
14175
- schema:
14176
- $ref: '#/components/schemas/APIErrorResponse'
14177
- description: Bad Request
14178
15193
  '403':
14179
15194
  content:
14180
15195
  application/json:
@@ -14187,41 +15202,33 @@ paths:
14187
15202
  schema:
14188
15203
  $ref: '#/components/schemas/APIErrorResponse'
14189
15204
  description: Not found
14190
- '422':
14191
- content:
14192
- application/json:
14193
- schema:
14194
- $ref: '#/components/schemas/APIErrorResponse'
14195
- description: Unprocessable Entity
14196
15205
  '429':
14197
15206
  $ref: '#/components/responses/TooManyRequestsResponse'
14198
15207
  security:
14199
15208
  - apiKeyAuth: []
14200
15209
  appKeyAuth: []
14201
- - AuthZ:
14202
- - user_access_manage
14203
- summary: Update a role
15210
+ - AuthZ: []
15211
+ summary: List permissions for a role
14204
15212
  tags:
14205
15213
  - Roles
14206
15214
  x-codegen-request-body-name: body
14207
- /api/v2/roles/{role_id}/clone:
14208
15215
  post:
14209
- description: Clone an existing role
14210
- operationId: CloneRole
15216
+ description: Adds a permission to a role.
15217
+ operationId: AddPermissionToRole
14211
15218
  parameters:
14212
15219
  - $ref: '#/components/parameters/RoleID'
14213
15220
  requestBody:
14214
15221
  content:
14215
15222
  application/json:
14216
15223
  schema:
14217
- $ref: '#/components/schemas/RoleCloneRequest'
15224
+ $ref: '#/components/schemas/RelationshipToPermission'
14218
15225
  required: true
14219
15226
  responses:
14220
15227
  '200':
14221
15228
  content:
14222
15229
  application/json:
14223
15230
  schema:
14224
- $ref: '#/components/schemas/RoleResponse'
15231
+ $ref: '#/components/schemas/PermissionsResponse'
14225
15232
  description: OK
14226
15233
  '400':
14227
15234
  content:
@@ -14241,12 +15248,6 @@ paths:
14241
15248
  schema:
14242
15249
  $ref: '#/components/schemas/APIErrorResponse'
14243
15250
  description: Not found
14244
- '409':
14245
- content:
14246
- application/json:
14247
- schema:
14248
- $ref: '#/components/schemas/APIErrorResponse'
14249
- description: Conflict
14250
15251
  '429':
14251
15252
  $ref: '#/components/responses/TooManyRequestsResponse'
14252
15253
  security:
@@ -14254,29 +15255,28 @@ paths:
14254
15255
  appKeyAuth: []
14255
15256
  - AuthZ:
14256
15257
  - user_access_manage
14257
- summary: Create a new role by cloning an existing role
15258
+ summary: Grant permission to a role
14258
15259
  tags:
14259
15260
  - Roles
14260
15261
  x-codegen-request-body-name: body
14261
- x-permission: OR(USER_ACCESS_MANAGE)
14262
- /api/v2/roles/{role_id}/permissions:
15262
+ /api/v2/roles/{role_id}/users:
14263
15263
  delete:
14264
- description: Removes a permission from a role.
14265
- operationId: RemovePermissionFromRole
15264
+ description: Removes a user from a role.
15265
+ operationId: RemoveUserFromRole
14266
15266
  parameters:
14267
15267
  - $ref: '#/components/parameters/RoleID'
14268
15268
  requestBody:
14269
15269
  content:
14270
15270
  application/json:
14271
15271
  schema:
14272
- $ref: '#/components/schemas/RelationshipToPermission'
15272
+ $ref: '#/components/schemas/RelationshipToUser'
14273
15273
  required: true
14274
15274
  responses:
14275
15275
  '200':
14276
15276
  content:
14277
15277
  application/json:
14278
15278
  schema:
14279
- $ref: '#/components/schemas/PermissionsResponse'
15279
+ $ref: '#/components/schemas/UsersResponse'
14280
15280
  description: OK
14281
15281
  '400':
14282
15282
  content:
@@ -14303,21 +15303,41 @@ paths:
14303
15303
  appKeyAuth: []
14304
15304
  - AuthZ:
14305
15305
  - user_access_manage
14306
- summary: Revoke permission
15306
+ summary: Remove a user from a role
14307
15307
  tags:
14308
15308
  - Roles
14309
15309
  x-codegen-request-body-name: body
14310
15310
  get:
14311
- description: Returns a list of all permissions for a single role.
14312
- operationId: ListRolePermissions
15311
+ description: Gets all users of a role.
15312
+ operationId: ListRoleUsers
14313
15313
  parameters:
14314
15314
  - $ref: '#/components/parameters/RoleID'
15315
+ - $ref: '#/components/parameters/PageSize'
15316
+ - $ref: '#/components/parameters/PageNumber'
15317
+ - description: 'User attribute to order results by. Sort order is **ascending**
15318
+ by default.
15319
+
15320
+ Sort order is **descending** if the field is prefixed by a negative sign,
15321
+
15322
+ for example `sort=-name`. Options: `name`, `email`, `status`.'
15323
+ in: query
15324
+ name: sort
15325
+ required: false
15326
+ schema:
15327
+ default: name
15328
+ type: string
15329
+ - description: Filter all users by the given string. Defaults to no filtering.
15330
+ in: query
15331
+ name: filter
15332
+ required: false
15333
+ schema:
15334
+ type: string
14315
15335
  responses:
14316
15336
  '200':
14317
15337
  content:
14318
15338
  application/json:
14319
15339
  schema:
14320
- $ref: '#/components/schemas/PermissionsResponse'
15340
+ $ref: '#/components/schemas/UsersResponse'
14321
15341
  description: OK
14322
15342
  '403':
14323
15343
  content:
@@ -14337,27 +15357,26 @@ paths:
14337
15357
  - apiKeyAuth: []
14338
15358
  appKeyAuth: []
14339
15359
  - AuthZ: []
14340
- summary: List permissions for a role
15360
+ summary: Get all users of a role
14341
15361
  tags:
14342
15362
  - Roles
14343
- x-codegen-request-body-name: body
14344
15363
  post:
14345
- description: Adds a permission to a role.
14346
- operationId: AddPermissionToRole
15364
+ description: Adds a user to a role.
15365
+ operationId: AddUserToRole
14347
15366
  parameters:
14348
15367
  - $ref: '#/components/parameters/RoleID'
14349
15368
  requestBody:
14350
15369
  content:
14351
15370
  application/json:
14352
15371
  schema:
14353
- $ref: '#/components/schemas/RelationshipToPermission'
15372
+ $ref: '#/components/schemas/RelationshipToUser'
14354
15373
  required: true
14355
15374
  responses:
14356
15375
  '200':
14357
15376
  content:
14358
15377
  application/json:
14359
15378
  schema:
14360
- $ref: '#/components/schemas/PermissionsResponse'
15379
+ $ref: '#/components/schemas/UsersResponse'
14361
15380
  description: OK
14362
15381
  '400':
14363
15382
  content:
@@ -14384,385 +15403,488 @@ paths:
14384
15403
  appKeyAuth: []
14385
15404
  - AuthZ:
14386
15405
  - user_access_manage
14387
- summary: Grant permission to a role
15406
+ summary: Add a user to a role
14388
15407
  tags:
14389
15408
  - Roles
14390
15409
  x-codegen-request-body-name: body
14391
- /api/v2/roles/{role_id}/users:
15410
+ /api/v2/rum/analytics/aggregate:
15411
+ post:
15412
+ description: The API endpoint to aggregate RUM events into buckets of computed
15413
+ metrics and timeseries.
15414
+ operationId: AggregateRUMEvents
15415
+ requestBody:
15416
+ content:
15417
+ application/json:
15418
+ schema:
15419
+ $ref: '#/components/schemas/RUMAggregateRequest'
15420
+ required: true
15421
+ responses:
15422
+ '200':
15423
+ content:
15424
+ application/json:
15425
+ schema:
15426
+ $ref: '#/components/schemas/RUMAnalyticsAggregateResponse'
15427
+ description: OK
15428
+ '400':
15429
+ $ref: '#/components/responses/BadRequestResponse'
15430
+ '403':
15431
+ $ref: '#/components/responses/NotAuthorizedResponse'
15432
+ '429':
15433
+ $ref: '#/components/responses/TooManyRequestsResponse'
15434
+ security:
15435
+ - apiKeyAuth: []
15436
+ appKeyAuth: []
15437
+ - AuthZ: []
15438
+ summary: Aggregate RUM events
15439
+ tags:
15440
+ - RUM
15441
+ x-codegen-request-body-name: body
15442
+ /api/v2/rum/applications:
15443
+ get:
15444
+ description: List all the RUM applications in your organization.
15445
+ operationId: GetRUMApplications
15446
+ responses:
15447
+ '200':
15448
+ content:
15449
+ application/json:
15450
+ schema:
15451
+ $ref: '#/components/schemas/RUMApplicationsResponse'
15452
+ description: OK
15453
+ '404':
15454
+ $ref: '#/components/responses/NotFoundResponse'
15455
+ '429':
15456
+ $ref: '#/components/responses/TooManyRequestsResponse'
15457
+ summary: List all the RUM applications
15458
+ tags:
15459
+ - RUM
15460
+ post:
15461
+ description: Create a new RUM application in your organization.
15462
+ operationId: CreateRUMApplication
15463
+ requestBody:
15464
+ content:
15465
+ application/json:
15466
+ schema:
15467
+ $ref: '#/components/schemas/RUMApplicationCreateRequest'
15468
+ required: true
15469
+ responses:
15470
+ '200':
15471
+ content:
15472
+ application/json:
15473
+ schema:
15474
+ $ref: '#/components/schemas/RUMApplicationResponse'
15475
+ description: OK
15476
+ '400':
15477
+ $ref: '#/components/responses/BadRequestResponse'
15478
+ '429':
15479
+ $ref: '#/components/responses/TooManyRequestsResponse'
15480
+ summary: Create a new RUM application
15481
+ tags:
15482
+ - RUM
15483
+ x-codegen-request-body-name: body
15484
+ /api/v2/rum/applications/{id}:
14392
15485
  delete:
14393
- description: Removes a user from a role.
14394
- operationId: RemoveUserFromRole
15486
+ description: Delete an existing RUM application in your organization.
15487
+ operationId: DeleteRUMApplication
15488
+ parameters:
15489
+ - description: RUM application ID.
15490
+ in: path
15491
+ name: id
15492
+ required: true
15493
+ schema:
15494
+ type: string
15495
+ responses:
15496
+ '204':
15497
+ description: No Content
15498
+ '404':
15499
+ $ref: '#/components/responses/NotFoundResponse'
15500
+ '429':
15501
+ $ref: '#/components/responses/TooManyRequestsResponse'
15502
+ summary: Delete a RUM application
15503
+ tags:
15504
+ - RUM
15505
+ get:
15506
+ description: Get the RUM application with given ID in your organization.
15507
+ operationId: GetRUMApplication
15508
+ parameters:
15509
+ - description: RUM application ID.
15510
+ in: path
15511
+ name: id
15512
+ required: true
15513
+ schema:
15514
+ type: string
15515
+ responses:
15516
+ '200':
15517
+ content:
15518
+ application/json:
15519
+ schema:
15520
+ $ref: '#/components/schemas/RUMApplicationResponse'
15521
+ description: OK
15522
+ '404':
15523
+ $ref: '#/components/responses/NotFoundResponse'
15524
+ '429':
15525
+ $ref: '#/components/responses/TooManyRequestsResponse'
15526
+ summary: Get a RUM application
15527
+ tags:
15528
+ - RUM
15529
+ patch:
15530
+ description: Update the RUM application with given ID in your organization.
15531
+ operationId: UpdateRUMApplication
14395
15532
  parameters:
14396
- - $ref: '#/components/parameters/RoleID'
15533
+ - description: RUM application ID.
15534
+ in: path
15535
+ name: id
15536
+ required: true
15537
+ schema:
15538
+ type: string
14397
15539
  requestBody:
14398
15540
  content:
14399
15541
  application/json:
14400
15542
  schema:
14401
- $ref: '#/components/schemas/RelationshipToUser'
15543
+ $ref: '#/components/schemas/RUMApplicationUpdateRequest'
14402
15544
  required: true
14403
15545
  responses:
14404
15546
  '200':
14405
15547
  content:
14406
15548
  application/json:
14407
15549
  schema:
14408
- $ref: '#/components/schemas/UsersResponse'
15550
+ $ref: '#/components/schemas/RUMApplicationResponse'
14409
15551
  description: OK
14410
15552
  '400':
14411
- content:
14412
- application/json:
14413
- schema:
14414
- $ref: '#/components/schemas/APIErrorResponse'
14415
- description: Bad Request
14416
- '403':
14417
- content:
14418
- application/json:
14419
- schema:
14420
- $ref: '#/components/schemas/APIErrorResponse'
14421
- description: Authentication error
15553
+ $ref: '#/components/responses/BadRequestResponse'
14422
15554
  '404':
15555
+ $ref: '#/components/responses/NotFoundResponse'
15556
+ '422':
14423
15557
  content:
14424
15558
  application/json:
14425
15559
  schema:
14426
15560
  $ref: '#/components/schemas/APIErrorResponse'
14427
- description: Not found
15561
+ description: Unprocessable Entity.
14428
15562
  '429':
14429
15563
  $ref: '#/components/responses/TooManyRequestsResponse'
14430
- security:
14431
- - apiKeyAuth: []
14432
- appKeyAuth: []
14433
- - AuthZ:
14434
- - user_access_manage
14435
- summary: Remove a user from a role
15564
+ summary: Update a RUM application
14436
15565
  tags:
14437
- - Roles
15566
+ - RUM
14438
15567
  x-codegen-request-body-name: body
15568
+ /api/v2/rum/events:
14439
15569
  get:
14440
- description: Gets all users of a role.
14441
- operationId: ListRoleUsers
14442
- parameters:
14443
- - $ref: '#/components/parameters/RoleID'
14444
- - $ref: '#/components/parameters/PageSize'
14445
- - $ref: '#/components/parameters/PageNumber'
14446
- - description: 'User attribute to order results by. Sort order is **ascending**
14447
- by default.
15570
+ description: 'List endpoint returns events that match a RUM search query.
14448
15571
 
14449
- Sort order is **descending** if the field is prefixed by a negative sign,
15572
+ [Results are paginated][1].
14450
15573
 
14451
- for example `sort=-name`. Options: `name`, `email`, `status`.'
15574
+
15575
+ Use this endpoint to see your latest RUM events.
15576
+
15577
+
15578
+ [1]: https://docs.datadoghq.com/logs/guide/collect-multiple-logs-with-pagination'
15579
+ operationId: ListRUMEvents
15580
+ parameters:
15581
+ - description: Search query following RUM syntax.
15582
+ example: '@type:session @application_id:xxxx'
14452
15583
  in: query
14453
- name: sort
15584
+ name: filter[query]
14454
15585
  required: false
14455
15586
  schema:
14456
- default: name
14457
15587
  type: string
14458
- - description: Filter all users by the given string. Defaults to no filtering.
15588
+ - description: Minimum timestamp for requested events.
15589
+ example: '2019-01-02T09:42:36.320Z'
14459
15590
  in: query
14460
- name: filter
15591
+ name: filter[from]
15592
+ required: false
15593
+ schema:
15594
+ format: date-time
15595
+ type: string
15596
+ - description: Maximum timestamp for requested events.
15597
+ example: '2019-01-03T09:42:36.320Z'
15598
+ in: query
15599
+ name: filter[to]
15600
+ required: false
15601
+ schema:
15602
+ format: date-time
15603
+ type: string
15604
+ - description: Order of events in results.
15605
+ in: query
15606
+ name: sort
15607
+ required: false
15608
+ schema:
15609
+ $ref: '#/components/schemas/RUMSort'
15610
+ - description: List following results with a cursor provided in the previous
15611
+ query.
15612
+ example: eyJzdGFydEF0IjoiQVFBQUFYS2tMS3pPbm40NGV3QUFBQUJCV0V0clRFdDZVbG8zY3pCRmNsbHJiVmxDWlEifQ==
15613
+ in: query
15614
+ name: page[cursor]
14461
15615
  required: false
14462
15616
  schema:
14463
15617
  type: string
15618
+ - description: Maximum number of events in the response.
15619
+ example: 25
15620
+ in: query
15621
+ name: page[limit]
15622
+ required: false
15623
+ schema:
15624
+ default: 10
15625
+ format: int32
15626
+ maximum: 1000
15627
+ type: integer
14464
15628
  responses:
14465
15629
  '200':
14466
15630
  content:
14467
15631
  application/json:
14468
15632
  schema:
14469
- $ref: '#/components/schemas/UsersResponse'
15633
+ $ref: '#/components/schemas/RUMEventsResponse'
14470
15634
  description: OK
15635
+ '400':
15636
+ $ref: '#/components/responses/BadRequestResponse'
14471
15637
  '403':
14472
- content:
14473
- application/json:
14474
- schema:
14475
- $ref: '#/components/schemas/APIErrorResponse'
14476
- description: Authentication error
14477
- '404':
14478
- content:
14479
- application/json:
14480
- schema:
14481
- $ref: '#/components/schemas/APIErrorResponse'
14482
- description: Not found
15638
+ $ref: '#/components/responses/NotAuthorizedResponse'
14483
15639
  '429':
14484
15640
  $ref: '#/components/responses/TooManyRequestsResponse'
14485
15641
  security:
14486
15642
  - apiKeyAuth: []
14487
15643
  appKeyAuth: []
14488
15644
  - AuthZ: []
14489
- summary: Get all users of a role
15645
+ summary: Get a list of RUM events
14490
15646
  tags:
14491
- - Roles
15647
+ - RUM
15648
+ x-pagination:
15649
+ cursorParam: page[cursor]
15650
+ cursorPath: meta.page.after
15651
+ limitParam: page[limit]
15652
+ resultsPath: data
15653
+ /api/v2/rum/events/search:
14492
15654
  post:
14493
- description: Adds a user to a role.
14494
- operationId: AddUserToRole
14495
- parameters:
14496
- - $ref: '#/components/parameters/RoleID'
15655
+ description: 'List endpoint returns RUM events that match a RUM search query.
15656
+
15657
+ [Results are paginated][1].
15658
+
15659
+
15660
+ Use this endpoint to build complex RUM events filtering and search.
15661
+
15662
+
15663
+ [1]: https://docs.datadoghq.com/logs/guide/collect-multiple-logs-with-pagination'
15664
+ operationId: SearchRUMEvents
14497
15665
  requestBody:
14498
15666
  content:
14499
15667
  application/json:
14500
15668
  schema:
14501
- $ref: '#/components/schemas/RelationshipToUser'
15669
+ $ref: '#/components/schemas/RUMSearchEventsRequest'
14502
15670
  required: true
14503
15671
  responses:
14504
15672
  '200':
14505
15673
  content:
14506
15674
  application/json:
14507
15675
  schema:
14508
- $ref: '#/components/schemas/UsersResponse'
15676
+ $ref: '#/components/schemas/RUMEventsResponse'
14509
15677
  description: OK
14510
15678
  '400':
14511
- content:
14512
- application/json:
14513
- schema:
14514
- $ref: '#/components/schemas/APIErrorResponse'
14515
- description: Bad Request
15679
+ $ref: '#/components/responses/BadRequestResponse'
14516
15680
  '403':
14517
- content:
14518
- application/json:
14519
- schema:
14520
- $ref: '#/components/schemas/APIErrorResponse'
14521
- description: Authentication error
14522
- '404':
14523
- content:
14524
- application/json:
14525
- schema:
14526
- $ref: '#/components/schemas/APIErrorResponse'
14527
- description: Not found
15681
+ $ref: '#/components/responses/NotAuthorizedResponse'
14528
15682
  '429':
14529
15683
  $ref: '#/components/responses/TooManyRequestsResponse'
14530
15684
  security:
14531
15685
  - apiKeyAuth: []
14532
15686
  appKeyAuth: []
14533
- - AuthZ:
14534
- - user_access_manage
14535
- summary: Add a user to a role
15687
+ - AuthZ: []
15688
+ summary: Search RUM events
14536
15689
  tags:
14537
- - Roles
15690
+ - RUM
14538
15691
  x-codegen-request-body-name: body
14539
- /api/v2/rum/analytics/aggregate:
15692
+ x-pagination:
15693
+ cursorParam: body.page.cursor
15694
+ cursorPath: meta.page.after
15695
+ limitParam: body.page.limit
15696
+ resultsPath: data
15697
+ /api/v2/saml_configurations/idp_metadata:
14540
15698
  post:
14541
- description: The API endpoint to aggregate RUM events into buckets of computed
14542
- metrics and timeseries.
14543
- operationId: AggregateRUMEvents
15699
+ description: 'Endpoint for uploading IdP metadata for SAML setup.
15700
+
15701
+
15702
+ Use this endpoint to upload or replace IdP metadata for SAML login configuration.'
15703
+ operationId: UploadIdPMetadata
14544
15704
  requestBody:
14545
15705
  content:
14546
- application/json:
15706
+ multipart/form-data:
14547
15707
  schema:
14548
- $ref: '#/components/schemas/RUMAggregateRequest'
15708
+ $ref: '#/components/schemas/IdPMetadataFormData'
14549
15709
  required: true
14550
15710
  responses:
14551
15711
  '200':
15712
+ description: OK
15713
+ '400':
14552
15714
  content:
14553
15715
  application/json:
14554
15716
  schema:
14555
- $ref: '#/components/schemas/RUMAnalyticsAggregateResponse'
15717
+ $ref: '#/components/schemas/APIErrorResponse'
15718
+ description: Bad Request
15719
+ '403':
15720
+ content:
15721
+ application/json:
15722
+ schema:
15723
+ $ref: '#/components/schemas/APIErrorResponse'
15724
+ description: Forbidden
15725
+ '429':
15726
+ $ref: '#/components/responses/TooManyRequestsResponse'
15727
+ summary: Upload IdP metadata
15728
+ tags:
15729
+ - Organizations
15730
+ x-codegen-request-body-name: body
15731
+ /api/v2/security/cloud_workload/policy/download:
15732
+ get:
15733
+ description: 'The download endpoint generates a Cloud Workload Security policy
15734
+ file from your currently active
15735
+
15736
+ Cloud Workload Security rules, and downloads them as a .policy file. This
15737
+ file can then be deployed to
15738
+
15739
+ your Agents to update the policy running in your environment.'
15740
+ operationId: DownloadCloudWorkloadPolicyFile
15741
+ responses:
15742
+ '200':
15743
+ content:
15744
+ application/yaml:
15745
+ schema:
15746
+ format: binary
15747
+ type: string
14556
15748
  description: OK
14557
- '400':
14558
- $ref: '#/components/responses/BadRequestResponse'
14559
15749
  '403':
14560
15750
  $ref: '#/components/responses/NotAuthorizedResponse'
14561
15751
  '429':
14562
15752
  $ref: '#/components/responses/TooManyRequestsResponse'
14563
- security:
14564
- - apiKeyAuth: []
14565
- appKeyAuth: []
14566
- - AuthZ: []
14567
- summary: Aggregate RUM events
15753
+ summary: Get the latest Cloud Workload Security policy
14568
15754
  tags:
14569
- - RUM
14570
- x-codegen-request-body-name: body
14571
- /api/v2/rum/applications:
15755
+ - Cloud Workload Security
15756
+ /api/v2/security_monitoring/cloud_workload_security/agent_rules:
14572
15757
  get:
14573
- description: List all the RUM applications in your organization.
14574
- operationId: GetRUMApplications
15758
+ description: Get the list of Agent rules.
15759
+ operationId: ListCloudWorkloadSecurityAgentRules
14575
15760
  responses:
14576
15761
  '200':
14577
15762
  content:
14578
15763
  application/json:
14579
15764
  schema:
14580
- $ref: '#/components/schemas/RUMApplicationsResponse'
15765
+ $ref: '#/components/schemas/CloudWorkloadSecurityAgentRulesListResponse'
14581
15766
  description: OK
14582
- '404':
14583
- $ref: '#/components/responses/NotFoundResponse'
15767
+ '403':
15768
+ $ref: '#/components/responses/NotAuthorizedResponse'
14584
15769
  '429':
14585
15770
  $ref: '#/components/responses/TooManyRequestsResponse'
14586
- summary: List all the RUM applications
15771
+ summary: Get all Cloud Workload Security Agent rules
14587
15772
  tags:
14588
- - RUM
15773
+ - Cloud Workload Security
14589
15774
  post:
14590
- description: Create a new RUM application in your organization.
14591
- operationId: CreateRUMApplication
15775
+ description: Create a new Agent rule with the given parameters.
15776
+ operationId: CreateCloudWorkloadSecurityAgentRule
14592
15777
  requestBody:
14593
15778
  content:
14594
15779
  application/json:
14595
15780
  schema:
14596
- $ref: '#/components/schemas/RUMApplicationCreateRequest'
15781
+ $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleCreateRequest'
15782
+ description: The definition of the new Agent rule.
14597
15783
  required: true
14598
15784
  responses:
14599
15785
  '200':
14600
15786
  content:
14601
15787
  application/json:
14602
15788
  schema:
14603
- $ref: '#/components/schemas/RUMApplicationResponse'
15789
+ $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleResponse'
14604
15790
  description: OK
14605
15791
  '400':
14606
15792
  $ref: '#/components/responses/BadRequestResponse'
15793
+ '403':
15794
+ $ref: '#/components/responses/NotAuthorizedResponse'
15795
+ '409':
15796
+ $ref: '#/components/responses/ConflictResponse'
14607
15797
  '429':
14608
15798
  $ref: '#/components/responses/TooManyRequestsResponse'
14609
- summary: Create a new RUM application
15799
+ summary: Create a Cloud Workload Security Agent rule
14610
15800
  tags:
14611
- - RUM
15801
+ - Cloud Workload Security
14612
15802
  x-codegen-request-body-name: body
14613
- /api/v2/rum/applications/{id}:
15803
+ /api/v2/security_monitoring/cloud_workload_security/agent_rules/{agent_rule_id}:
14614
15804
  delete:
14615
- description: Delete an existing RUM application in your organization.
14616
- operationId: DeleteRUMApplication
15805
+ description: Delete a specific Agent rule.
15806
+ operationId: DeleteCloudWorkloadSecurityAgentRule
14617
15807
  parameters:
14618
- - description: RUM application ID.
14619
- in: path
14620
- name: id
14621
- required: true
14622
- schema:
14623
- type: string
15808
+ - $ref: '#/components/parameters/CloudWorkloadSecurityAgentRuleID'
14624
15809
  responses:
14625
15810
  '204':
14626
- description: No Content
15811
+ description: OK
15812
+ '403':
15813
+ $ref: '#/components/responses/NotAuthorizedResponse'
14627
15814
  '404':
14628
15815
  $ref: '#/components/responses/NotFoundResponse'
14629
15816
  '429':
14630
15817
  $ref: '#/components/responses/TooManyRequestsResponse'
14631
- summary: Delete a RUM application
15818
+ summary: Delete a Cloud Workload Security Agent rule
14632
15819
  tags:
14633
- - RUM
15820
+ - Cloud Workload Security
14634
15821
  get:
14635
- description: Get the RUM application with given ID in your organization.
14636
- operationId: GetRUMApplication
15822
+ description: Get the details of a specific Agent rule.
15823
+ operationId: GetCloudWorkloadSecurityAgentRule
14637
15824
  parameters:
14638
- - description: RUM application ID.
14639
- in: path
14640
- name: id
14641
- required: true
14642
- schema:
14643
- type: string
15825
+ - $ref: '#/components/parameters/CloudWorkloadSecurityAgentRuleID'
14644
15826
  responses:
14645
15827
  '200':
14646
15828
  content:
14647
15829
  application/json:
14648
15830
  schema:
14649
- $ref: '#/components/schemas/RUMApplicationResponse'
15831
+ $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleResponse'
14650
15832
  description: OK
15833
+ '403':
15834
+ $ref: '#/components/responses/NotAuthorizedResponse'
14651
15835
  '404':
14652
15836
  $ref: '#/components/responses/NotFoundResponse'
14653
15837
  '429':
14654
15838
  $ref: '#/components/responses/TooManyRequestsResponse'
14655
- summary: Get a RUM application
15839
+ summary: Get a Cloud Workload Security Agent rule
14656
15840
  tags:
14657
- - RUM
15841
+ - Cloud Workload Security
14658
15842
  patch:
14659
- description: Update the RUM application with given ID in your organization.
14660
- operationId: UpdateRUMApplication
15843
+ description: 'Update a specific Agent rule.
15844
+
15845
+ Returns the Agent rule object when the request is successful.'
15846
+ operationId: UpdateCloudWorkloadSecurityAgentRule
14661
15847
  parameters:
14662
- - description: RUM application ID.
14663
- in: path
14664
- name: id
14665
- required: true
14666
- schema:
14667
- type: string
15848
+ - $ref: '#/components/parameters/CloudWorkloadSecurityAgentRuleID'
14668
15849
  requestBody:
14669
15850
  content:
14670
15851
  application/json:
14671
15852
  schema:
14672
- $ref: '#/components/schemas/RUMApplicationUpdateRequest'
15853
+ $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleUpdateRequest'
15854
+ description: New definition of the Agent rule.
14673
15855
  required: true
14674
15856
  responses:
14675
15857
  '200':
14676
15858
  content:
14677
15859
  application/json:
14678
15860
  schema:
14679
- $ref: '#/components/schemas/RUMApplicationResponse'
15861
+ $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleResponse'
14680
15862
  description: OK
14681
15863
  '400':
14682
15864
  $ref: '#/components/responses/BadRequestResponse'
15865
+ '403':
15866
+ $ref: '#/components/responses/NotAuthorizedResponse'
14683
15867
  '404':
14684
15868
  $ref: '#/components/responses/NotFoundResponse'
14685
- '422':
14686
- content:
14687
- application/json:
14688
- schema:
14689
- $ref: '#/components/schemas/APIErrorResponse'
14690
- description: Unprocessable Entity.
15869
+ '409':
15870
+ $ref: '#/components/responses/ConcurrentModificationResponse'
14691
15871
  '429':
14692
15872
  $ref: '#/components/responses/TooManyRequestsResponse'
14693
- summary: Update a RUM application
15873
+ summary: Update a Cloud Workload Security Agent rule
14694
15874
  tags:
14695
- - RUM
15875
+ - Cloud Workload Security
14696
15876
  x-codegen-request-body-name: body
14697
- /api/v2/rum/events:
15877
+ /api/v2/security_monitoring/configuration/security_filters:
14698
15878
  get:
14699
- description: 'List endpoint returns events that match a RUM search query.
14700
-
14701
- [Results are paginated][1].
14702
-
14703
-
14704
- Use this endpoint to see your latest RUM events.
14705
-
14706
-
14707
- [1]: https://docs.datadoghq.com/logs/guide/collect-multiple-logs-with-pagination'
14708
- operationId: ListRUMEvents
14709
- parameters:
14710
- - description: Search query following RUM syntax.
14711
- example: '@type:session @application_id:xxxx'
14712
- in: query
14713
- name: filter[query]
14714
- required: false
14715
- schema:
14716
- type: string
14717
- - description: Minimum timestamp for requested events.
14718
- example: '2019-01-02T09:42:36.320Z'
14719
- in: query
14720
- name: filter[from]
14721
- required: false
14722
- schema:
14723
- format: date-time
14724
- type: string
14725
- - description: Maximum timestamp for requested events.
14726
- example: '2019-01-03T09:42:36.320Z'
14727
- in: query
14728
- name: filter[to]
14729
- required: false
14730
- schema:
14731
- format: date-time
14732
- type: string
14733
- - description: Order of events in results.
14734
- in: query
14735
- name: sort
14736
- required: false
14737
- schema:
14738
- $ref: '#/components/schemas/RUMSort'
14739
- - description: List following results with a cursor provided in the previous
14740
- query.
14741
- example: eyJzdGFydEF0IjoiQVFBQUFYS2tMS3pPbm40NGV3QUFBQUJCV0V0clRFdDZVbG8zY3pCRmNsbHJiVmxDWlEifQ==
14742
- in: query
14743
- name: page[cursor]
14744
- required: false
14745
- schema:
14746
- type: string
14747
- - description: Maximum number of events in the response.
14748
- example: 25
14749
- in: query
14750
- name: page[limit]
14751
- required: false
14752
- schema:
14753
- default: 10
14754
- format: int32
14755
- maximum: 1000
14756
- type: integer
15879
+ description: Get the list of configured security filters with their definitions.
15880
+ operationId: ListSecurityFilters
14757
15881
  responses:
14758
15882
  '200':
14759
15883
  content:
14760
15884
  application/json:
14761
15885
  schema:
14762
- $ref: '#/components/schemas/RUMEventsResponse'
15886
+ $ref: '#/components/schemas/SecurityFiltersResponse'
14763
15887
  description: OK
14764
- '400':
14765
- $ref: '#/components/responses/BadRequestResponse'
14766
15888
  '403':
14767
15889
  $ref: '#/components/responses/NotAuthorizedResponse'
14768
15890
  '429':
@@ -14770,171 +15892,207 @@ paths:
14770
15892
  security:
14771
15893
  - apiKeyAuth: []
14772
15894
  appKeyAuth: []
14773
- - AuthZ: []
14774
- summary: Get a list of RUM events
15895
+ - AuthZ:
15896
+ - security_monitoring_filters_read
15897
+ summary: Get all security filters
14775
15898
  tags:
14776
- - RUM
14777
- x-pagination:
14778
- cursorParam: page[cursor]
14779
- cursorPath: meta.page.after
14780
- limitParam: page[limit]
14781
- resultsPath: data
14782
- /api/v2/rum/events/search:
15899
+ - Security Monitoring
14783
15900
  post:
14784
- description: 'List endpoint returns RUM events that match a RUM search query.
14785
-
14786
- [Results are paginated][1].
14787
-
15901
+ description: 'Create a security filter.
14788
15902
 
14789
- Use this endpoint to build complex RUM events filtering and search.
14790
15903
 
15904
+ See the [security filter guide](https://docs.datadoghq.com/security_platform/guide/how-to-setup-security-filters-using-security-monitoring-api/)
14791
15905
 
14792
- [1]: https://docs.datadoghq.com/logs/guide/collect-multiple-logs-with-pagination'
14793
- operationId: SearchRUMEvents
15906
+ for more examples.'
15907
+ operationId: CreateSecurityFilter
14794
15908
  requestBody:
14795
15909
  content:
14796
15910
  application/json:
14797
15911
  schema:
14798
- $ref: '#/components/schemas/RUMSearchEventsRequest'
15912
+ $ref: '#/components/schemas/SecurityFilterCreateRequest'
15913
+ description: The definition of the new security filter.
14799
15914
  required: true
14800
15915
  responses:
14801
15916
  '200':
14802
15917
  content:
14803
15918
  application/json:
14804
15919
  schema:
14805
- $ref: '#/components/schemas/RUMEventsResponse'
15920
+ $ref: '#/components/schemas/SecurityFilterResponse'
14806
15921
  description: OK
14807
15922
  '400':
14808
15923
  $ref: '#/components/responses/BadRequestResponse'
14809
15924
  '403':
14810
15925
  $ref: '#/components/responses/NotAuthorizedResponse'
15926
+ '409':
15927
+ $ref: '#/components/responses/ConflictResponse'
14811
15928
  '429':
14812
15929
  $ref: '#/components/responses/TooManyRequestsResponse'
14813
15930
  security:
14814
15931
  - apiKeyAuth: []
14815
15932
  appKeyAuth: []
14816
- - AuthZ: []
14817
- summary: Search RUM events
15933
+ - AuthZ:
15934
+ - security_monitoring_filters_write
15935
+ summary: Create a security filter
14818
15936
  tags:
14819
- - RUM
15937
+ - Security Monitoring
14820
15938
  x-codegen-request-body-name: body
14821
- x-pagination:
14822
- cursorParam: body.page.cursor
14823
- cursorPath: meta.page.after
14824
- limitParam: body.page.limit
14825
- resultsPath: data
14826
- /api/v2/saml_configurations/idp_metadata:
14827
- post:
14828
- description: 'Endpoint for uploading IdP metadata for SAML setup.
15939
+ /api/v2/security_monitoring/configuration/security_filters/{security_filter_id}:
15940
+ delete:
15941
+ description: Delete a specific security filter.
15942
+ operationId: DeleteSecurityFilter
15943
+ parameters:
15944
+ - $ref: '#/components/parameters/SecurityFilterID'
15945
+ responses:
15946
+ '204':
15947
+ description: OK
15948
+ '403':
15949
+ $ref: '#/components/responses/NotAuthorizedResponse'
15950
+ '404':
15951
+ $ref: '#/components/responses/NotFoundResponse'
15952
+ '429':
15953
+ $ref: '#/components/responses/TooManyRequestsResponse'
15954
+ security:
15955
+ - apiKeyAuth: []
15956
+ appKeyAuth: []
15957
+ - AuthZ:
15958
+ - security_monitoring_filters_write
15959
+ summary: Delete a security filter
15960
+ tags:
15961
+ - Security Monitoring
15962
+ get:
15963
+ description: 'Get the details of a specific security filter.
14829
15964
 
14830
15965
 
14831
- Use this endpoint to upload or replace IdP metadata for SAML login configuration.'
14832
- operationId: UploadIdPMetadata
15966
+ See the [security filter guide](https://docs.datadoghq.com/security_platform/guide/how-to-setup-security-filters-using-security-monitoring-api/)
15967
+
15968
+ for more examples.'
15969
+ operationId: GetSecurityFilter
15970
+ parameters:
15971
+ - $ref: '#/components/parameters/SecurityFilterID'
15972
+ responses:
15973
+ '200':
15974
+ content:
15975
+ application/json:
15976
+ schema:
15977
+ $ref: '#/components/schemas/SecurityFilterResponse'
15978
+ description: OK
15979
+ '403':
15980
+ $ref: '#/components/responses/NotAuthorizedResponse'
15981
+ '404':
15982
+ $ref: '#/components/responses/NotFoundResponse'
15983
+ '429':
15984
+ $ref: '#/components/responses/TooManyRequestsResponse'
15985
+ security:
15986
+ - apiKeyAuth: []
15987
+ appKeyAuth: []
15988
+ - AuthZ:
15989
+ - security_monitoring_filters_read
15990
+ summary: Get a security filter
15991
+ tags:
15992
+ - Security Monitoring
15993
+ patch:
15994
+ description: 'Update a specific security filter.
15995
+
15996
+ Returns the security filter object when the request is successful.'
15997
+ operationId: UpdateSecurityFilter
15998
+ parameters:
15999
+ - $ref: '#/components/parameters/SecurityFilterID'
14833
16000
  requestBody:
14834
16001
  content:
14835
- multipart/form-data:
16002
+ application/json:
14836
16003
  schema:
14837
- $ref: '#/components/schemas/IdPMetadataFormData'
16004
+ $ref: '#/components/schemas/SecurityFilterUpdateRequest'
16005
+ description: New definition of the security filter.
14838
16006
  required: true
14839
16007
  responses:
14840
16008
  '200':
14841
- description: OK
14842
- '400':
14843
- content:
14844
- application/json:
14845
- schema:
14846
- $ref: '#/components/schemas/APIErrorResponse'
14847
- description: Bad Request
14848
- '403':
14849
16009
  content:
14850
16010
  application/json:
14851
16011
  schema:
14852
- $ref: '#/components/schemas/APIErrorResponse'
14853
- description: Forbidden
14854
- '429':
14855
- $ref: '#/components/responses/TooManyRequestsResponse'
14856
- summary: Upload IdP metadata
14857
- tags:
14858
- - Organizations
14859
- x-codegen-request-body-name: body
14860
- /api/v2/security/cloud_workload/policy/download:
14861
- get:
14862
- description: 'The download endpoint generates a Cloud Workload Security policy
14863
- file from your currently active
14864
-
14865
- Cloud Workload Security rules, and downloads them as a .policy file. This
14866
- file can then be deployed to
14867
-
14868
- your Agents to update the policy running in your environment.'
14869
- operationId: DownloadCloudWorkloadPolicyFile
14870
- responses:
14871
- '200':
14872
- content:
14873
- application/yaml:
14874
- schema:
14875
- format: binary
14876
- type: string
16012
+ $ref: '#/components/schemas/SecurityFilterResponse'
14877
16013
  description: OK
16014
+ '400':
16015
+ $ref: '#/components/responses/BadRequestResponse'
14878
16016
  '403':
14879
16017
  $ref: '#/components/responses/NotAuthorizedResponse'
16018
+ '404':
16019
+ $ref: '#/components/responses/NotFoundResponse'
16020
+ '409':
16021
+ $ref: '#/components/responses/ConcurrentModificationResponse'
14880
16022
  '429':
14881
16023
  $ref: '#/components/responses/TooManyRequestsResponse'
14882
- summary: Get the latest Cloud Workload Security policy
16024
+ security:
16025
+ - apiKeyAuth: []
16026
+ appKeyAuth: []
16027
+ - AuthZ:
16028
+ - security_monitoring_filters_write
16029
+ summary: Update a security filter
14883
16030
  tags:
14884
- - Cloud Workload Security
14885
- /api/v2/security_monitoring/cloud_workload_security/agent_rules:
16031
+ - Security Monitoring
16032
+ x-codegen-request-body-name: body
16033
+ /api/v2/security_monitoring/rules:
14886
16034
  get:
14887
- description: Get the list of Agent rules.
14888
- operationId: ListCloudWorkloadSecurityAgentRules
16035
+ description: List rules.
16036
+ operationId: ListSecurityMonitoringRules
16037
+ parameters:
16038
+ - $ref: '#/components/parameters/PageSize'
16039
+ - $ref: '#/components/parameters/PageNumber'
14889
16040
  responses:
14890
16041
  '200':
14891
16042
  content:
14892
16043
  application/json:
14893
16044
  schema:
14894
- $ref: '#/components/schemas/CloudWorkloadSecurityAgentRulesListResponse'
16045
+ $ref: '#/components/schemas/SecurityMonitoringListRulesResponse'
14895
16046
  description: OK
14896
- '403':
14897
- $ref: '#/components/responses/NotAuthorizedResponse'
16047
+ '400':
16048
+ $ref: '#/components/responses/BadRequestResponse'
14898
16049
  '429':
14899
16050
  $ref: '#/components/responses/TooManyRequestsResponse'
14900
- summary: Get all Cloud Workload Security Agent rules
16051
+ security:
16052
+ - apiKeyAuth: []
16053
+ appKeyAuth: []
16054
+ - AuthZ:
16055
+ - security_monitoring_rules_read
16056
+ summary: List rules
14901
16057
  tags:
14902
- - Cloud Workload Security
16058
+ - Security Monitoring
14903
16059
  post:
14904
- description: Create a new Agent rule with the given parameters.
14905
- operationId: CreateCloudWorkloadSecurityAgentRule
16060
+ description: Create a detection rule.
16061
+ operationId: CreateSecurityMonitoringRule
14906
16062
  requestBody:
14907
16063
  content:
14908
16064
  application/json:
14909
16065
  schema:
14910
- $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleCreateRequest'
14911
- description: The definition of the new Agent rule.
16066
+ $ref: '#/components/schemas/SecurityMonitoringRuleCreatePayload'
14912
16067
  required: true
14913
16068
  responses:
14914
16069
  '200':
14915
16070
  content:
14916
16071
  application/json:
14917
16072
  schema:
14918
- $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleResponse'
16073
+ $ref: '#/components/schemas/SecurityMonitoringRuleResponse'
14919
16074
  description: OK
14920
16075
  '400':
14921
16076
  $ref: '#/components/responses/BadRequestResponse'
14922
16077
  '403':
14923
16078
  $ref: '#/components/responses/NotAuthorizedResponse'
14924
- '409':
14925
- $ref: '#/components/responses/ConflictResponse'
14926
16079
  '429':
14927
16080
  $ref: '#/components/responses/TooManyRequestsResponse'
14928
- summary: Create a Cloud Workload Security Agent rule
16081
+ security:
16082
+ - apiKeyAuth: []
16083
+ appKeyAuth: []
16084
+ - AuthZ:
16085
+ - security_monitoring_rules_write
16086
+ summary: Create a detection rule
14929
16087
  tags:
14930
- - Cloud Workload Security
16088
+ - Security Monitoring
14931
16089
  x-codegen-request-body-name: body
14932
- /api/v2/security_monitoring/cloud_workload_security/agent_rules/{agent_rule_id}:
16090
+ /api/v2/security_monitoring/rules/{rule_id}:
14933
16091
  delete:
14934
- description: Delete a specific Agent rule.
14935
- operationId: DeleteCloudWorkloadSecurityAgentRule
16092
+ description: Delete an existing rule. Default rules cannot be deleted.
16093
+ operationId: DeleteSecurityMonitoringRule
14936
16094
  parameters:
14937
- - $ref: '#/components/parameters/CloudWorkloadSecurityAgentRuleID'
16095
+ - $ref: '#/components/parameters/SecurityMonitoringRuleID'
14938
16096
  responses:
14939
16097
  '204':
14940
16098
  description: OK
@@ -14944,76 +16102,147 @@ paths:
14944
16102
  $ref: '#/components/responses/NotFoundResponse'
14945
16103
  '429':
14946
16104
  $ref: '#/components/responses/TooManyRequestsResponse'
14947
- summary: Delete a Cloud Workload Security Agent rule
16105
+ security:
16106
+ - apiKeyAuth: []
16107
+ appKeyAuth: []
16108
+ - AuthZ:
16109
+ - security_monitoring_rules_write
16110
+ summary: Delete an existing rule
14948
16111
  tags:
14949
- - Cloud Workload Security
16112
+ - Security Monitoring
14950
16113
  get:
14951
- description: Get the details of a specific Agent rule.
14952
- operationId: GetCloudWorkloadSecurityAgentRule
16114
+ description: Get a rule's details.
16115
+ operationId: GetSecurityMonitoringRule
14953
16116
  parameters:
14954
- - $ref: '#/components/parameters/CloudWorkloadSecurityAgentRuleID'
16117
+ - $ref: '#/components/parameters/SecurityMonitoringRuleID'
14955
16118
  responses:
14956
16119
  '200':
14957
16120
  content:
14958
16121
  application/json:
14959
16122
  schema:
14960
- $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleResponse'
16123
+ $ref: '#/components/schemas/SecurityMonitoringRuleResponse'
14961
16124
  description: OK
14962
- '403':
14963
- $ref: '#/components/responses/NotAuthorizedResponse'
14964
16125
  '404':
14965
16126
  $ref: '#/components/responses/NotFoundResponse'
14966
16127
  '429':
14967
16128
  $ref: '#/components/responses/TooManyRequestsResponse'
14968
- summary: Get a Cloud Workload Security Agent rule
16129
+ security:
16130
+ - apiKeyAuth: []
16131
+ appKeyAuth: []
16132
+ - AuthZ:
16133
+ - security_monitoring_rules_read
16134
+ summary: Get a rule's details
14969
16135
  tags:
14970
- - Cloud Workload Security
14971
- patch:
14972
- description: 'Update a specific Agent rule.
16136
+ - Security Monitoring
16137
+ put:
16138
+ description: 'Update an existing rule. When updating `cases`, `queries` or `options`,
16139
+ the whole field
14973
16140
 
14974
- Returns the Agent rule object when the request is successful.'
14975
- operationId: UpdateCloudWorkloadSecurityAgentRule
16141
+ must be included. For example, when modifying a query all queries must be
16142
+ included.
16143
+
16144
+ Default rules can only be updated to be enabled and to change notifications.'
16145
+ operationId: UpdateSecurityMonitoringRule
14976
16146
  parameters:
14977
- - $ref: '#/components/parameters/CloudWorkloadSecurityAgentRuleID'
16147
+ - $ref: '#/components/parameters/SecurityMonitoringRuleID'
14978
16148
  requestBody:
14979
16149
  content:
14980
16150
  application/json:
14981
16151
  schema:
14982
- $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleUpdateRequest'
14983
- description: New definition of the Agent rule.
16152
+ $ref: '#/components/schemas/SecurityMonitoringRuleUpdatePayload'
14984
16153
  required: true
14985
16154
  responses:
14986
16155
  '200':
14987
16156
  content:
14988
16157
  application/json:
14989
16158
  schema:
14990
- $ref: '#/components/schemas/CloudWorkloadSecurityAgentRuleResponse'
16159
+ $ref: '#/components/schemas/SecurityMonitoringRuleResponse'
14991
16160
  description: OK
14992
16161
  '400':
14993
16162
  $ref: '#/components/responses/BadRequestResponse'
16163
+ '401':
16164
+ $ref: '#/components/responses/ConcurrentModificationResponse'
14994
16165
  '403':
14995
16166
  $ref: '#/components/responses/NotAuthorizedResponse'
14996
16167
  '404':
14997
16168
  $ref: '#/components/responses/NotFoundResponse'
14998
- '409':
14999
- $ref: '#/components/responses/ConcurrentModificationResponse'
15000
16169
  '429':
15001
16170
  $ref: '#/components/responses/TooManyRequestsResponse'
15002
- summary: Update a Cloud Workload Security Agent rule
16171
+ security:
16172
+ - apiKeyAuth: []
16173
+ appKeyAuth: []
16174
+ - AuthZ:
16175
+ - security_monitoring_rules_write
16176
+ summary: Update an existing rule
15003
16177
  tags:
15004
- - Cloud Workload Security
16178
+ - Security Monitoring
15005
16179
  x-codegen-request-body-name: body
15006
- /api/v2/security_monitoring/configuration/security_filters:
16180
+ /api/v2/security_monitoring/signals:
15007
16181
  get:
15008
- description: Get the list of configured security filters with their definitions.
15009
- operationId: ListSecurityFilters
16182
+ description: 'The list endpoint returns security signals that match a search
16183
+ query.
16184
+
16185
+ Both this endpoint and the POST endpoint can be used interchangeably when
16186
+ listing
16187
+
16188
+ security signals.'
16189
+ operationId: ListSecurityMonitoringSignals
16190
+ parameters:
16191
+ - description: The search query for security signals.
16192
+ example: security:attack status:high
16193
+ in: query
16194
+ name: filter[query]
16195
+ required: false
16196
+ schema:
16197
+ type: string
16198
+ - description: The minimum timestamp for requested security signals.
16199
+ example: '2019-01-02T09:42:36.320Z'
16200
+ in: query
16201
+ name: filter[from]
16202
+ required: false
16203
+ schema:
16204
+ format: date-time
16205
+ type: string
16206
+ - description: The maximum timestamp for requested security signals.
16207
+ example: '2019-01-03T09:42:36.320Z'
16208
+ in: query
16209
+ name: filter[to]
16210
+ required: false
16211
+ schema:
16212
+ format: date-time
16213
+ type: string
16214
+ - description: The order of the security signals in results.
16215
+ in: query
16216
+ name: sort
16217
+ required: false
16218
+ schema:
16219
+ $ref: '#/components/schemas/SecurityMonitoringSignalsSort'
16220
+ - description: A list of results using the cursor provided in the previous query.
16221
+ example: eyJzdGFydEF0IjoiQVFBQUFYS2tMS3pPbm40NGV3QUFBQUJCV0V0clRFdDZVbG8zY3pCRmNsbHJiVmxDWlEifQ==
16222
+ in: query
16223
+ name: page[cursor]
16224
+ required: false
16225
+ schema:
16226
+ type: string
16227
+ - description: The maximum number of security signals in the response.
16228
+ example: 25
16229
+ in: query
16230
+ name: page[limit]
16231
+ required: false
16232
+ schema:
16233
+ default: 10
16234
+ format: int32
16235
+ maximum: 1000
16236
+ type: integer
15010
16237
  responses:
15011
16238
  '200':
15012
16239
  content:
15013
16240
  application/json:
15014
16241
  schema:
15015
- $ref: '#/components/schemas/SecurityFiltersResponse'
16242
+ $ref: '#/components/schemas/SecurityMonitoringSignalsListResponse'
15016
16243
  description: OK
16244
+ '400':
16245
+ $ref: '#/components/responses/BadRequestResponse'
15017
16246
  '403':
15018
16247
  $ref: '#/components/responses/NotAuthorizedResponse'
15019
16248
  '429':
@@ -15022,91 +16251,69 @@ paths:
15022
16251
  - apiKeyAuth: []
15023
16252
  appKeyAuth: []
15024
16253
  - AuthZ:
15025
- - security_monitoring_filters_read
15026
- summary: Get all security filters
16254
+ - security_monitoring_signals_read
16255
+ summary: Get a quick list of security signals
15027
16256
  tags:
15028
16257
  - Security Monitoring
16258
+ x-pagination:
16259
+ cursorParam: page[cursor]
16260
+ cursorPath: meta.page.after
16261
+ limitParam: page[limit]
16262
+ resultsPath: data
16263
+ /api/v2/security_monitoring/signals/search:
15029
16264
  post:
15030
- description: 'Create a security filter.
15031
-
16265
+ description: 'Returns security signals that match a search query.
15032
16266
 
15033
- See the [security filter guide](https://docs.datadoghq.com/security_platform/guide/how-to-setup-security-filters-using-security-monitoring-api/)
16267
+ Both this endpoint and the GET endpoint can be used interchangeably for listing
15034
16268
 
15035
- for more examples.'
15036
- operationId: CreateSecurityFilter
16269
+ security signals.'
16270
+ operationId: SearchSecurityMonitoringSignals
15037
16271
  requestBody:
15038
16272
  content:
15039
16273
  application/json:
15040
16274
  schema:
15041
- $ref: '#/components/schemas/SecurityFilterCreateRequest'
15042
- description: The definition of the new security filter.
15043
- required: true
16275
+ $ref: '#/components/schemas/SecurityMonitoringSignalListRequest'
16276
+ required: false
15044
16277
  responses:
15045
16278
  '200':
15046
16279
  content:
15047
16280
  application/json:
15048
16281
  schema:
15049
- $ref: '#/components/schemas/SecurityFilterResponse'
16282
+ $ref: '#/components/schemas/SecurityMonitoringSignalsListResponse'
15050
16283
  description: OK
15051
16284
  '400':
15052
16285
  $ref: '#/components/responses/BadRequestResponse'
15053
16286
  '403':
15054
16287
  $ref: '#/components/responses/NotAuthorizedResponse'
15055
- '409':
15056
- $ref: '#/components/responses/ConflictResponse'
15057
16288
  '429':
15058
16289
  $ref: '#/components/responses/TooManyRequestsResponse'
15059
16290
  security:
15060
16291
  - apiKeyAuth: []
15061
16292
  appKeyAuth: []
15062
16293
  - AuthZ:
15063
- - security_monitoring_filters_write
15064
- summary: Create a security filter
16294
+ - security_monitoring_signals_read
16295
+ summary: Get a list of security signals
15065
16296
  tags:
15066
16297
  - Security Monitoring
15067
16298
  x-codegen-request-body-name: body
15068
- /api/v2/security_monitoring/configuration/security_filters/{security_filter_id}:
15069
- delete:
15070
- description: Delete a specific security filter.
15071
- operationId: DeleteSecurityFilter
15072
- parameters:
15073
- - $ref: '#/components/parameters/SecurityFilterID'
15074
- responses:
15075
- '204':
15076
- description: OK
15077
- '403':
15078
- $ref: '#/components/responses/NotAuthorizedResponse'
15079
- '404':
15080
- $ref: '#/components/responses/NotFoundResponse'
15081
- '429':
15082
- $ref: '#/components/responses/TooManyRequestsResponse'
15083
- security:
15084
- - apiKeyAuth: []
15085
- appKeyAuth: []
15086
- - AuthZ:
15087
- - security_monitoring_filters_write
15088
- summary: Delete a security filter
15089
- tags:
15090
- - Security Monitoring
16299
+ x-pagination:
16300
+ cursorParam: body.page.cursor
16301
+ cursorPath: meta.page.after
16302
+ limitParam: body.page.limit
16303
+ resultsPath: data
16304
+ /api/v2/security_monitoring/signals/{signal_id}:
15091
16305
  get:
15092
- description: 'Get the details of a specific security filter.
15093
-
15094
-
15095
- See the [security filter guide](https://docs.datadoghq.com/security_platform/guide/how-to-setup-security-filters-using-security-monitoring-api/)
15096
-
15097
- for more examples.'
15098
- operationId: GetSecurityFilter
16306
+ description: Get a signal's details.
16307
+ operationId: GetSecurityMonitoringSignal
15099
16308
  parameters:
15100
- - $ref: '#/components/parameters/SecurityFilterID'
16309
+ - $ref: '#/components/parameters/SignalID'
15101
16310
  responses:
15102
16311
  '200':
15103
16312
  content:
15104
16313
  application/json:
15105
16314
  schema:
15106
- $ref: '#/components/schemas/SecurityFilterResponse'
16315
+ $ref: '#/components/schemas/SecurityMonitoringSignal'
15107
16316
  description: OK
15108
- '403':
15109
- $ref: '#/components/responses/NotAuthorizedResponse'
15110
16317
  '404':
15111
16318
  $ref: '#/components/responses/NotFoundResponse'
15112
16319
  '429':
@@ -15115,365 +16322,355 @@ paths:
15115
16322
  - apiKeyAuth: []
15116
16323
  appKeyAuth: []
15117
16324
  - AuthZ:
15118
- - security_monitoring_filters_read
15119
- summary: Get a security filter
16325
+ - security_monitoring_signals_read
16326
+ summary: Get a signal's details
15120
16327
  tags:
15121
16328
  - Security Monitoring
16329
+ /api/v2/security_monitoring/signals/{signal_id}/assignee:
15122
16330
  patch:
15123
- description: 'Update a specific security filter.
15124
-
15125
- Returns the security filter object when the request is successful.'
15126
- operationId: UpdateSecurityFilter
16331
+ description: Modify the triage assignee of a security signal.
16332
+ operationId: EditSecurityMonitoringSignalAssignee
15127
16333
  parameters:
15128
- - $ref: '#/components/parameters/SecurityFilterID'
16334
+ - $ref: '#/components/parameters/SignalID'
15129
16335
  requestBody:
15130
16336
  content:
15131
16337
  application/json:
15132
16338
  schema:
15133
- $ref: '#/components/schemas/SecurityFilterUpdateRequest'
15134
- description: New definition of the security filter.
16339
+ $ref: '#/components/schemas/SecurityMonitoringSignalAssigneeUpdateRequest'
16340
+ description: Attributes describing the signal update.
15135
16341
  required: true
15136
16342
  responses:
15137
16343
  '200':
15138
16344
  content:
15139
16345
  application/json:
15140
16346
  schema:
15141
- $ref: '#/components/schemas/SecurityFilterResponse'
16347
+ $ref: '#/components/schemas/SecurityMonitoringSignalTriageUpdateResponse'
15142
16348
  description: OK
15143
16349
  '400':
15144
- $ref: '#/components/responses/BadRequestResponse'
16350
+ content:
16351
+ application/json:
16352
+ schema:
16353
+ $ref: '#/components/schemas/APIErrorResponse'
16354
+ description: Bad Request
15145
16355
  '403':
15146
- $ref: '#/components/responses/NotAuthorizedResponse'
16356
+ content:
16357
+ application/json:
16358
+ schema:
16359
+ $ref: '#/components/schemas/APIErrorResponse'
16360
+ description: Forbidden
15147
16361
  '404':
15148
- $ref: '#/components/responses/NotFoundResponse'
15149
- '409':
15150
- $ref: '#/components/responses/ConcurrentModificationResponse'
16362
+ content:
16363
+ application/json:
16364
+ schema:
16365
+ $ref: '#/components/schemas/APIErrorResponse'
16366
+ description: Not Found
15151
16367
  '429':
15152
16368
  $ref: '#/components/responses/TooManyRequestsResponse'
15153
- security:
15154
- - apiKeyAuth: []
15155
- appKeyAuth: []
15156
- - AuthZ:
15157
- - security_monitoring_filters_write
15158
- summary: Update a security filter
16369
+ summary: Modify the triage assignee of a security signal
15159
16370
  tags:
15160
16371
  - Security Monitoring
15161
16372
  x-codegen-request-body-name: body
15162
- /api/v2/security_monitoring/rules:
15163
- get:
15164
- description: List rules.
15165
- operationId: ListSecurityMonitoringRules
16373
+ /api/v2/security_monitoring/signals/{signal_id}/incidents:
16374
+ patch:
16375
+ description: Change the related incidents for a security signal.
16376
+ operationId: EditSecurityMonitoringSignalIncidents
15166
16377
  parameters:
15167
- - $ref: '#/components/parameters/PageSize'
15168
- - $ref: '#/components/parameters/PageNumber'
16378
+ - $ref: '#/components/parameters/SignalID'
16379
+ requestBody:
16380
+ content:
16381
+ application/json:
16382
+ schema:
16383
+ $ref: '#/components/schemas/SecurityMonitoringSignalIncidentsUpdateRequest'
16384
+ description: Attributes describing the signal update.
16385
+ required: true
15169
16386
  responses:
15170
16387
  '200':
15171
16388
  content:
15172
16389
  application/json:
15173
16390
  schema:
15174
- $ref: '#/components/schemas/SecurityMonitoringListRulesResponse'
16391
+ $ref: '#/components/schemas/SecurityMonitoringSignalTriageUpdateResponse'
15175
16392
  description: OK
15176
16393
  '400':
15177
- $ref: '#/components/responses/BadRequestResponse'
16394
+ content:
16395
+ application/json:
16396
+ schema:
16397
+ $ref: '#/components/schemas/APIErrorResponse'
16398
+ description: Bad Request
16399
+ '403':
16400
+ content:
16401
+ application/json:
16402
+ schema:
16403
+ $ref: '#/components/schemas/APIErrorResponse'
16404
+ description: Forbidden
16405
+ '404':
16406
+ content:
16407
+ application/json:
16408
+ schema:
16409
+ $ref: '#/components/schemas/APIErrorResponse'
16410
+ description: Not Found
15178
16411
  '429':
15179
16412
  $ref: '#/components/responses/TooManyRequestsResponse'
15180
- security:
15181
- - apiKeyAuth: []
15182
- appKeyAuth: []
15183
- - AuthZ:
15184
- - security_monitoring_rules_read
15185
- summary: List rules
16413
+ summary: Change the related incidents of a security signal
15186
16414
  tags:
15187
16415
  - Security Monitoring
15188
- post:
15189
- description: Create a detection rule.
15190
- operationId: CreateSecurityMonitoringRule
16416
+ x-codegen-request-body-name: body
16417
+ /api/v2/security_monitoring/signals/{signal_id}/state:
16418
+ patch:
16419
+ description: Change the triage state of a security signal.
16420
+ operationId: EditSecurityMonitoringSignalState
16421
+ parameters:
16422
+ - $ref: '#/components/parameters/SignalID'
15191
16423
  requestBody:
15192
16424
  content:
15193
16425
  application/json:
15194
16426
  schema:
15195
- $ref: '#/components/schemas/SecurityMonitoringRuleCreatePayload'
16427
+ $ref: '#/components/schemas/SecurityMonitoringSignalStateUpdateRequest'
16428
+ description: Attributes describing the signal update.
15196
16429
  required: true
15197
16430
  responses:
15198
16431
  '200':
15199
16432
  content:
15200
16433
  application/json:
15201
16434
  schema:
15202
- $ref: '#/components/schemas/SecurityMonitoringRuleResponse'
16435
+ $ref: '#/components/schemas/SecurityMonitoringSignalTriageUpdateResponse'
15203
16436
  description: OK
15204
16437
  '400':
15205
- $ref: '#/components/responses/BadRequestResponse'
16438
+ content:
16439
+ application/json:
16440
+ schema:
16441
+ $ref: '#/components/schemas/APIErrorResponse'
16442
+ description: Bad Request
15206
16443
  '403':
15207
- $ref: '#/components/responses/NotAuthorizedResponse'
16444
+ content:
16445
+ application/json:
16446
+ schema:
16447
+ $ref: '#/components/schemas/APIErrorResponse'
16448
+ description: Forbidden
16449
+ '404':
16450
+ content:
16451
+ application/json:
16452
+ schema:
16453
+ $ref: '#/components/schemas/APIErrorResponse'
16454
+ description: Not Found
15208
16455
  '429':
15209
16456
  $ref: '#/components/responses/TooManyRequestsResponse'
15210
- security:
15211
- - apiKeyAuth: []
15212
- appKeyAuth: []
15213
- - AuthZ:
15214
- - security_monitoring_rules_write
15215
- summary: Create a detection rule
16457
+ summary: Change the triage state of a security signal
15216
16458
  tags:
15217
16459
  - Security Monitoring
15218
16460
  x-codegen-request-body-name: body
15219
- /api/v2/security_monitoring/rules/{rule_id}:
15220
- delete:
15221
- description: Delete an existing rule. Default rules cannot be deleted.
15222
- operationId: DeleteSecurityMonitoringRule
15223
- parameters:
15224
- - $ref: '#/components/parameters/SecurityMonitoringRuleID'
16461
+ /api/v2/sensitive-data-scanner/config:
16462
+ get:
16463
+ description: List all the Scanning groups in your organization.
16464
+ operationId: ListScanningGroups
15225
16465
  responses:
15226
- '204':
16466
+ '200':
16467
+ content:
16468
+ application/json:
16469
+ schema:
16470
+ $ref: '#/components/schemas/SensitiveDataScannerGetConfigResponse'
15227
16471
  description: OK
16472
+ '400':
16473
+ content:
16474
+ application/json:
16475
+ schema:
16476
+ $ref: '#/components/schemas/APIErrorResponse'
16477
+ description: Bad Request
15228
16478
  '403':
15229
- $ref: '#/components/responses/NotAuthorizedResponse'
15230
- '404':
15231
- $ref: '#/components/responses/NotFoundResponse'
16479
+ content:
16480
+ application/json:
16481
+ schema:
16482
+ $ref: '#/components/schemas/APIErrorResponse'
16483
+ description: Authentication Error
15232
16484
  '429':
15233
16485
  $ref: '#/components/responses/TooManyRequestsResponse'
15234
- security:
15235
- - apiKeyAuth: []
15236
- appKeyAuth: []
15237
- - AuthZ:
15238
- - security_monitoring_rules_write
15239
- summary: Delete an existing rule
16486
+ summary: List Scanning Groups
15240
16487
  tags:
15241
- - Security Monitoring
15242
- get:
15243
- description: Get a rule's details.
15244
- operationId: GetSecurityMonitoringRule
15245
- parameters:
15246
- - $ref: '#/components/parameters/SecurityMonitoringRuleID'
16488
+ - Sensitive Data Scanner
16489
+ patch:
16490
+ description: Reorder the list of groups.
16491
+ operationId: ReorderScanningGroups
16492
+ requestBody:
16493
+ content:
16494
+ application/json:
16495
+ schema:
16496
+ $ref: '#/components/schemas/SensitiveDataScannerConfigRequest'
16497
+ required: true
15247
16498
  responses:
15248
16499
  '200':
15249
16500
  content:
15250
16501
  application/json:
15251
16502
  schema:
15252
- $ref: '#/components/schemas/SecurityMonitoringRuleResponse'
16503
+ $ref: '#/components/schemas/SensitiveDataScannerReorderGroupsResponse'
15253
16504
  description: OK
15254
- '404':
15255
- $ref: '#/components/responses/NotFoundResponse'
16505
+ '400':
16506
+ content:
16507
+ application/json:
16508
+ schema:
16509
+ $ref: '#/components/schemas/APIErrorResponse'
16510
+ description: Bad Request
16511
+ '403':
16512
+ content:
16513
+ application/json:
16514
+ schema:
16515
+ $ref: '#/components/schemas/APIErrorResponse'
16516
+ description: Authentication Error
15256
16517
  '429':
15257
16518
  $ref: '#/components/responses/TooManyRequestsResponse'
15258
- security:
15259
- - apiKeyAuth: []
15260
- appKeyAuth: []
15261
- - AuthZ:
15262
- - security_monitoring_rules_read
15263
- summary: Get a rule's details
16519
+ summary: Reorder Groups
15264
16520
  tags:
15265
- - Security Monitoring
15266
- put:
15267
- description: 'Update an existing rule. When updating `cases`, `queries` or `options`,
15268
- the whole field
16521
+ - Sensitive Data Scanner
16522
+ x-codegen-request-body-name: body
16523
+ /api/v2/sensitive-data-scanner/config/groups:
16524
+ post:
16525
+ description: 'Create a scanning group.
16526
+
16527
+ The request MAY include a configuration relationship.
16528
+
16529
+ A rules relationship can be omitted entirely, but if it is included it MUST
16530
+ be
15269
16531
 
15270
- must be included. For example, when modifying a query all queries must be
15271
- included.
16532
+ null or an empty array (rules cannot be created at the same time).
15272
16533
 
15273
- Default rules can only be updated to be enabled and to change notifications.'
15274
- operationId: UpdateSecurityMonitoringRule
15275
- parameters:
15276
- - $ref: '#/components/parameters/SecurityMonitoringRuleID'
16534
+ The new group will be ordered last within the configuration.'
16535
+ operationId: CreateScanningGroup
15277
16536
  requestBody:
15278
16537
  content:
15279
16538
  application/json:
15280
16539
  schema:
15281
- $ref: '#/components/schemas/SecurityMonitoringRuleUpdatePayload'
16540
+ $ref: '#/components/schemas/SensitiveDataScannerGroupCreateRequest'
15282
16541
  required: true
15283
16542
  responses:
15284
16543
  '200':
15285
16544
  content:
15286
16545
  application/json:
15287
16546
  schema:
15288
- $ref: '#/components/schemas/SecurityMonitoringRuleResponse'
16547
+ $ref: '#/components/schemas/SensitiveDataScannerCreateGroupResponse'
15289
16548
  description: OK
15290
16549
  '400':
15291
- $ref: '#/components/responses/BadRequestResponse'
15292
- '401':
15293
- $ref: '#/components/responses/ConcurrentModificationResponse'
16550
+ content:
16551
+ application/json:
16552
+ schema:
16553
+ $ref: '#/components/schemas/APIErrorResponse'
16554
+ description: Bad Request
15294
16555
  '403':
15295
- $ref: '#/components/responses/NotAuthorizedResponse'
15296
- '404':
15297
- $ref: '#/components/responses/NotFoundResponse'
16556
+ content:
16557
+ application/json:
16558
+ schema:
16559
+ $ref: '#/components/schemas/APIErrorResponse'
16560
+ description: Authentication Error
15298
16561
  '429':
15299
16562
  $ref: '#/components/responses/TooManyRequestsResponse'
15300
- security:
15301
- - apiKeyAuth: []
15302
- appKeyAuth: []
15303
- - AuthZ:
15304
- - security_monitoring_rules_write
15305
- summary: Update an existing rule
16563
+ summary: Create Scanning Group
15306
16564
  tags:
15307
- - Security Monitoring
16565
+ - Sensitive Data Scanner
15308
16566
  x-codegen-request-body-name: body
15309
- /api/v2/security_monitoring/signals:
15310
- get:
15311
- description: 'The list endpoint returns security signals that match a search
15312
- query.
15313
-
15314
- Both this endpoint and the POST endpoint can be used interchangeably when
15315
- listing
15316
-
15317
- security signals.'
15318
- operationId: ListSecurityMonitoringSignals
16567
+ /api/v2/sensitive-data-scanner/config/groups/{group_id}:
16568
+ delete:
16569
+ description: Delete a given group.
16570
+ operationId: DeleteScanningGroup
15319
16571
  parameters:
15320
- - description: The search query for security signals.
15321
- example: security:attack status:high
15322
- in: query
15323
- name: filter[query]
15324
- required: false
15325
- schema:
15326
- type: string
15327
- - description: The minimum timestamp for requested security signals.
15328
- example: '2019-01-02T09:42:36.320Z'
15329
- in: query
15330
- name: filter[from]
15331
- required: false
15332
- schema:
15333
- format: date-time
15334
- type: string
15335
- - description: The maximum timestamp for requested security signals.
15336
- example: '2019-01-03T09:42:36.320Z'
15337
- in: query
15338
- name: filter[to]
15339
- required: false
15340
- schema:
15341
- format: date-time
15342
- type: string
15343
- - description: The order of the security signals in results.
15344
- in: query
15345
- name: sort
15346
- required: false
15347
- schema:
15348
- $ref: '#/components/schemas/SecurityMonitoringSignalsSort'
15349
- - description: A list of results using the cursor provided in the previous query.
15350
- example: eyJzdGFydEF0IjoiQVFBQUFYS2tMS3pPbm40NGV3QUFBQUJCV0V0clRFdDZVbG8zY3pCRmNsbHJiVmxDWlEifQ==
15351
- in: query
15352
- name: page[cursor]
15353
- required: false
15354
- schema:
15355
- type: string
15356
- - description: The maximum number of security signals in the response.
15357
- example: 25
15358
- in: query
15359
- name: page[limit]
15360
- required: false
15361
- schema:
15362
- default: 10
15363
- format: int32
15364
- maximum: 1000
15365
- type: integer
16572
+ - $ref: '#/components/parameters/SensitiveDataScannerGroupID'
16573
+ requestBody:
16574
+ content:
16575
+ application/json:
16576
+ schema:
16577
+ $ref: '#/components/schemas/SensitiveDataScannerGroupDeleteRequest'
16578
+ required: true
15366
16579
  responses:
15367
16580
  '200':
15368
16581
  content:
15369
16582
  application/json:
15370
16583
  schema:
15371
- $ref: '#/components/schemas/SecurityMonitoringSignalsListResponse'
16584
+ $ref: '#/components/schemas/SensitiveDataScannerGroupDeleteResponse'
15372
16585
  description: OK
15373
16586
  '400':
15374
- $ref: '#/components/responses/BadRequestResponse'
16587
+ content:
16588
+ application/json:
16589
+ schema:
16590
+ $ref: '#/components/schemas/APIErrorResponse'
16591
+ description: Bad Request
15375
16592
  '403':
15376
- $ref: '#/components/responses/NotAuthorizedResponse'
16593
+ content:
16594
+ application/json:
16595
+ schema:
16596
+ $ref: '#/components/schemas/APIErrorResponse'
16597
+ description: Authentication Error
15377
16598
  '429':
15378
16599
  $ref: '#/components/responses/TooManyRequestsResponse'
15379
- security:
15380
- - apiKeyAuth: []
15381
- appKeyAuth: []
15382
- - AuthZ:
15383
- - security_monitoring_signals_read
15384
- summary: Get a quick list of security signals
16600
+ summary: Delete Scanning Group
15385
16601
  tags:
15386
- - Security Monitoring
15387
- x-pagination:
15388
- cursorParam: page[cursor]
15389
- cursorPath: meta.page.after
15390
- limitParam: page[limit]
15391
- resultsPath: data
15392
- /api/v2/security_monitoring/signals/search:
15393
- post:
15394
- description: 'Returns security signals that match a search query.
16602
+ - Sensitive Data Scanner
16603
+ x-codegen-request-body-name: body
16604
+ patch:
16605
+ description: 'Update a group, including the order of the rules.
15395
16606
 
15396
- Both this endpoint and the GET endpoint can be used interchangeably for listing
16607
+ Rules within the group are reordered by including a rules relationship. If
16608
+ the rules
15397
16609
 
15398
- security signals.'
15399
- operationId: SearchSecurityMonitoringSignals
16610
+ relationship is present, its data section MUST contain linkages for all of
16611
+ the rules
16612
+
16613
+ currently in the group, and MUST NOT contain any others.'
16614
+ operationId: UpdateScanningGroup
16615
+ parameters:
16616
+ - $ref: '#/components/parameters/SensitiveDataScannerGroupID'
15400
16617
  requestBody:
15401
16618
  content:
15402
16619
  application/json:
15403
16620
  schema:
15404
- $ref: '#/components/schemas/SecurityMonitoringSignalListRequest'
15405
- required: false
16621
+ $ref: '#/components/schemas/SensitiveDataScannerGroupUpdateRequest'
16622
+ required: true
15406
16623
  responses:
15407
16624
  '200':
15408
16625
  content:
15409
16626
  application/json:
15410
16627
  schema:
15411
- $ref: '#/components/schemas/SecurityMonitoringSignalsListResponse'
16628
+ $ref: '#/components/schemas/SensitiveDataScannerGroupUpdateResponse'
15412
16629
  description: OK
15413
16630
  '400':
15414
- $ref: '#/components/responses/BadRequestResponse'
16631
+ content:
16632
+ application/json:
16633
+ schema:
16634
+ $ref: '#/components/schemas/APIErrorResponse'
16635
+ description: Bad Request
15415
16636
  '403':
15416
- $ref: '#/components/responses/NotAuthorizedResponse'
15417
- '429':
15418
- $ref: '#/components/responses/TooManyRequestsResponse'
15419
- security:
15420
- - apiKeyAuth: []
15421
- appKeyAuth: []
15422
- - AuthZ:
15423
- - security_monitoring_signals_read
15424
- summary: Get a list of security signals
15425
- tags:
15426
- - Security Monitoring
15427
- x-codegen-request-body-name: body
15428
- x-pagination:
15429
- cursorParam: body.page.cursor
15430
- cursorPath: meta.page.after
15431
- limitParam: body.page.limit
15432
- resultsPath: data
15433
- /api/v2/security_monitoring/signals/{signal_id}:
15434
- get:
15435
- description: Get a signal's details.
15436
- operationId: GetSecurityMonitoringSignal
15437
- parameters:
15438
- - $ref: '#/components/parameters/SignalID'
15439
- responses:
15440
- '200':
15441
16637
  content:
15442
16638
  application/json:
15443
16639
  schema:
15444
- $ref: '#/components/schemas/SecurityMonitoringSignal'
15445
- description: OK
15446
- '404':
15447
- $ref: '#/components/responses/NotFoundResponse'
16640
+ $ref: '#/components/schemas/APIErrorResponse'
16641
+ description: Authentication Error
15448
16642
  '429':
15449
16643
  $ref: '#/components/responses/TooManyRequestsResponse'
15450
- security:
15451
- - apiKeyAuth: []
15452
- appKeyAuth: []
15453
- - AuthZ:
15454
- - security_monitoring_signals_read
15455
- summary: Get a signal's details
16644
+ summary: Update Scanning Group
15456
16645
  tags:
15457
- - Security Monitoring
15458
- /api/v2/security_monitoring/signals/{signal_id}/assignee:
15459
- patch:
15460
- description: Modify the triage assignee of a security signal.
15461
- operationId: EditSecurityMonitoringSignalAssignee
15462
- parameters:
15463
- - $ref: '#/components/parameters/SignalID'
16646
+ - Sensitive Data Scanner
16647
+ x-codegen-request-body-name: body
16648
+ /api/v2/sensitive-data-scanner/config/rules:
16649
+ post:
16650
+ description: 'Create a scanning rule in a sensitive data scanner group, ordered
16651
+ last.
16652
+
16653
+ The posted rule MUST include a group relationship.
16654
+
16655
+ It MUST include either a standard_pattern relationship or a regex attribute,
16656
+ but not both.
16657
+
16658
+ If included_attributes is empty or missing, we will scan all attributes except
16659
+
16660
+ excluded_attributes. If both are missing, we will scan the whole event.'
16661
+ operationId: CreateScanningRule
15464
16662
  requestBody:
15465
16663
  content:
15466
16664
  application/json:
15467
16665
  schema:
15468
- $ref: '#/components/schemas/SecurityMonitoringSignalAssigneeUpdateRequest'
15469
- description: Attributes describing the signal update.
16666
+ $ref: '#/components/schemas/SensitiveDataScannerRuleCreateRequest'
15470
16667
  required: true
15471
16668
  responses:
15472
16669
  '200':
15473
16670
  content:
15474
16671
  application/json:
15475
16672
  schema:
15476
- $ref: '#/components/schemas/SecurityMonitoringSignalTriageUpdateResponse'
16673
+ $ref: '#/components/schemas/SensitiveDataScannerCreateRuleResponse'
15477
16674
  description: OK
15478
16675
  '400':
15479
16676
  content:
@@ -15486,38 +16683,31 @@ paths:
15486
16683
  application/json:
15487
16684
  schema:
15488
16685
  $ref: '#/components/schemas/APIErrorResponse'
15489
- description: Forbidden
15490
- '404':
15491
- content:
15492
- application/json:
15493
- schema:
15494
- $ref: '#/components/schemas/APIErrorResponse'
15495
- description: Not Found
16686
+ description: Authentication Error
15496
16687
  '429':
15497
16688
  $ref: '#/components/responses/TooManyRequestsResponse'
15498
- summary: Modify the triage assignee of a security signal
16689
+ summary: Create Scanning Rule
15499
16690
  tags:
15500
- - Security Monitoring
16691
+ - Sensitive Data Scanner
15501
16692
  x-codegen-request-body-name: body
15502
- /api/v2/security_monitoring/signals/{signal_id}/incidents:
15503
- patch:
15504
- description: Change the related incidents for a security signal.
15505
- operationId: EditSecurityMonitoringSignalIncidents
16693
+ /api/v2/sensitive-data-scanner/config/rules/{rule_id}:
16694
+ delete:
16695
+ description: Delete a given rule.
16696
+ operationId: DeleteScanningRule
15506
16697
  parameters:
15507
- - $ref: '#/components/parameters/SignalID'
16698
+ - $ref: '#/components/parameters/SensitiveDataScannerRuleID'
15508
16699
  requestBody:
15509
16700
  content:
15510
16701
  application/json:
15511
16702
  schema:
15512
- $ref: '#/components/schemas/SecurityMonitoringSignalIncidentsUpdateRequest'
15513
- description: Attributes describing the signal update.
16703
+ $ref: '#/components/schemas/SensitiveDataScannerRuleDeleteRequest'
15514
16704
  required: true
15515
16705
  responses:
15516
16706
  '200':
15517
16707
  content:
15518
16708
  application/json:
15519
16709
  schema:
15520
- $ref: '#/components/schemas/SecurityMonitoringSignalTriageUpdateResponse'
16710
+ $ref: '#/components/schemas/SensitiveDataScannerRuleDeleteResponse'
15521
16711
  description: OK
15522
16712
  '400':
15523
16713
  content:
@@ -15530,38 +16720,37 @@ paths:
15530
16720
  application/json:
15531
16721
  schema:
15532
16722
  $ref: '#/components/schemas/APIErrorResponse'
15533
- description: Forbidden
15534
- '404':
15535
- content:
15536
- application/json:
15537
- schema:
15538
- $ref: '#/components/schemas/APIErrorResponse'
15539
- description: Not Found
16723
+ description: Authentication Error
15540
16724
  '429':
15541
16725
  $ref: '#/components/responses/TooManyRequestsResponse'
15542
- summary: Change the related incidents of a security signal
16726
+ summary: Delete Scanning Rule
15543
16727
  tags:
15544
- - Security Monitoring
16728
+ - Sensitive Data Scanner
15545
16729
  x-codegen-request-body-name: body
15546
- /api/v2/security_monitoring/signals/{signal_id}/state:
15547
16730
  patch:
15548
- description: Change the triage state of a security signal.
15549
- operationId: EditSecurityMonitoringSignalState
16731
+ description: 'Update a scanning rule.
16732
+
16733
+ The request body MUST NOT include a standard_pattern relationship, as that
16734
+ relationship
16735
+
16736
+ is non-editable. Trying to edit the regex attribute of a rule with a standard_pattern
16737
+
16738
+ relationship will also result in an error.'
16739
+ operationId: UpdateScanningRule
15550
16740
  parameters:
15551
- - $ref: '#/components/parameters/SignalID'
16741
+ - $ref: '#/components/parameters/SensitiveDataScannerRuleID'
15552
16742
  requestBody:
15553
16743
  content:
15554
16744
  application/json:
15555
16745
  schema:
15556
- $ref: '#/components/schemas/SecurityMonitoringSignalStateUpdateRequest'
15557
- description: Attributes describing the signal update.
16746
+ $ref: '#/components/schemas/SensitiveDataScannerRuleUpdateRequest'
15558
16747
  required: true
15559
16748
  responses:
15560
16749
  '200':
15561
16750
  content:
15562
16751
  application/json:
15563
16752
  schema:
15564
- $ref: '#/components/schemas/SecurityMonitoringSignalTriageUpdateResponse'
16753
+ $ref: '#/components/schemas/SensitiveDataScannerRuleUpdateResponse'
15565
16754
  description: OK
15566
16755
  '400':
15567
16756
  content:
@@ -15574,19 +16763,41 @@ paths:
15574
16763
  application/json:
15575
16764
  schema:
15576
16765
  $ref: '#/components/schemas/APIErrorResponse'
15577
- description: Forbidden
15578
- '404':
16766
+ description: Authentication Error
16767
+ '429':
16768
+ $ref: '#/components/responses/TooManyRequestsResponse'
16769
+ summary: Update Scanning Rule
16770
+ tags:
16771
+ - Sensitive Data Scanner
16772
+ x-codegen-request-body-name: body
16773
+ /api/v2/sensitive-data-scanner/config/standard-patterns:
16774
+ get:
16775
+ description: Returns all standard patterns.
16776
+ operationId: ListStandardPatterns
16777
+ responses:
16778
+ '200':
16779
+ content:
16780
+ application/json:
16781
+ schema:
16782
+ $ref: '#/components/schemas/SensitiveDataScannerStandardPatternsResponseData'
16783
+ description: OK
16784
+ '400':
15579
16785
  content:
15580
16786
  application/json:
15581
16787
  schema:
15582
16788
  $ref: '#/components/schemas/APIErrorResponse'
15583
- description: Not Found
16789
+ description: Bad Request
16790
+ '403':
16791
+ content:
16792
+ application/json:
16793
+ schema:
16794
+ $ref: '#/components/schemas/APIErrorResponse'
16795
+ description: Authentication Error
15584
16796
  '429':
15585
16797
  $ref: '#/components/responses/TooManyRequestsResponse'
15586
- summary: Change the triage state of a security signal
16798
+ summary: List standard patterns
15587
16799
  tags:
15588
- - Security Monitoring
15589
- x-codegen-request-body-name: body
16800
+ - Sensitive Data Scanner
15590
16801
  /api/v2/series:
15591
16802
  post:
15592
16803
  description: "The metrics end-point allows you to post time-series data that
@@ -16649,7 +17860,8 @@ paths:
16649
17860
  `online_archive`, `profiling`, `rum`, `rum_browser_sessions`, `rum_mobile_sessions`,
16650
17861
  `sds`, `snmp`,
16651
17862
 
16652
- `synthetics_api`, `synthetics_browser`, and `timeseries`.'
17863
+ `synthetics_api`, `synthetics_browser`, `synthetics_parallel_testing`, and
17864
+ `timeseries`.'
16653
17865
  in: query
16654
17866
  name: filter[product_families]
16655
17867
  required: true
@@ -17390,6 +18602,9 @@ tags:
17390
18602
 
17391
18603
  signals.'
17392
18604
  name: Security Monitoring
18605
+ - description: Create, update, delete, and retrieve sensitive data scanner groups
18606
+ and rules.
18607
+ name: Sensitive Data Scanner
17393
18608
  - description: Create, edit, and disable service accounts.
17394
18609
  name: Service Accounts
17395
18610
  - description: API to create, update, retrieve and delete service definitions.