datadog_api_client 2.26.1 → 2.28.1
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/.apigentools-info +4 -4
- data/.generator/conftest.py +0 -3
- data/.generator/schemas/v1/openapi.yaml +2123 -212
- data/.generator/schemas/v2/openapi.yaml +3082 -240
- data/.generator/src/generator/formatter.py +3 -44
- data/.generator/src/generator/keywords.json +43 -0
- data/.generator/src/generator/templates/api.j2 +4 -0
- data/.generator/src/generator/templates/api_client.j2 +1 -0
- data/.github/workflows/approved_status.yml +4 -0
- data/.github/workflows/changelog.yml +5 -0
- data/.github/workflows/codeql-analysis.yml +4 -0
- data/.github/workflows/docs.yml +3 -0
- data/.github/workflows/labeler.yml +5 -0
- data/.github/workflows/prepare_release.yml +4 -0
- data/.github/workflows/publish.yml +5 -0
- data/.github/workflows/release.yml +4 -0
- data/.github/workflows/stale.yml +6 -0
- data/.github/workflows/test.yml +3 -0
- data/.github/workflows/test_integration.yml +3 -0
- data/CHANGELOG.md +66 -0
- data/examples/v1/dashboards/CreateDashboard_1413226400.rb +66 -0
- data/examples/v1/dashboards/CreateDashboard_1433408735.rb +44 -0
- data/examples/v1/dashboards/CreateDashboard_3298564989.rb +65 -0
- data/examples/v1/dashboards/CreateDashboard_794302680.rb +152 -0
- data/examples/v1/gcp-integration/CreateGCPIntegration.rb +1 -0
- data/examples/v1/gcp-integration/UpdateGCPIntegration.rb +1 -0
- data/examples/v1/gcp-integration/UpdateGCPIntegration_3544259255.rb +1 -0
- data/examples/v1/monitors/ValidateExistingMonitor.rb +0 -1
- data/examples/v1/monitors/ValidateMonitor.rb +0 -1
- data/examples/v1/monitors/ValidateMonitor_4247196452.rb +0 -1
- data/examples/v1/synthetics/CreateSyntheticsAPITest.rb +3 -1
- data/examples/v1/synthetics/CreateSyntheticsAPITest_1072503741.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_3829801148.rb +1 -1
- data/examples/v1/synthetics/CreateSyntheticsMobileTest.rb +27 -0
- data/examples/v1/synthetics/FetchUptimes.rb +13 -0
- data/examples/v1/synthetics/GetMobileTest.rb +8 -0
- data/examples/v1/synthetics/UpdateBrowserTest.rb +3 -1
- data/examples/v1/synthetics/UpdateMobileTest.rb +30 -0
- data/examples/v2/domain-allowlist/GetDomainAllowlist.rb +5 -0
- data/examples/v2/domain-allowlist/PatchDomainAllowlist.rb +17 -0
- data/examples/v2/gcp-integration/CreateGCPSTSAccount_2597004741.rb +1 -0
- data/examples/v2/incidents/CreateIncidentType.rb +19 -0
- data/examples/v2/incidents/DeleteIncidentType.rb +11 -0
- data/examples/v2/incidents/GetIncidentType.rb +8 -0
- data/examples/v2/incidents/ListIncidentTypes.rb +8 -0
- data/examples/v2/incidents/UpdateIncidentType.rb +22 -0
- data/examples/v2/logs/AggregateLogs_2955613758.rb +0 -1
- data/examples/v2/metrics/QueryScalarData.rb +0 -3
- data/examples/v2/metrics/QueryScalarData_3112571352.rb +0 -3
- data/examples/v2/metrics/QueryTimeseriesData.rb +0 -3
- data/examples/v2/metrics/QueryTimeseriesData_301142940.rb +0 -3
- data/examples/v2/microsoft-teams-integration/CreateTenantBasedHandle.rb +17 -0
- data/examples/v2/microsoft-teams-integration/CreateTenantBasedHandle_1540689753.rb +17 -0
- data/examples/v2/microsoft-teams-integration/DeleteTenantBasedHandle.rb +5 -0
- data/examples/v2/microsoft-teams-integration/DeleteTenantBasedHandle_377884154.rb +8 -0
- data/examples/v2/microsoft-teams-integration/GetChannelByName.rb +5 -0
- data/examples/v2/microsoft-teams-integration/GetTenantBasedHandle.rb +5 -0
- data/examples/v2/microsoft-teams-integration/GetTenantBasedHandle_2883785101.rb +8 -0
- data/examples/v2/microsoft-teams-integration/ListTenantBasedHandles.rb +5 -0
- data/examples/v2/microsoft-teams-integration/ListTenantBasedHandles_769592979.rb +5 -0
- data/examples/v2/microsoft-teams-integration/UpdateTenantBasedHandle.rb +17 -0
- data/examples/v2/microsoft-teams-integration/UpdateTenantBasedHandle_419892746.rb +18 -0
- data/examples/v2/rum-metrics/CreateRumMetric.rb +32 -0
- data/examples/v2/rum-metrics/DeleteRumMetric.rb +8 -0
- data/examples/v2/rum-metrics/GetRumMetric.rb +8 -0
- data/examples/v2/rum-metrics/ListRumMetrics.rb +5 -0
- data/examples/v2/rum-metrics/UpdateRumMetric.rb +29 -0
- data/examples/v2/security-monitoring/CreateSecurityMonitoringRule.rb +9 -0
- data/examples/v2/security-monitoring/ListFindings_1668290866.rb +14 -0
- data/examples/v2/usage-metering/GetBillingDimensionMapping.rb +8 -0
- data/examples/v2/usage-metering/GetMonthlyCostAttribution.rb +4 -1
- data/lib/datadog_api_client/api_client.rb +1 -0
- data/lib/datadog_api_client/configuration.rb +6 -2
- data/lib/datadog_api_client/inflector.rb +109 -5
- data/lib/datadog_api_client/v1/api/monitors_api.rb +6 -3
- data/lib/datadog_api_client/v1/api/synthetics_api.rb +274 -0
- data/lib/datadog_api_client/v1/api/usage_metering_api.rb +5 -3
- data/lib/datadog_api_client/v1/models/gcp_account.rb +11 -1
- data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +2 -3
- data/lib/datadog_api_client/v1/models/list_stream_source.rb +1 -0
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +4 -6
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +21 -61
- data/lib/datadog_api_client/v1/models/slo_history_monitor.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_batch_details_data.rb +2 -2
- data/lib/datadog_api_client/v1/models/synthetics_batch_result.rb +2 -2
- data/lib/datadog_api_client/v1/models/{synthetics_status.rb → synthetics_batch_status.rb} +4 -4
- data/lib/datadog_api_client/v1/models/synthetics_config_variable_type.rb +1 -0
- data/lib/datadog_api_client/v1/models/synthetics_fetch_uptimes_payload.rb +167 -0
- data/lib/datadog_api_client/v1/models/synthetics_mobile_step.rb +229 -0
- data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params.rb +249 -0
- data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_direction.rb +29 -0
- data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element.rb +175 -0
- data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element_context_type.rb +27 -0
- data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element_relative_position.rb +115 -0
- data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element_user_locator.rb +117 -0
- data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element_user_locator_values_items.rb +115 -0
- data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element_user_locator_values_items_type.rb +30 -0
- data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_positions_items.rb +115 -0
- data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_value.rb +63 -0
- data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_variable.rb +144 -0
- data/lib/datadog_api_client/v1/models/synthetics_mobile_step_type.rb +42 -0
- data/lib/datadog_api_client/v1/models/synthetics_mobile_test.rb +263 -0
- data/lib/datadog_api_client/v1/models/synthetics_mobile_test_config.rb +117 -0
- data/lib/datadog_api_client/v1/models/synthetics_mobile_test_options.rb +380 -0
- data/lib/datadog_api_client/v1/models/synthetics_mobile_test_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/synthetics_mobile_tests_mobile_application.rb +173 -0
- data/lib/datadog_api_client/v1/models/synthetics_mobile_tests_mobile_application_reference_type.rb +27 -0
- data/lib/datadog_api_client/v1/models/synthetics_step.rb +22 -2
- data/lib/datadog_api_client/v1/models/synthetics_step_detail.rb +21 -1
- data/lib/datadog_api_client/v1/models/synthetics_test_ci_options.rb +19 -1
- data/lib/datadog_api_client/v1/models/synthetics_test_details_type.rb +1 -0
- data/lib/datadog_api_client/v1/models/synthetics_test_options_monitor_options.rb +34 -4
- data/lib/datadog_api_client/v1/models/synthetics_test_options_monitor_options_notification_preset_name.rb +29 -0
- data/lib/datadog_api_client/v1/models/synthetics_test_options_scheduling.rb +31 -2
- data/lib/datadog_api_client/v1/models/synthetics_test_options_scheduling_timeframe.rb +32 -6
- data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_test_request_port.rb +63 -0
- data/lib/datadog_api_client/v1/models/synthetics_test_restriction_policy_binding.rb +117 -0
- data/lib/datadog_api_client/v1/models/synthetics_test_restriction_policy_binding_relation.rb +27 -0
- data/lib/datadog_api_client/v1/models/synthetics_test_uptime.rb +135 -0
- data/lib/datadog_api_client/v1/models/synthetics_uptime.rb +161 -0
- data/lib/datadog_api_client/v1/models/table_widget_request.rb +16 -4
- data/lib/datadog_api_client/v1/models/table_widget_text_format_match.rb +144 -0
- data/lib/datadog_api_client/v1/models/table_widget_text_format_match_type.rb +31 -0
- data/lib/datadog_api_client/v1/models/table_widget_text_format_palette.rb +36 -0
- data/lib/datadog_api_client/v1/models/table_widget_text_format_replace.rb +63 -0
- data/lib/datadog_api_client/v1/models/table_widget_text_format_replace_all.rb +144 -0
- data/lib/datadog_api_client/v1/models/table_widget_text_format_replace_all_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/table_widget_text_format_replace_substring.rb +165 -0
- data/lib/datadog_api_client/v1/models/table_widget_text_format_replace_substring_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/table_widget_text_format_rule.rb +163 -0
- data/lib/datadog_api_client/v1/models/toplist_widget_stacked.rb +1 -12
- data/lib/datadog_api_client/v1/models/usage_summary_date.rb +51 -1
- data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +51 -1
- data/lib/datadog_api_client/v1/models/usage_summary_response.rb +51 -1
- data/lib/datadog_api_client/v2/api/authn_mappings_api.rb +3 -3
- data/lib/datadog_api_client/v2/api/cloud_cost_management_api.rb +3 -69
- data/lib/datadog_api_client/v2/api/domain_allowlist_api.rb +153 -0
- data/lib/datadog_api_client/v2/api/incidents_api.rb +362 -1
- data/lib/datadog_api_client/v2/api/metrics_api.rb +5 -17
- data/lib/datadog_api_client/v2/api/microsoft_teams_integration_api.rb +434 -0
- data/lib/datadog_api_client/v2/api/restriction_policies_api.rb +3 -3
- data/lib/datadog_api_client/v2/api/rum_metrics_api.rb +357 -0
- data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +3 -0
- data/lib/datadog_api_client/v2/api/software_catalog_api.rb +19 -19
- data/lib/datadog_api_client/v2/api/teams_api.rb +1 -0
- data/lib/datadog_api_client/v2/api/usage_metering_api.rb +79 -10
- data/lib/datadog_api_client/v2/models/billing_dimensions_mapping_body_item.rb +125 -0
- data/lib/datadog_api_client/v2/models/billing_dimensions_mapping_body_item_attributes.rb +127 -0
- data/lib/datadog_api_client/v2/models/billing_dimensions_mapping_body_item_attributes_endpoints_items.rb +127 -0
- data/lib/datadog_api_client/v2/models/billing_dimensions_mapping_body_item_attributes_endpoints_items_status.rb +27 -0
- data/lib/datadog_api_client/v2/models/billing_dimensions_mapping_response.rb +107 -0
- data/lib/datadog_api_client/v2/models/cloudflare_account_create_request_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/cloudflare_account_response_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/cloudflare_account_update_request_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/domain_allowlist.rb +151 -0
- data/lib/datadog_api_client/v2/models/domain_allowlist_attributes.rb +117 -0
- data/lib/datadog_api_client/v2/models/domain_allowlist_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/domain_allowlist_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/domain_allowlist_response_data.rb +151 -0
- data/lib/datadog_api_client/v2/models/domain_allowlist_response_data_attributes.rb +117 -0
- data/lib/datadog_api_client/v2/models/domain_allowlist_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/dora_deployment_request_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/entity_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/entity_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/entity_response_included_incident.rb +1 -1
- data/lib/datadog_api_client/v2/models/entity_response_included_raw_schema.rb +1 -1
- data/lib/datadog_api_client/v2/models/entity_response_included_related_oncall_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/entity_response_included_related_oncall_escalation_item.rb +1 -1
- data/lib/datadog_api_client/v2/models/entity_response_included_schema.rb +1 -1
- data/lib/datadog_api_client/v2/models/entity_v3_api_version.rb +1 -1
- data/lib/datadog_api_client/v2/models/entity_v3_datadog_code_location_item.rb +3 -3
- data/lib/datadog_api_client/v2/models/entity_v3_datadog_event_item.rb +2 -2
- data/lib/datadog_api_client/v2/models/entity_v3_datadog_integration_opsgenie.rb +2 -2
- data/lib/datadog_api_client/v2/models/entity_v3_datadog_integration_pagerduty.rb +2 -2
- data/lib/datadog_api_client/v2/models/entity_v3_datadog_log_item.rb +3 -3
- data/lib/datadog_api_client/v2/models/entity_v3_datadog_performance.rb +2 -2
- data/lib/datadog_api_client/v2/models/entity_v3_datadog_pipelines.rb +2 -2
- data/lib/datadog_api_client/v2/models/entity_v3_datastore.rb +4 -4
- data/lib/datadog_api_client/v2/models/entity_v3_datastore_datadog.rb +4 -4
- data/lib/datadog_api_client/v2/models/entity_v3_datastore_spec.rb +2 -2
- data/lib/datadog_api_client/v2/models/entity_v3_integrations.rb +3 -3
- data/lib/datadog_api_client/v2/models/entity_v3_metadata.rb +9 -9
- data/lib/datadog_api_client/v2/models/entity_v3_metadata_additional_owners_items.rb +2 -2
- data/lib/datadog_api_client/v2/models/entity_v3_metadata_contacts_items.rb +2 -2
- data/lib/datadog_api_client/v2/models/entity_v3_metadata_links_items.rb +2 -2
- data/lib/datadog_api_client/v2/models/entity_v3_metadata_owner.rb +2 -2
- data/lib/datadog_api_client/v2/models/entity_v3_queue.rb +5 -5
- data/lib/datadog_api_client/v2/models/entity_v3_queue_datadog.rb +4 -4
- data/lib/datadog_api_client/v2/models/entity_v3_queue_spec.rb +2 -2
- data/lib/datadog_api_client/v2/models/entity_v3_service.rb +5 -5
- data/lib/datadog_api_client/v2/models/entity_v3_service_datadog.rb +6 -6
- data/lib/datadog_api_client/v2/models/entity_v3_service_spec.rb +3 -3
- data/lib/datadog_api_client/v2/models/entity_v3_system.rb +5 -5
- data/lib/datadog_api_client/v2/models/entity_v3_system_datadog.rb +5 -5
- data/lib/datadog_api_client/v2/models/fastly_services_response.rb +1 -1
- data/lib/datadog_api_client/v2/models/finding_attributes.rb +14 -4
- data/lib/datadog_api_client/v2/models/finding_vulnerability_type.rb +29 -0
- data/lib/datadog_api_client/v2/models/gcp_metric_namespace_config.rb +115 -0
- data/lib/datadog_api_client/v2/models/gcpsts_service_account_attributes.rb +23 -1
- data/lib/datadog_api_client/v2/models/incident_create_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/incident_integration_metadata_metadata.rb +2 -1
- data/lib/datadog_api_client/v2/models/incident_notification_handle.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_response_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/incident_response_included_item.rb +1 -1
- data/lib/datadog_api_client/v2/models/incident_type_attributes.rb +193 -0
- data/lib/datadog_api_client/v2/models/incident_type_create_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/incident_type_create_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/incident_type_list_response.rb +125 -0
- data/lib/datadog_api_client/v2/models/{aws_related_account.rb → incident_type_object.rb} +8 -8
- data/lib/datadog_api_client/v2/models/incident_type_patch_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/incident_type_patch_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/incident_type_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/{aws_related_account_type.rb → incident_type_type.rb} +3 -3
- data/lib/datadog_api_client/v2/models/incident_type_update_attributes.rb +175 -0
- data/lib/datadog_api_client/v2/models/incident_user_attributes.rb +153 -0
- data/lib/datadog_api_client/v2/models/incident_user_data.rb +125 -0
- data/lib/datadog_api_client/v2/models/include_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/list_entity_catalog_response_links.rb +3 -3
- 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 +1 -1
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_metric_type_category.rb +27 -0
- data/lib/datadog_api_client/v2/models/metric_tag_configuration_update_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/microsoft_teams_channel_info_response_attributes.rb +165 -0
- data/lib/datadog_api_client/v2/models/microsoft_teams_channel_info_response_data.rb +147 -0
- data/lib/datadog_api_client/v2/models/microsoft_teams_channel_info_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/microsoft_teams_create_tenant_based_handle_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/microsoft_teams_get_channel_by_name_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_attributes.rb +186 -0
- data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_info_response_attributes.rb +249 -0
- data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_info_response_data.rb +147 -0
- data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_info_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_request_attributes.rb +202 -0
- data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_request_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_response_data.rb +147 -0
- data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handles_response.rb +125 -0
- data/lib/datadog_api_client/v2/models/microsoft_teams_update_tenant_based_handle_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/microsoft_teams_update_tenant_based_handle_request_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/ms_teams_integration_metadata.rb +125 -0
- data/lib/datadog_api_client/v2/models/ms_teams_integration_metadata_teams_item.rb +186 -0
- data/lib/datadog_api_client/v2/models/powerpack_template_variable.rb +35 -4
- data/lib/datadog_api_client/v2/models/relation_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/relationship_item.rb +1 -1
- data/lib/datadog_api_client/v2/models/rum_metric_compute.rb +145 -0
- data/lib/datadog_api_client/v2/models/rum_metric_compute_aggregation_type.rb +27 -0
- data/lib/datadog_api_client/v2/models/rum_metric_create_attributes.rb +176 -0
- data/lib/datadog_api_client/v2/models/rum_metric_create_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/rum_metric_create_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/rum_metric_event_type.rb +32 -0
- data/lib/datadog_api_client/v2/models/rum_metric_filter.rb +123 -0
- data/lib/datadog_api_client/v2/models/rum_metric_group_by.rb +133 -0
- data/lib/datadog_api_client/v2/models/rum_metric_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/rum_metric_response_attributes.rb +147 -0
- data/lib/datadog_api_client/v2/models/rum_metric_response_compute.rb +127 -0
- data/lib/datadog_api_client/v2/models/rum_metric_response_data.rb +125 -0
- data/lib/datadog_api_client/v2/models/rum_metric_response_filter.rb +105 -0
- data/lib/datadog_api_client/v2/models/rum_metric_response_group_by.rb +115 -0
- data/lib/datadog_api_client/v2/models/{aws_related_account_attributes.rb → rum_metric_response_uniqueness.rb} +11 -21
- data/lib/datadog_api_client/v2/models/rum_metric_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/rum_metric_uniqueness.rb +123 -0
- data/lib/datadog_api_client/v2/models/rum_metric_uniqueness_when.rb +27 -0
- data/lib/datadog_api_client/v2/models/rum_metric_update_attributes.rb +127 -0
- data/lib/datadog_api_client/v2/models/rum_metric_update_compute.rb +106 -0
- data/lib/datadog_api_client/v2/models/rum_metric_update_data.rb +154 -0
- data/lib/datadog_api_client/v2/models/rum_metric_update_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/{aws_related_accounts_response.rb → rum_metrics_response.rb} +5 -5
- data/lib/datadog_api_client/v2/models/security_monitoring_reference_table.rb +145 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_update_payload.rb +13 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_create_payload.rb +13 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_payload.rb +13 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_response.rb +13 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_test_payload.rb +13 -1
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_included_keyword_configuration.rb +15 -4
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_meta.rb +2 -2
- data/lib/datadog_api_client/v2/models/team_update_attributes.rb +1 -26
- data/lib/datadog_api_client/v2/models/upsert_catalog_entity_request.rb +1 -1
- data/lib/datadog_api_client/version.rb +1 -1
- metadata +145 -8
- data/examples/v2/cloud-cost-management/ListAWSRelatedAccounts.rb +0 -5
|
@@ -17,7 +17,7 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
|
-
# The schema version of entity type. The field is known as schema-version in the previous version
|
|
20
|
+
# The schema version of entity type. The field is known as schema-version in the previous version.
|
|
21
21
|
class EntityV3APIVersion
|
|
22
22
|
include BaseEnumModel
|
|
23
23
|
|
|
@@ -17,14 +17,14 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
|
-
#
|
|
20
|
+
# Code location item.
|
|
21
21
|
class EntityV3DatadogCodeLocationItem
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
|
-
# The paths (glob) to the source code of the service
|
|
24
|
+
# The paths (glob) to the source code of the service.
|
|
25
25
|
attr_accessor :paths
|
|
26
26
|
|
|
27
|
-
# The repository path of the source code of the entity
|
|
27
|
+
# The repository path of the source code of the entity.
|
|
28
28
|
attr_reader :repository_url
|
|
29
29
|
|
|
30
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -21,10 +21,10 @@ module DatadogAPIClient::V2
|
|
|
21
21
|
class EntityV3DatadogEventItem
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
|
-
# The name of the query
|
|
24
|
+
# The name of the query.
|
|
25
25
|
attr_accessor :name
|
|
26
26
|
|
|
27
|
-
# The query to run
|
|
27
|
+
# The query to run.
|
|
28
28
|
attr_accessor :query
|
|
29
29
|
|
|
30
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -17,14 +17,14 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
|
-
# An Opsgenie integration schema
|
|
20
|
+
# An Opsgenie integration schema.
|
|
21
21
|
class EntityV3DatadogIntegrationOpsgenie
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
24
|
# The region for the Opsgenie integration.
|
|
25
25
|
attr_reader :region
|
|
26
26
|
|
|
27
|
-
# The service
|
|
27
|
+
# The service URL for the Opsgenie integration.
|
|
28
28
|
attr_reader :service_url
|
|
29
29
|
|
|
30
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -17,11 +17,11 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
|
-
#
|
|
20
|
+
# A PagerDuty integration schema.
|
|
21
21
|
class EntityV3DatadogIntegrationPagerduty
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
|
-
# The service
|
|
24
|
+
# The service URL for the PagerDuty integration.
|
|
25
25
|
attr_reader :service_url
|
|
26
26
|
|
|
27
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -17,14 +17,14 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
|
-
#
|
|
20
|
+
# Log association item.
|
|
21
21
|
class EntityV3DatadogLogItem
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
|
-
# The name of the query
|
|
24
|
+
# The name of the query.
|
|
25
25
|
attr_accessor :name
|
|
26
26
|
|
|
27
|
-
# The query to run
|
|
27
|
+
# The query to run.
|
|
28
28
|
attr_accessor :query
|
|
29
29
|
|
|
30
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -17,11 +17,11 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
|
-
# Performance stats association
|
|
20
|
+
# Performance stats association.
|
|
21
21
|
class EntityV3DatadogPerformance
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
|
-
# A list of APM entity tags that associates the APM Stats data with the entity
|
|
24
|
+
# A list of APM entity tags that associates the APM Stats data with the entity.
|
|
25
25
|
attr_accessor :tags
|
|
26
26
|
|
|
27
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -17,11 +17,11 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
|
-
# CI Pipelines association
|
|
20
|
+
# CI Pipelines association.
|
|
21
21
|
class EntityV3DatadogPipelines
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
|
-
# A list of CI Fingerprints that associate CI Pipelines with the entity
|
|
24
|
+
# A list of CI Fingerprints that associate CI Pipelines with the entity.
|
|
25
25
|
attr_accessor :fingerprints
|
|
26
26
|
|
|
27
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -17,20 +17,20 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
|
-
# Schema for datastore entities
|
|
20
|
+
# Schema for datastore entities.
|
|
21
21
|
class EntityV3Datastore
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
|
-
# The schema version of entity type. The field is known as schema-version in the previous version
|
|
24
|
+
# The schema version of entity type. The field is known as schema-version in the previous version.
|
|
25
25
|
attr_reader :api_version
|
|
26
26
|
|
|
27
|
-
# Datadog product integrations for the datastore entity
|
|
27
|
+
# Datadog product integrations for the datastore entity.
|
|
28
28
|
attr_accessor :datadog
|
|
29
29
|
|
|
30
30
|
# Custom extensions. This is the free-formed field to send client side metadata. No Datadog features are affected by this field.
|
|
31
31
|
attr_accessor :extensions
|
|
32
32
|
|
|
33
|
-
# A base schema for defining third
|
|
33
|
+
# A base schema for defining third-party integrations.
|
|
34
34
|
attr_accessor :integrations
|
|
35
35
|
|
|
36
36
|
# The definition of Entity V3 Datastore Kind object.
|
|
@@ -17,17 +17,17 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
|
-
# Datadog product integrations for the datastore entity
|
|
20
|
+
# Datadog product integrations for the datastore entity.
|
|
21
21
|
class EntityV3DatastoreDatadog
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
|
-
# Events associations
|
|
24
|
+
# Events associations.
|
|
25
25
|
attr_accessor :events
|
|
26
26
|
|
|
27
|
-
# Logs association
|
|
27
|
+
# Logs association.
|
|
28
28
|
attr_accessor :logs
|
|
29
29
|
|
|
30
|
-
# Performance stats association
|
|
30
|
+
# Performance stats association.
|
|
31
31
|
attr_accessor :performance_data
|
|
32
32
|
|
|
33
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -24,10 +24,10 @@ module DatadogAPIClient::V2
|
|
|
24
24
|
# The lifecycle state of the datastore.
|
|
25
25
|
attr_reader :lifecycle
|
|
26
26
|
|
|
27
|
-
# The importance of the datastore
|
|
27
|
+
# The importance of the datastore.
|
|
28
28
|
attr_reader :tier
|
|
29
29
|
|
|
30
|
-
# The type of datastore
|
|
30
|
+
# The type of datastore.
|
|
31
31
|
attr_accessor :type
|
|
32
32
|
|
|
33
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -17,14 +17,14 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
|
-
# A base schema for defining third
|
|
20
|
+
# A base schema for defining third-party integrations.
|
|
21
21
|
class EntityV3Integrations
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
|
-
# An Opsgenie integration schema
|
|
24
|
+
# An Opsgenie integration schema.
|
|
25
25
|
attr_accessor :opsgenie
|
|
26
26
|
|
|
27
|
-
#
|
|
27
|
+
# A PagerDuty integration schema.
|
|
28
28
|
attr_accessor :pagerduty
|
|
29
29
|
|
|
30
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -21,16 +21,16 @@ module DatadogAPIClient::V2
|
|
|
21
21
|
class EntityV3Metadata
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
|
-
# The additional owners of the entity, usually a team
|
|
24
|
+
# The additional owners of the entity, usually a team.
|
|
25
25
|
attr_accessor :additional_owners
|
|
26
26
|
|
|
27
|
-
# A list of contacts for the entity
|
|
27
|
+
# A list of contacts for the entity.
|
|
28
28
|
attr_accessor :contacts
|
|
29
29
|
|
|
30
|
-
# Short description of the entity. The UI can leverage the description for display
|
|
30
|
+
# Short description of the entity. The UI can leverage the description for display.
|
|
31
31
|
attr_accessor :description
|
|
32
32
|
|
|
33
|
-
# User friendly name of the entity. The UI can leverage the display name for display
|
|
33
|
+
# User friendly name of the entity. The UI can leverage the display name for display.
|
|
34
34
|
attr_accessor :display_name
|
|
35
35
|
|
|
36
36
|
# A read-only globally unique identifier for the entity generated by Datadog. User supplied values are ignored.
|
|
@@ -39,22 +39,22 @@ module DatadogAPIClient::V2
|
|
|
39
39
|
# The entity reference from which to inherit metadata
|
|
40
40
|
attr_accessor :inherit_from
|
|
41
41
|
|
|
42
|
-
# A list of links for the entity
|
|
42
|
+
# A list of links for the entity.
|
|
43
43
|
attr_accessor :links
|
|
44
44
|
|
|
45
45
|
# A read-only set of Datadog managed attributes generated by Datadog. User supplied values are ignored.
|
|
46
46
|
attr_accessor :managed
|
|
47
47
|
|
|
48
|
-
# Unique name given to an entity under the kind/namespace
|
|
48
|
+
# Unique name given to an entity under the kind/namespace.
|
|
49
49
|
attr_reader :name
|
|
50
50
|
|
|
51
|
-
# Namespace is a part of unique identifier. It has a default value of 'default'
|
|
51
|
+
# Namespace is a part of unique identifier. It has a default value of 'default'.
|
|
52
52
|
attr_reader :namespace
|
|
53
53
|
|
|
54
|
-
# The owner of the entity, usually a team
|
|
54
|
+
# The owner of the entity, usually a team.
|
|
55
55
|
attr_accessor :owner
|
|
56
56
|
|
|
57
|
-
# A set of custom tags
|
|
57
|
+
# A set of custom tags.
|
|
58
58
|
attr_accessor :tags
|
|
59
59
|
|
|
60
60
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -21,10 +21,10 @@ module DatadogAPIClient::V2
|
|
|
21
21
|
class EntityV3MetadataAdditionalOwnersItems
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
|
-
# Team name
|
|
24
|
+
# Team name.
|
|
25
25
|
attr_reader :name
|
|
26
26
|
|
|
27
|
-
# Team type
|
|
27
|
+
# Team type.
|
|
28
28
|
attr_accessor :type
|
|
29
29
|
|
|
30
30
|
attr_accessor :additional_properties
|
|
@@ -21,7 +21,7 @@ module DatadogAPIClient::V2
|
|
|
21
21
|
class EntityV3MetadataLinksItems
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
|
-
# Link name
|
|
24
|
+
# Link name.
|
|
25
25
|
attr_reader :name
|
|
26
26
|
|
|
27
27
|
# Link provider.
|
|
@@ -30,7 +30,7 @@ module DatadogAPIClient::V2
|
|
|
30
30
|
# Link type.
|
|
31
31
|
attr_reader :type
|
|
32
32
|
|
|
33
|
-
# Link
|
|
33
|
+
# Link URL.
|
|
34
34
|
attr_reader :url
|
|
35
35
|
|
|
36
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -17,11 +17,11 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
|
-
# The owner of the entity, usually a team
|
|
20
|
+
# The owner of the entity, usually a team.
|
|
21
21
|
class EntityV3MetadataOwner
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
|
-
# Team name
|
|
24
|
+
# Team name.
|
|
25
25
|
attr_accessor :name
|
|
26
26
|
|
|
27
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -17,20 +17,20 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
|
-
# Schema for queue entities
|
|
20
|
+
# Schema for queue entities.
|
|
21
21
|
class EntityV3Queue
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
|
-
# The schema version of entity type. The field is known as schema-version in the previous version
|
|
24
|
+
# The schema version of entity type. The field is known as schema-version in the previous version.
|
|
25
25
|
attr_reader :api_version
|
|
26
26
|
|
|
27
|
-
# Datadog product integrations for the datastore entity
|
|
27
|
+
# Datadog product integrations for the datastore entity.
|
|
28
28
|
attr_accessor :datadog
|
|
29
29
|
|
|
30
|
-
# Custom extensions. This is the free-formed field to send client
|
|
30
|
+
# Custom extensions. This is the free-formed field to send client-side metadata. No Datadog features are affected by this field.
|
|
31
31
|
attr_accessor :extensions
|
|
32
32
|
|
|
33
|
-
# A base schema for defining third
|
|
33
|
+
# A base schema for defining third-party integrations.
|
|
34
34
|
attr_accessor :integrations
|
|
35
35
|
|
|
36
36
|
# The definition of Entity V3 Queue Kind object.
|
|
@@ -17,17 +17,17 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
|
-
# Datadog product integrations for the datastore entity
|
|
20
|
+
# Datadog product integrations for the datastore entity.
|
|
21
21
|
class EntityV3QueueDatadog
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
|
-
# Events associations
|
|
24
|
+
# Events associations.
|
|
25
25
|
attr_accessor :events
|
|
26
26
|
|
|
27
|
-
# Logs association
|
|
27
|
+
# Logs association.
|
|
28
28
|
attr_accessor :logs
|
|
29
29
|
|
|
30
|
-
# Performance stats association
|
|
30
|
+
# Performance stats association.
|
|
31
31
|
attr_accessor :performance_data
|
|
32
32
|
|
|
33
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -24,10 +24,10 @@ module DatadogAPIClient::V2
|
|
|
24
24
|
# The lifecycle state of the queue.
|
|
25
25
|
attr_reader :lifecycle
|
|
26
26
|
|
|
27
|
-
# The importance of the queue
|
|
27
|
+
# The importance of the queue.
|
|
28
28
|
attr_reader :tier
|
|
29
29
|
|
|
30
|
-
# The type of queue
|
|
30
|
+
# The type of queue.
|
|
31
31
|
attr_accessor :type
|
|
32
32
|
|
|
33
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -17,20 +17,20 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
|
-
# Schema for service entities
|
|
20
|
+
# Schema for service entities.
|
|
21
21
|
class EntityV3Service
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
|
-
# The schema version of entity type. The field is known as schema-version in the previous version
|
|
24
|
+
# The schema version of entity type. The field is known as schema-version in the previous version.
|
|
25
25
|
attr_reader :api_version
|
|
26
26
|
|
|
27
|
-
# Datadog product integrations for the service entity
|
|
27
|
+
# Datadog product integrations for the service entity.
|
|
28
28
|
attr_accessor :datadog
|
|
29
29
|
|
|
30
|
-
# Custom extensions. This is the free-formed field to send client
|
|
30
|
+
# Custom extensions. This is the free-formed field to send client-side metadata. No Datadog features are affected by this field.
|
|
31
31
|
attr_accessor :extensions
|
|
32
32
|
|
|
33
|
-
# A base schema for defining third
|
|
33
|
+
# A base schema for defining third-party integrations.
|
|
34
34
|
attr_accessor :integrations
|
|
35
35
|
|
|
36
36
|
# The definition of Entity V3 Service Kind object.
|
|
@@ -17,23 +17,23 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
|
-
# Datadog product integrations for the service entity
|
|
20
|
+
# Datadog product integrations for the service entity.
|
|
21
21
|
class EntityV3ServiceDatadog
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
|
-
# Schema for mapping source code locations to an entity
|
|
24
|
+
# Schema for mapping source code locations to an entity.
|
|
25
25
|
attr_accessor :code_locations
|
|
26
26
|
|
|
27
|
-
# Events associations
|
|
27
|
+
# Events associations.
|
|
28
28
|
attr_accessor :events
|
|
29
29
|
|
|
30
|
-
# Logs association
|
|
30
|
+
# Logs association.
|
|
31
31
|
attr_accessor :logs
|
|
32
32
|
|
|
33
|
-
# Performance stats association
|
|
33
|
+
# Performance stats association.
|
|
34
34
|
attr_accessor :performance_data
|
|
35
35
|
|
|
36
|
-
# CI Pipelines association
|
|
36
|
+
# CI Pipelines association.
|
|
37
37
|
attr_accessor :pipelines
|
|
38
38
|
|
|
39
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -21,7 +21,7 @@ module DatadogAPIClient::V2
|
|
|
21
21
|
class EntityV3ServiceSpec
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
|
-
# A list of components the service depends on
|
|
24
|
+
# A list of components the service depends on.
|
|
25
25
|
attr_accessor :depends_on
|
|
26
26
|
|
|
27
27
|
# The service's programming language.
|
|
@@ -30,10 +30,10 @@ module DatadogAPIClient::V2
|
|
|
30
30
|
# The lifecycle state of the component.
|
|
31
31
|
attr_reader :lifecycle
|
|
32
32
|
|
|
33
|
-
# The importance of the component
|
|
33
|
+
# The importance of the component.
|
|
34
34
|
attr_reader :tier
|
|
35
35
|
|
|
36
|
-
# The type of service
|
|
36
|
+
# The type of service.
|
|
37
37
|
attr_accessor :type
|
|
38
38
|
|
|
39
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -17,20 +17,20 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
|
-
# Schema for system entities
|
|
20
|
+
# Schema for system entities.
|
|
21
21
|
class EntityV3System
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
|
-
# The schema version of entity type. The field is known as schema-version in the previous version
|
|
24
|
+
# The schema version of entity type. The field is known as schema-version in the previous version.
|
|
25
25
|
attr_reader :api_version
|
|
26
26
|
|
|
27
|
-
# Datadog product integrations for the service entity
|
|
27
|
+
# Datadog product integrations for the service entity.
|
|
28
28
|
attr_accessor :datadog
|
|
29
29
|
|
|
30
|
-
# Custom extensions. This is the free-formed field to send client
|
|
30
|
+
# Custom extensions. This is the free-formed field to send client-side metadata. No Datadog features are affected by this field.
|
|
31
31
|
attr_accessor :extensions
|
|
32
32
|
|
|
33
|
-
# A base schema for defining third
|
|
33
|
+
# A base schema for defining third-party integrations.
|
|
34
34
|
attr_accessor :integrations
|
|
35
35
|
|
|
36
36
|
# The definition of Entity V3 System Kind object.
|
|
@@ -17,20 +17,20 @@ require 'date'
|
|
|
17
17
|
require 'time'
|
|
18
18
|
|
|
19
19
|
module DatadogAPIClient::V2
|
|
20
|
-
# Datadog product integrations for the service entity
|
|
20
|
+
# Datadog product integrations for the service entity.
|
|
21
21
|
class EntityV3SystemDatadog
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
|
-
# Events associations
|
|
24
|
+
# Events associations.
|
|
25
25
|
attr_accessor :events
|
|
26
26
|
|
|
27
|
-
# Logs association
|
|
27
|
+
# Logs association.
|
|
28
28
|
attr_accessor :logs
|
|
29
29
|
|
|
30
|
-
# Performance stats association
|
|
30
|
+
# Performance stats association.
|
|
31
31
|
attr_accessor :performance_data
|
|
32
32
|
|
|
33
|
-
# CI Pipelines association
|
|
33
|
+
# CI Pipelines association.
|
|
34
34
|
attr_accessor :pipelines
|
|
35
35
|
|
|
36
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -48,6 +48,9 @@ module DatadogAPIClient::V2
|
|
|
48
48
|
# The tags associated with this finding.
|
|
49
49
|
attr_accessor :tags
|
|
50
50
|
|
|
51
|
+
# The vulnerability type of the finding.
|
|
52
|
+
attr_accessor :vulnerability_type
|
|
53
|
+
|
|
51
54
|
attr_accessor :additional_properties
|
|
52
55
|
|
|
53
56
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -62,7 +65,8 @@ module DatadogAPIClient::V2
|
|
|
62
65
|
:'resource_type' => :'resource_type',
|
|
63
66
|
:'rule' => :'rule',
|
|
64
67
|
:'status' => :'status',
|
|
65
|
-
:'tags' => :'tags'
|
|
68
|
+
:'tags' => :'tags',
|
|
69
|
+
:'vulnerability_type' => :'vulnerability_type'
|
|
66
70
|
}
|
|
67
71
|
end
|
|
68
72
|
|
|
@@ -78,7 +82,8 @@ module DatadogAPIClient::V2
|
|
|
78
82
|
:'resource_type' => :'String',
|
|
79
83
|
:'rule' => :'FindingRule',
|
|
80
84
|
:'status' => :'FindingStatus',
|
|
81
|
-
:'tags' => :'Array<String>'
|
|
85
|
+
:'tags' => :'Array<String>',
|
|
86
|
+
:'vulnerability_type' => :'FindingVulnerabilityType'
|
|
82
87
|
}
|
|
83
88
|
end
|
|
84
89
|
|
|
@@ -137,6 +142,10 @@ module DatadogAPIClient::V2
|
|
|
137
142
|
self.tags = value
|
|
138
143
|
end
|
|
139
144
|
end
|
|
145
|
+
|
|
146
|
+
if attributes.key?(:'vulnerability_type')
|
|
147
|
+
self.vulnerability_type = attributes[:'vulnerability_type']
|
|
148
|
+
end
|
|
140
149
|
end
|
|
141
150
|
|
|
142
151
|
# Check to see if the all the properties in the model are valid
|
|
@@ -202,7 +211,8 @@ module DatadogAPIClient::V2
|
|
|
202
211
|
resource_type == o.resource_type &&
|
|
203
212
|
rule == o.rule &&
|
|
204
213
|
status == o.status &&
|
|
205
|
-
tags == o.tags
|
|
214
|
+
tags == o.tags &&
|
|
215
|
+
vulnerability_type == o.vulnerability_type
|
|
206
216
|
additional_properties == o.additional_properties
|
|
207
217
|
end
|
|
208
218
|
|
|
@@ -210,7 +220,7 @@ module DatadogAPIClient::V2
|
|
|
210
220
|
# @return [Integer] Hash code
|
|
211
221
|
# @!visibility private
|
|
212
222
|
def hash
|
|
213
|
-
[evaluation, evaluation_changed_at, mute, resource, resource_discovery_date, resource_type, rule, status, tags].hash
|
|
223
|
+
[evaluation, evaluation_changed_at, mute, resource, resource_discovery_date, resource_type, rule, status, tags, vulnerability_type].hash
|
|
214
224
|
end
|
|
215
225
|
end
|
|
216
226
|
end
|