datadog_api_client 2.37.0 → 2.39.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) hide show
  1. checksums.yaml +4 -4
  2. data/.generated-info +4 -0
  3. data/.generator/schemas/v1/openapi.yaml +513 -14
  4. data/.generator/schemas/v2/openapi.yaml +2101 -107
  5. data/.github/workflows/approved_status.yml +1 -0
  6. data/.github/workflows/test.yml +1 -1
  7. data/CHANGELOG.md +36 -0
  8. data/examples/v1/dashboards/CreateDashboard_1751391372.rb +41 -0
  9. data/examples/v1/dashboards/CreatePublicDashboard_1668947073.rb +28 -0
  10. data/examples/v1/dashboards/UpdatePublicDashboard_1708268778.rb +27 -0
  11. data/examples/v1/logs-pipelines/CreateLogsPipeline_1248402480.rb +25 -0
  12. data/examples/v1/logs-pipelines/CreateLogsPipeline_1267211320.rb +27 -0
  13. data/examples/v1/logs-pipelines/CreateLogsPipeline_1271012410.rb +25 -0
  14. data/examples/v1/logs-pipelines/CreateLogsPipeline_3314493032.rb +26 -0
  15. data/examples/v1/logs-pipelines/CreateLogsPipeline_3934594739.rb +26 -0
  16. data/examples/v1/synthetics/SearchTests.rb +5 -0
  17. data/examples/v1/synthetics/SearchTests_195957771.rb +13 -0
  18. data/examples/v2/action-connection/GetAppKeyRegistration.rb +5 -0
  19. data/examples/v2/action-connection/ListAppKeyRegistrations.rb +5 -0
  20. data/examples/v2/action-connection/RegisterAppKey.rb +5 -0
  21. data/examples/v2/action-connection/UnregisterAppKey.rb +5 -0
  22. data/examples/v2/aws-integration/GetAWSIntegrationIAMPermissions.rb +5 -0
  23. data/examples/v2/cloud-cost-management/CreateCostGCPUsageCostConfig.rb +19 -0
  24. data/examples/v2/cloud-cost-management/DeleteCostGCPUsageCostConfig.rb +5 -0
  25. data/examples/v2/cloud-cost-management/ListCostGCPUsageCostConfigs.rb +5 -0
  26. data/examples/v2/cloud-cost-management/UpdateCostGCPUsageCostConfig.rb +14 -0
  27. data/examples/v2/datasets/CreateDataset.rb +27 -0
  28. data/examples/v2/datasets/DeleteDataset.rb +5 -0
  29. data/examples/v2/datasets/GetAllDatasets.rb +5 -0
  30. data/examples/v2/datasets/GetDataset.rb +5 -0
  31. data/examples/v2/events/CreateEvent.rb +4 -2
  32. data/examples/v2/monitors/CreateMonitorNotificationRule.rb +0 -3
  33. data/examples/v2/monitors/CreateMonitorUserTemplate.rb +37 -0
  34. data/examples/v2/monitors/DeleteMonitorNotificationRule.rb +0 -3
  35. data/examples/v2/monitors/DeleteMonitorUserTemplate.rb +8 -0
  36. data/examples/v2/monitors/GetMonitorNotificationRule.rb +0 -3
  37. data/examples/v2/monitors/GetMonitorNotificationRules.rb +0 -3
  38. data/examples/v2/monitors/GetMonitorUserTemplate.rb +11 -0
  39. data/examples/v2/monitors/ListMonitorUserTemplates.rb +8 -0
  40. data/examples/v2/monitors/UpdateMonitorNotificationRule.rb +0 -3
  41. data/examples/v2/monitors/UpdateMonitorUserTemplate.rb +41 -0
  42. data/examples/v2/monitors/ValidateExistingMonitorUserTemplate.rb +41 -0
  43. data/examples/v2/monitors/ValidateMonitorUserTemplate.rb +37 -0
  44. data/examples/v2/on-call/UpdateOnCallSchedule.rb +1 -1
  45. data/examples/v2/security-monitoring/ListAssetsSBOMs.rb +12 -0
  46. data/lib/datadog_api_client/configuration.rb +60 -5
  47. data/lib/datadog_api_client/inflector.rb +70 -0
  48. data/lib/datadog_api_client/v1/api/hosts_api.rb +1 -0
  49. data/lib/datadog_api_client/v1/api/synthetics_api.rb +72 -0
  50. data/lib/datadog_api_client/v1/api/usage_metering_api.rb +6 -6
  51. data/lib/datadog_api_client/v1/models/dashboard_template_variable.rb +14 -3
  52. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_body.rb +1 -0
  53. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +9 -1
  54. data/lib/datadog_api_client/v1/models/logs_array_processor.rb +168 -0
  55. data/lib/datadog_api_client/v1/models/logs_array_processor_operation.rb +64 -0
  56. data/lib/datadog_api_client/v1/models/logs_array_processor_operation_append.rb +175 -0
  57. data/lib/datadog_api_client/v1/models/logs_array_processor_operation_append_type.rb +26 -0
  58. data/lib/datadog_api_client/v1/models/logs_array_processor_operation_length.rb +165 -0
  59. data/lib/datadog_api_client/v1/models/logs_array_processor_operation_length_type.rb +26 -0
  60. data/lib/datadog_api_client/v1/models/logs_array_processor_operation_select.rb +207 -0
  61. data/lib/datadog_api_client/v1/models/logs_array_processor_operation_select_type.rb +26 -0
  62. data/lib/datadog_api_client/v1/models/logs_array_processor_type.rb +26 -0
  63. data/lib/datadog_api_client/v1/models/logs_processor.rb +2 -1
  64. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_body.rb +1 -0
  65. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +14 -0
  66. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +142 -1
  67. data/lib/datadog_api_client/v1/models/selectable_template_variable_items.rb +12 -1
  68. data/lib/datadog_api_client/v1/models/synthetics_mobile_test.rb +12 -1
  69. data/lib/datadog_api_client/v1/models/synthetics_step_type.rb +1 -0
  70. data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +1 -1
  71. data/lib/datadog_api_client/v1/models/synthetics_test_request_dns_server_port.rb +63 -0
  72. data/lib/datadog_api_client/v1/models/usage_summary_date.rb +81 -1
  73. data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +81 -1
  74. data/lib/datadog_api_client/v1/models/usage_summary_response.rb +81 -1
  75. data/lib/datadog_api_client/v2/api/action_connection_api.rb +263 -4
  76. data/lib/datadog_api_client/v2/api/app_builder_api.rb +8 -8
  77. data/lib/datadog_api_client/v2/api/aws_integration_api.rb +60 -0
  78. data/lib/datadog_api_client/v2/api/cloud_cost_management_api.rb +264 -0
  79. data/lib/datadog_api_client/v2/api/datasets_api.rb +283 -0
  80. data/lib/datadog_api_client/v2/api/events_api.rb +10 -4
  81. data/lib/datadog_api_client/v2/api/monitors_api.rb +512 -30
  82. data/lib/datadog_api_client/v2/api/restriction_policies_api.rb +7 -3
  83. data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +111 -0
  84. data/lib/datadog_api_client/v2/api/usage_metering_api.rb +1 -1
  85. data/lib/datadog_api_client/v2/api/workflow_automation_api.rb +8 -8
  86. data/lib/datadog_api_client/v2/models/alert_event_custom_attributes.rb +145 -0
  87. data/lib/datadog_api_client/v2/models/alert_event_custom_attributes_links_items.rb +152 -0
  88. data/lib/datadog_api_client/v2/models/alert_event_custom_attributes_links_items_category.rb +28 -0
  89. data/lib/datadog_api_client/v2/models/alert_event_custom_attributes_priority.rb +30 -0
  90. data/lib/datadog_api_client/v2/models/alert_event_custom_attributes_status.rb +28 -0
  91. data/lib/datadog_api_client/v2/models/app_key_registration_data.rb +133 -0
  92. data/lib/datadog_api_client/v2/models/app_key_registration_data_type.rb +26 -0
  93. data/lib/datadog_api_client/v2/models/asset_attributes.rb +13 -1
  94. data/lib/datadog_api_client/v2/models/aws_integration_iam_permissions_response.rb +123 -0
  95. data/lib/datadog_api_client/v2/models/aws_integration_iam_permissions_response_attributes.rb +125 -0
  96. data/lib/datadog_api_client/v2/models/aws_integration_iam_permissions_response_data.rb +125 -0
  97. data/lib/datadog_api_client/v2/models/aws_integration_iam_permissions_response_data_type.rb +26 -0
  98. data/lib/datadog_api_client/v2/models/change_event_custom_attributes.rb +19 -33
  99. data/lib/datadog_api_client/v2/models/change_event_custom_attributes_author.rb +10 -31
  100. data/lib/datadog_api_client/v2/models/change_event_custom_attributes_changed_resource.rb +15 -32
  101. data/lib/datadog_api_client/v2/models/change_event_custom_attributes_changed_resource_type.rb +1 -1
  102. data/lib/datadog_api_client/v2/models/change_event_custom_attributes_impacted_resources_items.rb +15 -32
  103. data/lib/datadog_api_client/v2/models/change_event_custom_attributes_impacted_resources_items_type.rb +1 -1
  104. data/lib/datadog_api_client/v2/models/dataset.rb +154 -0
  105. data/lib/datadog_api_client/v2/models/dataset_attributes.rb +197 -0
  106. data/lib/datadog_api_client/v2/models/dataset_create_request.rb +123 -0
  107. data/lib/datadog_api_client/v2/models/dataset_response_multi.rb +125 -0
  108. data/lib/datadog_api_client/v2/models/dataset_response_single.rb +123 -0
  109. data/lib/datadog_api_client/v2/models/event_category.rb +2 -1
  110. data/lib/datadog_api_client/v2/models/event_create_request.rb +32 -3
  111. data/lib/datadog_api_client/v2/models/event_create_request_payload.rb +20 -2
  112. data/lib/datadog_api_client/v2/models/event_create_response.rb +3 -3
  113. data/lib/datadog_api_client/v2/models/event_create_response_attributes.rb +2 -2
  114. data/lib/datadog_api_client/v2/models/event_create_response_attributes_attributes.rb +1 -1
  115. data/lib/datadog_api_client/v2/models/event_create_response_attributes_attributes_evt.rb +14 -4
  116. data/lib/datadog_api_client/v2/models/event_create_response_payload.rb +15 -5
  117. data/lib/datadog_api_client/v2/models/event_create_response_payload_links.rb +105 -0
  118. data/lib/datadog_api_client/v2/models/event_payload.rb +48 -36
  119. data/lib/datadog_api_client/v2/models/event_payload_attributes.rb +3 -2
  120. data/lib/datadog_api_client/v2/models/event_payload_integration_id.rb +26 -0
  121. data/lib/datadog_api_client/v2/models/filters_per_product.rb +150 -0
  122. data/lib/datadog_api_client/v2/models/gcp_usage_cost_config.rb +154 -0
  123. data/lib/datadog_api_client/v2/models/gcp_usage_cost_config_attributes.rb +369 -0
  124. data/lib/datadog_api_client/v2/models/gcp_usage_cost_config_patch_data.rb +144 -0
  125. data/lib/datadog_api_client/v2/models/gcp_usage_cost_config_patch_request.rb +123 -0
  126. data/lib/datadog_api_client/v2/models/gcp_usage_cost_config_patch_request_attributes.rb +123 -0
  127. data/lib/datadog_api_client/v2/models/gcp_usage_cost_config_patch_request_type.rb +26 -0
  128. data/lib/datadog_api_client/v2/models/gcp_usage_cost_config_post_data.rb +144 -0
  129. data/lib/datadog_api_client/v2/models/gcp_usage_cost_config_post_request.rb +123 -0
  130. data/lib/datadog_api_client/v2/models/gcp_usage_cost_config_post_request_attributes.rb +217 -0
  131. data/lib/datadog_api_client/v2/models/gcp_usage_cost_config_post_request_type.rb +26 -0
  132. data/lib/datadog_api_client/v2/models/gcp_usage_cost_config_response.rb +105 -0
  133. data/lib/datadog_api_client/v2/models/gcp_usage_cost_config_type.rb +26 -0
  134. data/lib/datadog_api_client/v2/models/gcp_usage_cost_configs_response.rb +107 -0
  135. data/lib/datadog_api_client/v2/models/get_app_key_registration_response.rb +105 -0
  136. data/lib/datadog_api_client/v2/models/incident_create_attributes.rb +11 -1
  137. data/lib/datadog_api_client/v2/models/incident_response_attributes.rb +11 -1
  138. data/lib/datadog_api_client/v2/models/job_definition_from_rule.rb +1 -26
  139. data/lib/datadog_api_client/v2/models/layer_attributes.rb +1 -1
  140. data/lib/datadog_api_client/v2/models/layer_attributes_interval.rb +1 -1
  141. data/lib/datadog_api_client/v2/models/list_app_key_registrations_response.rb +117 -0
  142. data/lib/datadog_api_client/v2/models/list_app_key_registrations_response_meta.rb +115 -0
  143. data/lib/datadog_api_client/v2/models/list_assets_sbo_ms_response.rb +145 -0
  144. data/lib/datadog_api_client/v2/models/monitor_user_template.rb +200 -0
  145. data/lib/datadog_api_client/v2/models/monitor_user_template_create_data.rb +144 -0
  146. data/lib/datadog_api_client/v2/models/monitor_user_template_create_request.rb +123 -0
  147. data/lib/datadog_api_client/v2/models/monitor_user_template_create_response.rb +105 -0
  148. data/lib/datadog_api_client/v2/models/monitor_user_template_list_response.rb +107 -0
  149. data/lib/datadog_api_client/v2/models/monitor_user_template_request_attributes.rb +172 -0
  150. data/lib/datadog_api_client/v2/models/monitor_user_template_resource_type.rb +26 -0
  151. data/lib/datadog_api_client/v2/models/monitor_user_template_response.rb +105 -0
  152. data/lib/datadog_api_client/v2/models/monitor_user_template_response_attributes.rb +188 -0
  153. data/lib/datadog_api_client/v2/models/monitor_user_template_response_data.rb +125 -0
  154. data/lib/datadog_api_client/v2/models/monitor_user_template_response_data_with_versions.rb +125 -0
  155. data/lib/datadog_api_client/v2/models/monitor_user_template_template_variables_items.rb +132 -0
  156. data/lib/datadog_api_client/v2/models/monitor_user_template_update_data.rb +165 -0
  157. data/lib/datadog_api_client/v2/models/monitor_user_template_update_request.rb +123 -0
  158. data/lib/datadog_api_client/v2/models/register_app_key_response.rb +105 -0
  159. data/lib/datadog_api_client/v2/models/sbom_attributes.rb +24 -1
  160. data/lib/datadog_api_client/v2/models/sbom_component.rb +46 -1
  161. data/lib/datadog_api_client/v2/models/sbom_component_dependency.rb +117 -0
  162. data/lib/datadog_api_client/v2/models/sbom_component_license.rb +123 -0
  163. data/lib/datadog_api_client/v2/models/sbom_component_license_license.rb +123 -0
  164. data/lib/datadog_api_client/v2/models/sbom_component_license_type.rb +33 -0
  165. data/lib/datadog_api_client/v2/models/sbom_component_property.rb +144 -0
  166. data/lib/datadog_api_client/v2/models/sbom_component_supplier.rb +123 -0
  167. data/lib/datadog_api_client/v2/models/sbom_metadata.rb +25 -3
  168. data/lib/datadog_api_client/v2/models/sbom_metadata_author.rb +105 -0
  169. data/lib/datadog_api_client/v2/models/schedule_create_request_data_attributes_layers_items.rb +1 -1
  170. data/lib/datadog_api_client/v2/models/schedule_update_request_data_attributes_layers_items.rb +1 -1
  171. data/lib/datadog_api_client/v2/models/simple_monitor_user_template.rb +188 -0
  172. data/lib/datadog_api_client/v2/models/vulnerability_attributes.rb +24 -1
  173. data/lib/datadog_api_client/version.rb +1 -1
  174. metadata +103 -2
  175. data/.apigentools-info +0 -16
@@ -2344,6 +2344,111 @@ module DatadogAPIClient::V2
2344
2344
  return data, status_code, headers
2345
2345
  end
2346
2346
 
2347
+ # List assets SBOMs.
2348
+ #
2349
+ # @see #list_assets_sbo_ms_with_http_info
2350
+ def list_assets_sbo_ms(opts = {})
2351
+ data, _status_code, _headers = list_assets_sbo_ms_with_http_info(opts)
2352
+ data
2353
+ end
2354
+
2355
+ # List assets SBOMs.
2356
+ #
2357
+ # Get a list of assets SBOMs for an organization.
2358
+ #
2359
+ # ### Pagination
2360
+ #
2361
+ # Please review the [Pagination section](#pagination) for the "List Vulnerabilities" endpoint.
2362
+ #
2363
+ # ### Filtering
2364
+ #
2365
+ # Please review the [Filtering section](#filtering) for the "List Vulnerabilities" endpoint.
2366
+ #
2367
+ # ### Metadata
2368
+ #
2369
+ # Please review the [Metadata section](#metadata) for the "List Vulnerabilities" endpoint.
2370
+ #
2371
+ # @param opts [Hash] the optional parameters
2372
+ # @option opts [String] :page_token Its value must come from the `links` section of the response of the first request. Do not manually edit it.
2373
+ # @option opts [Integer] :page_number The page number to be retrieved. It should be equal to or greater than 1.
2374
+ # @option opts [AssetType] :filter_asset_type The type of the assets for the SBOM request.
2375
+ # @option opts [String] :filter_asset_name The name of the asset for the SBOM request.
2376
+ # @option opts [String] :filter_package_name The name of the component that is a dependency of an asset.
2377
+ # @option opts [String] :filter_package_version The version of the component that is a dependency of an asset.
2378
+ # @option opts [String] :filter_license_name The software license name of the component that is a dependency of an asset.
2379
+ # @option opts [SBOMComponentLicenseType] :filter_license_type The software license type of the component that is a dependency of an asset.
2380
+ # @return [Array<(ListAssetsSBOMsResponse, Integer, Hash)>] ListAssetsSBOMsResponse data, response status code and response headers
2381
+ def list_assets_sbo_ms_with_http_info(opts = {})
2382
+ unstable_enabled = @api_client.config.unstable_operations["v2.list_assets_sbo_ms".to_sym]
2383
+ if unstable_enabled
2384
+ @api_client.config.logger.warn format("Using unstable operation '%s'", "v2.list_assets_sbo_ms")
2385
+ else
2386
+ raise DatadogAPIClient::APIError.new(message: format("Unstable operation '%s' is disabled", "v2.list_assets_sbo_ms"))
2387
+ end
2388
+
2389
+ if @api_client.config.debugging
2390
+ @api_client.config.logger.debug 'Calling API: SecurityMonitoringAPI.list_assets_sbo_ms ...'
2391
+ end
2392
+ if @api_client.config.client_side_validation && !opts[:'page_number'].nil? && opts[:'page_number'] < 1
2393
+ fail ArgumentError, 'invalid value for "opts[:"page_number"]" when calling SecurityMonitoringAPI.list_assets_sbo_ms, must be greater than or equal to 1.'
2394
+ end
2395
+ allowable_values = ['Repository', 'Service', 'Host', 'HostImage', 'Image']
2396
+ if @api_client.config.client_side_validation && opts[:'filter_asset_type'] && !allowable_values.include?(opts[:'filter_asset_type'])
2397
+ fail ArgumentError, "invalid value for \"filter_asset_type\", must be one of #{allowable_values}"
2398
+ end
2399
+ allowable_values = ['network_strong_copyleft', 'non_standard_copyleft', 'other_non_free', 'other_non_standard', 'permissive', 'public_domain', 'strong_copyleft', 'weak_copyleft']
2400
+ if @api_client.config.client_side_validation && opts[:'filter_license_type'] && !allowable_values.include?(opts[:'filter_license_type'])
2401
+ fail ArgumentError, "invalid value for \"filter_license_type\", must be one of #{allowable_values}"
2402
+ end
2403
+ # resource path
2404
+ local_var_path = '/api/v2/security/sboms'
2405
+
2406
+ # query parameters
2407
+ query_params = opts[:query_params] || {}
2408
+ query_params[:'page[token]'] = opts[:'page_token'] if !opts[:'page_token'].nil?
2409
+ query_params[:'page[number]'] = opts[:'page_number'] if !opts[:'page_number'].nil?
2410
+ query_params[:'filter[asset_type]'] = opts[:'filter_asset_type'] if !opts[:'filter_asset_type'].nil?
2411
+ query_params[:'filter[asset_name]'] = opts[:'filter_asset_name'] if !opts[:'filter_asset_name'].nil?
2412
+ query_params[:'filter[package_name]'] = opts[:'filter_package_name'] if !opts[:'filter_package_name'].nil?
2413
+ query_params[:'filter[package_version]'] = opts[:'filter_package_version'] if !opts[:'filter_package_version'].nil?
2414
+ query_params[:'filter[license_name]'] = opts[:'filter_license_name'] if !opts[:'filter_license_name'].nil?
2415
+ query_params[:'filter[license_type]'] = opts[:'filter_license_type'] if !opts[:'filter_license_type'].nil?
2416
+
2417
+ # header parameters
2418
+ header_params = opts[:header_params] || {}
2419
+ # HTTP header 'Accept' (if needed)
2420
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2421
+
2422
+ # form parameters
2423
+ form_params = opts[:form_params] || {}
2424
+
2425
+ # http body (model)
2426
+ post_body = opts[:debug_body]
2427
+
2428
+ # return_type
2429
+ return_type = opts[:debug_return_type] || 'ListAssetsSBOMsResponse'
2430
+
2431
+ # auth_names
2432
+ auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
2433
+
2434
+ new_options = opts.merge(
2435
+ :operation => :list_assets_sbo_ms,
2436
+ :header_params => header_params,
2437
+ :query_params => query_params,
2438
+ :form_params => form_params,
2439
+ :body => post_body,
2440
+ :auth_names => auth_names,
2441
+ :return_type => return_type,
2442
+ :api_version => "V2"
2443
+ )
2444
+
2445
+ data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
2446
+ if @api_client.config.debugging
2447
+ @api_client.config.logger.debug "API called: SecurityMonitoringAPI#list_assets_sbo_ms\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2448
+ end
2449
+ return data, status_code, headers
2450
+ end
2451
+
2347
2452
  # List findings.
2348
2453
  #
2349
2454
  # @see #list_findings_with_http_info
@@ -2999,6 +3104,7 @@ module DatadogAPIClient::V2
2999
3104
  # @option opts [String] :filter_code_location_method Filter by method.
3000
3105
  # @option opts [Boolean] :filter_fix_available Filter by fix availability.
3001
3106
  # @option opts [String] :filter_repo_digests Filter by vulnerability `repo_digest` (when the vulnerability is related to `Image` asset).
3107
+ # @option opts [String] :filter_origin Filter by origin.
3002
3108
  # @option opts [String] :filter_asset_name Filter by asset name.
3003
3109
  # @option opts [AssetType] :filter_asset_type Filter by asset type.
3004
3110
  # @option opts [String] :filter_asset_version_first Filter by the first version of the asset this vulnerability has been detected on.
@@ -3010,6 +3116,7 @@ module DatadogAPIClient::V2
3010
3116
  # @option opts [Boolean] :filter_asset_risks_has_privileged_access Filter whether the asset is publicly accessible or not.
3011
3117
  # @option opts [Boolean] :filter_asset_risks_has_access_to_sensitive_data Filter whether the asset has access to sensitive data or not.
3012
3118
  # @option opts [String] :filter_asset_environments Filter by asset environments.
3119
+ # @option opts [String] :filter_asset_teams Filter by asset teams.
3013
3120
  # @option opts [String] :filter_asset_arch Filter by asset architecture.
3014
3121
  # @option opts [String] :filter_asset_operating_system_name Filter by asset operating system name.
3015
3122
  # @option opts [String] :filter_asset_operating_system_version Filter by asset operating system version.
@@ -3109,6 +3216,7 @@ module DatadogAPIClient::V2
3109
3216
  query_params[:'filter[code_location.method]'] = opts[:'filter_code_location_method'] if !opts[:'filter_code_location_method'].nil?
3110
3217
  query_params[:'filter[fix_available]'] = opts[:'filter_fix_available'] if !opts[:'filter_fix_available'].nil?
3111
3218
  query_params[:'filter[repo_digests]'] = opts[:'filter_repo_digests'] if !opts[:'filter_repo_digests'].nil?
3219
+ query_params[:'filter[origin]'] = opts[:'filter_origin'] if !opts[:'filter_origin'].nil?
3112
3220
  query_params[:'filter[asset.name]'] = opts[:'filter_asset_name'] if !opts[:'filter_asset_name'].nil?
3113
3221
  query_params[:'filter[asset.type]'] = opts[:'filter_asset_type'] if !opts[:'filter_asset_type'].nil?
3114
3222
  query_params[:'filter[asset.version.first]'] = opts[:'filter_asset_version_first'] if !opts[:'filter_asset_version_first'].nil?
@@ -3120,6 +3228,7 @@ module DatadogAPIClient::V2
3120
3228
  query_params[:'filter[asset.risks.has_privileged_access]'] = opts[:'filter_asset_risks_has_privileged_access'] if !opts[:'filter_asset_risks_has_privileged_access'].nil?
3121
3229
  query_params[:'filter[asset.risks.has_access_to_sensitive_data]'] = opts[:'filter_asset_risks_has_access_to_sensitive_data'] if !opts[:'filter_asset_risks_has_access_to_sensitive_data'].nil?
3122
3230
  query_params[:'filter[asset.environments]'] = opts[:'filter_asset_environments'] if !opts[:'filter_asset_environments'].nil?
3231
+ query_params[:'filter[asset.teams]'] = opts[:'filter_asset_teams'] if !opts[:'filter_asset_teams'].nil?
3123
3232
  query_params[:'filter[asset.arch]'] = opts[:'filter_asset_arch'] if !opts[:'filter_asset_arch'].nil?
3124
3233
  query_params[:'filter[asset.operating_system.name]'] = opts[:'filter_asset_operating_system_name'] if !opts[:'filter_asset_operating_system_name'].nil?
3125
3234
  query_params[:'filter[asset.operating_system.version]'] = opts[:'filter_asset_operating_system_version'] if !opts[:'filter_asset_operating_system_version'].nil?
@@ -3198,6 +3307,7 @@ module DatadogAPIClient::V2
3198
3307
  # @option opts [Boolean] :filter_risks_has_privileged_access Filter whether the asset (Host) has privileged access or not.
3199
3308
  # @option opts [Boolean] :filter_risks_has_access_to_sensitive_data Filter whether the asset (Host) has access to sensitive data or not.
3200
3309
  # @option opts [String] :filter_environments Filter by environment.
3310
+ # @option opts [String] :filter_teams Filter by teams.
3201
3311
  # @option opts [String] :filter_arch Filter by architecture.
3202
3312
  # @option opts [String] :filter_operating_system_name Filter by operating system name.
3203
3313
  # @option opts [String] :filter_operating_system_version Filter by operating system version.
@@ -3238,6 +3348,7 @@ module DatadogAPIClient::V2
3238
3348
  query_params[:'filter[risks.has_privileged_access]'] = opts[:'filter_risks_has_privileged_access'] if !opts[:'filter_risks_has_privileged_access'].nil?
3239
3349
  query_params[:'filter[risks.has_access_to_sensitive_data]'] = opts[:'filter_risks_has_access_to_sensitive_data'] if !opts[:'filter_risks_has_access_to_sensitive_data'].nil?
3240
3350
  query_params[:'filter[environments]'] = opts[:'filter_environments'] if !opts[:'filter_environments'].nil?
3351
+ query_params[:'filter[teams]'] = opts[:'filter_teams'] if !opts[:'filter_teams'].nil?
3241
3352
  query_params[:'filter[arch]'] = opts[:'filter_arch'] if !opts[:'filter_arch'].nil?
3242
3353
  query_params[:'filter[operating_system.name]'] = opts[:'filter_operating_system_name'] if !opts[:'filter_operating_system_name'].nil?
3243
3354
  query_params[:'filter[operating_system.version]'] = opts[:'filter_operating_system_version'] if !opts[:'filter_operating_system_version'].nil?
@@ -392,7 +392,7 @@ module DatadogAPIClient::V2
392
392
  # Get hourly usage by product family.
393
393
  #
394
394
  # @param filter_timestamp_start [Time] Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage beginning at this hour.
395
- # @param filter_product_families [String] Comma separated list of product families to retrieve. Available families are `all`, `analyzed_logs`, `application_security`, `audit_trail`, `serverless`, `ci_app`, `cloud_cost_management`, `cloud_siem`, `csm_container_enterprise`, `csm_host_enterprise`, `cspm`, `custom_events`, `cws`, `dbm`, `error_tracking`, `fargate`, `infra_hosts`, `incident_management`, `indexed_logs`, `indexed_spans`, `ingested_spans`, `iot`, `lambda_traced_invocations`, `logs`, `network_flows`, `network_hosts`, `network_monitoring`, `observability_pipelines`, `online_archive`, `profiling`, `rum`, `rum_browser_sessions`, `rum_mobile_sessions`, `sds`, `snmp`, `software_delivery`, `synthetics_api`, `synthetics_browser`, `synthetics_mobile`, `synthetics_parallel_testing`, `timeseries`, `vuln_management`, and `workflow_executions`. The following product family has been **deprecated**: `audit_logs`.
395
+ # @param filter_product_families [String] Comma separated list of product families to retrieve. Available families are `all`, `analyzed_logs`, `application_security`, `audit_trail`, `serverless`, `ci_app`, `cloud_cost_management`, `cloud_siem`, `csm_container_enterprise`, `csm_host_enterprise`, `cspm`, `custom_events`, `cws`, `dbm`, `error_tracking`, `fargate`, `infra_hosts`, `incident_management`, `indexed_logs`, `indexed_spans`, `ingested_spans`, `iot`, `lambda_traced_invocations`, `llm_observability`, `logs`, `network_flows`, `network_hosts`, `network_monitoring`, `observability_pipelines`, `online_archive`, `profiling`, `product_analytics`, `rum`, `rum_browser_sessions`, `rum_mobile_sessions`, `sds`, `snmp`, `software_delivery`, `synthetics_api`, `synthetics_browser`, `synthetics_mobile`, `synthetics_parallel_testing`, `timeseries`, `vuln_management` and `workflow_executions`. The following product family has been **deprecated**: `audit_logs`.
396
396
  # @param opts [Hash] the optional parameters
397
397
  # @option opts [Time] :filter_timestamp_end Datetime in ISO-8601 format, UTC, precise to hour: [YYYY-MM-DDThh] for usage ending **before** this hour.
398
398
  # @option opts [Boolean] :filter_include_descendants Include child org usage in the response. Defaults to false.
@@ -33,7 +33,7 @@ module DatadogAPIClient::V2
33
33
 
34
34
  # Cancel a workflow instance.
35
35
  #
36
- # Cancels a specific execution of a given workflow. This API requires an application key scoped with the workflows_run permission.
36
+ # Cancels a specific execution of a given workflow. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
37
37
  #
38
38
  # @param workflow_id [String] The ID of the workflow.
39
39
  # @param instance_id [String] The ID of the workflow instance.
@@ -103,7 +103,7 @@ module DatadogAPIClient::V2
103
103
 
104
104
  # Create a Workflow.
105
105
  #
106
- # Create a new workflow, returning the workflow ID. This API requires an application key scoped with the `workflows_write` permission.
106
+ # Create a new workflow, returning the workflow ID. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
107
107
  #
108
108
  # @param body [CreateWorkflowRequest]
109
109
  # @param opts [Hash] the optional parameters
@@ -170,7 +170,7 @@ module DatadogAPIClient::V2
170
170
 
171
171
  # Execute a workflow.
172
172
  #
173
- # Execute the given workflow. This API requires an application key scoped with the workflows_run permission.
173
+ # Execute the given workflow. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
174
174
  #
175
175
  # @param workflow_id [String] The ID of the workflow.
176
176
  # @param body [WorkflowInstanceCreateRequest]
@@ -242,7 +242,7 @@ module DatadogAPIClient::V2
242
242
 
243
243
  # Delete an existing Workflow.
244
244
  #
245
- # Delete a workflow by ID. This API requires an application key scoped with the `workflows_write` permission.
245
+ # Delete a workflow by ID. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
246
246
  #
247
247
  # @param workflow_id [String] The ID of the workflow.
248
248
  # @param opts [Hash] the optional parameters
@@ -307,7 +307,7 @@ module DatadogAPIClient::V2
307
307
 
308
308
  # Get an existing Workflow.
309
309
  #
310
- # Get a workflow by ID. This API requires an application key scoped with the `workflows_read` permission.
310
+ # Get a workflow by ID. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
311
311
  #
312
312
  # @param workflow_id [String] The ID of the workflow.
313
313
  # @param opts [Hash] the optional parameters
@@ -372,7 +372,7 @@ module DatadogAPIClient::V2
372
372
 
373
373
  # Get a workflow instance.
374
374
  #
375
- # Get a specific execution of a given workflow. This API requires an application key scoped with the workflows_read permission.
375
+ # Get a specific execution of a given workflow. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
376
376
  #
377
377
  # @param workflow_id [String] The ID of the workflow.
378
378
  # @param instance_id [String] The ID of the workflow instance.
@@ -442,7 +442,7 @@ module DatadogAPIClient::V2
442
442
 
443
443
  # List workflow instances.
444
444
  #
445
- # List all instances of a given workflow. This API requires an application key scoped with the workflows_read permission.
445
+ # List all instances of a given workflow. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
446
446
  #
447
447
  # @param workflow_id [String] The ID of the workflow.
448
448
  # @param opts [Hash] the optional parameters
@@ -511,7 +511,7 @@ module DatadogAPIClient::V2
511
511
 
512
512
  # Update an existing Workflow.
513
513
  #
514
- # Update a workflow by ID. This API requires an application key scoped with the `workflows_write` permission.
514
+ # Update a workflow by ID. This API requires a [registered application key](https://docs.datadoghq.com/api/latest/action-connection/#register-a-new-app-key).
515
515
  #
516
516
  # @param workflow_id [String] The ID of the workflow.
517
517
  # @param body [UpdateWorkflowRequest]
@@ -0,0 +1,145 @@
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
+ # Alert event attributes.
21
+ class AlertEventCustomAttributes
22
+ include BaseGenericModel
23
+
24
+ # Free form JSON object for arbitrary data. Supports up to 100 properties per object and a maximum nesting depth of 10 levels.
25
+ attr_accessor :custom
26
+
27
+ # The links related to the event. Maximum of 20 links allowed.
28
+ attr_reader :links
29
+
30
+ # The priority of the alert.
31
+ attr_accessor :priority
32
+
33
+ # The status of the alert.
34
+ attr_reader :status
35
+
36
+ # Attribute mapping from ruby-style variable name to JSON key.
37
+ # @!visibility private
38
+ def self.attribute_map
39
+ {
40
+ :'custom' => :'custom',
41
+ :'links' => :'links',
42
+ :'priority' => :'priority',
43
+ :'status' => :'status'
44
+ }
45
+ end
46
+
47
+ # Attribute type mapping.
48
+ # @!visibility private
49
+ def self.openapi_types
50
+ {
51
+ :'custom' => :'Hash<String, Object>',
52
+ :'links' => :'Array<AlertEventCustomAttributesLinksItems>',
53
+ :'priority' => :'AlertEventCustomAttributesPriority',
54
+ :'status' => :'AlertEventCustomAttributesStatus'
55
+ }
56
+ end
57
+
58
+ # Initializes the object
59
+ # @param attributes [Hash] Model attributes in the form of hash
60
+ # @!visibility private
61
+ def initialize(attributes = {})
62
+ if (!attributes.is_a?(Hash))
63
+ fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::AlertEventCustomAttributes` initialize method"
64
+ end
65
+
66
+ # check to see if the attribute exists and convert string to symbol for hash key
67
+ attributes = attributes.each_with_object({}) { |(k, v), h|
68
+ if (!self.class.attribute_map.key?(k.to_sym))
69
+ fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V2::AlertEventCustomAttributes`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
70
+ end
71
+ h[k.to_sym] = v
72
+ }
73
+
74
+ if attributes.key?(:'custom')
75
+ self.custom = attributes[:'custom']
76
+ end
77
+
78
+ if attributes.key?(:'links')
79
+ if (value = attributes[:'links']).is_a?(Array)
80
+ self.links = value
81
+ end
82
+ end
83
+
84
+ if attributes.key?(:'priority')
85
+ self.priority = attributes[:'priority']
86
+ end
87
+
88
+ if attributes.key?(:'status')
89
+ self.status = attributes[:'status']
90
+ end
91
+ end
92
+
93
+ # Check to see if the all the properties in the model are valid
94
+ # @return true if the model is valid
95
+ # @!visibility private
96
+ def valid?
97
+ return false if !@links.nil? && @links.length > 20
98
+ return false if !@links.nil? && @links.length < 1
99
+ return false if @status.nil?
100
+ true
101
+ end
102
+
103
+ # Custom attribute writer method with validation
104
+ # @param links [Object] Object to be assigned
105
+ # @!visibility private
106
+ def links=(links)
107
+ if !links.nil? && links.length > 20
108
+ fail ArgumentError, 'invalid value for "links", number of items must be less than or equal to 20.'
109
+ end
110
+ if !links.nil? && links.length < 1
111
+ fail ArgumentError, 'invalid value for "links", number of items must be greater than or equal to 1.'
112
+ end
113
+ @links = links
114
+ end
115
+
116
+ # Custom attribute writer method with validation
117
+ # @param status [Object] Object to be assigned
118
+ # @!visibility private
119
+ def status=(status)
120
+ if status.nil?
121
+ fail ArgumentError, 'invalid value for "status", status cannot be nil.'
122
+ end
123
+ @status = status
124
+ end
125
+
126
+ # Checks equality by comparing each attribute.
127
+ # @param o [Object] Object to be compared
128
+ # @!visibility private
129
+ def ==(o)
130
+ return true if self.equal?(o)
131
+ self.class == o.class &&
132
+ custom == o.custom &&
133
+ links == o.links &&
134
+ priority == o.priority &&
135
+ status == o.status
136
+ end
137
+
138
+ # Calculates hash code according to all attributes.
139
+ # @return [Integer] Hash code
140
+ # @!visibility private
141
+ def hash
142
+ [custom, links, priority, status].hash
143
+ end
144
+ end
145
+ end
@@ -0,0 +1,152 @@
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
+ # A link.
21
+ class AlertEventCustomAttributesLinksItems
22
+ include BaseGenericModel
23
+
24
+ # The category of the link.
25
+ attr_reader :category
26
+
27
+ # The display text of the link. Limited to 300 characters.
28
+ attr_reader :title
29
+
30
+ # The URL of the link. Limited to 2048 characters.
31
+ attr_reader :url
32
+
33
+ # Attribute mapping from ruby-style variable name to JSON key.
34
+ # @!visibility private
35
+ def self.attribute_map
36
+ {
37
+ :'category' => :'category',
38
+ :'title' => :'title',
39
+ :'url' => :'url'
40
+ }
41
+ end
42
+
43
+ # Attribute type mapping.
44
+ # @!visibility private
45
+ def self.openapi_types
46
+ {
47
+ :'category' => :'AlertEventCustomAttributesLinksItemsCategory',
48
+ :'title' => :'String',
49
+ :'url' => :'String'
50
+ }
51
+ end
52
+
53
+ # Initializes the object
54
+ # @param attributes [Hash] Model attributes in the form of hash
55
+ # @!visibility private
56
+ def initialize(attributes = {})
57
+ if (!attributes.is_a?(Hash))
58
+ fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::AlertEventCustomAttributesLinksItems` initialize method"
59
+ end
60
+
61
+ # check to see if the attribute exists and convert string to symbol for hash key
62
+ attributes = attributes.each_with_object({}) { |(k, v), h|
63
+ if (!self.class.attribute_map.key?(k.to_sym))
64
+ fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V2::AlertEventCustomAttributesLinksItems`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
65
+ end
66
+ h[k.to_sym] = v
67
+ }
68
+
69
+ if attributes.key?(:'category')
70
+ self.category = attributes[:'category']
71
+ end
72
+
73
+ if attributes.key?(:'title')
74
+ self.title = attributes[:'title']
75
+ end
76
+
77
+ if attributes.key?(:'url')
78
+ self.url = attributes[:'url']
79
+ end
80
+ end
81
+
82
+ # Check to see if the all the properties in the model are valid
83
+ # @return true if the model is valid
84
+ # @!visibility private
85
+ def valid?
86
+ return false if @category.nil?
87
+ return false if !@title.nil? && @title.to_s.length > 300
88
+ return false if !@title.nil? && @title.to_s.length < 1
89
+ return false if @url.nil?
90
+ return false if @url.to_s.length > 2048
91
+ return false if @url.to_s.length < 1
92
+ true
93
+ end
94
+
95
+ # Custom attribute writer method with validation
96
+ # @param category [Object] Object to be assigned
97
+ # @!visibility private
98
+ def category=(category)
99
+ if category.nil?
100
+ fail ArgumentError, 'invalid value for "category", category cannot be nil.'
101
+ end
102
+ @category = category
103
+ end
104
+
105
+ # Custom attribute writer method with validation
106
+ # @param title [Object] Object to be assigned
107
+ # @!visibility private
108
+ def title=(title)
109
+ if !title.nil? && title.to_s.length > 300
110
+ fail ArgumentError, 'invalid value for "title", the character length must be smaller than or equal to 300.'
111
+ end
112
+ if !title.nil? && title.to_s.length < 1
113
+ fail ArgumentError, 'invalid value for "title", the character length must be great than or equal to 1.'
114
+ end
115
+ @title = title
116
+ end
117
+
118
+ # Custom attribute writer method with validation
119
+ # @param url [Object] Object to be assigned
120
+ # @!visibility private
121
+ def url=(url)
122
+ if url.nil?
123
+ fail ArgumentError, 'invalid value for "url", url cannot be nil.'
124
+ end
125
+ if url.to_s.length > 2048
126
+ fail ArgumentError, 'invalid value for "url", the character length must be smaller than or equal to 2048.'
127
+ end
128
+ if url.to_s.length < 1
129
+ fail ArgumentError, 'invalid value for "url", the character length must be great than or equal to 1.'
130
+ end
131
+ @url = url
132
+ end
133
+
134
+ # Checks equality by comparing each attribute.
135
+ # @param o [Object] Object to be compared
136
+ # @!visibility private
137
+ def ==(o)
138
+ return true if self.equal?(o)
139
+ self.class == o.class &&
140
+ category == o.category &&
141
+ title == o.title &&
142
+ url == o.url
143
+ end
144
+
145
+ # Calculates hash code according to all attributes.
146
+ # @return [Integer] Hash code
147
+ # @!visibility private
148
+ def hash
149
+ [category, title, url].hash
150
+ end
151
+ end
152
+ end
@@ -0,0 +1,28 @@
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 category of the link.
21
+ class AlertEventCustomAttributesLinksItemsCategory
22
+ include BaseEnumModel
23
+
24
+ RUNBOOK = "runbook".freeze
25
+ DOCUMENTATION = "documentation".freeze
26
+ DASHBOARD = "dashboard".freeze
27
+ end
28
+ end
@@ -0,0 +1,30 @@
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 priority of the alert.
21
+ class AlertEventCustomAttributesPriority
22
+ include BaseEnumModel
23
+
24
+ PRIORITY_ONE = "1".freeze
25
+ PRIORITY_TWO = "2".freeze
26
+ PRIORITY_THREE = "3".freeze
27
+ PRIORITY_FOUR = "4".freeze
28
+ PRIORITY_FIVE = "5".freeze
29
+ end
30
+ end
@@ -0,0 +1,28 @@
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 status of the alert.
21
+ class AlertEventCustomAttributesStatus
22
+ include BaseEnumModel
23
+
24
+ WARN = "warn".freeze
25
+ ERROR = "error".freeze
26
+ OK = "ok".freeze
27
+ end
28
+ end