datadog_api_client 2.47.0 → 2.49.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.generator/schemas/v1/openapi.yaml +520 -49
- data/.generator/schemas/v2/openapi.yaml +4542 -1006
- data/CHANGELOG.md +45 -0
- data/examples/v1/dashboards/CreateDashboard_1093147852.rb +66 -0
- data/examples/v1/dashboards/CreateDashboard_1442588603.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_1617893815.rb +61 -0
- data/examples/v1/dashboards/CreateDashboard_1712853070.rb +66 -0
- data/examples/v1/dashboards/CreateDashboard_2345541687.rb +65 -0
- data/examples/v1/dashboards/CreateDashboard_252716965.rb +1 -1
- data/examples/v1/dashboards/CreateDashboard_2617251399.rb +66 -0
- data/examples/v1/dashboards/CreateDashboard_2823363212.rb +55 -0
- data/examples/v1/dashboards/CreateDashboard_3882428227.rb +1 -1
- data/examples/v1/monitors/CreateMonitor_3626832481.rb +33 -0
- data/examples/v1/synthetics/CreateSyntheticsAPITest_2106135939.rb +49 -0
- data/examples/v1/tags/GetHostTags.rb +1 -1
- data/examples/v1/tags/ListHostTags.rb +1 -1
- data/examples/v2/aws-integration/CreateAWSAccount.rb +0 -11
- data/examples/v2/aws-integration/CreateAWSAccount_1716720881.rb +0 -11
- data/examples/v2/aws-integration/UpdateAWSAccount.rb +0 -11
- data/examples/v2/incidents/CreateIncidentAttachment.rb +22 -0
- data/examples/v2/incidents/DeleteIncidentAttachment.rb +8 -0
- data/examples/v2/incidents/ListIncidentAttachments.rb +1 -1
- data/examples/v2/incidents/UpdateIncidentAttachment.rb +20 -0
- data/examples/v2/observability-pipelines/CreatePipeline.rb +1 -1
- data/examples/v2/observability-pipelines/UpdatePipeline.rb +1 -1
- data/examples/v2/observability-pipelines/ValidatePipeline.rb +1 -1
- data/examples/v2/on-call/CreateUserNotificationRule.rb +29 -0
- data/examples/v2/on-call/DeleteUserNotificationRule.rb +11 -0
- data/examples/v2/on-call/GetUserNotificationRule.rb +14 -0
- data/examples/v2/on-call/ListUserNotificationRules.rb +11 -0
- data/examples/v2/on-call/UpdateUserNotificationRule.rb +36 -0
- data/examples/v2/product-analytics/SubmitProductAnalyticsEvent.rb +24 -0
- data/examples/v2/reference-tables/UpdateReferenceTable.rb +0 -1
- data/examples/v2/reference-tables/UpsertRows.rb +1 -3
- data/examples/v2/security-monitoring/CreateSecurityMonitoringCriticalAsset.rb +20 -0
- data/examples/v2/security-monitoring/CreateSecurityMonitoringRule_2323193894.rb +48 -0
- data/examples/v2/security-monitoring/DeleteSecurityMonitoringCriticalAsset.rb +8 -0
- data/examples/v2/security-monitoring/GetCriticalAssetsAffectingRule.rb +8 -0
- data/examples/v2/security-monitoring/GetSecurityMonitoringCriticalAsset.rb +8 -0
- data/examples/v2/security-monitoring/ListSecurityFindings.rb +5 -0
- data/examples/v2/security-monitoring/ListSecurityFindings_2925663885.rb +8 -0
- data/examples/v2/security-monitoring/ListSecurityMonitoringCriticalAssets.rb +5 -0
- data/examples/v2/security-monitoring/SearchSecurityFindings.rb +13 -0
- data/examples/v2/security-monitoring/SearchSecurityFindings_3678541639.rb +16 -0
- data/examples/v2/security-monitoring/UpdateSecurityMonitoringCriticalAsset.rb +24 -0
- data/examples/v2/spa/GetSPARecommendations.rb +1 -1
- data/examples/v2/spa/GetSPARecommendationsWithShard.rb +8 -0
- data/examples/v2/synthetics/PatchGlobalVariable.rb +19 -0
- data/examples/v2/teams/CreateTeamNotificationRule.rb +23 -0
- data/examples/v2/teams/DeleteTeamConnections.rb +0 -3
- data/examples/v2/teams/DeleteTeamNotificationRule.rb +11 -0
- data/examples/v2/teams/GetTeamNotificationRule.rb +11 -0
- data/examples/v2/teams/GetTeamNotificationRules.rb +8 -0
- data/examples/v2/teams/GetTeamSync.rb +0 -3
- data/examples/v2/teams/ListTeamConnections.rb +0 -3
- data/examples/v2/teams/ListTeamConnections_2418873869.rb +0 -3
- data/examples/v2/teams/SyncTeams.rb +0 -3
- data/examples/v2/teams/SyncTeams_3215592344.rb +0 -3
- data/examples/v2/teams/UpdateTeamNotificationRule.rb +27 -0
- data/lib/datadog_api_client/configuration.rb +62 -12
- data/lib/datadog_api_client/inflector.rb +171 -26
- data/lib/datadog_api_client/v1/api/synthetics_api.rb +3 -3
- data/lib/datadog_api_client/v1/api/tags_api.rb +17 -17
- data/lib/datadog_api_client/v1/api/usage_metering_api.rb +6 -4
- data/lib/datadog_api_client/v1/models/bar_chart_widget_definition.rb +216 -0
- data/lib/datadog_api_client/v1/models/bar_chart_widget_definition_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/bar_chart_widget_display.rb +63 -0
- data/lib/datadog_api_client/v1/models/bar_chart_widget_flat.rb +123 -0
- data/lib/datadog_api_client/v1/models/bar_chart_widget_flat_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/bar_chart_widget_legend.rb +28 -0
- data/lib/datadog_api_client/v1/models/bar_chart_widget_request.rb +261 -0
- data/lib/datadog_api_client/v1/models/bar_chart_widget_scaling.rb +27 -0
- data/lib/datadog_api_client/v1/models/bar_chart_widget_stacked.rb +133 -0
- data/lib/datadog_api_client/v1/models/bar_chart_widget_stacked_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/bar_chart_widget_style.rb +125 -0
- data/lib/datadog_api_client/v1/models/distribution_widget_request.rb +36 -2
- data/lib/datadog_api_client/v1/models/distribution_widget_x_axis.rb +29 -1
- data/lib/datadog_api_client/v1/models/heat_map_widget_definition.rb +23 -1
- data/lib/datadog_api_client/v1/models/heat_map_widget_request.rb +21 -1
- data/lib/datadog_api_client/v1/models/heat_map_widget_x_axis.rb +107 -0
- data/lib/datadog_api_client/v1/models/host_tags.rb +2 -2
- data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +3 -0
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_data_quality_data_source.rb +26 -0
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_data_quality_model_type_override.rb +28 -0
- data/lib/datadog_api_client/{v2/models/data_export_config.rb → v1/models/monitor_formula_and_function_data_quality_monitor_options.rb} +43 -41
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_data_quality_query_definition.rb +232 -0
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_query_definition.rb +2 -1
- data/lib/datadog_api_client/v1/models/monitor_type.rb +1 -0
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +6 -0
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +61 -1
- data/lib/datadog_api_client/v1/models/split_graph_source_widget_definition.rb +1 -0
- data/lib/datadog_api_client/v1/models/synthetics_api_step.rb +2 -1
- data/lib/datadog_api_client/v1/models/synthetics_api_subtest_step.rb +236 -0
- data/lib/datadog_api_client/v1/models/synthetics_api_subtest_step_subtype.rb +26 -0
- data/lib/datadog_api_client/v1/models/synthetics_list_tests_response.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_test_details.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_test_details_without_steps.rb +221 -0
- data/lib/datadog_api_client/v1/models/tag_to_hosts.rb +2 -2
- data/lib/datadog_api_client/v1/models/widget_definition.rb +1 -0
- data/lib/datadog_api_client/v1/models/{distribution_widget_histogram_request_type.rb → widget_histogram_request_type.rb} +1 -1
- data/lib/datadog_api_client/v1/models/widget_marker.rb +3 -1
- data/lib/datadog_api_client/v2/api/dora_metrics_api.rb +8 -8
- data/lib/datadog_api_client/v2/api/events_api.rb +0 -2
- data/lib/datadog_api_client/v2/api/fleet_automation_api.rb +3 -3
- data/lib/datadog_api_client/v2/api/incidents_api.rb +188 -36
- data/lib/datadog_api_client/v2/api/observability_pipelines_api.rb +6 -6
- data/lib/datadog_api_client/v2/api/on_call_api.rb +360 -0
- data/lib/datadog_api_client/v2/api/product_analytics_api.rb +121 -0
- data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +597 -0
- data/lib/datadog_api_client/v2/api/software_catalog_api.rb +4 -0
- data/lib/datadog_api_client/v2/api/spa_api.rb +86 -11
- data/lib/datadog_api_client/v2/api/synthetics_api.rb +79 -0
- data/lib/datadog_api_client/v2/api/teams_api.rb +339 -30
- data/lib/datadog_api_client/v2/models/{awsccm_config.rb → attachment.rb} +22 -12
- data/lib/datadog_api_client/v2/models/{incident_attachments_response.rb → attachment_array.rb} +7 -7
- data/lib/datadog_api_client/v2/models/{incident_attachment_data.rb → attachment_data.rb} +8 -8
- data/lib/datadog_api_client/v2/models/attachment_data_attributes.rb +125 -0
- data/lib/datadog_api_client/v2/models/attachment_data_attributes_attachment.rb +115 -0
- data/lib/datadog_api_client/v2/models/{incident_attachment_attachment_type.rb → attachment_data_attributes_attachment_type.rb} +3 -3
- data/lib/datadog_api_client/v2/models/{incident_attachment_relationships.rb → attachment_data_relationships.rb} +5 -5
- data/lib/datadog_api_client/v2/models/{incident_attachment_update_request.rb → attachment_data_relationships_last_modified_by_user.rb} +6 -11
- data/lib/datadog_api_client/v2/models/attachment_data_relationships_last_modified_by_user_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/{incident_attachments_response_included_item.rb → attachment_included.rb} +3 -3
- data/lib/datadog_api_client/v2/models/aws_account_create_request_attributes.rb +1 -11
- data/lib/datadog_api_client/v2/models/aws_account_response_attributes.rb +1 -11
- data/lib/datadog_api_client/v2/models/aws_account_update_request_attributes.rb +1 -11
- data/lib/datadog_api_client/v2/models/azure_storage_destination.rb +2 -0
- data/lib/datadog_api_client/v2/models/batch_upsert_rows_request_data_attributes.rb +2 -2
- data/lib/datadog_api_client/v2/models/{incident_attachment_update_attributes.rb → batch_upsert_rows_request_data_attributes_value.rb} +4 -4
- data/lib/datadog_api_client/v2/models/case_create_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/{dora_fetch_response.rb → create_attachment_request.rb} +5 -5
- data/lib/datadog_api_client/v2/models/{incident_attachment_update_data.rb → create_attachment_request_data.rb} +6 -6
- data/lib/datadog_api_client/v2/models/create_attachment_request_data_attributes.rb +115 -0
- data/lib/datadog_api_client/v2/models/create_attachment_request_data_attributes_attachment.rb +115 -0
- data/lib/datadog_api_client/v2/models/create_on_call_notification_rule_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/create_on_call_notification_rule_request_data.rb +143 -0
- data/lib/datadog_api_client/v2/models/custom_attribute_type.rb +1 -0
- data/lib/datadog_api_client/v2/models/dora_deployment_fetch_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/dora_deployment_object.rb +125 -0
- data/lib/datadog_api_client/v2/models/dora_deployment_object_attributes.rb +225 -0
- data/lib/datadog_api_client/v2/models/dora_deployment_request_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/dora_deployments_list_response.rb +107 -0
- data/lib/datadog_api_client/v2/models/dora_failure_fetch_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/dora_failure_request_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/{dora_list_response.rb → dora_failures_list_response.rb} +5 -5
- data/lib/datadog_api_client/v2/models/{dora_event.rb → dora_incident_object.rb} +8 -8
- data/lib/datadog_api_client/v2/models/dora_incident_object_attributes.rb +225 -0
- data/lib/datadog_api_client/v2/models/gcpsts_service_account_attributes.rb +23 -1
- data/lib/datadog_api_client/v2/models/global_variable_data.rb +125 -0
- data/lib/datadog_api_client/v2/models/global_variable_json_patch_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/global_variable_json_patch_request_data.rb +115 -0
- data/lib/datadog_api_client/v2/models/global_variable_json_patch_request_data_attributes.rb +107 -0
- data/lib/datadog_api_client/v2/models/global_variable_json_patch_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/global_variable_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/{incident_attachment_link_attachment_type.rb → global_variable_type.rb} +3 -3
- data/lib/datadog_api_client/v2/models/incident_response_included_item.rb +1 -1
- data/lib/datadog_api_client/v2/models/json_patch_operation.rb +154 -0
- data/lib/datadog_api_client/v2/models/json_patch_operation_op.rb +31 -0
- data/lib/datadog_api_client/v2/models/list_on_call_notification_rules_response.rb +119 -0
- data/lib/datadog_api_client/v2/models/list_security_findings_response.rb +127 -0
- data/lib/datadog_api_client/v2/models/microsoft_sentinel_destination.rb +2 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_add_env_vars_processor.rb +14 -2
- data/lib/datadog_api_client/v2/models/observability_pipeline_add_fields_processor.rb +15 -3
- data/lib/datadog_api_client/v2/models/observability_pipeline_add_hostname_processor.rb +198 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_add_hostname_processor_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_amazon_data_firehose_source.rb +3 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_amazon_open_search_destination.rb +2 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_amazon_s3_destination.rb +2 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_amazon_s3_source.rb +3 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_amazon_security_lake_destination.rb +2 -0
- data/lib/datadog_api_client/v2/models/{incident_attachment_link_attributes.rb → observability_pipeline_cloud_prem_destination.rb} +52 -37
- data/lib/datadog_api_client/v2/models/observability_pipeline_cloud_prem_destination_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_config.rb +25 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_config_destination_item.rb +17 -13
- data/lib/datadog_api_client/v2/models/observability_pipeline_config_pipeline_type.rb +27 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_config_processor_group.rb +11 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_config_processor_item.rb +14 -10
- data/lib/datadog_api_client/v2/models/observability_pipeline_config_source_item.rb +11 -10
- data/lib/datadog_api_client/v2/models/observability_pipeline_crowd_strike_next_gen_siem_destination.rb +2 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_custom_processor.rb +14 -2
- data/lib/datadog_api_client/v2/models/observability_pipeline_datadog_agent_source.rb +4 -2
- data/lib/datadog_api_client/v2/models/observability_pipeline_datadog_logs_destination.rb +2 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_datadog_metrics_destination.rb +169 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_datadog_metrics_destination_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_datadog_tags_processor.rb +15 -3
- data/lib/datadog_api_client/v2/models/observability_pipeline_dedupe_processor.rb +14 -2
- data/lib/datadog_api_client/v2/models/observability_pipeline_elasticsearch_destination.rb +13 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_elasticsearch_destination_data_stream.rb +125 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_enrichment_table_processor.rb +25 -3
- data/lib/datadog_api_client/v2/models/{incident_attachment_postmortem_attributes.rb → observability_pipeline_enrichment_table_reference_table.rb} +42 -30
- data/lib/datadog_api_client/v2/models/observability_pipeline_filter_processor.rb +17 -5
- data/lib/datadog_api_client/v2/models/observability_pipeline_fluent_bit_source.rb +3 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_fluentd_source.rb +3 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_generate_metrics_processor.rb +14 -2
- data/lib/datadog_api_client/v2/models/observability_pipeline_google_chronicle_destination.rb +2 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_google_cloud_storage_destination.rb +2 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_google_pub_sub_destination.rb +2 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_google_pub_sub_source.rb +3 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_http_client_destination.rb +220 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_http_client_destination_auth_strategy.rb +28 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_http_client_destination_compression.rb +123 -0
- data/lib/datadog_api_client/v2/models/{incident_attachment_postmortem_attachment_type.rb → observability_pipeline_http_client_destination_compression_algorithm.rb} +3 -3
- data/lib/datadog_api_client/v2/models/observability_pipeline_http_client_destination_encoding.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_http_client_destination_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_http_client_source.rb +3 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_http_client_source_auth_strategy.rb +1 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_http_server_source.rb +2 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_kafka_destination.rb +361 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_kafka_destination_compression.rb +30 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_kafka_destination_encoding.rb +27 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_kafka_destination_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/{observability_pipeline_kafka_source_librdkafka_option.rb → observability_pipeline_kafka_librdkafka_option.rb} +3 -3
- data/lib/datadog_api_client/v2/models/{observability_pipeline_kafka_source_sasl.rb → observability_pipeline_kafka_sasl.rb} +3 -3
- data/lib/datadog_api_client/v2/models/{observability_pipeline_pipeline_kafka_source_sasl_mechanism.rb → observability_pipeline_kafka_sasl_mechanism.rb} +1 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_kafka_source.rb +5 -3
- data/lib/datadog_api_client/v2/models/observability_pipeline_logstash_source.rb +3 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_metric_tags_processor.rb +229 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_metric_tags_processor_rule.rb +188 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_metric_tags_processor_rule_action.rb +27 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_metric_tags_processor_rule_mode.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_metric_tags_processor_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_new_relic_destination.rb +2 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_ocsf_mapper_processor.rb +14 -2
- data/lib/datadog_api_client/v2/models/observability_pipeline_open_search_destination.rb +2 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_opentelemetry_source.rb +176 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_opentelemetry_source_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_parse_grok_processor.rb +14 -2
- data/lib/datadog_api_client/v2/models/observability_pipeline_parse_json_processor.rb +14 -2
- data/lib/datadog_api_client/v2/models/observability_pipeline_parse_xml_processor.rb +300 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_parse_xml_processor_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_quota_processor.rb +31 -6
- data/lib/datadog_api_client/v2/models/observability_pipeline_quota_processor_overflow_action.rb +1 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_reduce_processor.rb +14 -2
- data/lib/datadog_api_client/v2/models/observability_pipeline_remove_fields_processor.rb +15 -3
- data/lib/datadog_api_client/v2/models/observability_pipeline_rename_fields_processor.rb +14 -2
- data/lib/datadog_api_client/v2/models/observability_pipeline_rsyslog_destination.rb +2 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_rsyslog_source.rb +3 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_sample_processor.rb +45 -20
- data/lib/datadog_api_client/v2/models/observability_pipeline_sensitive_data_scanner_processor.rb +15 -3
- data/lib/datadog_api_client/v2/models/observability_pipeline_sensitive_data_scanner_processor_custom_pattern_options.rb +11 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_sensitive_data_scanner_processor_library_pattern_options.rb +11 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_sentinel_one_destination.rb +2 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_socket_destination.rb +2 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_socket_source.rb +3 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_split_array_processor.rb +229 -0
- data/lib/datadog_api_client/v2/models/{incident_attachment_link_attributes_attachment_object.rb → observability_pipeline_split_array_processor_array_config.rb} +30 -30
- data/lib/datadog_api_client/v2/models/observability_pipeline_split_array_processor_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_destination.rb +3 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_splunk_hec_source.rb +3 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_splunk_tcp_source.rb +3 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_sumo_logic_destination.rb +2 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_sumo_logic_source.rb +3 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_syslog_ng_destination.rb +2 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_syslog_ng_source.rb +3 -1
- data/lib/datadog_api_client/v2/models/observability_pipeline_throttle_processor.rb +14 -2
- data/lib/datadog_api_client/v2/models/{incident_attachment_update_response.rb → on_call_notification_rule.rb} +8 -11
- data/lib/datadog_api_client/v2/models/on_call_notification_rule_attributes.rb +125 -0
- data/lib/datadog_api_client/v2/models/on_call_notification_rule_category.rb +27 -0
- data/lib/datadog_api_client/v2/models/on_call_notification_rule_channel_relationship.rb +123 -0
- data/lib/datadog_api_client/v2/models/on_call_notification_rule_channel_relationship_data.rb +115 -0
- data/lib/datadog_api_client/v2/models/{incident_attachment_attributes.rb → on_call_notification_rule_channel_settings.rb} +3 -4
- data/lib/datadog_api_client/v2/models/on_call_notification_rule_data.rb +153 -0
- data/lib/datadog_api_client/v2/models/on_call_notification_rule_relationships.rb +105 -0
- data/lib/datadog_api_client/v2/models/on_call_notification_rule_request_attributes.rb +125 -0
- data/lib/datadog_api_client/v2/models/on_call_notification_rule_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/on_call_notification_rules_included.rb +62 -0
- data/lib/datadog_api_client/v2/models/on_call_phone_notification_rule_method.rb +27 -0
- data/lib/datadog_api_client/v2/models/{incident_attachments_postmortem_attributes_attachment_object.rb → on_call_phone_notification_rule_settings.rb} +30 -30
- data/lib/datadog_api_client/v2/models/patch_attachment_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/patch_attachment_request_data.rb +143 -0
- data/lib/datadog_api_client/v2/models/patch_attachment_request_data_attributes.rb +105 -0
- data/lib/datadog_api_client/v2/models/patch_attachment_request_data_attributes_attachment.rb +115 -0
- data/lib/datadog_api_client/v2/models/patch_table_request_data_attributes.rb +1 -11
- data/lib/datadog_api_client/v2/models/product_analytics_server_side_event_error.rb +125 -0
- data/lib/datadog_api_client/v2/models/product_analytics_server_side_event_errors.rb +107 -0
- data/lib/datadog_api_client/v2/models/product_analytics_server_side_event_item.rb +195 -0
- data/lib/datadog_api_client/v2/models/product_analytics_server_side_event_item_account.rb +123 -0
- data/lib/datadog_api_client/v2/models/product_analytics_server_side_event_item_application.rb +124 -0
- data/lib/datadog_api_client/v2/models/product_analytics_server_side_event_item_event.rb +123 -0
- data/lib/datadog_api_client/v2/models/product_analytics_server_side_event_item_session.rb +123 -0
- data/lib/datadog_api_client/v2/models/product_analytics_server_side_event_item_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/product_analytics_server_side_event_item_usr.rb +123 -0
- data/lib/datadog_api_client/v2/models/recommendation_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/security_findings_attributes.rb +127 -0
- data/lib/datadog_api_client/v2/models/security_findings_data.rb +125 -0
- data/lib/datadog_api_client/v2/models/security_findings_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/security_findings_links.rb +105 -0
- data/lib/datadog_api_client/v2/models/security_findings_meta.rb +135 -0
- data/lib/datadog_api_client/v2/models/security_findings_page.rb +105 -0
- data/lib/datadog_api_client/v2/models/security_findings_search_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/security_findings_search_request_data.rb +105 -0
- data/lib/datadog_api_client/v2/models/security_findings_search_request_data_attributes.rb +125 -0
- data/lib/datadog_api_client/v2/models/security_findings_search_request_page.rb +137 -0
- data/lib/datadog_api_client/v2/models/security_findings_sort.rb +27 -0
- data/lib/datadog_api_client/v2/models/security_findings_status.rb +27 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_critical_asset.rb +125 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_critical_asset_attributes.rb +235 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_critical_asset_create_attributes.rb +187 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_critical_asset_create_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_critical_asset_create_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_critical_asset_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_critical_asset_severity.rb +32 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_critical_asset_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_critical_asset_update_attributes.rb +175 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_critical_asset_update_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_critical_asset_update_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_critical_assets_response.rb +107 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_anomaly_detection_options.rb +155 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_anomaly_detection_options_bucket_duration.rb +32 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_anomaly_detection_options_detection_tolerance.rb +31 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_anomaly_detection_options_learning_duration.rb +32 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_options.rb +11 -1
- data/lib/datadog_api_client/v2/models/synthetics_global_variable.rb +248 -0
- data/lib/datadog_api_client/v2/models/synthetics_global_variable_attributes.rb +107 -0
- data/lib/datadog_api_client/v2/models/synthetics_global_variable_options.rb +105 -0
- data/lib/datadog_api_client/v2/models/synthetics_global_variable_parse_test_options.rb +153 -0
- data/lib/datadog_api_client/v2/models/synthetics_global_variable_parse_test_options_type.rb +29 -0
- data/lib/datadog_api_client/v2/models/synthetics_global_variable_parser_type.rb +29 -0
- data/lib/datadog_api_client/v2/models/synthetics_global_variable_totp_parameters.rb +152 -0
- data/lib/datadog_api_client/v2/models/synthetics_global_variable_value.rb +126 -0
- data/lib/datadog_api_client/v2/models/synthetics_variable_parser.rb +133 -0
- data/lib/datadog_api_client/v2/models/team_notification_rule.rb +154 -0
- data/lib/datadog_api_client/v2/models/team_notification_rule_attributes.rb +135 -0
- data/lib/datadog_api_client/v2/models/team_notification_rule_attributes_email.rb +105 -0
- data/lib/datadog_api_client/v2/models/team_notification_rule_attributes_ms_teams.rb +105 -0
- data/lib/datadog_api_client/v2/models/team_notification_rule_attributes_pagerduty.rb +105 -0
- data/lib/datadog_api_client/v2/models/team_notification_rule_attributes_slack.rb +115 -0
- data/lib/datadog_api_client/v2/models/team_notification_rule_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/team_notification_rule_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/team_notification_rule_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/team_notification_rules_response.rb +117 -0
- data/lib/datadog_api_client/v2/models/team_notification_rules_response_meta.rb +105 -0
- data/lib/datadog_api_client/v2/models/team_notification_rules_response_meta_page.rb +184 -0
- data/lib/datadog_api_client/v2/models/threat_hunting_job_options.rb +11 -1
- data/lib/datadog_api_client/v2/models/update_on_call_notification_rule_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/update_on_call_notification_rule_request_attributes.rb +125 -0
- data/lib/datadog_api_client/v2/models/update_on_call_notification_rule_request_data.rb +153 -0
- data/lib/datadog_api_client/v2/models/user140420082644000.rb +143 -0
- data/lib/datadog_api_client/v2/models/{incident_attachment_related_object.rb → user_type.rb} +2 -2
- data/lib/datadog_api_client/version.rb +1 -1
- metadata +207 -30
- data/examples/v2/incidents/ListIncidentAttachments_2457735435.rb +0 -11
- data/examples/v2/incidents/UpdateIncidentAttachments.rb +0 -38
- data/examples/v2/incidents/UpdateIncidentAttachments_3881702075.rb +0 -26
|
@@ -0,0 +1,26 @@
|
|
|
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 'date'
|
|
17
|
+
require 'time'
|
|
18
|
+
|
|
19
|
+
module DatadogAPIClient::V2
|
|
20
|
+
# The processor type. The value should always be `parse_xml`.
|
|
21
|
+
class ObservabilityPipelineParseXMLProcessorType
|
|
22
|
+
include BaseEnumModel
|
|
23
|
+
|
|
24
|
+
PARSE_XML = "parse_xml".freeze
|
|
25
|
+
end
|
|
26
|
+
end
|
|
@@ -17,17 +17,22 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
|
-
# The
|
|
20
|
+
# The `quota` processor measures logging traffic for logs that match a specified filter. When the configured daily quota is met, the processor can drop or alert.
|
|
21
|
+
#
|
|
22
|
+
# **Supported pipeline types:** logs
|
|
21
23
|
class ObservabilityPipelineQuotaProcessor
|
|
22
24
|
include BaseGenericModel
|
|
23
25
|
|
|
24
|
-
#
|
|
26
|
+
# The display name for a component.
|
|
27
|
+
attr_accessor :display_name
|
|
28
|
+
|
|
29
|
+
# If set to `true`, logs that match the quota filter and are sent after the quota is exceeded are dropped. Logs that do not match the filter continue through the pipeline. **Note**: You can set either `drop_events` or `overflow_action`, but not both.
|
|
25
30
|
attr_accessor :drop_events
|
|
26
31
|
|
|
27
|
-
#
|
|
32
|
+
# Indicates whether the processor is enabled.
|
|
28
33
|
attr_reader :enabled
|
|
29
34
|
|
|
30
|
-
# The unique identifier for this component. Used
|
|
35
|
+
# The unique identifier for this component. Used in other parts of the pipeline to reference this component (for example, as the `input` to downstream components).
|
|
31
36
|
attr_reader :id
|
|
32
37
|
|
|
33
38
|
# If `true`, the processor skips quota checks when partition fields are missing from the logs.
|
|
@@ -42,7 +47,7 @@ module DatadogAPIClient::V2
|
|
|
42
47
|
# Name of the quota.
|
|
43
48
|
attr_reader :name
|
|
44
49
|
|
|
45
|
-
# The action to take when the quota is exceeded. Options:
|
|
50
|
+
# The action to take when the quota or bucket limit is exceeded. Options:
|
|
46
51
|
# - `drop`: Drop the event.
|
|
47
52
|
# - `no_action`: Let the event pass through.
|
|
48
53
|
# - `overflow_routing`: Route to an overflow destination.
|
|
@@ -54,6 +59,12 @@ module DatadogAPIClient::V2
|
|
|
54
59
|
# A list of fields used to segment log traffic for quota enforcement. Quotas are tracked independently by unique combinations of these field values.
|
|
55
60
|
attr_accessor :partition_fields
|
|
56
61
|
|
|
62
|
+
# The action to take when the quota or bucket limit is exceeded. Options:
|
|
63
|
+
# - `drop`: Drop the event.
|
|
64
|
+
# - `no_action`: Let the event pass through.
|
|
65
|
+
# - `overflow_routing`: Route to an overflow destination.
|
|
66
|
+
attr_accessor :too_many_buckets_action
|
|
67
|
+
|
|
57
68
|
# The processor type. The value should always be `quota`.
|
|
58
69
|
attr_reader :type
|
|
59
70
|
|
|
@@ -63,6 +74,7 @@ module DatadogAPIClient::V2
|
|
|
63
74
|
# @!visibility private
|
|
64
75
|
def self.attribute_map
|
|
65
76
|
{
|
|
77
|
+
:'display_name' => :'display_name',
|
|
66
78
|
:'drop_events' => :'drop_events',
|
|
67
79
|
:'enabled' => :'enabled',
|
|
68
80
|
:'id' => :'id',
|
|
@@ -73,6 +85,7 @@ module DatadogAPIClient::V2
|
|
|
73
85
|
:'overflow_action' => :'overflow_action',
|
|
74
86
|
:'overrides' => :'overrides',
|
|
75
87
|
:'partition_fields' => :'partition_fields',
|
|
88
|
+
:'too_many_buckets_action' => :'too_many_buckets_action',
|
|
76
89
|
:'type' => :'type'
|
|
77
90
|
}
|
|
78
91
|
end
|
|
@@ -81,6 +94,7 @@ module DatadogAPIClient::V2
|
|
|
81
94
|
# @!visibility private
|
|
82
95
|
def self.openapi_types
|
|
83
96
|
{
|
|
97
|
+
:'display_name' => :'String',
|
|
84
98
|
:'drop_events' => :'Boolean',
|
|
85
99
|
:'enabled' => :'Boolean',
|
|
86
100
|
:'id' => :'String',
|
|
@@ -91,6 +105,7 @@ module DatadogAPIClient::V2
|
|
|
91
105
|
:'overflow_action' => :'ObservabilityPipelineQuotaProcessorOverflowAction',
|
|
92
106
|
:'overrides' => :'Array<ObservabilityPipelineQuotaProcessorOverride>',
|
|
93
107
|
:'partition_fields' => :'Array<String>',
|
|
108
|
+
:'too_many_buckets_action' => :'ObservabilityPipelineQuotaProcessorOverflowAction',
|
|
94
109
|
:'type' => :'ObservabilityPipelineQuotaProcessorType'
|
|
95
110
|
}
|
|
96
111
|
end
|
|
@@ -113,6 +128,10 @@ module DatadogAPIClient::V2
|
|
|
113
128
|
end
|
|
114
129
|
}
|
|
115
130
|
|
|
131
|
+
if attributes.key?(:'display_name')
|
|
132
|
+
self.display_name = attributes[:'display_name']
|
|
133
|
+
end
|
|
134
|
+
|
|
116
135
|
if attributes.key?(:'drop_events')
|
|
117
136
|
self.drop_events = attributes[:'drop_events']
|
|
118
137
|
end
|
|
@@ -157,6 +176,10 @@ module DatadogAPIClient::V2
|
|
|
157
176
|
end
|
|
158
177
|
end
|
|
159
178
|
|
|
179
|
+
if attributes.key?(:'too_many_buckets_action')
|
|
180
|
+
self.too_many_buckets_action = attributes[:'too_many_buckets_action']
|
|
181
|
+
end
|
|
182
|
+
|
|
160
183
|
if attributes.key?(:'type')
|
|
161
184
|
self.type = attributes[:'type']
|
|
162
185
|
end
|
|
@@ -261,6 +284,7 @@ module DatadogAPIClient::V2
|
|
|
261
284
|
def ==(o)
|
|
262
285
|
return true if self.equal?(o)
|
|
263
286
|
self.class == o.class &&
|
|
287
|
+
display_name == o.display_name &&
|
|
264
288
|
drop_events == o.drop_events &&
|
|
265
289
|
enabled == o.enabled &&
|
|
266
290
|
id == o.id &&
|
|
@@ -271,6 +295,7 @@ module DatadogAPIClient::V2
|
|
|
271
295
|
overflow_action == o.overflow_action &&
|
|
272
296
|
overrides == o.overrides &&
|
|
273
297
|
partition_fields == o.partition_fields &&
|
|
298
|
+
too_many_buckets_action == o.too_many_buckets_action &&
|
|
274
299
|
type == o.type &&
|
|
275
300
|
additional_properties == o.additional_properties
|
|
276
301
|
end
|
|
@@ -279,7 +304,7 @@ module DatadogAPIClient::V2
|
|
|
279
304
|
# @return [Integer] Hash code
|
|
280
305
|
# @!visibility private
|
|
281
306
|
def hash
|
|
282
|
-
[drop_events, enabled, id, ignore_when_missing_partitions, include, limit, name, overflow_action, overrides, partition_fields, type, additional_properties].hash
|
|
307
|
+
[display_name, drop_events, enabled, id, ignore_when_missing_partitions, include, limit, name, overflow_action, overrides, partition_fields, too_many_buckets_action, type, additional_properties].hash
|
|
283
308
|
end
|
|
284
309
|
end
|
|
285
310
|
end
|
data/lib/datadog_api_client/v2/models/observability_pipeline_quota_processor_overflow_action.rb
CHANGED
|
@@ -17,7 +17,7 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
|
-
# The action to take when the quota is exceeded. Options:
|
|
20
|
+
# The action to take when the quota or bucket limit is exceeded. Options:
|
|
21
21
|
# - `drop`: Drop the event.
|
|
22
22
|
# - `no_action`: Let the event pass through.
|
|
23
23
|
# - `overflow_routing`: Route to an overflow destination.
|
|
@@ -18,10 +18,15 @@ require 'time'
|
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
20
|
# The `reduce` processor aggregates and merges logs based on matching keys and merge strategies.
|
|
21
|
+
#
|
|
22
|
+
# **Supported pipeline types:** logs
|
|
21
23
|
class ObservabilityPipelineReduceProcessor
|
|
22
24
|
include BaseGenericModel
|
|
23
25
|
|
|
24
|
-
#
|
|
26
|
+
# The display name for a component.
|
|
27
|
+
attr_accessor :display_name
|
|
28
|
+
|
|
29
|
+
# Indicates whether the processor is enabled.
|
|
25
30
|
attr_reader :enabled
|
|
26
31
|
|
|
27
32
|
# A list of fields used to group log events for merging.
|
|
@@ -45,6 +50,7 @@ module DatadogAPIClient::V2
|
|
|
45
50
|
# @!visibility private
|
|
46
51
|
def self.attribute_map
|
|
47
52
|
{
|
|
53
|
+
:'display_name' => :'display_name',
|
|
48
54
|
:'enabled' => :'enabled',
|
|
49
55
|
:'group_by' => :'group_by',
|
|
50
56
|
:'id' => :'id',
|
|
@@ -58,6 +64,7 @@ module DatadogAPIClient::V2
|
|
|
58
64
|
# @!visibility private
|
|
59
65
|
def self.openapi_types
|
|
60
66
|
{
|
|
67
|
+
:'display_name' => :'String',
|
|
61
68
|
:'enabled' => :'Boolean',
|
|
62
69
|
:'group_by' => :'Array<String>',
|
|
63
70
|
:'id' => :'String',
|
|
@@ -85,6 +92,10 @@ module DatadogAPIClient::V2
|
|
|
85
92
|
end
|
|
86
93
|
}
|
|
87
94
|
|
|
95
|
+
if attributes.key?(:'display_name')
|
|
96
|
+
self.display_name = attributes[:'display_name']
|
|
97
|
+
end
|
|
98
|
+
|
|
88
99
|
if attributes.key?(:'enabled')
|
|
89
100
|
self.enabled = attributes[:'enabled']
|
|
90
101
|
end
|
|
@@ -213,6 +224,7 @@ module DatadogAPIClient::V2
|
|
|
213
224
|
def ==(o)
|
|
214
225
|
return true if self.equal?(o)
|
|
215
226
|
self.class == o.class &&
|
|
227
|
+
display_name == o.display_name &&
|
|
216
228
|
enabled == o.enabled &&
|
|
217
229
|
group_by == o.group_by &&
|
|
218
230
|
id == o.id &&
|
|
@@ -226,7 +238,7 @@ module DatadogAPIClient::V2
|
|
|
226
238
|
# @return [Integer] Hash code
|
|
227
239
|
# @!visibility private
|
|
228
240
|
def hash
|
|
229
|
-
[enabled, group_by, id, include, merge_strategies, type, additional_properties].hash
|
|
241
|
+
[display_name, enabled, group_by, id, include, merge_strategies, type, additional_properties].hash
|
|
230
242
|
end
|
|
231
243
|
end
|
|
232
244
|
end
|
|
@@ -18,16 +18,21 @@ require 'time'
|
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
20
|
# The `remove_fields` processor deletes specified fields from logs.
|
|
21
|
+
#
|
|
22
|
+
# **Supported pipeline types:** logs
|
|
21
23
|
class ObservabilityPipelineRemoveFieldsProcessor
|
|
22
24
|
include BaseGenericModel
|
|
23
25
|
|
|
24
|
-
#
|
|
26
|
+
# The display name for a component.
|
|
27
|
+
attr_accessor :display_name
|
|
28
|
+
|
|
29
|
+
# Indicates whether the processor is enabled.
|
|
25
30
|
attr_reader :enabled
|
|
26
31
|
|
|
27
32
|
# A list of field names to be removed from each log event.
|
|
28
33
|
attr_reader :fields
|
|
29
34
|
|
|
30
|
-
# The unique identifier for this component. Used
|
|
35
|
+
# The unique identifier for this component. Used in other parts of the pipeline to reference this component (for example, as the `input` to downstream components).
|
|
31
36
|
attr_reader :id
|
|
32
37
|
|
|
33
38
|
# A Datadog search query used to determine which logs this processor targets.
|
|
@@ -42,6 +47,7 @@ module DatadogAPIClient::V2
|
|
|
42
47
|
# @!visibility private
|
|
43
48
|
def self.attribute_map
|
|
44
49
|
{
|
|
50
|
+
:'display_name' => :'display_name',
|
|
45
51
|
:'enabled' => :'enabled',
|
|
46
52
|
:'fields' => :'fields',
|
|
47
53
|
:'id' => :'id',
|
|
@@ -54,6 +60,7 @@ module DatadogAPIClient::V2
|
|
|
54
60
|
# @!visibility private
|
|
55
61
|
def self.openapi_types
|
|
56
62
|
{
|
|
63
|
+
:'display_name' => :'String',
|
|
57
64
|
:'enabled' => :'Boolean',
|
|
58
65
|
:'fields' => :'Array<String>',
|
|
59
66
|
:'id' => :'String',
|
|
@@ -80,6 +87,10 @@ module DatadogAPIClient::V2
|
|
|
80
87
|
end
|
|
81
88
|
}
|
|
82
89
|
|
|
90
|
+
if attributes.key?(:'display_name')
|
|
91
|
+
self.display_name = attributes[:'display_name']
|
|
92
|
+
end
|
|
93
|
+
|
|
83
94
|
if attributes.key?(:'enabled')
|
|
84
95
|
self.enabled = attributes[:'enabled']
|
|
85
96
|
end
|
|
@@ -191,6 +202,7 @@ module DatadogAPIClient::V2
|
|
|
191
202
|
def ==(o)
|
|
192
203
|
return true if self.equal?(o)
|
|
193
204
|
self.class == o.class &&
|
|
205
|
+
display_name == o.display_name &&
|
|
194
206
|
enabled == o.enabled &&
|
|
195
207
|
fields == o.fields &&
|
|
196
208
|
id == o.id &&
|
|
@@ -203,7 +215,7 @@ module DatadogAPIClient::V2
|
|
|
203
215
|
# @return [Integer] Hash code
|
|
204
216
|
# @!visibility private
|
|
205
217
|
def hash
|
|
206
|
-
[enabled, fields, id, include, type, additional_properties].hash
|
|
218
|
+
[display_name, enabled, fields, id, include, type, additional_properties].hash
|
|
207
219
|
end
|
|
208
220
|
end
|
|
209
221
|
end
|
|
@@ -18,10 +18,15 @@ require 'time'
|
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
20
|
# The `rename_fields` processor changes field names.
|
|
21
|
+
#
|
|
22
|
+
# **Supported pipeline types:** logs
|
|
21
23
|
class ObservabilityPipelineRenameFieldsProcessor
|
|
22
24
|
include BaseGenericModel
|
|
23
25
|
|
|
24
|
-
#
|
|
26
|
+
# The display name for a component.
|
|
27
|
+
attr_accessor :display_name
|
|
28
|
+
|
|
29
|
+
# Indicates whether the processor is enabled.
|
|
25
30
|
attr_reader :enabled
|
|
26
31
|
|
|
27
32
|
# A list of rename rules specifying which fields to rename in the event, what to rename them to, and whether to preserve the original fields.
|
|
@@ -42,6 +47,7 @@ module DatadogAPIClient::V2
|
|
|
42
47
|
# @!visibility private
|
|
43
48
|
def self.attribute_map
|
|
44
49
|
{
|
|
50
|
+
:'display_name' => :'display_name',
|
|
45
51
|
:'enabled' => :'enabled',
|
|
46
52
|
:'fields' => :'fields',
|
|
47
53
|
:'id' => :'id',
|
|
@@ -54,6 +60,7 @@ module DatadogAPIClient::V2
|
|
|
54
60
|
# @!visibility private
|
|
55
61
|
def self.openapi_types
|
|
56
62
|
{
|
|
63
|
+
:'display_name' => :'String',
|
|
57
64
|
:'enabled' => :'Boolean',
|
|
58
65
|
:'fields' => :'Array<ObservabilityPipelineRenameFieldsProcessorField>',
|
|
59
66
|
:'id' => :'String',
|
|
@@ -80,6 +87,10 @@ module DatadogAPIClient::V2
|
|
|
80
87
|
end
|
|
81
88
|
}
|
|
82
89
|
|
|
90
|
+
if attributes.key?(:'display_name')
|
|
91
|
+
self.display_name = attributes[:'display_name']
|
|
92
|
+
end
|
|
93
|
+
|
|
83
94
|
if attributes.key?(:'enabled')
|
|
84
95
|
self.enabled = attributes[:'enabled']
|
|
85
96
|
end
|
|
@@ -191,6 +202,7 @@ module DatadogAPIClient::V2
|
|
|
191
202
|
def ==(o)
|
|
192
203
|
return true if self.equal?(o)
|
|
193
204
|
self.class == o.class &&
|
|
205
|
+
display_name == o.display_name &&
|
|
194
206
|
enabled == o.enabled &&
|
|
195
207
|
fields == o.fields &&
|
|
196
208
|
id == o.id &&
|
|
@@ -203,7 +215,7 @@ module DatadogAPIClient::V2
|
|
|
203
215
|
# @return [Integer] Hash code
|
|
204
216
|
# @!visibility private
|
|
205
217
|
def hash
|
|
206
|
-
[enabled, fields, id, include, type, additional_properties].hash
|
|
218
|
+
[display_name, enabled, fields, id, include, type, additional_properties].hash
|
|
207
219
|
end
|
|
208
220
|
end
|
|
209
221
|
end
|
|
@@ -18,6 +18,8 @@ require 'time'
|
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
20
|
# The `rsyslog` destination forwards logs to an external `rsyslog` server over TCP or UDP using the syslog protocol.
|
|
21
|
+
#
|
|
22
|
+
# **Supported pipeline types:** logs
|
|
21
23
|
class ObservabilityPipelineRsyslogDestination
|
|
22
24
|
include BaseGenericModel
|
|
23
25
|
|
|
@@ -18,10 +18,12 @@ require 'time'
|
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
20
|
# The `rsyslog` source listens for logs over TCP or UDP from an `rsyslog` server using the syslog protocol.
|
|
21
|
+
#
|
|
22
|
+
# **Supported pipeline types:** logs
|
|
21
23
|
class ObservabilityPipelineRsyslogSource
|
|
22
24
|
include BaseGenericModel
|
|
23
25
|
|
|
24
|
-
# The unique identifier for this component. Used
|
|
26
|
+
# The unique identifier for this component. Used in other parts of the pipeline to reference this component (for example, as the `input` to downstream components).
|
|
25
27
|
attr_reader :id
|
|
26
28
|
|
|
27
29
|
# Protocol used by the syslog source to receive messages.
|
|
@@ -18,23 +18,28 @@ require 'time'
|
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
20
|
# The `sample` processor allows probabilistic sampling of logs at a fixed rate.
|
|
21
|
+
#
|
|
22
|
+
# **Supported pipeline types:** logs
|
|
21
23
|
class ObservabilityPipelineSampleProcessor
|
|
22
24
|
include BaseGenericModel
|
|
23
25
|
|
|
24
|
-
#
|
|
26
|
+
# The display name for a component.
|
|
27
|
+
attr_accessor :display_name
|
|
28
|
+
|
|
29
|
+
# Indicates whether the processor is enabled.
|
|
25
30
|
attr_reader :enabled
|
|
26
31
|
|
|
27
|
-
#
|
|
32
|
+
# Optional list of fields to group events by. Each group is sampled independently.
|
|
33
|
+
attr_reader :group_by
|
|
34
|
+
|
|
35
|
+
# The unique identifier for this component. Used in other parts of the pipeline to reference this component (for example, as the `input` to downstream components).
|
|
28
36
|
attr_reader :id
|
|
29
37
|
|
|
30
38
|
# A Datadog search query used to determine which logs this processor targets.
|
|
31
39
|
attr_reader :include
|
|
32
40
|
|
|
33
41
|
# The percentage of logs to sample.
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
# Number of events to sample (1 in N).
|
|
37
|
-
attr_reader :rate
|
|
42
|
+
attr_reader :percentage
|
|
38
43
|
|
|
39
44
|
# The processor type. The value should always be `sample`.
|
|
40
45
|
attr_reader :type
|
|
@@ -45,11 +50,12 @@ module DatadogAPIClient::V2
|
|
|
45
50
|
# @!visibility private
|
|
46
51
|
def self.attribute_map
|
|
47
52
|
{
|
|
53
|
+
:'display_name' => :'display_name',
|
|
48
54
|
:'enabled' => :'enabled',
|
|
55
|
+
:'group_by' => :'group_by',
|
|
49
56
|
:'id' => :'id',
|
|
50
57
|
:'include' => :'include',
|
|
51
58
|
:'percentage' => :'percentage',
|
|
52
|
-
:'rate' => :'rate',
|
|
53
59
|
:'type' => :'type'
|
|
54
60
|
}
|
|
55
61
|
end
|
|
@@ -58,11 +64,12 @@ module DatadogAPIClient::V2
|
|
|
58
64
|
# @!visibility private
|
|
59
65
|
def self.openapi_types
|
|
60
66
|
{
|
|
67
|
+
:'display_name' => :'String',
|
|
61
68
|
:'enabled' => :'Boolean',
|
|
69
|
+
:'group_by' => :'Array<String>',
|
|
62
70
|
:'id' => :'String',
|
|
63
71
|
:'include' => :'String',
|
|
64
72
|
:'percentage' => :'Float',
|
|
65
|
-
:'rate' => :'Integer',
|
|
66
73
|
:'type' => :'ObservabilityPipelineSampleProcessorType'
|
|
67
74
|
}
|
|
68
75
|
end
|
|
@@ -85,10 +92,20 @@ module DatadogAPIClient::V2
|
|
|
85
92
|
end
|
|
86
93
|
}
|
|
87
94
|
|
|
95
|
+
if attributes.key?(:'display_name')
|
|
96
|
+
self.display_name = attributes[:'display_name']
|
|
97
|
+
end
|
|
98
|
+
|
|
88
99
|
if attributes.key?(:'enabled')
|
|
89
100
|
self.enabled = attributes[:'enabled']
|
|
90
101
|
end
|
|
91
102
|
|
|
103
|
+
if attributes.key?(:'group_by')
|
|
104
|
+
if (value = attributes[:'group_by']).is_a?(Array)
|
|
105
|
+
self.group_by = value
|
|
106
|
+
end
|
|
107
|
+
end
|
|
108
|
+
|
|
92
109
|
if attributes.key?(:'id')
|
|
93
110
|
self.id = attributes[:'id']
|
|
94
111
|
end
|
|
@@ -101,10 +118,6 @@ module DatadogAPIClient::V2
|
|
|
101
118
|
self.percentage = attributes[:'percentage']
|
|
102
119
|
end
|
|
103
120
|
|
|
104
|
-
if attributes.key?(:'rate')
|
|
105
|
-
self.rate = attributes[:'rate']
|
|
106
|
-
end
|
|
107
|
-
|
|
108
121
|
if attributes.key?(:'type')
|
|
109
122
|
self.type = attributes[:'type']
|
|
110
123
|
end
|
|
@@ -115,9 +128,10 @@ module DatadogAPIClient::V2
|
|
|
115
128
|
# @!visibility private
|
|
116
129
|
def valid?
|
|
117
130
|
return false if @enabled.nil?
|
|
131
|
+
return false if !@group_by.nil? && @group_by.length < 1
|
|
118
132
|
return false if @id.nil?
|
|
119
133
|
return false if @include.nil?
|
|
120
|
-
return false if
|
|
134
|
+
return false if @percentage.nil?
|
|
121
135
|
return false if @type.nil?
|
|
122
136
|
true
|
|
123
137
|
end
|
|
@@ -132,6 +146,16 @@ module DatadogAPIClient::V2
|
|
|
132
146
|
@enabled = enabled
|
|
133
147
|
end
|
|
134
148
|
|
|
149
|
+
# Custom attribute writer method with validation
|
|
150
|
+
# @param group_by [Object] Object to be assigned
|
|
151
|
+
# @!visibility private
|
|
152
|
+
def group_by=(group_by)
|
|
153
|
+
if !group_by.nil? && group_by.length < 1
|
|
154
|
+
fail ArgumentError, 'invalid value for "group_by", number of items must be greater than or equal to 1.'
|
|
155
|
+
end
|
|
156
|
+
@group_by = group_by
|
|
157
|
+
end
|
|
158
|
+
|
|
135
159
|
# Custom attribute writer method with validation
|
|
136
160
|
# @param id [Object] Object to be assigned
|
|
137
161
|
# @!visibility private
|
|
@@ -153,13 +177,13 @@ module DatadogAPIClient::V2
|
|
|
153
177
|
end
|
|
154
178
|
|
|
155
179
|
# Custom attribute writer method with validation
|
|
156
|
-
# @param
|
|
180
|
+
# @param percentage [Object] Object to be assigned
|
|
157
181
|
# @!visibility private
|
|
158
|
-
def
|
|
159
|
-
if
|
|
160
|
-
fail ArgumentError, 'invalid value for "
|
|
182
|
+
def percentage=(percentage)
|
|
183
|
+
if percentage.nil?
|
|
184
|
+
fail ArgumentError, 'invalid value for "percentage", percentage cannot be nil.'
|
|
161
185
|
end
|
|
162
|
-
@
|
|
186
|
+
@percentage = percentage
|
|
163
187
|
end
|
|
164
188
|
|
|
165
189
|
# Custom attribute writer method with validation
|
|
@@ -198,11 +222,12 @@ module DatadogAPIClient::V2
|
|
|
198
222
|
def ==(o)
|
|
199
223
|
return true if self.equal?(o)
|
|
200
224
|
self.class == o.class &&
|
|
225
|
+
display_name == o.display_name &&
|
|
201
226
|
enabled == o.enabled &&
|
|
227
|
+
group_by == o.group_by &&
|
|
202
228
|
id == o.id &&
|
|
203
229
|
include == o.include &&
|
|
204
230
|
percentage == o.percentage &&
|
|
205
|
-
rate == o.rate &&
|
|
206
231
|
type == o.type &&
|
|
207
232
|
additional_properties == o.additional_properties
|
|
208
233
|
end
|
|
@@ -211,7 +236,7 @@ module DatadogAPIClient::V2
|
|
|
211
236
|
# @return [Integer] Hash code
|
|
212
237
|
# @!visibility private
|
|
213
238
|
def hash
|
|
214
|
-
[enabled, id, include, percentage,
|
|
239
|
+
[display_name, enabled, group_by, id, include, percentage, type, additional_properties].hash
|
|
215
240
|
end
|
|
216
241
|
end
|
|
217
242
|
end
|
data/lib/datadog_api_client/v2/models/observability_pipeline_sensitive_data_scanner_processor.rb
CHANGED
|
@@ -18,13 +18,18 @@ require 'time'
|
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
20
|
# The `sensitive_data_scanner` processor detects and optionally redacts sensitive data in log events.
|
|
21
|
+
#
|
|
22
|
+
# **Supported pipeline types:** logs
|
|
21
23
|
class ObservabilityPipelineSensitiveDataScannerProcessor
|
|
22
24
|
include BaseGenericModel
|
|
23
25
|
|
|
24
|
-
#
|
|
26
|
+
# The display name for a component.
|
|
27
|
+
attr_accessor :display_name
|
|
28
|
+
|
|
29
|
+
# Indicates whether the processor is enabled.
|
|
25
30
|
attr_reader :enabled
|
|
26
31
|
|
|
27
|
-
# The unique identifier for this component. Used
|
|
32
|
+
# The unique identifier for this component. Used in other parts of the pipeline to reference this component (for example, as the `input` to downstream components).
|
|
28
33
|
attr_reader :id
|
|
29
34
|
|
|
30
35
|
# A Datadog search query used to determine which logs this processor targets.
|
|
@@ -42,6 +47,7 @@ module DatadogAPIClient::V2
|
|
|
42
47
|
# @!visibility private
|
|
43
48
|
def self.attribute_map
|
|
44
49
|
{
|
|
50
|
+
:'display_name' => :'display_name',
|
|
45
51
|
:'enabled' => :'enabled',
|
|
46
52
|
:'id' => :'id',
|
|
47
53
|
:'include' => :'include',
|
|
@@ -54,6 +60,7 @@ module DatadogAPIClient::V2
|
|
|
54
60
|
# @!visibility private
|
|
55
61
|
def self.openapi_types
|
|
56
62
|
{
|
|
63
|
+
:'display_name' => :'String',
|
|
57
64
|
:'enabled' => :'Boolean',
|
|
58
65
|
:'id' => :'String',
|
|
59
66
|
:'include' => :'String',
|
|
@@ -80,6 +87,10 @@ module DatadogAPIClient::V2
|
|
|
80
87
|
end
|
|
81
88
|
}
|
|
82
89
|
|
|
90
|
+
if attributes.key?(:'display_name')
|
|
91
|
+
self.display_name = attributes[:'display_name']
|
|
92
|
+
end
|
|
93
|
+
|
|
83
94
|
if attributes.key?(:'enabled')
|
|
84
95
|
self.enabled = attributes[:'enabled']
|
|
85
96
|
end
|
|
@@ -191,6 +202,7 @@ module DatadogAPIClient::V2
|
|
|
191
202
|
def ==(o)
|
|
192
203
|
return true if self.equal?(o)
|
|
193
204
|
self.class == o.class &&
|
|
205
|
+
display_name == o.display_name &&
|
|
194
206
|
enabled == o.enabled &&
|
|
195
207
|
id == o.id &&
|
|
196
208
|
include == o.include &&
|
|
@@ -203,7 +215,7 @@ module DatadogAPIClient::V2
|
|
|
203
215
|
# @return [Integer] Hash code
|
|
204
216
|
# @!visibility private
|
|
205
217
|
def hash
|
|
206
|
-
[enabled, id, include, rules, type, additional_properties].hash
|
|
218
|
+
[display_name, enabled, id, include, rules, type, additional_properties].hash
|
|
207
219
|
end
|
|
208
220
|
end
|
|
209
221
|
end
|
|
@@ -21,6 +21,9 @@ module DatadogAPIClient::V2
|
|
|
21
21
|
class ObservabilityPipelineSensitiveDataScannerProcessorCustomPatternOptions
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
|
+
# Human-readable description providing context about a sensitive data scanner rule
|
|
25
|
+
attr_accessor :description
|
|
26
|
+
|
|
24
27
|
# A regular expression used to detect sensitive values. Must be a valid regex.
|
|
25
28
|
attr_reader :rule
|
|
26
29
|
|
|
@@ -30,6 +33,7 @@ module DatadogAPIClient::V2
|
|
|
30
33
|
# @!visibility private
|
|
31
34
|
def self.attribute_map
|
|
32
35
|
{
|
|
36
|
+
:'description' => :'description',
|
|
33
37
|
:'rule' => :'rule'
|
|
34
38
|
}
|
|
35
39
|
end
|
|
@@ -38,6 +42,7 @@ module DatadogAPIClient::V2
|
|
|
38
42
|
# @!visibility private
|
|
39
43
|
def self.openapi_types
|
|
40
44
|
{
|
|
45
|
+
:'description' => :'String',
|
|
41
46
|
:'rule' => :'String'
|
|
42
47
|
}
|
|
43
48
|
end
|
|
@@ -60,6 +65,10 @@ module DatadogAPIClient::V2
|
|
|
60
65
|
end
|
|
61
66
|
}
|
|
62
67
|
|
|
68
|
+
if attributes.key?(:'description')
|
|
69
|
+
self.description = attributes[:'description']
|
|
70
|
+
end
|
|
71
|
+
|
|
63
72
|
if attributes.key?(:'rule')
|
|
64
73
|
self.rule = attributes[:'rule']
|
|
65
74
|
end
|
|
@@ -109,6 +118,7 @@ module DatadogAPIClient::V2
|
|
|
109
118
|
def ==(o)
|
|
110
119
|
return true if self.equal?(o)
|
|
111
120
|
self.class == o.class &&
|
|
121
|
+
description == o.description &&
|
|
112
122
|
rule == o.rule &&
|
|
113
123
|
additional_properties == o.additional_properties
|
|
114
124
|
end
|
|
@@ -117,7 +127,7 @@ module DatadogAPIClient::V2
|
|
|
117
127
|
# @return [Integer] Hash code
|
|
118
128
|
# @!visibility private
|
|
119
129
|
def hash
|
|
120
|
-
[rule, additional_properties].hash
|
|
130
|
+
[description, rule, additional_properties].hash
|
|
121
131
|
end
|
|
122
132
|
end
|
|
123
133
|
end
|