datadog_api_client 2.27.1 → 2.28.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.apigentools-info +4 -4
- data/.generator/conftest.py +0 -3
- data/.generator/schemas/v1/openapi.yaml +385 -616
- data/.generator/schemas/v2/openapi.yaml +1498 -386
- data/.generator/src/generator/formatter.py +2 -43
- 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/CHANGELOG.md +39 -0
- data/examples/v1/dashboards/CreateDashboard_1413226400.rb +66 -0
- data/examples/v1/dashboards/CreateDashboard_3298564989.rb +65 -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/CreateSyntheticsMobileTest.rb +1 -1
- data/examples/v1/synthetics/UpdateBrowserTest.rb +3 -1
- data/examples/v1/synthetics/UpdateMobileTest.rb +1 -1
- 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/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/{CreateApiHandle_1540689753.rb → CreateTenantBasedHandle_1540689753.rb} +5 -5
- 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/GetTenantBasedHandle.rb +5 -0
- data/examples/v2/microsoft-teams-integration/GetTenantBasedHandle_2883785101.rb +8 -0
- data/examples/v2/microsoft-teams-integration/{ListApiHandles.rb → ListTenantBasedHandles.rb} +2 -2
- data/examples/v2/microsoft-teams-integration/{ListApiHandles_769592979.rb → ListTenantBasedHandles_769592979.rb} +1 -1
- 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/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 +81 -28
- data/lib/datadog_api_client/v1/api/monitors_api.rb +6 -3
- data/lib/datadog_api_client/v1/api/synthetics_api.rb +2 -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 +1 -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 +2 -6
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +11 -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_mobile_step.rb +32 -6
- 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_test_initial_application_arguments.rb → synthetics_mobile_step_params_positions_items.rb} +21 -11
- data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_value.rb +63 -0
- data/lib/datadog_api_client/v1/models/{synthetics_mobile_test_ci_options.rb → synthetics_mobile_step_params_variable.rb} +38 -17
- data/lib/datadog_api_client/v1/models/synthetics_mobile_test.rb +2 -2
- data/lib/datadog_api_client/v1/models/synthetics_mobile_test_config.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_mobile_test_options.rb +42 -16
- data/lib/datadog_api_client/v1/models/synthetics_mobile_tests_mobile_application.rb +24 -5
- 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_mobile_test_options_monitor_options_notification_preset_name.rb → synthetics_test_options_monitor_options_notification_preset_name.rb} +2 -2
- 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_mobile_test_binding_items.rb → synthetics_test_restriction_policy_binding.rb} +11 -11
- data/lib/datadog_api_client/v1/models/{synthetics_mobile_test_binding_items_role.rb → synthetics_test_restriction_policy_binding_relation.rb} +2 -2
- data/lib/datadog_api_client/v1/models/toplist_widget_stacked.rb +1 -12
- data/lib/datadog_api_client/v1/models/usage_summary_date.rb +21 -1
- data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +21 -1
- data/lib/datadog_api_client/v1/models/usage_summary_response.rb +21 -1
- 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 +361 -0
- data/lib/datadog_api_client/v2/api/metrics_api.rb +1 -13
- data/lib/datadog_api_client/v2/api/microsoft_teams_integration_api.rb +98 -161
- 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/{aws_related_account_attributes.rb → domain_allowlist_attributes.rb} +20 -18
- data/lib/datadog_api_client/v2/models/domain_allowlist_request.rb +123 -0
- data/lib/datadog_api_client/{v1/models/synthetics_mobile_test_binding.rb → v2/models/domain_allowlist_response.rb} +13 -13
- 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/{microsoft_teams_api_handle_type.rb → domain_allowlist_type.rb} +3 -3
- 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/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_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/{microsoft_teams_api_handle_request_data.rb → incident_type_create_data.rb} +7 -7
- data/lib/datadog_api_client/v2/models/{microsoft_teams_create_api_handle_request.rb → incident_type_create_request.rb} +5 -5
- data/lib/datadog_api_client/v2/models/{microsoft_teams_api_handles_response.rb → incident_type_list_response.rb} +5 -5
- 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/{microsoft_teams_create_api_handle_response.rb → incident_type_patch_request.rb} +5 -5
- data/lib/datadog_api_client/v2/models/{microsoft_teams_update_api_handle_request.rb → incident_type_response.rb} +5 -5
- 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/microsoft_teams_create_tenant_based_handle_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/{microsoft_teams_api_handle_attributes.rb → microsoft_teams_tenant_based_handle_attributes.rb} +4 -4
- data/lib/datadog_api_client/v2/models/{microsoft_teams_api_handle_info_response_attributes.rb → microsoft_teams_tenant_based_handle_info_response_attributes.rb} +4 -4
- data/lib/datadog_api_client/v2/models/{microsoft_teams_api_handle_response_data.rb → microsoft_teams_tenant_based_handle_info_response_data.rb} +8 -8
- 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_api_handle_request_attributes.rb → microsoft_teams_tenant_based_handle_request_attributes.rb} +4 -4
- data/lib/datadog_api_client/v2/models/{microsoft_teams_update_api_handle_request_data.rb → microsoft_teams_tenant_based_handle_request_data.rb} +7 -7
- 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_api_handle_info_response_data.rb → microsoft_teams_tenant_based_handle_response_data.rb} +8 -8
- 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/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/{microsoft_teams_api_handle_info_response.rb → rum_metric_response.rb} +5 -5
- 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/{v1/models/synthetics_mobile_test_initial_application_arguments_property_names.rb → v2/models/rum_metric_response_filter.rb} +13 -13
- data/lib/datadog_api_client/v2/models/rum_metric_response_group_by.rb +115 -0
- data/lib/datadog_api_client/v2/models/rum_metric_response_uniqueness.rb +105 -0
- data/lib/datadog_api_client/v2/models/{microsoft_teams_api_handle_info_type.rb → rum_metric_type.rb} +3 -3
- 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/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/upsert_catalog_entity_request.rb +1 -1
- data/lib/datadog_api_client/version.rb +1 -1
- metadata +110 -43
- data/examples/v2/cloud-cost-management/ListAWSRelatedAccounts.rb +0 -5
- data/examples/v2/microsoft-teams-integration/CreateApiHandle.rb +0 -17
- data/examples/v2/microsoft-teams-integration/DeleteApiHandle.rb +0 -5
- data/examples/v2/microsoft-teams-integration/DeleteApiHandle_377884154.rb +0 -8
- data/examples/v2/microsoft-teams-integration/GetApiHandle.rb +0 -5
- data/examples/v2/microsoft-teams-integration/GetApiHandleByName.rb +0 -5
- data/examples/v2/microsoft-teams-integration/GetApiHandleByName_1103107145.rb +0 -8
- data/examples/v2/microsoft-teams-integration/GetApiHandle_2883785101.rb +0 -8
- data/examples/v2/microsoft-teams-integration/UpdateApiHandle.rb +0 -17
- data/examples/v2/microsoft-teams-integration/UpdateApiHandle_419892746.rb +0 -18
- data/lib/datadog_api_client/v1/models/synthetics_mobile_device_id.rb +0 -251
- data/lib/datadog_api_client/v1/models/synthetics_mobile_test_options_monitor_options.rb +0 -155
@@ -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
|
@@ -0,0 +1,29 @@
|
|
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 vulnerability type of the finding.
|
21
|
+
class FindingVulnerabilityType
|
22
|
+
include BaseEnumModel
|
23
|
+
|
24
|
+
MISCONFIGURATION = "misconfiguration".freeze
|
25
|
+
ATTACK_PATH = "attack_path".freeze
|
26
|
+
IDENTITY_RISK = "identity_risk".freeze
|
27
|
+
API_SECURITY = "api_security".freeze
|
28
|
+
end
|
29
|
+
end
|