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.
- checksums.yaml +4 -4
- data/.apigentools-info +4 -4
- data/.generator/schemas/v1/openapi.yaml +363 -27
- data/.generator/schemas/v2/openapi.yaml +1995 -780
- data/.generator/src/generator/templates/configuration.j2 +14 -4
- data/.generator/src/generator/templates/model_generic.j2 +17 -0
- data/.generator/src/generator/templates/package.j2 +0 -1
- data/.github/workflows/test.yml +18 -19
- data/CHANGELOG.md +27 -0
- data/examples/v1/dashboards/CreateDashboard_41622531.rb +56 -0
- data/examples/v1/service-level-objective-corrections/ListSLOCorrection.rb +5 -1
- data/examples/v1/synthetics/CreateSyntheticsAPITest.rb +1 -1
- data/examples/v1/synthetics/CreateSyntheticsAPITest_1279271422.rb +1 -1
- data/examples/v1/synthetics/CreateSyntheticsAPITest_1402674167.rb +1 -1
- data/examples/v1/synthetics/CreateSyntheticsAPITest_1487281163.rb +11 -1
- data/examples/v1/synthetics/CreateSyntheticsAPITest_960766374.rb +109 -0
- data/examples/v1/synthetics/CreateSyntheticsBrowserTest.rb +1 -1
- data/examples/v1/synthetics/CreateSyntheticsBrowserTest_2932742688.rb +1 -1
- data/examples/v1/synthetics/ListTests.rb +1 -1
- data/examples/v1/synthetics/UpdateAPITest.rb +1 -1
- data/examples/v1/synthetics/UpdateBrowserTest.rb +2 -1
- data/examples/v2/ci-visibility-pipelines/AggregateCIAppPipelineEvents.rb +1 -1
- data/examples/v2/ci-visibility-pipelines/ListCIAppPipelineEvents.rb +1 -1
- data/examples/v2/logs-metrics/CreateLogsMetric.rb +3 -1
- data/examples/v2/logs-metrics/UpdateLogsMetric_1901534424.rb +19 -0
- data/examples/v2/security-monitoring/CreateSecurityMonitoringRule_1092490364.rb +41 -0
- data/examples/v2/security-monitoring/GetSecurityMonitoringRule_3370522281.rb +8 -0
- data/examples/v2/security-monitoring/UpdateSecurityMonitoringRule_428087276.rb +36 -0
- data/examples/v2/sensitive-data-scanner/CreateScanningGroup.rb +36 -0
- data/examples/v2/sensitive-data-scanner/CreateScanningRule.rb +34 -0
- data/examples/v2/sensitive-data-scanner/DeleteScanningGroup.rb +12 -0
- data/examples/v2/sensitive-data-scanner/DeleteScanningRule.rb +12 -0
- data/examples/v2/sensitive-data-scanner/ListScanningGroups.rb +5 -0
- data/examples/v2/sensitive-data-scanner/ListStandardPatterns.rb +5 -0
- data/examples/v2/sensitive-data-scanner/ReorderScanningGroups.rb +29 -0
- data/examples/v2/sensitive-data-scanner/UpdateScanningGroup.rb +40 -0
- data/examples/v2/sensitive-data-scanner/UpdateScanningRule.rb +38 -0
- data/examples/v2/usage-metering/GetHistoricalCostByOrg.rb +1 -1
- data/lib/datadog_api_client/configuration.rb +14 -4
- data/lib/datadog_api_client/inflector.rb +74 -1
- data/lib/datadog_api_client/models.rb +0 -1
- data/lib/datadog_api_client/v1/api/events_api.rb +1 -1
- data/lib/datadog_api_client/v1/api/service_level_objective_corrections_api.rb +4 -0
- data/lib/datadog_api_client/v1/api/synthetics_api.rb +6 -2
- data/lib/datadog_api_client/v1/models/add_signal_to_incident_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/alert_graph_widget_definition.rb +3 -3
- data/lib/datadog_api_client/v1/models/alert_value_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/api_error_response.rb +1 -1
- data/lib/datadog_api_client/v1/models/api_key.rb +1 -1
- data/lib/datadog_api_client/v1/models/apm_stats_query_column_type.rb +1 -1
- data/lib/datadog_api_client/v1/models/apm_stats_query_definition.rb +5 -5
- data/lib/datadog_api_client/v1/models/application_key.rb +1 -1
- data/lib/datadog_api_client/v1/models/aws_account_and_lambda_request.rb +2 -2
- data/lib/datadog_api_client/v1/models/aws_logs_services_request.rb +2 -2
- data/lib/datadog_api_client/v1/models/cancel_downtimes_by_scope_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/change_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/check_can_delete_monitor_response.rb +1 -1
- data/lib/datadog_api_client/v1/models/check_status_widget_definition.rb +3 -3
- data/lib/datadog_api_client/v1/models/dashboard.rb +3 -3
- data/lib/datadog_api_client/v1/models/dashboard_bulk_action_data.rb +2 -2
- data/lib/datadog_api_client/v1/models/dashboard_bulk_delete_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/dashboard_list.rb +1 -1
- data/lib/datadog_api_client/v1/models/dashboard_restore_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/dashboard_template_variable.rb +1 -1
- data/lib/datadog_api_client/v1/models/dashboard_template_variable_preset_value.rb +1 -1
- data/lib/datadog_api_client/v1/models/distribution_points_payload.rb +1 -1
- data/lib/datadog_api_client/v1/models/distribution_points_series.rb +2 -2
- data/lib/datadog_api_client/v1/models/distribution_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/downtime.rb +3 -3
- data/lib/datadog_api_client/v1/models/downtime_child.rb +3 -3
- data/lib/datadog_api_client/v1/models/downtime_recurrence.rb +2 -2
- data/lib/datadog_api_client/v1/models/event.rb +1 -1
- data/lib/datadog_api_client/v1/models/event_create_request.rb +3 -3
- data/lib/datadog_api_client/v1/models/event_query_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/event_stream_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/event_timeline_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stats_query_definition.rb +7 -7
- data/lib/datadog_api_client/v1/models/formula_and_function_apm_resource_stats_query_definition.rb +5 -5
- data/lib/datadog_api_client/v1/models/formula_and_function_event_query_definition.rb +3 -3
- data/lib/datadog_api_client/v1/models/formula_and_function_event_query_definition_compute.rb +1 -1
- data/lib/datadog_api_client/v1/models/formula_and_function_event_query_definition_search.rb +1 -1
- data/lib/datadog_api_client/v1/models/formula_and_function_event_query_group_by.rb +1 -1
- data/lib/datadog_api_client/v1/models/formula_and_function_event_query_group_by_sort.rb +1 -1
- data/lib/datadog_api_client/v1/models/formula_and_function_metric_query_definition.rb +3 -3
- data/lib/datadog_api_client/v1/models/formula_and_function_process_query_definition.rb +3 -3
- data/lib/datadog_api_client/v1/models/free_text_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/funnel_query.rb +3 -3
- data/lib/datadog_api_client/v1/models/funnel_step.rb +2 -2
- data/lib/datadog_api_client/v1/models/funnel_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/funnel_widget_request.rb +2 -2
- data/lib/datadog_api_client/v1/models/geomap_widget_definition.rb +4 -4
- data/lib/datadog_api_client/v1/models/geomap_widget_definition_style.rb +2 -2
- data/lib/datadog_api_client/v1/models/geomap_widget_definition_view.rb +1 -1
- data/lib/datadog_api_client/v1/models/group_widget_definition.rb +3 -3
- data/lib/datadog_api_client/v1/models/heat_map_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/host_map_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/http_log_error.rb +2 -2
- data/lib/datadog_api_client/v1/models/http_log_item.rb +1 -1
- data/lib/datadog_api_client/v1/models/i_frame_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/idp_form_data.rb +1 -1
- data/lib/datadog_api_client/v1/models/idp_response.rb +1 -1
- data/lib/datadog_api_client/v1/models/image_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/list_stream_column.rb +2 -2
- data/lib/datadog_api_client/v1/models/list_stream_query.rb +2 -2
- data/lib/datadog_api_client/v1/models/list_stream_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/list_stream_widget_request.rb +3 -3
- data/lib/datadog_api_client/v1/models/log_query_definition_group_by.rb +1 -1
- data/lib/datadog_api_client/v1/models/log_query_definition_group_by_sort.rb +2 -2
- data/lib/datadog_api_client/v1/models/log_query_definition_search.rb +1 -1
- data/lib/datadog_api_client/v1/models/log_stream_widget_definition.rb +1 -1
- data/lib/datadog_api_client/v1/models/logs_arithmetic_processor.rb +3 -3
- data/lib/datadog_api_client/v1/models/logs_attribute_remapper.rb +3 -3
- data/lib/datadog_api_client/v1/models/logs_category_processor.rb +3 -3
- data/lib/datadog_api_client/v1/models/logs_date_remapper.rb +2 -2
- data/lib/datadog_api_client/v1/models/logs_exclusion.rb +1 -1
- data/lib/datadog_api_client/v1/models/logs_exclusion_filter.rb +1 -1
- data/lib/datadog_api_client/v1/models/logs_geo_ip_parser.rb +3 -3
- data/lib/datadog_api_client/v1/models/logs_grok_parser.rb +4 -4
- data/lib/datadog_api_client/v1/models/logs_grok_parser_rules.rb +1 -1
- data/lib/datadog_api_client/v1/models/logs_index.rb +2 -2
- data/lib/datadog_api_client/v1/models/logs_index_update_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/logs_indexes_order.rb +1 -1
- data/lib/datadog_api_client/v1/models/logs_list_request.rb +2 -2
- data/lib/datadog_api_client/v1/models/logs_list_request_time.rb +2 -2
- data/lib/datadog_api_client/v1/models/logs_lookup_processor.rb +4 -4
- data/lib/datadog_api_client/v1/models/logs_message_remapper.rb +2 -2
- data/lib/datadog_api_client/v1/models/logs_pipeline.rb +1 -1
- data/lib/datadog_api_client/v1/models/logs_pipeline_processor.rb +1 -1
- data/lib/datadog_api_client/v1/models/logs_pipelines_order.rb +1 -1
- data/lib/datadog_api_client/v1/models/logs_processor.rb +1 -0
- data/lib/datadog_api_client/v1/models/logs_query_compute.rb +1 -1
- data/lib/datadog_api_client/v1/models/logs_service_remapper.rb +2 -2
- data/lib/datadog_api_client/v1/models/logs_status_remapper.rb +2 -2
- data/lib/datadog_api_client/v1/models/logs_string_builder_processor.rb +3 -3
- data/lib/datadog_api_client/v1/models/logs_trace_remapper.rb +1 -1
- data/lib/datadog_api_client/v1/models/logs_url_parser.rb +3 -3
- data/lib/datadog_api_client/v1/models/logs_user_agent_parser.rb +3 -3
- data/lib/datadog_api_client/v1/models/metrics_payload.rb +1 -1
- data/lib/datadog_api_client/v1/models/metrics_query_metadata.rb +1 -1
- data/lib/datadog_api_client/v1/models/monitor.rb +3 -3
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_definition.rb +3 -3
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_definition_compute.rb +1 -1
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_definition_search.rb +1 -1
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_group_by.rb +1 -1
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_group_by_sort.rb +1 -1
- data/lib/datadog_api_client/v1/models/monitor_options.rb +12 -2
- data/lib/datadog_api_client/v1/models/monitor_options_scheduling_options_evaluation_window.rb +2 -2
- data/lib/datadog_api_client/v1/models/monitor_summary_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/monitor_update_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +121 -1
- data/lib/datadog_api_client/v1/models/note_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/notebook_absolute_time.rb +2 -2
- data/lib/datadog_api_client/v1/models/notebook_cell_create_request.rb +2 -2
- data/lib/datadog_api_client/v1/models/notebook_cell_response.rb +3 -3
- data/lib/datadog_api_client/v1/models/notebook_cell_update_request.rb +3 -3
- data/lib/datadog_api_client/v1/models/notebook_create_data.rb +2 -2
- data/lib/datadog_api_client/v1/models/notebook_create_data_attributes.rb +3 -3
- data/lib/datadog_api_client/v1/models/notebook_create_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/notebook_distribution_cell_attributes.rb +1 -1
- data/lib/datadog_api_client/v1/models/notebook_heat_map_cell_attributes.rb +1 -1
- data/lib/datadog_api_client/v1/models/notebook_log_stream_cell_attributes.rb +1 -1
- data/lib/datadog_api_client/v1/models/notebook_markdown_cell_attributes.rb +1 -1
- data/lib/datadog_api_client/v1/models/notebook_markdown_cell_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/notebook_relative_time.rb +1 -1
- data/lib/datadog_api_client/v1/models/notebook_response_data.rb +3 -3
- data/lib/datadog_api_client/v1/models/notebook_response_data_attributes.rb +3 -3
- data/lib/datadog_api_client/v1/models/notebook_split_by.rb +2 -2
- data/lib/datadog_api_client/v1/models/notebook_timeseries_cell_attributes.rb +1 -1
- data/lib/datadog_api_client/v1/models/notebook_toplist_cell_attributes.rb +1 -1
- data/lib/datadog_api_client/v1/models/notebook_update_data.rb +2 -2
- data/lib/datadog_api_client/v1/models/notebook_update_data_attributes.rb +3 -3
- data/lib/datadog_api_client/v1/models/notebook_update_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/notebooks_response_data.rb +3 -3
- data/lib/datadog_api_client/v1/models/notebooks_response_data_attributes.rb +1 -1
- data/lib/datadog_api_client/v1/models/organization.rb +1 -1
- data/lib/datadog_api_client/v1/models/organization_create_body.rb +1 -1
- data/lib/datadog_api_client/v1/models/pager_duty_service.rb +2 -2
- data/lib/datadog_api_client/v1/models/pager_duty_service_key.rb +1 -1
- data/lib/datadog_api_client/v1/models/pager_duty_service_name.rb +1 -1
- data/lib/datadog_api_client/v1/models/process_query_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/query_value_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/reference_table_logs_lookup_processor.rb +198 -0
- data/lib/datadog_api_client/v1/models/scatter_plot_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/scatterplot_widget_formula.rb +2 -2
- data/lib/datadog_api_client/v1/models/search_slo_threshold.rb +2 -2
- data/lib/datadog_api_client/v1/models/series.rb +2 -2
- data/lib/datadog_api_client/v1/models/service_check.rb +4 -4
- data/lib/datadog_api_client/v1/models/service_level_objective.rb +3 -3
- data/lib/datadog_api_client/v1/models/service_level_objective_query.rb +2 -2
- data/lib/datadog_api_client/v1/models/service_level_objective_request.rb +3 -3
- data/lib/datadog_api_client/v1/models/service_map_widget_definition.rb +3 -3
- data/lib/datadog_api_client/v1/models/service_summary_widget_definition.rb +4 -4
- data/lib/datadog_api_client/v1/models/signal_assignee_update_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/signal_state_update_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/slo_bulk_delete_error.rb +3 -3
- data/lib/datadog_api_client/v1/models/slo_correction_create_data.rb +1 -1
- data/lib/datadog_api_client/v1/models/slo_correction_create_request_attributes.rb +3 -3
- data/lib/datadog_api_client/v1/models/slo_history_metrics.rb +7 -7
- data/lib/datadog_api_client/v1/models/slo_history_metrics_series.rb +3 -3
- data/lib/datadog_api_client/v1/models/slo_history_response_error_with_type.rb +2 -2
- data/lib/datadog_api_client/v1/models/slo_list_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/slo_list_widget_query.rb +2 -2
- data/lib/datadog_api_client/v1/models/slo_list_widget_request.rb +2 -2
- data/lib/datadog_api_client/v1/models/slo_threshold.rb +2 -2
- data/lib/datadog_api_client/v1/models/slo_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/sunburst_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/sunburst_widget_legend_inline_automatic.rb +1 -1
- data/lib/datadog_api_client/v1/models/sunburst_widget_legend_table.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_api_step.rb +4 -4
- data/lib/datadog_api_client/v1/models/synthetics_api_test.rb +6 -6
- data/lib/datadog_api_client/v1/models/synthetics_api_test_result_full_check.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_assertion_json_path_target.rb +2 -2
- data/lib/datadog_api_client/v1/models/synthetics_assertion_target.rb +3 -3
- data/lib/datadog_api_client/v1/models/synthetics_assertion_x_path_target.rb +2 -2
- data/lib/datadog_api_client/v1/models/synthetics_basic_auth.rb +3 -1
- data/lib/datadog_api_client/v1/models/synthetics_basic_auth_digest.rb +2 -2
- data/lib/datadog_api_client/v1/models/synthetics_basic_auth_ntlm.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_basic_auth_oauth_client.rb +212 -0
- data/lib/datadog_api_client/v1/models/{http_method.rb → synthetics_basic_auth_oauth_client_type.rb} +3 -9
- data/lib/datadog_api_client/v1/models/synthetics_basic_auth_oauth_rop.rb +232 -0
- data/lib/datadog_api_client/v1/models/synthetics_basic_auth_oauth_rop_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/synthetics_basic_auth_oauth_token_api_authentication.rb +27 -0
- data/lib/datadog_api_client/v1/models/synthetics_basic_auth_sigv4.rb +3 -3
- data/lib/datadog_api_client/v1/models/synthetics_basic_auth_web.rb +2 -2
- data/lib/datadog_api_client/v1/models/synthetics_browser_error.rb +3 -3
- data/lib/datadog_api_client/v1/models/synthetics_browser_test.rb +6 -6
- data/lib/datadog_api_client/v1/models/synthetics_browser_test_config.rb +2 -2
- data/lib/datadog_api_client/v1/models/synthetics_browser_test_result_full_check.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_browser_test_rum_settings.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_browser_variable.rb +2 -2
- data/lib/datadog_api_client/v1/models/synthetics_ci_test.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_config_variable.rb +2 -2
- data/lib/datadog_api_client/v1/models/synthetics_device.rb +4 -4
- data/lib/datadog_api_client/v1/models/synthetics_global_variable.rb +4 -4
- data/lib/datadog_api_client/v1/models/synthetics_global_variable_parse_test_options.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_private_location.rb +3 -3
- data/lib/datadog_api_client/v1/models/synthetics_step_detail_warning.rb +2 -2
- data/lib/datadog_api_client/v1/models/synthetics_test_call_type.rb +27 -0
- data/lib/datadog_api_client/v1/models/synthetics_test_options.rb +2 -2
- data/lib/datadog_api_client/v1/models/synthetics_test_options_monitor_options.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +16 -6
- data/lib/datadog_api_client/v1/models/synthetics_test_request_proxy.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_trigger_body.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_trigger_test.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_variable_parser.rb +1 -1
- data/lib/datadog_api_client/v1/models/table_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/timeseries_background.rb +1 -1
- data/lib/datadog_api_client/v1/models/timeseries_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/timeseries_widget_expression_alias.rb +1 -1
- data/lib/datadog_api_client/v1/models/toplist_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/toplist_widget_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/topology_map_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/topology_query.rb +1 -1
- data/lib/datadog_api_client/v1/models/tree_map_widget_definition.rb +2 -2
- data/lib/datadog_api_client/v1/models/usage_billable_summary_keys.rb +91 -1
- data/lib/datadog_api_client/v1/models/usage_cloud_security_posture_management_hour.rb +12 -1
- data/lib/datadog_api_client/v1/models/usage_host_hour.rb +11 -1
- data/lib/datadog_api_client/v1/models/usage_summary_date.rb +31 -1
- data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +31 -1
- data/lib/datadog_api_client/v1/models/usage_summary_response.rb +31 -1
- data/lib/datadog_api_client/v1/models/webhooks_integration.rb +2 -2
- data/lib/datadog_api_client/v1/models/webhooks_integration_custom_variable.rb +3 -3
- data/lib/datadog_api_client/v1/models/webhooks_integration_custom_variable_response.rb +2 -2
- data/lib/datadog_api_client/v1/models/widget.rb +1 -1
- data/lib/datadog_api_client/v1/models/widget_conditional_format.rb +3 -3
- data/lib/datadog_api_client/v1/models/widget_event.rb +1 -1
- data/lib/datadog_api_client/v1/models/widget_field_sort.rb +2 -2
- data/lib/datadog_api_client/v1/models/widget_formula.rb +15 -5
- data/lib/datadog_api_client/v1/models/widget_formula_style.rb +108 -0
- data/lib/datadog_api_client/v1/models/widget_layout.rb +4 -4
- data/lib/datadog_api_client/v1/models/widget_marker.rb +1 -1
- data/lib/datadog_api_client/v2/api/authn_mappings_api.rb +1 -1
- data/lib/datadog_api_client/v2/api/incident_services_api.rb +1 -1
- data/lib/datadog_api_client/v2/api/incident_teams_api.rb +1 -1
- data/lib/datadog_api_client/v2/api/incidents_api.rb +1 -1
- data/lib/datadog_api_client/v2/api/key_management_api.rb +3 -3
- data/lib/datadog_api_client/v2/api/roles_api.rb +2 -2
- data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +1 -1
- data/lib/datadog_api_client/v2/api/sensitive_data_scanner_api.rb +649 -0
- data/lib/datadog_api_client/v2/api/service_accounts_api.rb +1 -1
- data/lib/datadog_api_client/v2/api/usage_metering_api.rb +1 -1
- data/lib/datadog_api_client/v2/api/users_api.rb +1 -1
- data/lib/datadog_api_client/v2/models/api_error_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/api_key_create_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/api_key_create_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/api_key_create_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/api_key_update_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/api_key_update_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/api_key_update_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/application_key_create_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/application_key_create_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/application_key_create_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/application_key_update_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/application_key_update_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/audit_logs_query_options.rb +1 -1
- data/lib/datadog_api_client/v2/models/audit_logs_query_page_options.rb +1 -1
- data/lib/datadog_api_client/v2/models/authn_mapping.rb +2 -2
- data/lib/datadog_api_client/v2/models/authn_mapping_create_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/authn_mapping_create_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/authn_mapping_update_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/authn_mapping_update_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/ci_app_aggregation_function.rb +4 -0
- data/lib/datadog_api_client/v2/models/ci_app_compute.rb +1 -1
- data/lib/datadog_api_client/v2/models/ci_app_group_by_histogram.rb +3 -3
- data/lib/datadog_api_client/v2/models/ci_app_pipelines_group_by.rb +1 -1
- data/lib/datadog_api_client/v2/models/ci_app_query_options.rb +1 -1
- data/lib/datadog_api_client/v2/models/ci_app_query_page_options.rb +1 -1
- data/lib/datadog_api_client/v2/models/ci_app_tests_group_by.rb +1 -1
- data/lib/datadog_api_client/v2/models/cloud_configuration_compliance_rule_options.rb +143 -0
- data/lib/datadog_api_client/v2/models/cloud_configuration_rego_rule.rb +132 -0
- data/lib/datadog_api_client/v2/models/cloud_configuration_rule_case_create.rb +121 -0
- data/lib/datadog_api_client/v2/models/cloud_configuration_rule_compliance_signal_options.rb +110 -0
- data/lib/datadog_api_client/v2/models/cloud_configuration_rule_create_payload.rb +239 -0
- data/lib/datadog_api_client/v2/models/cloud_configuration_rule_options.rb +109 -0
- data/lib/datadog_api_client/v2/models/cloud_configuration_rule_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_create_attributes.rb +2 -2
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_create_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_create_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_update_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_update_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/confluent_account_create_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/confluent_account_create_request_attributes.rb +2 -2
- data/lib/datadog_api_client/v2/models/confluent_account_create_request_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/confluent_account_response_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/confluent_account_response_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/confluent_account_update_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/confluent_account_update_request_attributes.rb +2 -2
- data/lib/datadog_api_client/v2/models/confluent_account_update_request_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/confluent_resource_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/confluent_resource_request_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/confluent_resource_response_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/confluent_resource_response_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/dashboard_list_item.rb +3 -3
- data/lib/datadog_api_client/v2/models/dashboard_list_item_request.rb +2 -2
- data/lib/datadog_api_client/v2/models/dashboard_list_item_response.rb +2 -2
- data/lib/datadog_api_client/v2/models/dashboard_list_items.rb +1 -1
- data/lib/datadog_api_client/v2/models/events_query_options.rb +1 -1
- data/lib/datadog_api_client/v2/models/events_request_page.rb +1 -1
- data/lib/datadog_api_client/v2/models/full_api_key_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/full_application_key_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/http_log_item.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_attachment_data.rb +4 -4
- data/lib/datadog_api_client/v2/models/incident_attachment_link_attributes.rb +2 -2
- data/lib/datadog_api_client/v2/models/incident_attachment_link_attributes_attachment_object.rb +2 -2
- data/lib/datadog_api_client/v2/models/incident_attachment_postmortem_attributes.rb +2 -2
- data/lib/datadog_api_client/v2/models/incident_attachment_update_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_attachment_update_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_attachment_update_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_attachments_postmortem_attributes_attachment_object.rb +2 -2
- data/lib/datadog_api_client/v2/models/incident_attachments_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_create_attributes.rb +2 -2
- data/lib/datadog_api_client/v2/models/incident_create_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/incident_create_relationships.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_create_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_response_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_response_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/incident_service_create_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_service_create_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_service_create_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_service_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_service_response_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/incident_service_update_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_service_update_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_service_update_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_services_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_team_create_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_team_create_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_team_create_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_team_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_team_update_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_team_update_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_team_update_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_teams_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_timeline_cell_markdown_create_attributes.rb +2 -2
- data/lib/datadog_api_client/v2/models/incident_update_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/incident_update_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/incidents_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_archive_attributes.rb +2 -2
- data/lib/datadog_api_client/v2/models/logs_archive_create_request_attributes.rb +3 -3
- data/lib/datadog_api_client/v2/models/logs_archive_create_request_definition.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_archive_definition.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_archive_destination_azure.rb +4 -4
- data/lib/datadog_api_client/v2/models/logs_archive_destination_gcs.rb +3 -3
- data/lib/datadog_api_client/v2/models/logs_archive_destination_s3.rb +3 -3
- data/lib/datadog_api_client/v2/models/logs_archive_integration_azure.rb +2 -2
- data/lib/datadog_api_client/v2/models/logs_archive_integration_gcs.rb +2 -2
- data/lib/datadog_api_client/v2/models/logs_archive_integration_s3.rb +2 -2
- data/lib/datadog_api_client/v2/models/logs_archive_order_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_archive_order_definition.rb +2 -2
- data/lib/datadog_api_client/v2/models/logs_compute.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_group_by.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_group_by_histogram.rb +3 -3
- data/lib/datadog_api_client/v2/models/logs_list_request_page.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_metric_compute.rb +13 -2
- data/lib/datadog_api_client/v2/models/logs_metric_create_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_metric_create_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/logs_metric_create_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_metric_group_by.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_metric_response_compute.rb +12 -1
- data/lib/datadog_api_client/v2/models/logs_metric_update_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/logs_metric_update_compute.rb +99 -0
- data/lib/datadog_api_client/v2/models/logs_metric_update_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/logs_metric_update_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/logs_query_options.rb +1 -1
- data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_create.rb +2 -2
- data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_create_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_delete.rb +2 -2
- data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_delete_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_status.rb +2 -2
- data/lib/datadog_api_client/v2/models/metric_custom_aggregation.rb +2 -2
- data/lib/datadog_api_client/v2/models/metric_origin.rb +3 -3
- data/lib/datadog_api_client/v2/models/metric_payload.rb +1 -1
- data/lib/datadog_api_client/v2/models/metric_series.rb +2 -2
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_create_attributes.rb +2 -2
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_create_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_create_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_update_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_update_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/monitor_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/nullable_relationship_to_user_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/opsgenie_service_create_attributes.rb +3 -3
- data/lib/datadog_api_client/v2/models/opsgenie_service_create_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/opsgenie_service_create_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/opsgenie_service_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/opsgenie_service_response_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/opsgenie_service_update_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/opsgenie_service_update_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/opsgenie_services_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/organization.rb +1 -1
- data/lib/datadog_api_client/v2/models/partial_api_key_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/partial_application_key_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/permission.rb +1 -1
- data/lib/datadog_api_client/v2/models/process_summaries_meta_page.rb +1 -1
- data/lib/datadog_api_client/v2/models/relationship_to_incident_attachment.rb +1 -1
- data/lib/datadog_api_client/v2/models/relationship_to_incident_attachment_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/relationship_to_incident_integration_metadata_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/relationship_to_incident_integration_metadatas.rb +1 -1
- data/lib/datadog_api_client/v2/models/relationship_to_incident_postmortem.rb +1 -1
- data/lib/datadog_api_client/v2/models/relationship_to_incident_postmortem_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/relationship_to_organization.rb +1 -1
- data/lib/datadog_api_client/v2/models/relationship_to_organization_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/relationship_to_organizations.rb +1 -1
- data/lib/datadog_api_client/v2/models/relationship_to_saml_assertion_attribute.rb +1 -1
- data/lib/datadog_api_client/v2/models/relationship_to_saml_assertion_attribute_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/relationship_to_user.rb +1 -1
- data/lib/datadog_api_client/v2/models/relationship_to_user_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/relationship_to_users.rb +1 -1
- data/lib/datadog_api_client/v2/models/role.rb +1 -1
- data/lib/datadog_api_client/v2/models/role_clone.rb +2 -2
- data/lib/datadog_api_client/v2/models/role_clone_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/role_clone_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/role_create_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/role_create_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/role_create_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/role_create_response_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/role_update_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/role_update_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/role_update_response_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/rum_application.rb +3 -3
- data/lib/datadog_api_client/v2/models/rum_application_attributes.rb +41 -10
- data/lib/datadog_api_client/v2/models/rum_application_create.rb +2 -2
- data/lib/datadog_api_client/v2/models/rum_application_create_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/rum_application_create_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/rum_application_list.rb +130 -0
- data/lib/datadog_api_client/v2/models/rum_application_list_attributes.rb +280 -0
- data/lib/datadog_api_client/v2/models/rum_application_list_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/rum_application_update.rb +2 -2
- data/lib/datadog_api_client/v2/models/rum_application_update_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/rum_applications_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/rum_compute.rb +1 -1
- data/lib/datadog_api_client/v2/models/rum_group_by.rb +1 -1
- data/lib/datadog_api_client/v2/models/rum_group_by_histogram.rb +3 -3
- data/lib/datadog_api_client/v2/models/rum_query_options.rb +1 -1
- data/lib/datadog_api_client/v2/models/rum_query_page_options.rb +1 -1
- data/lib/datadog_api_client/v2/models/saml_assertion_attribute.rb +2 -2
- data/lib/datadog_api_client/v2/models/security_filter_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_filter_create_attributes.rb +5 -5
- data/lib/datadog_api_client/v2/models/security_filter_create_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/security_filter_create_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_filter_exclusion_filter.rb +2 -2
- data/lib/datadog_api_client/v2/models/security_filter_update_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_filter_update_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/security_filter_update_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_case_create.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_create_payload.rb +2 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_options.rb +11 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_update_payload.rb +12 -2
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_assignee_update_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_assignee_update_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_assignee_update_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_incidents_update_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_incidents_update_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_incidents_update_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_list_request_page.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_create_payload.rb +6 -6
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_query.rb +2 -2
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_response_query.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_state_update_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_state_update_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_state_update_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_triage_attributes.rb +5 -5
- data/lib/datadog_api_client/v2/models/security_monitoring_signal_triage_update_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_create_payload.rb +6 -6
- data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_query.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_response.rb +11 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_triage_user.rb +1 -1
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_config_request.rb +130 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_configuration.rb +108 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_configuration_data.rb +98 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_configuration_relationships.rb +98 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_configuration_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_create_group_response.rb +108 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_create_rule_response.rb +108 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_filter.rb +98 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_get_config_included_item.rb +63 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_get_config_response.rb +120 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_get_config_response_data.rb +118 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group.rb +108 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_attributes.rb +140 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_create.rb +140 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_create_request.rb +108 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_data.rb +98 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_delete_request.rb +109 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_delete_response.rb +98 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_included_item.rb +128 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_item.rb +108 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_list.rb +100 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_relationships.rb +108 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_response.rb +128 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_update.rb +128 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_update_request.rb +130 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_group_update_response.rb +98 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_meta.rb +149 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_meta_version_only.rb +109 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_product.rb +29 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_reorder_config.rb +118 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_reorder_groups_response.rb +98 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule.rb +108 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_attributes.rb +162 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_create.rb +151 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_create_request.rb +130 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_data.rb +100 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_delete_request.rb +109 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_delete_response.rb +98 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_included_item.rb +128 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_relationships.rb +108 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_response.rb +128 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_update.rb +128 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_update_request.rb +130 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_update_response.rb +98 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_standard_pattern.rb +108 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_standard_pattern_attributes.rb +120 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_standard_pattern_data.rb +98 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_standard_pattern_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_standard_patterns_response_data.rb +100 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_standard_patterns_response_item.rb +118 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_text_replacement.rb +135 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_text_replacement_type.rb +35 -0
- data/lib/datadog_api_client/v2/models/service_account_create_attributes.rb +2 -2
- data/lib/datadog_api_client/v2/models/service_account_create_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/service_account_create_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/service_definition_v1.rb +2 -2
- data/lib/datadog_api_client/v2/models/service_definition_v1_info.rb +1 -1
- data/lib/datadog_api_client/v2/models/service_definition_v1_resource.rb +3 -3
- data/lib/datadog_api_client/v2/models/service_definition_v2.rb +2 -2
- data/lib/datadog_api_client/v2/models/service_definition_v2_doc.rb +2 -2
- data/lib/datadog_api_client/v2/models/service_definition_v2_email.rb +2 -2
- data/lib/datadog_api_client/v2/models/service_definition_v2_link.rb +3 -3
- data/lib/datadog_api_client/v2/models/service_definition_v2_opsgenie.rb +1 -1
- data/lib/datadog_api_client/v2/models/service_definition_v2_repo.rb +2 -2
- data/lib/datadog_api_client/v2/models/service_definition_v2_slack.rb +2 -2
- data/lib/datadog_api_client/v2/models/user_create_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/user_create_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/user_create_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/user_invitation_data.rb +2 -2
- data/lib/datadog_api_client/v2/models/user_invitation_relationships.rb +1 -1
- data/lib/datadog_api_client/v2/models/user_invitations_request.rb +1 -1
- data/lib/datadog_api_client/v2/models/user_update_data.rb +3 -3
- data/lib/datadog_api_client/v2/models/user_update_request.rb +1 -1
- data/lib/datadog_api_client/version.rb +1 -1
- data/spec/fixtures/synthetics_unknown_nested_enum.json +3 -3
- data/spec/v1/deserialization_spec.rb +4 -5
- metadata +91 -4
- data/lib/datadog_api_client/api_key_configuration.rb +0 -16
@@ -0,0 +1,649 @@
|
|
1
|
+
=begin
|
2
|
+
#Datadog API V2 Collection
|
3
|
+
|
4
|
+
#Collection of all Datadog Public endpoints.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0
|
7
|
+
Contact: support@datadoghq.com
|
8
|
+
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
|
9
|
+
|
10
|
+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
11
|
+
This product includes software developed at Datadog (https://www.datadoghq.com/).
|
12
|
+
Copyright 2020-Present Datadog, Inc.
|
13
|
+
|
14
|
+
=end
|
15
|
+
|
16
|
+
require 'cgi'
|
17
|
+
|
18
|
+
module DatadogAPIClient::V2
|
19
|
+
class SensitiveDataScannerAPI
|
20
|
+
attr_accessor :api_client
|
21
|
+
|
22
|
+
def initialize(api_client = DatadogAPIClient::APIClient.default)
|
23
|
+
@api_client = api_client
|
24
|
+
end
|
25
|
+
|
26
|
+
# Create Scanning Group.
|
27
|
+
#
|
28
|
+
# @see #create_scanning_group_with_http_info
|
29
|
+
def create_scanning_group(body, opts = {})
|
30
|
+
data, _status_code, _headers = create_scanning_group_with_http_info(body, opts)
|
31
|
+
data
|
32
|
+
end
|
33
|
+
|
34
|
+
# Create Scanning Group.
|
35
|
+
#
|
36
|
+
# Create a scanning group.
|
37
|
+
# The request MAY include a configuration relationship.
|
38
|
+
# A rules relationship can be omitted entirely, but if it is included it MUST be
|
39
|
+
# null or an empty array (rules cannot be created at the same time).
|
40
|
+
# The new group will be ordered last within the configuration.
|
41
|
+
#
|
42
|
+
# @param body [SensitiveDataScannerGroupCreateRequest]
|
43
|
+
# @param opts [Hash] the optional parameters
|
44
|
+
# @return [Array<(SensitiveDataScannerCreateGroupResponse, Integer, Hash)>] SensitiveDataScannerCreateGroupResponse data, response status code and response headers
|
45
|
+
def create_scanning_group_with_http_info(body, opts = {})
|
46
|
+
|
47
|
+
if @api_client.config.debugging
|
48
|
+
@api_client.config.logger.debug 'Calling API: SensitiveDataScannerAPI.create_scanning_group ...'
|
49
|
+
end
|
50
|
+
# verify the required parameter 'body' is set
|
51
|
+
if @api_client.config.client_side_validation && body.nil?
|
52
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling SensitiveDataScannerAPI.create_scanning_group"
|
53
|
+
end
|
54
|
+
# resource path
|
55
|
+
local_var_path = '/api/v2/sensitive-data-scanner/config/groups'
|
56
|
+
|
57
|
+
# query parameters
|
58
|
+
query_params = opts[:query_params] || {}
|
59
|
+
|
60
|
+
# header parameters
|
61
|
+
header_params = opts[:header_params] || {}
|
62
|
+
# HTTP header 'Accept' (if needed)
|
63
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
64
|
+
# HTTP header 'Content-Type'
|
65
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
66
|
+
|
67
|
+
# form parameters
|
68
|
+
form_params = opts[:form_params] || {}
|
69
|
+
|
70
|
+
# http body (model)
|
71
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
72
|
+
|
73
|
+
# return_type
|
74
|
+
return_type = opts[:debug_return_type] || 'SensitiveDataScannerCreateGroupResponse'
|
75
|
+
|
76
|
+
# auth_names
|
77
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
78
|
+
|
79
|
+
new_options = opts.merge(
|
80
|
+
:operation => :create_scanning_group,
|
81
|
+
:header_params => header_params,
|
82
|
+
:query_params => query_params,
|
83
|
+
:form_params => form_params,
|
84
|
+
:body => post_body,
|
85
|
+
:auth_names => auth_names,
|
86
|
+
:return_type => return_type,
|
87
|
+
:api_version => "V2"
|
88
|
+
)
|
89
|
+
|
90
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
91
|
+
if @api_client.config.debugging
|
92
|
+
@api_client.config.logger.debug "API called: SensitiveDataScannerAPI#create_scanning_group\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
93
|
+
end
|
94
|
+
return data, status_code, headers
|
95
|
+
end
|
96
|
+
|
97
|
+
# Create Scanning Rule.
|
98
|
+
#
|
99
|
+
# @see #create_scanning_rule_with_http_info
|
100
|
+
def create_scanning_rule(body, opts = {})
|
101
|
+
data, _status_code, _headers = create_scanning_rule_with_http_info(body, opts)
|
102
|
+
data
|
103
|
+
end
|
104
|
+
|
105
|
+
# Create Scanning Rule.
|
106
|
+
#
|
107
|
+
# Create a scanning rule in a sensitive data scanner group, ordered last.
|
108
|
+
# The posted rule MUST include a group relationship.
|
109
|
+
# It MUST include either a standard_pattern relationship or a regex attribute, but not both.
|
110
|
+
# If included_attributes is empty or missing, we will scan all attributes except
|
111
|
+
# excluded_attributes. If both are missing, we will scan the whole event.
|
112
|
+
#
|
113
|
+
# @param body [SensitiveDataScannerRuleCreateRequest]
|
114
|
+
# @param opts [Hash] the optional parameters
|
115
|
+
# @return [Array<(SensitiveDataScannerCreateRuleResponse, Integer, Hash)>] SensitiveDataScannerCreateRuleResponse data, response status code and response headers
|
116
|
+
def create_scanning_rule_with_http_info(body, opts = {})
|
117
|
+
|
118
|
+
if @api_client.config.debugging
|
119
|
+
@api_client.config.logger.debug 'Calling API: SensitiveDataScannerAPI.create_scanning_rule ...'
|
120
|
+
end
|
121
|
+
# verify the required parameter 'body' is set
|
122
|
+
if @api_client.config.client_side_validation && body.nil?
|
123
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling SensitiveDataScannerAPI.create_scanning_rule"
|
124
|
+
end
|
125
|
+
# resource path
|
126
|
+
local_var_path = '/api/v2/sensitive-data-scanner/config/rules'
|
127
|
+
|
128
|
+
# query parameters
|
129
|
+
query_params = opts[:query_params] || {}
|
130
|
+
|
131
|
+
# header parameters
|
132
|
+
header_params = opts[:header_params] || {}
|
133
|
+
# HTTP header 'Accept' (if needed)
|
134
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
135
|
+
# HTTP header 'Content-Type'
|
136
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
137
|
+
|
138
|
+
# form parameters
|
139
|
+
form_params = opts[:form_params] || {}
|
140
|
+
|
141
|
+
# http body (model)
|
142
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
143
|
+
|
144
|
+
# return_type
|
145
|
+
return_type = opts[:debug_return_type] || 'SensitiveDataScannerCreateRuleResponse'
|
146
|
+
|
147
|
+
# auth_names
|
148
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
149
|
+
|
150
|
+
new_options = opts.merge(
|
151
|
+
:operation => :create_scanning_rule,
|
152
|
+
:header_params => header_params,
|
153
|
+
:query_params => query_params,
|
154
|
+
:form_params => form_params,
|
155
|
+
:body => post_body,
|
156
|
+
:auth_names => auth_names,
|
157
|
+
:return_type => return_type,
|
158
|
+
:api_version => "V2"
|
159
|
+
)
|
160
|
+
|
161
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Post, local_var_path, new_options)
|
162
|
+
if @api_client.config.debugging
|
163
|
+
@api_client.config.logger.debug "API called: SensitiveDataScannerAPI#create_scanning_rule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
164
|
+
end
|
165
|
+
return data, status_code, headers
|
166
|
+
end
|
167
|
+
|
168
|
+
# Delete Scanning Group.
|
169
|
+
#
|
170
|
+
# @see #delete_scanning_group_with_http_info
|
171
|
+
def delete_scanning_group(group_id, body, opts = {})
|
172
|
+
data, _status_code, _headers = delete_scanning_group_with_http_info(group_id, body, opts)
|
173
|
+
data
|
174
|
+
end
|
175
|
+
|
176
|
+
# Delete Scanning Group.
|
177
|
+
#
|
178
|
+
# Delete a given group.
|
179
|
+
#
|
180
|
+
# @param group_id [String] The ID of a group of rules.
|
181
|
+
# @param body [SensitiveDataScannerGroupDeleteRequest]
|
182
|
+
# @param opts [Hash] the optional parameters
|
183
|
+
# @return [Array<(SensitiveDataScannerGroupDeleteResponse, Integer, Hash)>] SensitiveDataScannerGroupDeleteResponse data, response status code and response headers
|
184
|
+
def delete_scanning_group_with_http_info(group_id, body, opts = {})
|
185
|
+
|
186
|
+
if @api_client.config.debugging
|
187
|
+
@api_client.config.logger.debug 'Calling API: SensitiveDataScannerAPI.delete_scanning_group ...'
|
188
|
+
end
|
189
|
+
# verify the required parameter 'group_id' is set
|
190
|
+
if @api_client.config.client_side_validation && group_id.nil?
|
191
|
+
fail ArgumentError, "Missing the required parameter 'group_id' when calling SensitiveDataScannerAPI.delete_scanning_group"
|
192
|
+
end
|
193
|
+
# verify the required parameter 'body' is set
|
194
|
+
if @api_client.config.client_side_validation && body.nil?
|
195
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling SensitiveDataScannerAPI.delete_scanning_group"
|
196
|
+
end
|
197
|
+
# resource path
|
198
|
+
local_var_path = '/api/v2/sensitive-data-scanner/config/groups/{group_id}'.sub('{group_id}', CGI.escape(group_id.to_s).gsub('%2F', '/'))
|
199
|
+
|
200
|
+
# query parameters
|
201
|
+
query_params = opts[:query_params] || {}
|
202
|
+
|
203
|
+
# header parameters
|
204
|
+
header_params = opts[:header_params] || {}
|
205
|
+
# HTTP header 'Accept' (if needed)
|
206
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
207
|
+
# HTTP header 'Content-Type'
|
208
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
209
|
+
|
210
|
+
# form parameters
|
211
|
+
form_params = opts[:form_params] || {}
|
212
|
+
|
213
|
+
# http body (model)
|
214
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
215
|
+
|
216
|
+
# return_type
|
217
|
+
return_type = opts[:debug_return_type] || 'SensitiveDataScannerGroupDeleteResponse'
|
218
|
+
|
219
|
+
# auth_names
|
220
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
221
|
+
|
222
|
+
new_options = opts.merge(
|
223
|
+
:operation => :delete_scanning_group,
|
224
|
+
:header_params => header_params,
|
225
|
+
:query_params => query_params,
|
226
|
+
:form_params => form_params,
|
227
|
+
:body => post_body,
|
228
|
+
:auth_names => auth_names,
|
229
|
+
:return_type => return_type,
|
230
|
+
:api_version => "V2"
|
231
|
+
)
|
232
|
+
|
233
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Delete, local_var_path, new_options)
|
234
|
+
if @api_client.config.debugging
|
235
|
+
@api_client.config.logger.debug "API called: SensitiveDataScannerAPI#delete_scanning_group\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
236
|
+
end
|
237
|
+
return data, status_code, headers
|
238
|
+
end
|
239
|
+
|
240
|
+
# Delete Scanning Rule.
|
241
|
+
#
|
242
|
+
# @see #delete_scanning_rule_with_http_info
|
243
|
+
def delete_scanning_rule(rule_id, body, opts = {})
|
244
|
+
data, _status_code, _headers = delete_scanning_rule_with_http_info(rule_id, body, opts)
|
245
|
+
data
|
246
|
+
end
|
247
|
+
|
248
|
+
# Delete Scanning Rule.
|
249
|
+
#
|
250
|
+
# Delete a given rule.
|
251
|
+
#
|
252
|
+
# @param rule_id [String] The ID of the rule.
|
253
|
+
# @param body [SensitiveDataScannerRuleDeleteRequest]
|
254
|
+
# @param opts [Hash] the optional parameters
|
255
|
+
# @return [Array<(SensitiveDataScannerRuleDeleteResponse, Integer, Hash)>] SensitiveDataScannerRuleDeleteResponse data, response status code and response headers
|
256
|
+
def delete_scanning_rule_with_http_info(rule_id, body, opts = {})
|
257
|
+
|
258
|
+
if @api_client.config.debugging
|
259
|
+
@api_client.config.logger.debug 'Calling API: SensitiveDataScannerAPI.delete_scanning_rule ...'
|
260
|
+
end
|
261
|
+
# verify the required parameter 'rule_id' is set
|
262
|
+
if @api_client.config.client_side_validation && rule_id.nil?
|
263
|
+
fail ArgumentError, "Missing the required parameter 'rule_id' when calling SensitiveDataScannerAPI.delete_scanning_rule"
|
264
|
+
end
|
265
|
+
# verify the required parameter 'body' is set
|
266
|
+
if @api_client.config.client_side_validation && body.nil?
|
267
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling SensitiveDataScannerAPI.delete_scanning_rule"
|
268
|
+
end
|
269
|
+
# resource path
|
270
|
+
local_var_path = '/api/v2/sensitive-data-scanner/config/rules/{rule_id}'.sub('{rule_id}', CGI.escape(rule_id.to_s).gsub('%2F', '/'))
|
271
|
+
|
272
|
+
# query parameters
|
273
|
+
query_params = opts[:query_params] || {}
|
274
|
+
|
275
|
+
# header parameters
|
276
|
+
header_params = opts[:header_params] || {}
|
277
|
+
# HTTP header 'Accept' (if needed)
|
278
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
279
|
+
# HTTP header 'Content-Type'
|
280
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
281
|
+
|
282
|
+
# form parameters
|
283
|
+
form_params = opts[:form_params] || {}
|
284
|
+
|
285
|
+
# http body (model)
|
286
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
287
|
+
|
288
|
+
# return_type
|
289
|
+
return_type = opts[:debug_return_type] || 'SensitiveDataScannerRuleDeleteResponse'
|
290
|
+
|
291
|
+
# auth_names
|
292
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
293
|
+
|
294
|
+
new_options = opts.merge(
|
295
|
+
:operation => :delete_scanning_rule,
|
296
|
+
:header_params => header_params,
|
297
|
+
:query_params => query_params,
|
298
|
+
:form_params => form_params,
|
299
|
+
:body => post_body,
|
300
|
+
:auth_names => auth_names,
|
301
|
+
:return_type => return_type,
|
302
|
+
:api_version => "V2"
|
303
|
+
)
|
304
|
+
|
305
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Delete, local_var_path, new_options)
|
306
|
+
if @api_client.config.debugging
|
307
|
+
@api_client.config.logger.debug "API called: SensitiveDataScannerAPI#delete_scanning_rule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
308
|
+
end
|
309
|
+
return data, status_code, headers
|
310
|
+
end
|
311
|
+
|
312
|
+
# List Scanning Groups.
|
313
|
+
#
|
314
|
+
# @see #list_scanning_groups_with_http_info
|
315
|
+
def list_scanning_groups(opts = {})
|
316
|
+
data, _status_code, _headers = list_scanning_groups_with_http_info(opts)
|
317
|
+
data
|
318
|
+
end
|
319
|
+
|
320
|
+
# List Scanning Groups.
|
321
|
+
#
|
322
|
+
# List all the Scanning groups in your organization.
|
323
|
+
#
|
324
|
+
# @param opts [Hash] the optional parameters
|
325
|
+
# @return [Array<(SensitiveDataScannerGetConfigResponse, Integer, Hash)>] SensitiveDataScannerGetConfigResponse data, response status code and response headers
|
326
|
+
def list_scanning_groups_with_http_info(opts = {})
|
327
|
+
|
328
|
+
if @api_client.config.debugging
|
329
|
+
@api_client.config.logger.debug 'Calling API: SensitiveDataScannerAPI.list_scanning_groups ...'
|
330
|
+
end
|
331
|
+
# resource path
|
332
|
+
local_var_path = '/api/v2/sensitive-data-scanner/config'
|
333
|
+
|
334
|
+
# query parameters
|
335
|
+
query_params = opts[:query_params] || {}
|
336
|
+
|
337
|
+
# header parameters
|
338
|
+
header_params = opts[:header_params] || {}
|
339
|
+
# HTTP header 'Accept' (if needed)
|
340
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
341
|
+
|
342
|
+
# form parameters
|
343
|
+
form_params = opts[:form_params] || {}
|
344
|
+
|
345
|
+
# http body (model)
|
346
|
+
post_body = opts[:debug_body]
|
347
|
+
|
348
|
+
# return_type
|
349
|
+
return_type = opts[:debug_return_type] || 'SensitiveDataScannerGetConfigResponse'
|
350
|
+
|
351
|
+
# auth_names
|
352
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
353
|
+
|
354
|
+
new_options = opts.merge(
|
355
|
+
:operation => :list_scanning_groups,
|
356
|
+
:header_params => header_params,
|
357
|
+
:query_params => query_params,
|
358
|
+
:form_params => form_params,
|
359
|
+
:body => post_body,
|
360
|
+
:auth_names => auth_names,
|
361
|
+
:return_type => return_type,
|
362
|
+
:api_version => "V2"
|
363
|
+
)
|
364
|
+
|
365
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
366
|
+
if @api_client.config.debugging
|
367
|
+
@api_client.config.logger.debug "API called: SensitiveDataScannerAPI#list_scanning_groups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
368
|
+
end
|
369
|
+
return data, status_code, headers
|
370
|
+
end
|
371
|
+
|
372
|
+
# List standard patterns.
|
373
|
+
#
|
374
|
+
# @see #list_standard_patterns_with_http_info
|
375
|
+
def list_standard_patterns(opts = {})
|
376
|
+
data, _status_code, _headers = list_standard_patterns_with_http_info(opts)
|
377
|
+
data
|
378
|
+
end
|
379
|
+
|
380
|
+
# List standard patterns.
|
381
|
+
#
|
382
|
+
# Returns all standard patterns.
|
383
|
+
#
|
384
|
+
# @param opts [Hash] the optional parameters
|
385
|
+
# @return [Array<(SensitiveDataScannerStandardPatternsResponseData, Integer, Hash)>] SensitiveDataScannerStandardPatternsResponseData data, response status code and response headers
|
386
|
+
def list_standard_patterns_with_http_info(opts = {})
|
387
|
+
|
388
|
+
if @api_client.config.debugging
|
389
|
+
@api_client.config.logger.debug 'Calling API: SensitiveDataScannerAPI.list_standard_patterns ...'
|
390
|
+
end
|
391
|
+
# resource path
|
392
|
+
local_var_path = '/api/v2/sensitive-data-scanner/config/standard-patterns'
|
393
|
+
|
394
|
+
# query parameters
|
395
|
+
query_params = opts[:query_params] || {}
|
396
|
+
|
397
|
+
# header parameters
|
398
|
+
header_params = opts[:header_params] || {}
|
399
|
+
# HTTP header 'Accept' (if needed)
|
400
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
401
|
+
|
402
|
+
# form parameters
|
403
|
+
form_params = opts[:form_params] || {}
|
404
|
+
|
405
|
+
# http body (model)
|
406
|
+
post_body = opts[:debug_body]
|
407
|
+
|
408
|
+
# return_type
|
409
|
+
return_type = opts[:debug_return_type] || 'SensitiveDataScannerStandardPatternsResponseData'
|
410
|
+
|
411
|
+
# auth_names
|
412
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
413
|
+
|
414
|
+
new_options = opts.merge(
|
415
|
+
:operation => :list_standard_patterns,
|
416
|
+
:header_params => header_params,
|
417
|
+
:query_params => query_params,
|
418
|
+
:form_params => form_params,
|
419
|
+
:body => post_body,
|
420
|
+
:auth_names => auth_names,
|
421
|
+
:return_type => return_type,
|
422
|
+
:api_version => "V2"
|
423
|
+
)
|
424
|
+
|
425
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
426
|
+
if @api_client.config.debugging
|
427
|
+
@api_client.config.logger.debug "API called: SensitiveDataScannerAPI#list_standard_patterns\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
428
|
+
end
|
429
|
+
return data, status_code, headers
|
430
|
+
end
|
431
|
+
|
432
|
+
# Reorder Groups.
|
433
|
+
#
|
434
|
+
# @see #reorder_scanning_groups_with_http_info
|
435
|
+
def reorder_scanning_groups(body, opts = {})
|
436
|
+
data, _status_code, _headers = reorder_scanning_groups_with_http_info(body, opts)
|
437
|
+
data
|
438
|
+
end
|
439
|
+
|
440
|
+
# Reorder Groups.
|
441
|
+
#
|
442
|
+
# Reorder the list of groups.
|
443
|
+
#
|
444
|
+
# @param body [SensitiveDataScannerConfigRequest]
|
445
|
+
# @param opts [Hash] the optional parameters
|
446
|
+
# @return [Array<(SensitiveDataScannerReorderGroupsResponse, Integer, Hash)>] SensitiveDataScannerReorderGroupsResponse data, response status code and response headers
|
447
|
+
def reorder_scanning_groups_with_http_info(body, opts = {})
|
448
|
+
|
449
|
+
if @api_client.config.debugging
|
450
|
+
@api_client.config.logger.debug 'Calling API: SensitiveDataScannerAPI.reorder_scanning_groups ...'
|
451
|
+
end
|
452
|
+
# verify the required parameter 'body' is set
|
453
|
+
if @api_client.config.client_side_validation && body.nil?
|
454
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling SensitiveDataScannerAPI.reorder_scanning_groups"
|
455
|
+
end
|
456
|
+
# resource path
|
457
|
+
local_var_path = '/api/v2/sensitive-data-scanner/config'
|
458
|
+
|
459
|
+
# query parameters
|
460
|
+
query_params = opts[:query_params] || {}
|
461
|
+
|
462
|
+
# header parameters
|
463
|
+
header_params = opts[:header_params] || {}
|
464
|
+
# HTTP header 'Accept' (if needed)
|
465
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
466
|
+
# HTTP header 'Content-Type'
|
467
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
468
|
+
|
469
|
+
# form parameters
|
470
|
+
form_params = opts[:form_params] || {}
|
471
|
+
|
472
|
+
# http body (model)
|
473
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
474
|
+
|
475
|
+
# return_type
|
476
|
+
return_type = opts[:debug_return_type] || 'SensitiveDataScannerReorderGroupsResponse'
|
477
|
+
|
478
|
+
# auth_names
|
479
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
480
|
+
|
481
|
+
new_options = opts.merge(
|
482
|
+
:operation => :reorder_scanning_groups,
|
483
|
+
:header_params => header_params,
|
484
|
+
:query_params => query_params,
|
485
|
+
:form_params => form_params,
|
486
|
+
:body => post_body,
|
487
|
+
:auth_names => auth_names,
|
488
|
+
:return_type => return_type,
|
489
|
+
:api_version => "V2"
|
490
|
+
)
|
491
|
+
|
492
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Patch, local_var_path, new_options)
|
493
|
+
if @api_client.config.debugging
|
494
|
+
@api_client.config.logger.debug "API called: SensitiveDataScannerAPI#reorder_scanning_groups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
495
|
+
end
|
496
|
+
return data, status_code, headers
|
497
|
+
end
|
498
|
+
|
499
|
+
# Update Scanning Group.
|
500
|
+
#
|
501
|
+
# @see #update_scanning_group_with_http_info
|
502
|
+
def update_scanning_group(group_id, body, opts = {})
|
503
|
+
data, _status_code, _headers = update_scanning_group_with_http_info(group_id, body, opts)
|
504
|
+
data
|
505
|
+
end
|
506
|
+
|
507
|
+
# Update Scanning Group.
|
508
|
+
#
|
509
|
+
# Update a group, including the order of the rules.
|
510
|
+
# Rules within the group are reordered by including a rules relationship. If the rules
|
511
|
+
# relationship is present, its data section MUST contain linkages for all of the rules
|
512
|
+
# currently in the group, and MUST NOT contain any others.
|
513
|
+
#
|
514
|
+
# @param group_id [String] The ID of a group of rules.
|
515
|
+
# @param body [SensitiveDataScannerGroupUpdateRequest]
|
516
|
+
# @param opts [Hash] the optional parameters
|
517
|
+
# @return [Array<(SensitiveDataScannerGroupUpdateResponse, Integer, Hash)>] SensitiveDataScannerGroupUpdateResponse data, response status code and response headers
|
518
|
+
def update_scanning_group_with_http_info(group_id, body, opts = {})
|
519
|
+
|
520
|
+
if @api_client.config.debugging
|
521
|
+
@api_client.config.logger.debug 'Calling API: SensitiveDataScannerAPI.update_scanning_group ...'
|
522
|
+
end
|
523
|
+
# verify the required parameter 'group_id' is set
|
524
|
+
if @api_client.config.client_side_validation && group_id.nil?
|
525
|
+
fail ArgumentError, "Missing the required parameter 'group_id' when calling SensitiveDataScannerAPI.update_scanning_group"
|
526
|
+
end
|
527
|
+
# verify the required parameter 'body' is set
|
528
|
+
if @api_client.config.client_side_validation && body.nil?
|
529
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling SensitiveDataScannerAPI.update_scanning_group"
|
530
|
+
end
|
531
|
+
# resource path
|
532
|
+
local_var_path = '/api/v2/sensitive-data-scanner/config/groups/{group_id}'.sub('{group_id}', CGI.escape(group_id.to_s).gsub('%2F', '/'))
|
533
|
+
|
534
|
+
# query parameters
|
535
|
+
query_params = opts[:query_params] || {}
|
536
|
+
|
537
|
+
# header parameters
|
538
|
+
header_params = opts[:header_params] || {}
|
539
|
+
# HTTP header 'Accept' (if needed)
|
540
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
541
|
+
# HTTP header 'Content-Type'
|
542
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
543
|
+
|
544
|
+
# form parameters
|
545
|
+
form_params = opts[:form_params] || {}
|
546
|
+
|
547
|
+
# http body (model)
|
548
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
549
|
+
|
550
|
+
# return_type
|
551
|
+
return_type = opts[:debug_return_type] || 'SensitiveDataScannerGroupUpdateResponse'
|
552
|
+
|
553
|
+
# auth_names
|
554
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
555
|
+
|
556
|
+
new_options = opts.merge(
|
557
|
+
:operation => :update_scanning_group,
|
558
|
+
:header_params => header_params,
|
559
|
+
:query_params => query_params,
|
560
|
+
:form_params => form_params,
|
561
|
+
:body => post_body,
|
562
|
+
:auth_names => auth_names,
|
563
|
+
:return_type => return_type,
|
564
|
+
:api_version => "V2"
|
565
|
+
)
|
566
|
+
|
567
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Patch, local_var_path, new_options)
|
568
|
+
if @api_client.config.debugging
|
569
|
+
@api_client.config.logger.debug "API called: SensitiveDataScannerAPI#update_scanning_group\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
570
|
+
end
|
571
|
+
return data, status_code, headers
|
572
|
+
end
|
573
|
+
|
574
|
+
# Update Scanning Rule.
|
575
|
+
#
|
576
|
+
# @see #update_scanning_rule_with_http_info
|
577
|
+
def update_scanning_rule(rule_id, body, opts = {})
|
578
|
+
data, _status_code, _headers = update_scanning_rule_with_http_info(rule_id, body, opts)
|
579
|
+
data
|
580
|
+
end
|
581
|
+
|
582
|
+
# Update Scanning Rule.
|
583
|
+
#
|
584
|
+
# Update a scanning rule.
|
585
|
+
# The request body MUST NOT include a standard_pattern relationship, as that relationship
|
586
|
+
# is non-editable. Trying to edit the regex attribute of a rule with a standard_pattern
|
587
|
+
# relationship will also result in an error.
|
588
|
+
#
|
589
|
+
# @param rule_id [String] The ID of the rule.
|
590
|
+
# @param body [SensitiveDataScannerRuleUpdateRequest]
|
591
|
+
# @param opts [Hash] the optional parameters
|
592
|
+
# @return [Array<(SensitiveDataScannerRuleUpdateResponse, Integer, Hash)>] SensitiveDataScannerRuleUpdateResponse data, response status code and response headers
|
593
|
+
def update_scanning_rule_with_http_info(rule_id, body, opts = {})
|
594
|
+
|
595
|
+
if @api_client.config.debugging
|
596
|
+
@api_client.config.logger.debug 'Calling API: SensitiveDataScannerAPI.update_scanning_rule ...'
|
597
|
+
end
|
598
|
+
# verify the required parameter 'rule_id' is set
|
599
|
+
if @api_client.config.client_side_validation && rule_id.nil?
|
600
|
+
fail ArgumentError, "Missing the required parameter 'rule_id' when calling SensitiveDataScannerAPI.update_scanning_rule"
|
601
|
+
end
|
602
|
+
# verify the required parameter 'body' is set
|
603
|
+
if @api_client.config.client_side_validation && body.nil?
|
604
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling SensitiveDataScannerAPI.update_scanning_rule"
|
605
|
+
end
|
606
|
+
# resource path
|
607
|
+
local_var_path = '/api/v2/sensitive-data-scanner/config/rules/{rule_id}'.sub('{rule_id}', CGI.escape(rule_id.to_s).gsub('%2F', '/'))
|
608
|
+
|
609
|
+
# query parameters
|
610
|
+
query_params = opts[:query_params] || {}
|
611
|
+
|
612
|
+
# header parameters
|
613
|
+
header_params = opts[:header_params] || {}
|
614
|
+
# HTTP header 'Accept' (if needed)
|
615
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
616
|
+
# HTTP header 'Content-Type'
|
617
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
618
|
+
|
619
|
+
# form parameters
|
620
|
+
form_params = opts[:form_params] || {}
|
621
|
+
|
622
|
+
# http body (model)
|
623
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(body)
|
624
|
+
|
625
|
+
# return_type
|
626
|
+
return_type = opts[:debug_return_type] || 'SensitiveDataScannerRuleUpdateResponse'
|
627
|
+
|
628
|
+
# auth_names
|
629
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth]
|
630
|
+
|
631
|
+
new_options = opts.merge(
|
632
|
+
:operation => :update_scanning_rule,
|
633
|
+
:header_params => header_params,
|
634
|
+
:query_params => query_params,
|
635
|
+
:form_params => form_params,
|
636
|
+
:body => post_body,
|
637
|
+
:auth_names => auth_names,
|
638
|
+
:return_type => return_type,
|
639
|
+
:api_version => "V2"
|
640
|
+
)
|
641
|
+
|
642
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Patch, local_var_path, new_options)
|
643
|
+
if @api_client.config.debugging
|
644
|
+
@api_client.config.logger.debug "API called: SensitiveDataScannerAPI#update_scanning_rule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
645
|
+
end
|
646
|
+
return data, status_code, headers
|
647
|
+
end
|
648
|
+
end
|
649
|
+
end
|
@@ -249,7 +249,7 @@ module DatadogAPIClient::V2
|
|
249
249
|
#
|
250
250
|
# @param service_account_id [String] The ID of the service account.
|
251
251
|
# @param opts [Hash] the optional parameters
|
252
|
-
# @option opts [Integer] :page_size Size for a given page.
|
252
|
+
# @option opts [Integer] :page_size Size for a given page. The maximum allowed value is 5000.
|
253
253
|
# @option opts [Integer] :page_number Specific page number to return.
|
254
254
|
# @option opts [ApplicationKeysSort] :sort Application key attribute used to sort results. Sort order is ascending by default. In order to specify a descending sort, prefix the attribute with a minus sign.
|
255
255
|
# @option opts [String] :filter Filter application keys by the specified string.
|
@@ -255,7 +255,7 @@ module DatadogAPIClient::V2
|
|
255
255
|
# Get hourly usage by product family.
|
256
256
|
#
|
257
257
|
# @param filter_timestamp_start [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
|
258
|
-
# @param filter_product_families [String] Comma separated list of product families to retrieve. Available families are `all`, `analyzed_logs`, `application_security`, `audit_logs`, `serverless`, `ci_app`, `cspm`, `custom_events`, `cws`, `dbm`, `fargate`, `infra_hosts`, `incident_management`, `indexed_logs`, `indexed_spans`, `ingested_spans`, `iot`, `lambda_traced_invocations`, `logs`, `network_flows`, `network_hosts`, `observability_pipelines`, `online_archive`, `profiling`, `rum`, `rum_browser_sessions`, `rum_mobile_sessions`, `sds`, `snmp`, `synthetics_api`, `synthetics_browser`, and `timeseries`.
|
258
|
+
# @param filter_product_families [String] Comma separated list of product families to retrieve. Available families are `all`, `analyzed_logs`, `application_security`, `audit_logs`, `serverless`, `ci_app`, `cspm`, `custom_events`, `cws`, `dbm`, `fargate`, `infra_hosts`, `incident_management`, `indexed_logs`, `indexed_spans`, `ingested_spans`, `iot`, `lambda_traced_invocations`, `logs`, `network_flows`, `network_hosts`, `observability_pipelines`, `online_archive`, `profiling`, `rum`, `rum_browser_sessions`, `rum_mobile_sessions`, `sds`, `snmp`, `synthetics_api`, `synthetics_browser`, `synthetics_parallel_testing`, and `timeseries`.
|
259
259
|
# @param opts [Hash] the optional parameters
|
260
260
|
# @option opts [Time] :filter_timestamp_end Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
|
261
261
|
# @option opts [Boolean] :filter_include_descendants Include child org usage in the response. Defaults to false.
|
@@ -499,7 +499,7 @@ module DatadogAPIClient::V2
|
|
499
499
|
# all users even if they are deactivated or unverified.
|
500
500
|
#
|
501
501
|
# @param opts [Hash] the optional parameters
|
502
|
-
# @option opts [Integer] :page_size Size for a given page.
|
502
|
+
# @option opts [Integer] :page_size Size for a given page. The maximum allowed value is 5000.
|
503
503
|
# @option opts [Integer] :page_number Specific page number to return.
|
504
504
|
# @option opts [String] :sort User attribute to order results by. Sort order is ascending by default. Sort order is descending if the field is prefixed by a negative sign, for example `sort=-name`. Options: `name`, `modified_at`, `user_count`.
|
505
505
|
# @option opts [QuerySortOrder] :sort_dir Direction of sort. Options: `asc`, `desc`.
|