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.
Files changed (233) hide show
  1. checksums.yaml +4 -4
  2. data/.apigentools-info +4 -4
  3. data/.generator/conftest.py +0 -3
  4. data/.generator/schemas/v1/openapi.yaml +385 -616
  5. data/.generator/schemas/v2/openapi.yaml +1498 -386
  6. data/.generator/src/generator/formatter.py +2 -43
  7. data/.generator/src/generator/keywords.json +43 -0
  8. data/.generator/src/generator/templates/api.j2 +4 -0
  9. data/.generator/src/generator/templates/api_client.j2 +1 -0
  10. data/CHANGELOG.md +39 -0
  11. data/examples/v1/dashboards/CreateDashboard_1413226400.rb +66 -0
  12. data/examples/v1/dashboards/CreateDashboard_3298564989.rb +65 -0
  13. data/examples/v1/gcp-integration/CreateGCPIntegration.rb +1 -0
  14. data/examples/v1/gcp-integration/UpdateGCPIntegration.rb +1 -0
  15. data/examples/v1/gcp-integration/UpdateGCPIntegration_3544259255.rb +1 -0
  16. data/examples/v1/monitors/ValidateExistingMonitor.rb +0 -1
  17. data/examples/v1/monitors/ValidateMonitor.rb +0 -1
  18. data/examples/v1/monitors/ValidateMonitor_4247196452.rb +0 -1
  19. data/examples/v1/synthetics/CreateSyntheticsAPITest.rb +3 -1
  20. data/examples/v1/synthetics/CreateSyntheticsMobileTest.rb +1 -1
  21. data/examples/v1/synthetics/UpdateBrowserTest.rb +3 -1
  22. data/examples/v1/synthetics/UpdateMobileTest.rb +1 -1
  23. data/examples/v2/domain-allowlist/GetDomainAllowlist.rb +5 -0
  24. data/examples/v2/domain-allowlist/PatchDomainAllowlist.rb +17 -0
  25. data/examples/v2/gcp-integration/CreateGCPSTSAccount_2597004741.rb +1 -0
  26. data/examples/v2/incidents/CreateIncidentType.rb +19 -0
  27. data/examples/v2/incidents/DeleteIncidentType.rb +11 -0
  28. data/examples/v2/incidents/GetIncidentType.rb +8 -0
  29. data/examples/v2/incidents/ListIncidentTypes.rb +8 -0
  30. data/examples/v2/incidents/UpdateIncidentType.rb +22 -0
  31. data/examples/v2/metrics/QueryScalarData.rb +0 -3
  32. data/examples/v2/metrics/QueryScalarData_3112571352.rb +0 -3
  33. data/examples/v2/metrics/QueryTimeseriesData.rb +0 -3
  34. data/examples/v2/metrics/QueryTimeseriesData_301142940.rb +0 -3
  35. data/examples/v2/microsoft-teams-integration/CreateTenantBasedHandle.rb +17 -0
  36. data/examples/v2/microsoft-teams-integration/{CreateApiHandle_1540689753.rb → CreateTenantBasedHandle_1540689753.rb} +5 -5
  37. data/examples/v2/microsoft-teams-integration/DeleteTenantBasedHandle.rb +5 -0
  38. data/examples/v2/microsoft-teams-integration/DeleteTenantBasedHandle_377884154.rb +8 -0
  39. data/examples/v2/microsoft-teams-integration/GetTenantBasedHandle.rb +5 -0
  40. data/examples/v2/microsoft-teams-integration/GetTenantBasedHandle_2883785101.rb +8 -0
  41. data/examples/v2/microsoft-teams-integration/{ListApiHandles.rb → ListTenantBasedHandles.rb} +2 -2
  42. data/examples/v2/microsoft-teams-integration/{ListApiHandles_769592979.rb → ListTenantBasedHandles_769592979.rb} +1 -1
  43. data/examples/v2/microsoft-teams-integration/UpdateTenantBasedHandle.rb +17 -0
  44. data/examples/v2/microsoft-teams-integration/UpdateTenantBasedHandle_419892746.rb +18 -0
  45. data/examples/v2/rum-metrics/CreateRumMetric.rb +32 -0
  46. data/examples/v2/rum-metrics/DeleteRumMetric.rb +8 -0
  47. data/examples/v2/rum-metrics/GetRumMetric.rb +8 -0
  48. data/examples/v2/rum-metrics/ListRumMetrics.rb +5 -0
  49. data/examples/v2/rum-metrics/UpdateRumMetric.rb +29 -0
  50. data/examples/v2/security-monitoring/ListFindings_1668290866.rb +14 -0
  51. data/examples/v2/usage-metering/GetBillingDimensionMapping.rb +8 -0
  52. data/examples/v2/usage-metering/GetMonthlyCostAttribution.rb +4 -1
  53. data/lib/datadog_api_client/api_client.rb +1 -0
  54. data/lib/datadog_api_client/configuration.rb +6 -2
  55. data/lib/datadog_api_client/inflector.rb +81 -28
  56. data/lib/datadog_api_client/v1/api/monitors_api.rb +6 -3
  57. data/lib/datadog_api_client/v1/api/synthetics_api.rb +2 -0
  58. data/lib/datadog_api_client/v1/api/usage_metering_api.rb +5 -3
  59. data/lib/datadog_api_client/v1/models/gcp_account.rb +11 -1
  60. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +1 -3
  61. data/lib/datadog_api_client/v1/models/list_stream_source.rb +1 -0
  62. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +2 -6
  63. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +11 -61
  64. data/lib/datadog_api_client/v1/models/slo_history_monitor.rb +1 -1
  65. data/lib/datadog_api_client/v1/models/synthetics_batch_details_data.rb +2 -2
  66. data/lib/datadog_api_client/v1/models/synthetics_batch_result.rb +2 -2
  67. data/lib/datadog_api_client/v1/models/{synthetics_status.rb → synthetics_batch_status.rb} +4 -4
  68. data/lib/datadog_api_client/v1/models/synthetics_mobile_step.rb +32 -6
  69. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params.rb +249 -0
  70. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_direction.rb +29 -0
  71. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element.rb +175 -0
  72. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element_context_type.rb +27 -0
  73. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element_relative_position.rb +115 -0
  74. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element_user_locator.rb +117 -0
  75. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element_user_locator_values_items.rb +115 -0
  76. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element_user_locator_values_items_type.rb +30 -0
  77. data/lib/datadog_api_client/v1/models/{synthetics_mobile_test_initial_application_arguments.rb → synthetics_mobile_step_params_positions_items.rb} +21 -11
  78. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_value.rb +63 -0
  79. data/lib/datadog_api_client/v1/models/{synthetics_mobile_test_ci_options.rb → synthetics_mobile_step_params_variable.rb} +38 -17
  80. data/lib/datadog_api_client/v1/models/synthetics_mobile_test.rb +2 -2
  81. data/lib/datadog_api_client/v1/models/synthetics_mobile_test_config.rb +1 -1
  82. data/lib/datadog_api_client/v1/models/synthetics_mobile_test_options.rb +42 -16
  83. data/lib/datadog_api_client/v1/models/synthetics_mobile_tests_mobile_application.rb +24 -5
  84. data/lib/datadog_api_client/v1/models/synthetics_step.rb +22 -2
  85. data/lib/datadog_api_client/v1/models/synthetics_step_detail.rb +21 -1
  86. data/lib/datadog_api_client/v1/models/synthetics_test_ci_options.rb +19 -1
  87. data/lib/datadog_api_client/v1/models/synthetics_test_details_type.rb +1 -0
  88. data/lib/datadog_api_client/v1/models/synthetics_test_options_monitor_options.rb +34 -4
  89. 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
  90. data/lib/datadog_api_client/v1/models/synthetics_test_options_scheduling.rb +31 -2
  91. data/lib/datadog_api_client/v1/models/synthetics_test_options_scheduling_timeframe.rb +32 -6
  92. data/lib/datadog_api_client/v1/models/{synthetics_mobile_test_binding_items.rb → synthetics_test_restriction_policy_binding.rb} +11 -11
  93. data/lib/datadog_api_client/v1/models/{synthetics_mobile_test_binding_items_role.rb → synthetics_test_restriction_policy_binding_relation.rb} +2 -2
  94. data/lib/datadog_api_client/v1/models/toplist_widget_stacked.rb +1 -12
  95. data/lib/datadog_api_client/v1/models/usage_summary_date.rb +21 -1
  96. data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +21 -1
  97. data/lib/datadog_api_client/v1/models/usage_summary_response.rb +21 -1
  98. data/lib/datadog_api_client/v2/api/cloud_cost_management_api.rb +3 -69
  99. data/lib/datadog_api_client/v2/api/domain_allowlist_api.rb +153 -0
  100. data/lib/datadog_api_client/v2/api/incidents_api.rb +361 -0
  101. data/lib/datadog_api_client/v2/api/metrics_api.rb +1 -13
  102. data/lib/datadog_api_client/v2/api/microsoft_teams_integration_api.rb +98 -161
  103. data/lib/datadog_api_client/v2/api/rum_metrics_api.rb +357 -0
  104. data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +3 -0
  105. data/lib/datadog_api_client/v2/api/software_catalog_api.rb +19 -19
  106. data/lib/datadog_api_client/v2/api/teams_api.rb +1 -0
  107. data/lib/datadog_api_client/v2/api/usage_metering_api.rb +79 -10
  108. data/lib/datadog_api_client/v2/models/billing_dimensions_mapping_body_item.rb +125 -0
  109. data/lib/datadog_api_client/v2/models/billing_dimensions_mapping_body_item_attributes.rb +127 -0
  110. data/lib/datadog_api_client/v2/models/billing_dimensions_mapping_body_item_attributes_endpoints_items.rb +127 -0
  111. data/lib/datadog_api_client/v2/models/billing_dimensions_mapping_body_item_attributes_endpoints_items_status.rb +27 -0
  112. data/lib/datadog_api_client/v2/models/billing_dimensions_mapping_response.rb +107 -0
  113. data/lib/datadog_api_client/v2/models/cloudflare_account_create_request_attributes.rb +1 -1
  114. data/lib/datadog_api_client/v2/models/cloudflare_account_response_attributes.rb +1 -1
  115. data/lib/datadog_api_client/v2/models/cloudflare_account_update_request_attributes.rb +1 -1
  116. data/lib/datadog_api_client/v2/models/domain_allowlist.rb +151 -0
  117. data/lib/datadog_api_client/v2/models/{aws_related_account_attributes.rb → domain_allowlist_attributes.rb} +20 -18
  118. data/lib/datadog_api_client/v2/models/domain_allowlist_request.rb +123 -0
  119. data/lib/datadog_api_client/{v1/models/synthetics_mobile_test_binding.rb → v2/models/domain_allowlist_response.rb} +13 -13
  120. data/lib/datadog_api_client/v2/models/domain_allowlist_response_data.rb +151 -0
  121. data/lib/datadog_api_client/v2/models/domain_allowlist_response_data_attributes.rb +117 -0
  122. data/lib/datadog_api_client/v2/models/{microsoft_teams_api_handle_type.rb → domain_allowlist_type.rb} +3 -3
  123. data/lib/datadog_api_client/v2/models/entity_attributes.rb +1 -1
  124. data/lib/datadog_api_client/v2/models/entity_data.rb +1 -1
  125. data/lib/datadog_api_client/v2/models/entity_response_included_incident.rb +1 -1
  126. data/lib/datadog_api_client/v2/models/entity_response_included_raw_schema.rb +1 -1
  127. data/lib/datadog_api_client/v2/models/entity_response_included_related_oncall_attributes.rb +1 -1
  128. data/lib/datadog_api_client/v2/models/entity_response_included_related_oncall_escalation_item.rb +1 -1
  129. data/lib/datadog_api_client/v2/models/entity_response_included_schema.rb +1 -1
  130. data/lib/datadog_api_client/v2/models/entity_v3_api_version.rb +1 -1
  131. data/lib/datadog_api_client/v2/models/entity_v3_datadog_code_location_item.rb +3 -3
  132. data/lib/datadog_api_client/v2/models/entity_v3_datadog_event_item.rb +2 -2
  133. data/lib/datadog_api_client/v2/models/entity_v3_datadog_integration_opsgenie.rb +2 -2
  134. data/lib/datadog_api_client/v2/models/entity_v3_datadog_integration_pagerduty.rb +2 -2
  135. data/lib/datadog_api_client/v2/models/entity_v3_datadog_log_item.rb +3 -3
  136. data/lib/datadog_api_client/v2/models/entity_v3_datadog_performance.rb +2 -2
  137. data/lib/datadog_api_client/v2/models/entity_v3_datadog_pipelines.rb +2 -2
  138. data/lib/datadog_api_client/v2/models/entity_v3_datastore.rb +4 -4
  139. data/lib/datadog_api_client/v2/models/entity_v3_datastore_datadog.rb +4 -4
  140. data/lib/datadog_api_client/v2/models/entity_v3_datastore_spec.rb +2 -2
  141. data/lib/datadog_api_client/v2/models/entity_v3_integrations.rb +3 -3
  142. data/lib/datadog_api_client/v2/models/entity_v3_metadata.rb +9 -9
  143. data/lib/datadog_api_client/v2/models/entity_v3_metadata_additional_owners_items.rb +2 -2
  144. data/lib/datadog_api_client/v2/models/entity_v3_metadata_contacts_items.rb +2 -2
  145. data/lib/datadog_api_client/v2/models/entity_v3_metadata_links_items.rb +2 -2
  146. data/lib/datadog_api_client/v2/models/entity_v3_metadata_owner.rb +2 -2
  147. data/lib/datadog_api_client/v2/models/entity_v3_queue.rb +5 -5
  148. data/lib/datadog_api_client/v2/models/entity_v3_queue_datadog.rb +4 -4
  149. data/lib/datadog_api_client/v2/models/entity_v3_queue_spec.rb +2 -2
  150. data/lib/datadog_api_client/v2/models/entity_v3_service.rb +5 -5
  151. data/lib/datadog_api_client/v2/models/entity_v3_service_datadog.rb +6 -6
  152. data/lib/datadog_api_client/v2/models/entity_v3_service_spec.rb +3 -3
  153. data/lib/datadog_api_client/v2/models/entity_v3_system.rb +5 -5
  154. data/lib/datadog_api_client/v2/models/entity_v3_system_datadog.rb +5 -5
  155. data/lib/datadog_api_client/v2/models/finding_attributes.rb +14 -4
  156. data/lib/datadog_api_client/v2/models/finding_vulnerability_type.rb +29 -0
  157. data/lib/datadog_api_client/v2/models/gcp_metric_namespace_config.rb +115 -0
  158. data/lib/datadog_api_client/v2/models/gcpsts_service_account_attributes.rb +23 -1
  159. data/lib/datadog_api_client/v2/models/incident_create_attributes.rb +11 -1
  160. data/lib/datadog_api_client/v2/models/incident_integration_metadata_metadata.rb +2 -1
  161. data/lib/datadog_api_client/v2/models/incident_response_attributes.rb +11 -1
  162. data/lib/datadog_api_client/v2/models/incident_response_included_item.rb +1 -1
  163. data/lib/datadog_api_client/v2/models/incident_type_attributes.rb +193 -0
  164. data/lib/datadog_api_client/v2/models/{microsoft_teams_api_handle_request_data.rb → incident_type_create_data.rb} +7 -7
  165. data/lib/datadog_api_client/v2/models/{microsoft_teams_create_api_handle_request.rb → incident_type_create_request.rb} +5 -5
  166. data/lib/datadog_api_client/v2/models/{microsoft_teams_api_handles_response.rb → incident_type_list_response.rb} +5 -5
  167. data/lib/datadog_api_client/v2/models/{aws_related_account.rb → incident_type_object.rb} +8 -8
  168. data/lib/datadog_api_client/v2/models/incident_type_patch_data.rb +165 -0
  169. data/lib/datadog_api_client/v2/models/{microsoft_teams_create_api_handle_response.rb → incident_type_patch_request.rb} +5 -5
  170. data/lib/datadog_api_client/v2/models/{microsoft_teams_update_api_handle_request.rb → incident_type_response.rb} +5 -5
  171. data/lib/datadog_api_client/v2/models/{aws_related_account_type.rb → incident_type_type.rb} +3 -3
  172. data/lib/datadog_api_client/v2/models/incident_type_update_attributes.rb +175 -0
  173. data/lib/datadog_api_client/v2/models/incident_user_attributes.rb +153 -0
  174. data/lib/datadog_api_client/v2/models/incident_user_data.rb +125 -0
  175. data/lib/datadog_api_client/v2/models/include_type.rb +1 -1
  176. data/lib/datadog_api_client/v2/models/list_entity_catalog_response_links.rb +3 -3
  177. data/lib/datadog_api_client/v2/models/microsoft_teams_create_tenant_based_handle_request.rb +123 -0
  178. data/lib/datadog_api_client/v2/models/{microsoft_teams_api_handle_attributes.rb → microsoft_teams_tenant_based_handle_attributes.rb} +4 -4
  179. 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
  180. 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
  181. data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_info_type.rb +26 -0
  182. data/lib/datadog_api_client/v2/models/{microsoft_teams_api_handle_request_attributes.rb → microsoft_teams_tenant_based_handle_request_attributes.rb} +4 -4
  183. 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
  184. data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_response.rb +123 -0
  185. 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
  186. data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_type.rb +26 -0
  187. data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handles_response.rb +125 -0
  188. data/lib/datadog_api_client/v2/models/microsoft_teams_update_tenant_based_handle_request.rb +123 -0
  189. data/lib/datadog_api_client/v2/models/microsoft_teams_update_tenant_based_handle_request_data.rb +144 -0
  190. data/lib/datadog_api_client/v2/models/ms_teams_integration_metadata.rb +125 -0
  191. data/lib/datadog_api_client/v2/models/ms_teams_integration_metadata_teams_item.rb +186 -0
  192. data/lib/datadog_api_client/v2/models/relation_type.rb +1 -1
  193. data/lib/datadog_api_client/v2/models/relationship_item.rb +1 -1
  194. data/lib/datadog_api_client/v2/models/rum_metric_compute.rb +145 -0
  195. data/lib/datadog_api_client/v2/models/rum_metric_compute_aggregation_type.rb +27 -0
  196. data/lib/datadog_api_client/v2/models/rum_metric_create_attributes.rb +176 -0
  197. data/lib/datadog_api_client/v2/models/rum_metric_create_data.rb +165 -0
  198. data/lib/datadog_api_client/v2/models/rum_metric_create_request.rb +123 -0
  199. data/lib/datadog_api_client/v2/models/rum_metric_event_type.rb +32 -0
  200. data/lib/datadog_api_client/v2/models/rum_metric_filter.rb +123 -0
  201. data/lib/datadog_api_client/v2/models/rum_metric_group_by.rb +133 -0
  202. data/lib/datadog_api_client/v2/models/{microsoft_teams_api_handle_info_response.rb → rum_metric_response.rb} +5 -5
  203. data/lib/datadog_api_client/v2/models/rum_metric_response_attributes.rb +147 -0
  204. data/lib/datadog_api_client/v2/models/rum_metric_response_compute.rb +127 -0
  205. data/lib/datadog_api_client/v2/models/rum_metric_response_data.rb +125 -0
  206. 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
  207. data/lib/datadog_api_client/v2/models/rum_metric_response_group_by.rb +115 -0
  208. data/lib/datadog_api_client/v2/models/rum_metric_response_uniqueness.rb +105 -0
  209. data/lib/datadog_api_client/v2/models/{microsoft_teams_api_handle_info_type.rb → rum_metric_type.rb} +3 -3
  210. data/lib/datadog_api_client/v2/models/rum_metric_uniqueness.rb +123 -0
  211. data/lib/datadog_api_client/v2/models/rum_metric_uniqueness_when.rb +27 -0
  212. data/lib/datadog_api_client/v2/models/rum_metric_update_attributes.rb +127 -0
  213. data/lib/datadog_api_client/v2/models/rum_metric_update_compute.rb +106 -0
  214. data/lib/datadog_api_client/v2/models/rum_metric_update_data.rb +154 -0
  215. data/lib/datadog_api_client/v2/models/rum_metric_update_request.rb +123 -0
  216. data/lib/datadog_api_client/v2/models/{aws_related_accounts_response.rb → rum_metrics_response.rb} +5 -5
  217. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_included_keyword_configuration.rb +15 -4
  218. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_meta.rb +2 -2
  219. data/lib/datadog_api_client/v2/models/upsert_catalog_entity_request.rb +1 -1
  220. data/lib/datadog_api_client/version.rb +1 -1
  221. metadata +110 -43
  222. data/examples/v2/cloud-cost-management/ListAWSRelatedAccounts.rb +0 -5
  223. data/examples/v2/microsoft-teams-integration/CreateApiHandle.rb +0 -17
  224. data/examples/v2/microsoft-teams-integration/DeleteApiHandle.rb +0 -5
  225. data/examples/v2/microsoft-teams-integration/DeleteApiHandle_377884154.rb +0 -8
  226. data/examples/v2/microsoft-teams-integration/GetApiHandle.rb +0 -5
  227. data/examples/v2/microsoft-teams-integration/GetApiHandleByName.rb +0 -5
  228. data/examples/v2/microsoft-teams-integration/GetApiHandleByName_1103107145.rb +0 -8
  229. data/examples/v2/microsoft-teams-integration/GetApiHandle_2883785101.rb +0 -8
  230. data/examples/v2/microsoft-teams-integration/UpdateApiHandle.rb +0 -17
  231. data/examples/v2/microsoft-teams-integration/UpdateApiHandle_419892746.rb +0 -18
  232. data/lib/datadog_api_client/v1/models/synthetics_mobile_device_id.rb +0 -251
  233. 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 url for the Opsgenie integration.
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
- # An PagerDuty integration schema
20
+ # A PagerDuty integration schema.
21
21
  class EntityV3DatadogIntegrationPagerduty
22
22
  include BaseGenericModel
23
23
 
24
- # The service url for the PagerDuty integration.
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
- # log association item.
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 party integrations
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 party integrations
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
- # An PagerDuty integration schema
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,10 +21,10 @@ module DatadogAPIClient::V2
21
21
  class EntityV3MetadataContactsItems
22
22
  include BaseGenericModel
23
23
 
24
- # Contact value
24
+ # Contact value.
25
25
  attr_reader :contact
26
26
 
27
- # Contact name
27
+ # Contact name.
28
28
  attr_reader :name
29
29
 
30
30
  # Contact type.
@@ -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 url
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 side metadata. No Datadog features are affected by this field.
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 party integrations
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 side metadata. No Datadog features are affected by this field.
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 party integrations
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 side metadata. No Datadog features are affected by this field.
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 party integrations
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