datadog_api_client 2.7.0 → 2.9.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 (109) hide show
  1. checksums.yaml +4 -4
  2. data/.apigentools-info +4 -4
  3. data/.generator/schemas/v1/openapi.yaml +195 -46
  4. data/.generator/schemas/v2/openapi.yaml +877 -96
  5. data/.generator/src/generator/formatter.py +1 -0
  6. data/.generator/src/generator/templates/model_base.j2 +8 -4
  7. data/CHANGELOG.md +39 -0
  8. data/examples/v1/dashboards/CreateDashboard_109450134.rb +44 -0
  9. data/examples/v1/dashboards/CreateDashboard_2800096921.rb +62 -0
  10. data/examples/v1/dashboards/CreateDashboard_3195475781.rb +32 -0
  11. data/examples/v1/service-level-objectives/SearchSLO.rb +0 -3
  12. data/examples/v2/incidents/CreateIncidentIntegration.rb +31 -0
  13. data/examples/v2/incidents/DeleteIncidentIntegration.rb +14 -0
  14. data/examples/v2/incidents/GetIncidentIntegration.rb +14 -0
  15. data/examples/v2/incidents/ListIncidentIntegrations.rb +11 -0
  16. data/examples/v2/incidents/UpdateIncidentIntegration.rb +34 -0
  17. data/examples/v2/ip-allowlist/GetIPAllowlist.rb +5 -0
  18. data/examples/v2/ip-allowlist/UpdateIPAllowlist.rb +25 -0
  19. data/examples/v2/logs-metrics/CreateLogsMetric.rb +1 -1
  20. data/examples/v2/restriction-policies/DeleteRestrictionPolicy.rb +5 -0
  21. data/examples/v2/restriction-policies/GetRestrictionPolicy.rb +5 -0
  22. data/examples/v2/restriction-policies/UpdateRestrictionPolicy.rb +25 -0
  23. data/examples/v2/synthetics/GetOnDemandConcurrencyCap.rb +5 -0
  24. data/examples/v2/synthetics/GetOnDemandConcurrencyCap_2633566918.rb +5 -0
  25. data/examples/v2/synthetics/SetOnDemandConcurrencyCap.rb +7 -0
  26. data/examples/v2/synthetics/SetOnDemandConcurrencyCap_2850884405.rb +9 -0
  27. data/lib/datadog_api_client/configuration.rb +5 -1
  28. data/lib/datadog_api_client/inflector.rb +38 -0
  29. data/lib/datadog_api_client/v1/api/service_level_objectives_api.rb +0 -6
  30. data/lib/datadog_api_client/v1/api/snapshots_api.rb +2 -2
  31. data/lib/datadog_api_client/v1/api/usage_metering_api.rb +3 -3
  32. data/lib/datadog_api_client/v1/model_base.rb +7 -3
  33. data/lib/datadog_api_client/v1/models/application_key.rb +16 -16
  34. data/lib/datadog_api_client/v1/models/cancel_downtimes_by_scope_request.rb +1 -1
  35. data/lib/datadog_api_client/v1/models/downtime.rb +1 -1
  36. data/lib/datadog_api_client/v1/models/downtime_child.rb +1 -1
  37. data/lib/datadog_api_client/v1/models/formula_and_function_events_data_source.rb +1 -0
  38. data/lib/datadog_api_client/v1/models/host_meta.rb +3 -3
  39. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +1 -0
  40. data/lib/datadog_api_client/v1/models/ip_prefixes_orchestrator.rb +105 -0
  41. data/lib/datadog_api_client/v1/models/ip_ranges.rb +11 -1
  42. data/lib/datadog_api_client/v1/models/list_stream_source.rb +3 -0
  43. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +2 -0
  44. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +31 -11
  45. data/lib/datadog_api_client/v1/models/search_service_level_objective_attributes.rb +11 -1
  46. data/lib/datadog_api_client/v1/models/slo_list_widget_query.rb +16 -4
  47. data/lib/datadog_api_client/v1/models/slo_overall_statuses.rb +24 -1
  48. data/lib/datadog_api_client/v1/models/slo_state.rb +29 -0
  49. data/lib/datadog_api_client/v1/models/slo_status.rb +164 -0
  50. data/lib/datadog_api_client/v1/models/usage_attribution_values.rb +10 -10
  51. data/lib/datadog_api_client/v1/models/usage_rum_sessions_hour.rb +12 -1
  52. data/lib/datadog_api_client/v1/models/usage_summary_date.rb +41 -1
  53. data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +41 -1
  54. data/lib/datadog_api_client/v1/models/usage_summary_response.rb +41 -1
  55. data/lib/datadog_api_client/v2/api/ci_visibility_pipelines_api.rb +3 -3
  56. data/lib/datadog_api_client/v2/api/ci_visibility_tests_api.rb +3 -3
  57. data/lib/datadog_api_client/v2/api/incidents_api.rb +384 -0
  58. data/lib/datadog_api_client/v2/api/ip_allowlist_api.rb +153 -0
  59. data/lib/datadog_api_client/v2/api/logs_api.rb +1 -0
  60. data/lib/datadog_api_client/v2/api/metrics_api.rb +2 -2
  61. data/lib/datadog_api_client/v2/api/monitors_api.rb +3 -3
  62. data/lib/datadog_api_client/v2/api/restriction_policies_api.rb +236 -0
  63. data/lib/datadog_api_client/v2/api/synthetics_api.rb +153 -0
  64. data/lib/datadog_api_client/v2/api/usage_metering_api.rb +1 -1
  65. data/lib/datadog_api_client/v2/model_base.rb +7 -3
  66. data/lib/datadog_api_client/v2/models/events_data_source.rb +1 -0
  67. data/lib/datadog_api_client/v2/models/incident_integration_metadata_attributes.rb +161 -0
  68. data/lib/datadog_api_client/v2/models/incident_integration_metadata_create_data.rb +123 -0
  69. data/lib/datadog_api_client/v2/models/incident_integration_metadata_create_request.rb +102 -0
  70. data/lib/datadog_api_client/v2/models/incident_integration_metadata_list_response.rb +126 -0
  71. data/lib/datadog_api_client/v2/models/incident_integration_metadata_metadata.rb +63 -0
  72. data/lib/datadog_api_client/v2/models/incident_integration_metadata_patch_data.rb +123 -0
  73. data/lib/datadog_api_client/v2/models/incident_integration_metadata_patch_request.rb +102 -0
  74. data/lib/datadog_api_client/v2/models/incident_integration_metadata_response.rb +114 -0
  75. data/lib/datadog_api_client/v2/models/incident_integration_metadata_response_data.rb +133 -0
  76. data/lib/datadog_api_client/v2/models/incident_integration_metadata_response_included_item.rb +62 -0
  77. data/lib/datadog_api_client/v2/models/incident_update_data.rb +1 -1
  78. data/lib/datadog_api_client/v2/models/ip_allowlist_attributes.rb +103 -0
  79. data/lib/datadog_api_client/v2/models/ip_allowlist_data.rb +122 -0
  80. data/lib/datadog_api_client/v2/models/ip_allowlist_entry.rb +102 -0
  81. data/lib/datadog_api_client/v2/models/ip_allowlist_entry_attributes.rb +121 -0
  82. data/lib/datadog_api_client/v2/models/ip_allowlist_entry_data.rb +122 -0
  83. data/lib/datadog_api_client/v2/models/ip_allowlist_entry_type.rb +26 -0
  84. data/lib/datadog_api_client/v2/models/ip_allowlist_response.rb +91 -0
  85. data/lib/datadog_api_client/v2/models/ip_allowlist_type.rb +26 -0
  86. data/lib/datadog_api_client/v2/models/ip_allowlist_update_request.rb +102 -0
  87. data/lib/datadog_api_client/v2/models/jira_integration_metadata.rb +104 -0
  88. data/lib/datadog_api_client/v2/models/jira_integration_metadata_issues_item.rb +153 -0
  89. data/lib/datadog_api_client/v2/models/metrics_aggregator.rb +4 -0
  90. data/lib/datadog_api_client/v2/models/metrics_data_source.rb +2 -1
  91. data/lib/datadog_api_client/v2/models/metrics_scalar_query.rb +1 -1
  92. data/lib/datadog_api_client/v2/models/metrics_timeseries_query.rb +1 -1
  93. data/lib/datadog_api_client/v2/models/on_demand_concurrency_cap.rb +91 -0
  94. data/lib/datadog_api_client/v2/models/on_demand_concurrency_cap_attributes.rb +91 -0
  95. data/lib/datadog_api_client/v2/models/on_demand_concurrency_cap_response.rb +91 -0
  96. data/lib/datadog_api_client/v2/models/relationship_to_incident_integration_metadatas.rb +1 -1
  97. data/lib/datadog_api_client/v2/models/restriction_policy.rb +144 -0
  98. data/lib/datadog_api_client/v2/models/restriction_policy_attributes.rb +104 -0
  99. data/lib/datadog_api_client/v2/models/restriction_policy_binding.rb +127 -0
  100. data/lib/datadog_api_client/v2/models/restriction_policy_response.rb +102 -0
  101. data/lib/datadog_api_client/v2/models/restriction_policy_type.rb +26 -0
  102. data/lib/datadog_api_client/v2/models/restriction_policy_update_request.rb +102 -0
  103. data/lib/datadog_api_client/v2/models/rum_application_attributes.rb +7 -7
  104. data/lib/datadog_api_client/v2/models/rum_application_list_attributes.rb +7 -7
  105. data/lib/datadog_api_client/v2/models/security_monitoring_rule_type_read.rb +1 -0
  106. data/lib/datadog_api_client/v2/models/slack_integration_metadata.rb +104 -0
  107. data/lib/datadog_api_client/v2/models/slack_integration_metadata_channel_item.rb +154 -0
  108. data/lib/datadog_api_client/version.rb +1 -1
  109. metadata +57 -2
@@ -211,6 +211,13 @@ components:
211
211
  items:
212
212
  $ref: '#/components/schemas/IncidentRelatedObject'
213
213
  type: array
214
+ IncidentIntegrationMetadataIDPathParameter:
215
+ description: The UUID of the incident integration metadata.
216
+ in: path
217
+ name: integration_metadata_id
218
+ required: true
219
+ schema:
220
+ type: string
214
221
  IncidentSearchIncludeQueryParameter:
215
222
  description: Specifies which types of related objects should be included in
216
223
  the response.
@@ -347,6 +354,15 @@ components:
347
354
  example: 10
348
355
  format: int64
349
356
  type: integer
357
+ ResourceID:
358
+ description: 'Identifier, formatted as `type:id`. Supported types: `connection`,
359
+ `dashboard`, `notebook`, `security-rule`, `slo`.'
360
+ example: dashboard:abc-def-ghi
361
+ in: path
362
+ name: resource_id
363
+ required: true
364
+ schema:
365
+ type: string
350
366
  RoleID:
351
367
  description: The unique identifier of the role.
352
368
  in: path
@@ -2850,6 +2866,8 @@ components:
2850
2866
  type: string
2851
2867
  values:
2852
2868
  description: The array of numerical values for one formula or query.
2869
+ example:
2870
+ - 0.5
2853
2871
  items:
2854
2872
  description: An individual value for a given column and group-by.
2855
2873
  example: 0.5
@@ -3094,10 +3112,12 @@ components:
3094
3112
  description: A data source that is powered by the Events Platform.
3095
3113
  enum:
3096
3114
  - logs
3115
+ - rum
3097
3116
  example: logs
3098
3117
  type: string
3099
3118
  x-enum-varnames:
3100
3119
  - LOGS
3120
+ - RUM
3101
3121
  EventsGroupBy:
3102
3122
  description: A dimension on which to split a query's results.
3103
3123
  properties:
@@ -3274,6 +3294,8 @@ components:
3274
3294
  $ref: '#/components/schemas/EventsQueryGroupBys'
3275
3295
  indexes:
3276
3296
  description: The indexes in which to search.
3297
+ example:
3298
+ - main
3277
3299
  items:
3278
3300
  description: The unique index name.
3279
3301
  example: main
@@ -3325,6 +3347,8 @@ components:
3325
3347
  $ref: '#/components/schemas/EventsQueryGroupBys'
3326
3348
  indexes:
3327
3349
  description: The indexes in which to search.
3350
+ example:
3351
+ - main
3328
3352
  items:
3329
3353
  description: The unique index name.
3330
3354
  example: main
@@ -3670,6 +3694,9 @@ components:
3670
3694
  values:
3671
3695
  description: The array of tag values for each group found for the results
3672
3696
  of the formulas or queries.
3697
+ example:
3698
+ - - production
3699
+ - - staging
3673
3700
  items:
3674
3701
  description: An individual tag value for a given group column.
3675
3702
  items:
@@ -3683,6 +3710,7 @@ components:
3683
3710
  description: List of tags that apply to a single response value.
3684
3711
  items:
3685
3712
  description: A single tag that applies to a single response value.
3713
+ example: env:production
3686
3714
  type: string
3687
3715
  type: array
3688
3716
  HTTPLog:
@@ -3852,6 +3880,104 @@ components:
3852
3880
  - APP_SEC_HOST_COUNT
3853
3881
  - OBSERVABILITY_PIPELINES_BYTES_PROCESSSED
3854
3882
  - LAMBDA_TRACED_INVOCATIONS_COUNT
3883
+ IPAllowlistAttributes:
3884
+ description: Attributes of the IP allowlist.
3885
+ properties:
3886
+ enabled:
3887
+ description: Whether the IP allowlist logic is enabled or not.
3888
+ type: boolean
3889
+ entries:
3890
+ description: Array of entries in the IP allowlist.
3891
+ items:
3892
+ $ref: '#/components/schemas/IPAllowlistEntry'
3893
+ type: array
3894
+ type: object
3895
+ IPAllowlistData:
3896
+ description: IP allowlist data.
3897
+ properties:
3898
+ attributes:
3899
+ $ref: '#/components/schemas/IPAllowlistAttributes'
3900
+ id:
3901
+ description: The unique identifier of the org.
3902
+ type: string
3903
+ type:
3904
+ $ref: '#/components/schemas/IPAllowlistType'
3905
+ required:
3906
+ - type
3907
+ type: object
3908
+ IPAllowlistEntry:
3909
+ description: IP allowlist entry object.
3910
+ properties:
3911
+ data:
3912
+ $ref: '#/components/schemas/IPAllowlistEntryData'
3913
+ required:
3914
+ - data
3915
+ type: object
3916
+ IPAllowlistEntryAttributes:
3917
+ description: Attributes of the IP allowlist entry.
3918
+ properties:
3919
+ cidr_block:
3920
+ description: The CIDR block describing the IP range of the entry.
3921
+ type: string
3922
+ created_at:
3923
+ description: Creation time of the entry.
3924
+ format: date-time
3925
+ readOnly: true
3926
+ type: string
3927
+ modified_at:
3928
+ description: Time of last entry modification.
3929
+ format: date-time
3930
+ readOnly: true
3931
+ type: string
3932
+ note:
3933
+ description: A note describing the IP allowlist entry.
3934
+ type: string
3935
+ type: object
3936
+ IPAllowlistEntryData:
3937
+ description: Data of the IP allowlist entry object.
3938
+ properties:
3939
+ attributes:
3940
+ $ref: '#/components/schemas/IPAllowlistEntryAttributes'
3941
+ id:
3942
+ description: The unique identifier of the IP allowlist entry.
3943
+ type: string
3944
+ type:
3945
+ $ref: '#/components/schemas/IPAllowlistEntryType'
3946
+ required:
3947
+ - type
3948
+ type: object
3949
+ IPAllowlistEntryType:
3950
+ default: ip_allowlist_entry
3951
+ description: IP allowlist Entry type.
3952
+ enum:
3953
+ - ip_allowlist_entry
3954
+ example: ip_allowlist_entry
3955
+ type: string
3956
+ x-enum-varnames:
3957
+ - IP_ALLOWLIST_ENTRY
3958
+ IPAllowlistResponse:
3959
+ description: Response containing information about the IP allowlist.
3960
+ properties:
3961
+ data:
3962
+ $ref: '#/components/schemas/IPAllowlistData'
3963
+ type: object
3964
+ IPAllowlistType:
3965
+ default: ip_allowlist
3966
+ description: IP allowlist type.
3967
+ enum:
3968
+ - ip_allowlist
3969
+ example: ip_allowlist
3970
+ type: string
3971
+ x-enum-varnames:
3972
+ - IP_ALLOWLIST
3973
+ IPAllowlistUpdateRequest:
3974
+ description: Update the IP allowlist.
3975
+ properties:
3976
+ data:
3977
+ $ref: '#/components/schemas/IPAllowlistData'
3978
+ required:
3979
+ - data
3980
+ type: object
3855
3981
  IdPMetadataFormData:
3856
3982
  description: The form data submitted to upload IdP metadata
3857
3983
  properties:
@@ -4228,6 +4354,137 @@ components:
4228
4354
  - TEXTARRAY
4229
4355
  - METRICTAG
4230
4356
  - AUTOCOMPLETE
4357
+ IncidentIntegrationMetadataAttributes:
4358
+ description: Incident integration metadata's attributes for a create request.
4359
+ properties:
4360
+ incident_id:
4361
+ description: UUID of the incident this integration metadata is connected
4362
+ to.
4363
+ example: 00000000-aaaa-0000-0000-000000000000
4364
+ type: string
4365
+ integration_type:
4366
+ description: 'A number indicating the type of integration this metadata
4367
+ is for. 1 indicates Slack;
4368
+
4369
+ 8 indicates Jira.'
4370
+ example: 1
4371
+ format: int32
4372
+ maximum: 9
4373
+ type: integer
4374
+ metadata:
4375
+ $ref: '#/components/schemas/IncidentIntegrationMetadataMetadata'
4376
+ status:
4377
+ description: 'A number indicating the status of this integration metadata.
4378
+ 0 indicates unknown;
4379
+
4380
+ 1 indicates pending; 2 indicates complete; 3 indicates manually created;
4381
+
4382
+ 4 indicates manually updated; 5 indicates failed.'
4383
+ format: int32
4384
+ maximum: 5
4385
+ type: integer
4386
+ required:
4387
+ - integration_type
4388
+ - metadata
4389
+ type: object
4390
+ IncidentIntegrationMetadataCreateData:
4391
+ description: Incident integration metadata data for a create request.
4392
+ properties:
4393
+ attributes:
4394
+ $ref: '#/components/schemas/IncidentIntegrationMetadataAttributes'
4395
+ type:
4396
+ $ref: '#/components/schemas/IncidentIntegrationMetadataType'
4397
+ required:
4398
+ - type
4399
+ - attributes
4400
+ type: object
4401
+ IncidentIntegrationMetadataCreateRequest:
4402
+ description: Create request for an incident integration metadata.
4403
+ properties:
4404
+ data:
4405
+ $ref: '#/components/schemas/IncidentIntegrationMetadataCreateData'
4406
+ required:
4407
+ - data
4408
+ type: object
4409
+ IncidentIntegrationMetadataListResponse:
4410
+ description: Response with a list of incident integration metadata.
4411
+ properties:
4412
+ data:
4413
+ description: An array of incident integration metadata.
4414
+ items:
4415
+ $ref: '#/components/schemas/IncidentIntegrationMetadataResponseData'
4416
+ type: array
4417
+ included:
4418
+ description: Included related resources that the user requested.
4419
+ items:
4420
+ $ref: '#/components/schemas/IncidentIntegrationMetadataResponseIncludedItem'
4421
+ readOnly: true
4422
+ type: array
4423
+ meta:
4424
+ $ref: '#/components/schemas/IncidentResponseMeta'
4425
+ required:
4426
+ - data
4427
+ type: object
4428
+ IncidentIntegrationMetadataMetadata:
4429
+ description: Incident integration metadata's metadata attribute.
4430
+ oneOf:
4431
+ - $ref: '#/components/schemas/SlackIntegrationMetadata'
4432
+ - $ref: '#/components/schemas/JiraIntegrationMetadata'
4433
+ type: object
4434
+ IncidentIntegrationMetadataPatchData:
4435
+ description: Incident integration metadata data for a patch request.
4436
+ properties:
4437
+ attributes:
4438
+ $ref: '#/components/schemas/IncidentIntegrationMetadataAttributes'
4439
+ type:
4440
+ $ref: '#/components/schemas/IncidentIntegrationMetadataType'
4441
+ required:
4442
+ - type
4443
+ - attributes
4444
+ type: object
4445
+ IncidentIntegrationMetadataPatchRequest:
4446
+ description: Patch request for an incident integration metadata.
4447
+ properties:
4448
+ data:
4449
+ $ref: '#/components/schemas/IncidentIntegrationMetadataPatchData'
4450
+ required:
4451
+ - data
4452
+ type: object
4453
+ IncidentIntegrationMetadataResponse:
4454
+ description: Response with an incident integration metadata.
4455
+ properties:
4456
+ data:
4457
+ $ref: '#/components/schemas/IncidentIntegrationMetadataResponseData'
4458
+ included:
4459
+ description: Included related resources that the user requested.
4460
+ items:
4461
+ $ref: '#/components/schemas/IncidentIntegrationMetadataResponseIncludedItem'
4462
+ readOnly: true
4463
+ type: array
4464
+ required:
4465
+ - data
4466
+ type: object
4467
+ IncidentIntegrationMetadataResponseData:
4468
+ description: Incident integration metadata from a response.
4469
+ properties:
4470
+ attributes:
4471
+ $ref: '#/components/schemas/IncidentIntegrationMetadataAttributes'
4472
+ id:
4473
+ description: The incident integration metadata's ID.
4474
+ example: 00000000-0000-0000-1234-000000000000
4475
+ type: string
4476
+ type:
4477
+ $ref: '#/components/schemas/IncidentIntegrationMetadataType'
4478
+ required:
4479
+ - id
4480
+ - type
4481
+ type: object
4482
+ IncidentIntegrationMetadataResponseIncludedItem:
4483
+ description: An object related to an incident integration metadata that is included
4484
+ in the response.
4485
+ oneOf:
4486
+ - $ref: '#/components/schemas/User'
4487
+ type: object
4231
4488
  IncidentIntegrationMetadataType:
4232
4489
  default: incident_integrations
4233
4490
  description: Integration metadata resource type.
@@ -5082,7 +5339,7 @@ components:
5082
5339
  attributes:
5083
5340
  $ref: '#/components/schemas/IncidentUpdateAttributes'
5084
5341
  id:
5085
- description: The team's ID.
5342
+ description: The incident's ID.
5086
5343
  example: 00000000-0000-0000-4567-000000000000
5087
5344
  type: string
5088
5345
  relationships:
@@ -5229,6 +5486,45 @@ components:
5229
5486
  type: string
5230
5487
  type: array
5231
5488
  type: object
5489
+ JiraIntegrationMetadata:
5490
+ description: Incident integration metadata for the Jira integration.
5491
+ properties:
5492
+ issues:
5493
+ description: Array of Jira issues in this integration metadata.
5494
+ example: []
5495
+ items:
5496
+ $ref: '#/components/schemas/JiraIntegrationMetadataIssuesItem'
5497
+ type: array
5498
+ required:
5499
+ - issues
5500
+ type: object
5501
+ JiraIntegrationMetadataIssuesItem:
5502
+ description: Item in the Jira integration metadata issue array.
5503
+ properties:
5504
+ account:
5505
+ description: URL of issue's Jira account.
5506
+ example: https://example.atlassian.net
5507
+ type: string
5508
+ issue_key:
5509
+ description: Jira issue's issue key.
5510
+ example: PROJ-123
5511
+ type: string
5512
+ issuetype_id:
5513
+ description: Jira issue's issue type.
5514
+ example: '1000'
5515
+ type: string
5516
+ project_key:
5517
+ description: Jira issue's project keys.
5518
+ example: PROJ
5519
+ type: string
5520
+ redirect_url:
5521
+ description: URL redirecting to the Jira issue.
5522
+ example: https://example.atlassian.net/browse/PROJ-123
5523
+ type: string
5524
+ required:
5525
+ - project_key
5526
+ - account
5527
+ type: object
5232
5528
  ListApplicationKeysResponse:
5233
5529
  description: Response for a list of application keys.
5234
5530
  properties:
@@ -7192,6 +7488,10 @@ components:
7192
7488
  - max
7193
7489
  - sum
7194
7490
  - last
7491
+ - percentile
7492
+ - mean
7493
+ - l2norm
7494
+ - area
7195
7495
  example: avg
7196
7496
  type: string
7197
7497
  x-enum-varnames:
@@ -7200,6 +7500,10 @@ components:
7200
7500
  - MAX
7201
7501
  - SUM
7202
7502
  - LAST
7503
+ - PERCENTILE
7504
+ - MEAN
7505
+ - L2NORM
7506
+ - AREA
7203
7507
  MetricsAndMetricTagConfigurations:
7204
7508
  description: Object for a metrics and metric tag configurations.
7205
7509
  oneOf:
@@ -7218,13 +7522,15 @@ components:
7218
7522
  type: object
7219
7523
  MetricsDataSource:
7220
7524
  default: metrics
7221
- description: A data source that is powered by the Metrics backend.
7525
+ description: A data source that is powered by the Metrics platform.
7222
7526
  enum:
7223
7527
  - metrics
7528
+ - cloud_cost
7224
7529
  example: metrics
7225
7530
  type: string
7226
7531
  x-enum-varnames:
7227
7532
  - METRICS
7533
+ - CLOUD_COST
7228
7534
  MetricsScalarQuery:
7229
7535
  description: An individual scalar metrics query.
7230
7536
  properties:
@@ -7511,6 +7817,26 @@ components:
7511
7817
  - id
7512
7818
  - type
7513
7819
  type: object
7820
+ OnDemandConcurrencyCap:
7821
+ description: On-demand concurrency cap.
7822
+ properties:
7823
+ attributes:
7824
+ $ref: '#/components/schemas/OnDemandConcurrencyCapAttributes'
7825
+ type: object
7826
+ OnDemandConcurrencyCapAttributes:
7827
+ description: On-demand concurrency cap attributes.
7828
+ properties:
7829
+ on_demand_concurrency_cap:
7830
+ description: Value of the on-demand concurrency cap.
7831
+ format: double
7832
+ type: number
7833
+ type: object
7834
+ OnDemandConcurrencyCapResponse:
7835
+ description: On-demand concurrency cap response.
7836
+ properties:
7837
+ data:
7838
+ $ref: '#/components/schemas/OnDemandConcurrencyCap'
7839
+ type: object
7514
7840
  OpsgenieServiceCreateAttributes:
7515
7841
  description: The Opsgenie service attributes for a create request.
7516
7842
  properties:
@@ -8816,7 +9142,7 @@ components:
8816
9142
  type: incident_integrations
8817
9143
  properties:
8818
9144
  data:
8819
- description: The integration metadata relationship array
9145
+ description: Integration metadata relationship array
8820
9146
  example:
8821
9147
  - id: 00000000-abcd-0003-0000-000000000000
8822
9148
  type: incident_integrations
@@ -8998,6 +9324,91 @@ components:
8998
9324
  page:
8999
9325
  $ref: '#/components/schemas/Pagination'
9000
9326
  type: object
9327
+ RestrictionPolicy:
9328
+ description: Restriction policy object.
9329
+ properties:
9330
+ attributes:
9331
+ $ref: '#/components/schemas/RestrictionPolicyAttributes'
9332
+ id:
9333
+ description: The identifier, always equivalent to the value specified in
9334
+ the `resource_id` path parameter.
9335
+ example: dashboard:abc-def-ghi
9336
+ type: string
9337
+ type:
9338
+ $ref: '#/components/schemas/RestrictionPolicyType'
9339
+ required:
9340
+ - type
9341
+ - id
9342
+ - attributes
9343
+ type: object
9344
+ RestrictionPolicyAttributes:
9345
+ description: Restriction policy attributes.
9346
+ example:
9347
+ bindings: []
9348
+ properties:
9349
+ bindings:
9350
+ description: An array of bindings.
9351
+ items:
9352
+ $ref: '#/components/schemas/RestrictionPolicyBinding'
9353
+ type: array
9354
+ required:
9355
+ - bindings
9356
+ type: object
9357
+ RestrictionPolicyBinding:
9358
+ description: Specifies which principals are associated with a relation.
9359
+ properties:
9360
+ principals:
9361
+ description: 'An array of principals. A principal is a subject or group
9362
+ of subjects.
9363
+
9364
+ Each principal is formatted as `type:id`. Supported types: `role` and
9365
+ `org`.
9366
+
9367
+ The org ID can be obtained through the api/v2/current_user API.'
9368
+ example:
9369
+ - role:00000000-0000-1111-0000-000000000000
9370
+ items:
9371
+ description: 'Subject or group of subjects. Each principal is formatted
9372
+ as `type:id`.
9373
+
9374
+ Supported types: `role` and `org`.
9375
+
9376
+ The org ID can be obtained through the api/v2/current_user API.'
9377
+ type: string
9378
+ type: array
9379
+ relation:
9380
+ description: The role/level of access.
9381
+ example: editor
9382
+ type: string
9383
+ required:
9384
+ - relation
9385
+ - principals
9386
+ type: object
9387
+ RestrictionPolicyResponse:
9388
+ description: Response containing information about a single restriction policy.
9389
+ properties:
9390
+ data:
9391
+ $ref: '#/components/schemas/RestrictionPolicy'
9392
+ required:
9393
+ - data
9394
+ type: object
9395
+ RestrictionPolicyType:
9396
+ default: restriction_policy
9397
+ description: Restriction policy type.
9398
+ enum:
9399
+ - restriction_policy
9400
+ example: restriction_policy
9401
+ type: string
9402
+ x-enum-varnames:
9403
+ - RESTRICTION_POLICY
9404
+ RestrictionPolicyUpdateRequest:
9405
+ description: Update request for a restriction policy.
9406
+ properties:
9407
+ data:
9408
+ $ref: '#/components/schemas/RestrictionPolicy'
9409
+ required:
9410
+ - data
9411
+ type: object
9001
9412
  Role:
9002
9413
  description: Role object returned by the API.
9003
9414
  properties:
@@ -10008,12 +10419,14 @@ components:
10008
10419
  - infrastructure_configuration
10009
10420
  - workload_security
10010
10421
  - cloud_configuration
10422
+ - application_security
10011
10423
  type: string
10012
10424
  x-enum-varnames:
10013
10425
  - LOG_DETECTION
10014
10426
  - INFRASTRUCTURE_CONFIGURATION
10015
10427
  - WORKLOAD_SECURITY
10016
10428
  - CLOUD_CONFIGURATION
10429
+ - APPLICATION_SECURITY
10017
10430
  SecurityMonitoringRuleUpdatePayload:
10018
10431
  description: Update an existing rule.
10019
10432
  properties:
@@ -11895,6 +12308,42 @@ components:
11895
12308
  $ref: '#/components/schemas/ServiceDefinitionData'
11896
12309
  type: array
11897
12310
  type: object
12311
+ SlackIntegrationMetadata:
12312
+ description: Incident integration metadata for the Slack integration.
12313
+ properties:
12314
+ channels:
12315
+ description: Array of Slack channels in this integration metadata.
12316
+ example: []
12317
+ items:
12318
+ $ref: '#/components/schemas/SlackIntegrationMetadataChannelItem'
12319
+ type: array
12320
+ required:
12321
+ - channels
12322
+ type: object
12323
+ SlackIntegrationMetadataChannelItem:
12324
+ description: Item in the Slack integration metadata channel array.
12325
+ properties:
12326
+ channel_id:
12327
+ description: Slack channel ID.
12328
+ example: C0123456789
12329
+ type: string
12330
+ channel_name:
12331
+ description: Name of the Slack channel.
12332
+ example: '#example-channel-name'
12333
+ type: string
12334
+ redirect_url:
12335
+ description: URL redirecting to the Slack channel.
12336
+ example: https://slack.com/app_redirect?channel=C0123456789&team=T01234567
12337
+ type: string
12338
+ team_id:
12339
+ description: Slack team ID.
12340
+ example: T01234567
12341
+ type: string
12342
+ required:
12343
+ - channel_id
12344
+ - channel_name
12345
+ - redirect_url
12346
+ type: object
11898
12347
  TagsEventAttribute:
11899
12348
  description: Array of tags associated with your event.
11900
12349
  example:
@@ -12487,6 +12936,7 @@ components:
12487
12936
  security_monitoring_rules_read: Read Detection Rules.
12488
12937
  security_monitoring_rules_write: Create and edit Detection Rules.
12489
12938
  security_monitoring_signals_read: View Security Signals.
12939
+ timeseries_query: Query Timeseries data.
12490
12940
  usage_read: View your organization's usage and usage attribution.
12491
12941
  user_access_invite: Invite other users to your organization.
12492
12942
  user_access_manage: Disable users, manage user roles, manage SAML-to-role
@@ -13192,10 +13642,6 @@ paths:
13192
13642
  $ref: '#/components/responses/NotAuthorizedResponse'
13193
13643
  '429':
13194
13644
  $ref: '#/components/responses/TooManyRequestsResponse'
13195
- security:
13196
- - apiKeyAuth: []
13197
- appKeyAuth: []
13198
- - AuthZ: []
13199
13645
  summary: Aggregate pipelines events
13200
13646
  tags:
13201
13647
  - CI Visibility Pipelines
@@ -13271,10 +13717,6 @@ paths:
13271
13717
  $ref: '#/components/responses/NotAuthorizedResponse'
13272
13718
  '429':
13273
13719
  $ref: '#/components/responses/TooManyRequestsResponse'
13274
- security:
13275
- - apiKeyAuth: []
13276
- appKeyAuth: []
13277
- - AuthZ: []
13278
13720
  summary: Get a list of pipelines events
13279
13721
  tags:
13280
13722
  - CI Visibility Pipelines
@@ -13312,10 +13754,6 @@ paths:
13312
13754
  $ref: '#/components/responses/NotAuthorizedResponse'
13313
13755
  '429':
13314
13756
  $ref: '#/components/responses/TooManyRequestsResponse'
13315
- security:
13316
- - apiKeyAuth: []
13317
- appKeyAuth: []
13318
- - AuthZ: []
13319
13757
  summary: Search pipelines events
13320
13758
  tags:
13321
13759
  - CI Visibility Pipelines
@@ -13349,10 +13787,6 @@ paths:
13349
13787
  $ref: '#/components/responses/NotAuthorizedResponse'
13350
13788
  '429':
13351
13789
  $ref: '#/components/responses/TooManyRequestsResponse'
13352
- security:
13353
- - apiKeyAuth: []
13354
- appKeyAuth: []
13355
- - AuthZ: []
13356
13790
  summary: Aggregate tests events
13357
13791
  tags:
13358
13792
  - CI Visibility Tests
@@ -13428,10 +13862,6 @@ paths:
13428
13862
  $ref: '#/components/responses/NotAuthorizedResponse'
13429
13863
  '429':
13430
13864
  $ref: '#/components/responses/TooManyRequestsResponse'
13431
- security:
13432
- - apiKeyAuth: []
13433
- appKeyAuth: []
13434
- - AuthZ: []
13435
13865
  summary: Get a list of tests events
13436
13866
  tags:
13437
13867
  - CI Visibility Tests
@@ -13469,10 +13899,6 @@ paths:
13469
13899
  $ref: '#/components/responses/NotAuthorizedResponse'
13470
13900
  '429':
13471
13901
  $ref: '#/components/responses/TooManyRequestsResponse'
13472
- security:
13473
- - apiKeyAuth: []
13474
- appKeyAuth: []
13475
- - AuthZ: []
13476
13902
  summary: Search tests events
13477
13903
  tags:
13478
13904
  - CI Visibility Tests
@@ -14264,6 +14690,189 @@ paths:
14264
14690
  x-unstable: '**Note**: This endpoint is in public beta.
14265
14691
 
14266
14692
  If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
14693
+ /api/v2/incidents/{incident_id}/relationships/integrations:
14694
+ get:
14695
+ description: Get all integration metadata for an incident.
14696
+ operationId: ListIncidentIntegrations
14697
+ parameters:
14698
+ - $ref: '#/components/parameters/IncidentIDPathParameter'
14699
+ responses:
14700
+ '200':
14701
+ content:
14702
+ application/json:
14703
+ schema:
14704
+ $ref: '#/components/schemas/IncidentIntegrationMetadataListResponse'
14705
+ description: OK
14706
+ '400':
14707
+ $ref: '#/components/responses/BadRequestResponse'
14708
+ '401':
14709
+ $ref: '#/components/responses/UnauthorizedResponse'
14710
+ '403':
14711
+ $ref: '#/components/responses/ForbiddenResponse'
14712
+ '404':
14713
+ $ref: '#/components/responses/NotFoundResponse'
14714
+ '429':
14715
+ $ref: '#/components/responses/TooManyRequestsResponse'
14716
+ security:
14717
+ - apiKeyAuth: []
14718
+ appKeyAuth: []
14719
+ - AuthZ:
14720
+ - incident_read
14721
+ summary: Get a list of an incident's integration metadata
14722
+ tags:
14723
+ - Incidents
14724
+ x-unstable: '**Note**: This endpoint is in public beta.
14725
+
14726
+ If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
14727
+ post:
14728
+ description: Create an incident integration metadata.
14729
+ operationId: CreateIncidentIntegration
14730
+ parameters:
14731
+ - $ref: '#/components/parameters/IncidentIDPathParameter'
14732
+ requestBody:
14733
+ content:
14734
+ application/json:
14735
+ schema:
14736
+ $ref: '#/components/schemas/IncidentIntegrationMetadataCreateRequest'
14737
+ description: Incident integration metadata payload.
14738
+ required: true
14739
+ responses:
14740
+ '201':
14741
+ content:
14742
+ application/json:
14743
+ schema:
14744
+ $ref: '#/components/schemas/IncidentIntegrationMetadataResponse'
14745
+ description: CREATED
14746
+ '400':
14747
+ $ref: '#/components/responses/BadRequestResponse'
14748
+ '401':
14749
+ $ref: '#/components/responses/UnauthorizedResponse'
14750
+ '403':
14751
+ $ref: '#/components/responses/ForbiddenResponse'
14752
+ '404':
14753
+ $ref: '#/components/responses/NotFoundResponse'
14754
+ '429':
14755
+ $ref: '#/components/responses/TooManyRequestsResponse'
14756
+ security:
14757
+ - apiKeyAuth: []
14758
+ appKeyAuth: []
14759
+ - AuthZ:
14760
+ - incident_write
14761
+ summary: Create an incident integration metadata
14762
+ tags:
14763
+ - Incidents
14764
+ x-codegen-request-body-name: body
14765
+ x-unstable: '**Note**: This endpoint is in public beta.
14766
+
14767
+ If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
14768
+ /api/v2/incidents/{incident_id}/relationships/integrations/{integration_metadata_id}:
14769
+ delete:
14770
+ description: Delete an incident integration metadata.
14771
+ operationId: DeleteIncidentIntegration
14772
+ parameters:
14773
+ - $ref: '#/components/parameters/IncidentIDPathParameter'
14774
+ - $ref: '#/components/parameters/IncidentIntegrationMetadataIDPathParameter'
14775
+ responses:
14776
+ '204':
14777
+ description: OK
14778
+ '400':
14779
+ $ref: '#/components/responses/BadRequestResponse'
14780
+ '401':
14781
+ $ref: '#/components/responses/UnauthorizedResponse'
14782
+ '403':
14783
+ $ref: '#/components/responses/ForbiddenResponse'
14784
+ '404':
14785
+ $ref: '#/components/responses/NotFoundResponse'
14786
+ '429':
14787
+ $ref: '#/components/responses/TooManyRequestsResponse'
14788
+ security:
14789
+ - apiKeyAuth: []
14790
+ appKeyAuth: []
14791
+ - AuthZ:
14792
+ - incident_write
14793
+ summary: Delete an incident integration metadata
14794
+ tags:
14795
+ - Incidents
14796
+ x-codegen-request-body-name: body
14797
+ x-unstable: '**Note**: This endpoint is in public beta.
14798
+
14799
+ If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
14800
+ get:
14801
+ description: Get incident integration metadata details.
14802
+ operationId: GetIncidentIntegration
14803
+ parameters:
14804
+ - $ref: '#/components/parameters/IncidentIDPathParameter'
14805
+ - $ref: '#/components/parameters/IncidentIntegrationMetadataIDPathParameter'
14806
+ responses:
14807
+ '200':
14808
+ content:
14809
+ application/json:
14810
+ schema:
14811
+ $ref: '#/components/schemas/IncidentIntegrationMetadataResponse'
14812
+ description: OK
14813
+ '400':
14814
+ $ref: '#/components/responses/BadRequestResponse'
14815
+ '401':
14816
+ $ref: '#/components/responses/UnauthorizedResponse'
14817
+ '403':
14818
+ $ref: '#/components/responses/ForbiddenResponse'
14819
+ '404':
14820
+ $ref: '#/components/responses/NotFoundResponse'
14821
+ '429':
14822
+ $ref: '#/components/responses/TooManyRequestsResponse'
14823
+ security:
14824
+ - apiKeyAuth: []
14825
+ appKeyAuth: []
14826
+ - AuthZ:
14827
+ - incident_read
14828
+ summary: Get incident integration metadata details
14829
+ tags:
14830
+ - Incidents
14831
+ x-unstable: '**Note**: This endpoint is in public beta.
14832
+
14833
+ If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
14834
+ patch:
14835
+ description: Update an existing incident integration metadata.
14836
+ operationId: UpdateIncidentIntegration
14837
+ parameters:
14838
+ - $ref: '#/components/parameters/IncidentIDPathParameter'
14839
+ - $ref: '#/components/parameters/IncidentIntegrationMetadataIDPathParameter'
14840
+ requestBody:
14841
+ content:
14842
+ application/json:
14843
+ schema:
14844
+ $ref: '#/components/schemas/IncidentIntegrationMetadataPatchRequest'
14845
+ description: Incident integration metadata payload.
14846
+ required: true
14847
+ responses:
14848
+ '200':
14849
+ content:
14850
+ application/json:
14851
+ schema:
14852
+ $ref: '#/components/schemas/IncidentIntegrationMetadataResponse'
14853
+ description: OK
14854
+ '400':
14855
+ $ref: '#/components/responses/BadRequestResponse'
14856
+ '401':
14857
+ $ref: '#/components/responses/UnauthorizedResponse'
14858
+ '403':
14859
+ $ref: '#/components/responses/ForbiddenResponse'
14860
+ '404':
14861
+ $ref: '#/components/responses/NotFoundResponse'
14862
+ '429':
14863
+ $ref: '#/components/responses/TooManyRequestsResponse'
14864
+ security:
14865
+ - apiKeyAuth: []
14866
+ appKeyAuth: []
14867
+ - AuthZ:
14868
+ - incident_write
14869
+ summary: Update an existing incident integration metadata
14870
+ tags:
14871
+ - Incidents
14872
+ x-codegen-request-body-name: body
14873
+ x-unstable: '**Note**: This endpoint is in public beta.
14874
+
14875
+ If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
14267
14876
  /api/v2/integration/opsgenie/services:
14268
14877
  get:
14269
14878
  description: Get a list of all services from the Datadog Opsgenie integration.
@@ -14408,9 +15017,6 @@ paths:
14408
15017
  $ref: '#/components/responses/NotFoundResponse'
14409
15018
  '429':
14410
15019
  $ref: '#/components/responses/TooManyRequestsResponse'
14411
- security:
14412
- - apiKeyAuth: []
14413
- appKeyAuth: []
14414
15020
  summary: List Cloudflare accounts
14415
15021
  tags:
14416
15022
  - Cloudflare Integration
@@ -14438,9 +15044,6 @@ paths:
14438
15044
  $ref: '#/components/responses/NotFoundResponse'
14439
15045
  '429':
14440
15046
  $ref: '#/components/responses/TooManyRequestsResponse'
14441
- security:
14442
- - apiKeyAuth: []
14443
- appKeyAuth: []
14444
15047
  summary: Add Cloudflare account
14445
15048
  tags:
14446
15049
  - Cloudflare Integration
@@ -14467,9 +15070,6 @@ paths:
14467
15070
  $ref: '#/components/responses/NotFoundResponse'
14468
15071
  '429':
14469
15072
  $ref: '#/components/responses/TooManyRequestsResponse'
14470
- security:
14471
- - apiKeyAuth: []
14472
- appKeyAuth: []
14473
15073
  summary: Delete Cloudflare account
14474
15074
  tags:
14475
15075
  - Cloudflare Integration
@@ -14498,9 +15098,6 @@ paths:
14498
15098
  $ref: '#/components/responses/NotFoundResponse'
14499
15099
  '429':
14500
15100
  $ref: '#/components/responses/TooManyRequestsResponse'
14501
- security:
14502
- - apiKeyAuth: []
14503
- appKeyAuth: []
14504
15101
  summary: Get Cloudflare account
14505
15102
  tags:
14506
15103
  - Cloudflare Integration
@@ -14535,9 +15132,6 @@ paths:
14535
15132
  $ref: '#/components/responses/NotFoundResponse'
14536
15133
  '429':
14537
15134
  $ref: '#/components/responses/TooManyRequestsResponse'
14538
- security:
14539
- - apiKeyAuth: []
14540
- appKeyAuth: []
14541
15135
  summary: Update Cloudflare account
14542
15136
  tags:
14543
15137
  - Cloudflare Integration
@@ -14827,9 +15421,6 @@ paths:
14827
15421
  $ref: '#/components/responses/NotFoundResponse'
14828
15422
  '429':
14829
15423
  $ref: '#/components/responses/TooManyRequestsResponse'
14830
- security:
14831
- - apiKeyAuth: []
14832
- appKeyAuth: []
14833
15424
  summary: List Fastly accounts
14834
15425
  tags:
14835
15426
  - Fastly Integration
@@ -14857,9 +15448,6 @@ paths:
14857
15448
  $ref: '#/components/responses/NotFoundResponse'
14858
15449
  '429':
14859
15450
  $ref: '#/components/responses/TooManyRequestsResponse'
14860
- security:
14861
- - apiKeyAuth: []
14862
- appKeyAuth: []
14863
15451
  summary: Add Fastly account
14864
15452
  tags:
14865
15453
  - Fastly Integration
@@ -14881,9 +15469,6 @@ paths:
14881
15469
  $ref: '#/components/responses/NotFoundResponse'
14882
15470
  '429':
14883
15471
  $ref: '#/components/responses/TooManyRequestsResponse'
14884
- security:
14885
- - apiKeyAuth: []
14886
- appKeyAuth: []
14887
15472
  summary: Delete Fastly account
14888
15473
  tags:
14889
15474
  - Fastly Integration
@@ -14907,9 +15492,6 @@ paths:
14907
15492
  $ref: '#/components/responses/NotFoundResponse'
14908
15493
  '429':
14909
15494
  $ref: '#/components/responses/TooManyRequestsResponse'
14910
- security:
14911
- - apiKeyAuth: []
14912
- appKeyAuth: []
14913
15495
  summary: Get Fastly account
14914
15496
  tags:
14915
15497
  - Fastly Integration
@@ -14939,9 +15521,6 @@ paths:
14939
15521
  $ref: '#/components/responses/NotFoundResponse'
14940
15522
  '429':
14941
15523
  $ref: '#/components/responses/TooManyRequestsResponse'
14942
- security:
14943
- - apiKeyAuth: []
14944
- appKeyAuth: []
14945
15524
  summary: Update Fastly account
14946
15525
  tags:
14947
15526
  - Fastly Integration
@@ -14967,9 +15546,6 @@ paths:
14967
15546
  $ref: '#/components/responses/NotFoundResponse'
14968
15547
  '429':
14969
15548
  $ref: '#/components/responses/TooManyRequestsResponse'
14970
- security:
14971
- - apiKeyAuth: []
14972
- appKeyAuth: []
14973
15549
  summary: List Fastly services
14974
15550
  tags:
14975
15551
  - Fastly Integration
@@ -14999,9 +15575,6 @@ paths:
14999
15575
  $ref: '#/components/responses/NotFoundResponse'
15000
15576
  '429':
15001
15577
  $ref: '#/components/responses/TooManyRequestsResponse'
15002
- security:
15003
- - apiKeyAuth: []
15004
- appKeyAuth: []
15005
15578
  summary: Add Fastly service
15006
15579
  tags:
15007
15580
  - Fastly Integration
@@ -15024,9 +15597,6 @@ paths:
15024
15597
  $ref: '#/components/responses/NotFoundResponse'
15025
15598
  '429':
15026
15599
  $ref: '#/components/responses/TooManyRequestsResponse'
15027
- security:
15028
- - apiKeyAuth: []
15029
- appKeyAuth: []
15030
15600
  summary: Delete Fastly service
15031
15601
  tags:
15032
15602
  - Fastly Integration
@@ -15051,9 +15621,6 @@ paths:
15051
15621
  $ref: '#/components/responses/NotFoundResponse'
15052
15622
  '429':
15053
15623
  $ref: '#/components/responses/TooManyRequestsResponse'
15054
- security:
15055
- - apiKeyAuth: []
15056
- appKeyAuth: []
15057
15624
  summary: Get Fastly service
15058
15625
  tags:
15059
15626
  - Fastly Integration
@@ -15084,12 +15651,67 @@ paths:
15084
15651
  $ref: '#/components/responses/NotFoundResponse'
15085
15652
  '429':
15086
15653
  $ref: '#/components/responses/TooManyRequestsResponse'
15654
+ summary: Update Fastly service
15655
+ tags:
15656
+ - Fastly Integration
15657
+ x-codegen-request-body-name: body
15658
+ /api/v2/ip_allowlist:
15659
+ get:
15660
+ description: Returns the IP allowlist and its enabled or disabled state.
15661
+ operationId: GetIPAllowlist
15662
+ responses:
15663
+ '200':
15664
+ content:
15665
+ application/json:
15666
+ schema:
15667
+ $ref: '#/components/schemas/IPAllowlistResponse'
15668
+ description: OK
15669
+ '403':
15670
+ $ref: '#/components/responses/ForbiddenResponse'
15671
+ '404':
15672
+ $ref: '#/components/responses/NotFoundResponse'
15673
+ '429':
15674
+ $ref: '#/components/responses/TooManyRequestsResponse'
15087
15675
  security:
15088
15676
  - apiKeyAuth: []
15089
15677
  appKeyAuth: []
15090
- summary: Update Fastly service
15678
+ - AuthZ:
15679
+ - org_management
15680
+ summary: Get IP Allowlist
15091
15681
  tags:
15092
- - Fastly Integration
15682
+ - IP Allowlist
15683
+ patch:
15684
+ description: Edit the entries in the IP allowlist, and enable or disable it.
15685
+ operationId: UpdateIPAllowlist
15686
+ requestBody:
15687
+ content:
15688
+ application/json:
15689
+ schema:
15690
+ $ref: '#/components/schemas/IPAllowlistUpdateRequest'
15691
+ required: true
15692
+ responses:
15693
+ '200':
15694
+ content:
15695
+ application/json:
15696
+ schema:
15697
+ $ref: '#/components/schemas/IPAllowlistResponse'
15698
+ description: OK
15699
+ '400':
15700
+ $ref: '#/components/responses/BadRequestResponse'
15701
+ '403':
15702
+ $ref: '#/components/responses/ForbiddenResponse'
15703
+ '404':
15704
+ $ref: '#/components/responses/NotFoundResponse'
15705
+ '429':
15706
+ $ref: '#/components/responses/TooManyRequestsResponse'
15707
+ security:
15708
+ - apiKeyAuth: []
15709
+ appKeyAuth: []
15710
+ - AuthZ:
15711
+ - org_management
15712
+ summary: Update IP Allowlist
15713
+ tags:
15714
+ - IP Allowlist
15093
15715
  x-codegen-request-body-name: body
15094
15716
  /api/v2/logs:
15095
15717
  post:
@@ -15118,6 +15740,9 @@ paths:
15118
15740
  Add the `Content-Encoding: gzip` header to the request when sending compressed
15119
15741
  logs.
15120
15742
 
15743
+ Log events can be submitted up to 18 hours in the past and 2 hours in the
15744
+ future.
15745
+
15121
15746
 
15122
15747
  The status codes answered by the HTTP API are:
15123
15748
 
@@ -16706,11 +17331,6 @@ paths:
16706
17331
  description: Forbidden
16707
17332
  '429':
16708
17333
  $ref: '#/components/responses/TooManyRequestsResponse'
16709
- security:
16710
- - apiKeyAuth: []
16711
- appKeyAuth: []
16712
- - AuthZ:
16713
- - monitors_configuration_policy_write
16714
17334
  summary: Create a monitor configuration policy
16715
17335
  tags:
16716
17336
  - Monitors
@@ -16750,11 +17370,6 @@ paths:
16750
17370
  description: Not Found
16751
17371
  '429':
16752
17372
  $ref: '#/components/responses/TooManyRequestsResponse'
16753
- security:
16754
- - apiKeyAuth: []
16755
- appKeyAuth: []
16756
- - AuthZ:
16757
- - monitors_configuration_policy_write
16758
17373
  summary: Delete a monitor configuration policy
16759
17374
  tags:
16760
17375
  - Monitors
@@ -16843,11 +17458,6 @@ paths:
16843
17458
  description: Unprocessable Entity
16844
17459
  '429':
16845
17460
  $ref: '#/components/responses/TooManyRequestsResponse'
16846
- security:
16847
- - apiKeyAuth: []
16848
- appKeyAuth: []
16849
- - AuthZ:
16850
- - monitors_configuration_policy_write
16851
17461
  summary: Edit a monitor configuration policy
16852
17462
  tags:
16853
17463
  - Monitors
@@ -17010,16 +17620,22 @@ paths:
17010
17620
  $ref: '#/components/responses/ForbiddenResponse'
17011
17621
  '429':
17012
17622
  $ref: '#/components/responses/TooManyRequestsResponse'
17623
+ security:
17624
+ - apiKeyAuth: []
17625
+ appKeyAuth: []
17626
+ - AuthZ:
17627
+ - timeseries_query
17013
17628
  summary: Query scalar data across multiple products
17014
17629
  tags:
17015
17630
  - Metrics
17016
17631
  x-codegen-request-body-name: body
17017
- x-unstable: '**Note**: This endpoint is GA for the metrics data source. Logs
17018
- is in beta.
17632
+ x-unstable: '**Note**: This endpoint is GA for the metrics, real user monitoring
17633
+ (RUM) and cloud cost data sources.
17019
17634
 
17020
- We are gradually onboarding support for more sources. If you have any feedback,
17635
+ Support for logs is in beta. We are gradually onboarding support for more
17636
+ sources. If you have any
17021
17637
 
17022
- contact [Datadog support](https://docs.datadoghq.com/help/).'
17638
+ feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
17023
17639
  /api/v2/query/timeseries:
17024
17640
  post:
17025
17641
  description: 'Query timeseries data across various data sources and
@@ -17047,16 +17663,114 @@ paths:
17047
17663
  $ref: '#/components/responses/ForbiddenResponse'
17048
17664
  '429':
17049
17665
  $ref: '#/components/responses/TooManyRequestsResponse'
17666
+ security:
17667
+ - apiKeyAuth: []
17668
+ appKeyAuth: []
17669
+ - AuthZ:
17670
+ - timeseries_query
17050
17671
  summary: Query timeseries data across multiple products
17051
17672
  tags:
17052
17673
  - Metrics
17053
17674
  x-codegen-request-body-name: body
17054
- x-unstable: '**Note**: This endpoint is GA for the metrics data source. Logs
17055
- is in beta.
17675
+ x-unstable: '**Note**: This endpoint is GA for the metrics, real user monitoring
17676
+ (RUM) and cloud cost data sources.
17677
+
17678
+ Support for logs is in beta. We are gradually onboarding support for more
17679
+ sources. If you have any
17680
+
17681
+ feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
17682
+ /api/v2/restriction_policy/{resource_id}:
17683
+ delete:
17684
+ description: Deletes the restriction policy associated with a specified resource.
17685
+ operationId: DeleteRestrictionPolicy
17686
+ parameters:
17687
+ - $ref: '#/components/parameters/ResourceID'
17688
+ responses:
17689
+ '204':
17690
+ description: No Content
17691
+ '400':
17692
+ $ref: '#/components/responses/BadRequestResponse'
17693
+ '403':
17694
+ $ref: '#/components/responses/NotAuthorizedResponse'
17695
+ '429':
17696
+ $ref: '#/components/responses/TooManyRequestsResponse'
17697
+ security:
17698
+ - apiKeyAuth: []
17699
+ appKeyAuth: []
17700
+ summary: Delete a restriction policy
17701
+ tags:
17702
+ - Restriction Policies
17703
+ get:
17704
+ description: Retrieves the restriction policy associated with a specified resource.
17705
+ operationId: GetRestrictionPolicy
17706
+ parameters:
17707
+ - $ref: '#/components/parameters/ResourceID'
17708
+ responses:
17709
+ '200':
17710
+ content:
17711
+ application/json:
17712
+ schema:
17713
+ $ref: '#/components/schemas/RestrictionPolicyResponse'
17714
+ description: OK
17715
+ '400':
17716
+ $ref: '#/components/responses/BadRequestResponse'
17717
+ '403':
17718
+ $ref: '#/components/responses/NotAuthorizedResponse'
17719
+ '429':
17720
+ $ref: '#/components/responses/TooManyRequestsResponse'
17721
+ security:
17722
+ - apiKeyAuth: []
17723
+ appKeyAuth: []
17724
+ summary: Get a restriction policy
17725
+ tags:
17726
+ - Restriction Policies
17727
+ post:
17728
+ description: 'Updates the restriction policy associated with a resource.
17729
+
17056
17730
 
17057
- We are gradually onboarding support for more sources. If you have any feedback,
17731
+ #### Supported resources
17058
17732
 
17059
- contact [Datadog support](https://docs.datadoghq.com/help/).'
17733
+ Restriction policies can be applied to the following resources:
17734
+
17735
+ - Connections: `connection`
17736
+
17737
+ - Dashboards: `dashboard`
17738
+
17739
+ - Notebooks: `notebook`
17740
+
17741
+ - Security Rules: `security-rule`
17742
+
17743
+ - Service Level Objectives: `slo`'
17744
+ operationId: UpdateRestrictionPolicy
17745
+ parameters:
17746
+ - $ref: '#/components/parameters/ResourceID'
17747
+ requestBody:
17748
+ content:
17749
+ application/json:
17750
+ schema:
17751
+ $ref: '#/components/schemas/RestrictionPolicyUpdateRequest'
17752
+ description: Restriction policy payload
17753
+ required: true
17754
+ responses:
17755
+ '200':
17756
+ content:
17757
+ application/json:
17758
+ schema:
17759
+ $ref: '#/components/schemas/RestrictionPolicyResponse'
17760
+ description: OK
17761
+ '400':
17762
+ $ref: '#/components/responses/BadRequestResponse'
17763
+ '403':
17764
+ $ref: '#/components/responses/NotAuthorizedResponse'
17765
+ '429':
17766
+ $ref: '#/components/responses/TooManyRequestsResponse'
17767
+ security:
17768
+ - apiKeyAuth: []
17769
+ appKeyAuth: []
17770
+ summary: Update a restriction policy
17771
+ tags:
17772
+ - Restriction Policies
17773
+ x-codegen-request-body-name: body
17060
17774
  /api/v2/roles:
17061
17775
  get:
17062
17776
  description: Returns all roles, including their names and their unique identifiers.
@@ -19550,6 +20264,45 @@ paths:
19550
20264
  x-unstable: '**Note**: This endpoint is in public beta.
19551
20265
 
19552
20266
  If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
20267
+ /api/v2/synthetics/settings/on_demand_concurrency_cap:
20268
+ get:
20269
+ description: Get the on-demand concurrency cap.
20270
+ operationId: GetOnDemandConcurrencyCap
20271
+ responses:
20272
+ '200':
20273
+ content:
20274
+ application/json:
20275
+ schema:
20276
+ $ref: '#/components/schemas/OnDemandConcurrencyCapResponse'
20277
+ description: OK
20278
+ '429':
20279
+ $ref: '#/components/responses/TooManyRequestsResponse'
20280
+ summary: Get the on-demand concurrency cap
20281
+ tags:
20282
+ - Synthetics
20283
+ post:
20284
+ description: Save new value for on-demand concurrency cap.
20285
+ operationId: SetOnDemandConcurrencyCap
20286
+ requestBody:
20287
+ content:
20288
+ application/json:
20289
+ schema:
20290
+ $ref: '#/components/schemas/OnDemandConcurrencyCapAttributes'
20291
+ description: .
20292
+ required: true
20293
+ responses:
20294
+ '200':
20295
+ content:
20296
+ application/json:
20297
+ schema:
20298
+ $ref: '#/components/schemas/OnDemandConcurrencyCapResponse'
20299
+ description: OK
20300
+ '429':
20301
+ $ref: '#/components/responses/TooManyRequestsResponse'
20302
+ summary: Save new value for on-demand concurrency cap
20303
+ tags:
20304
+ - Synthetics
20305
+ x-codegen-request-body-name: body
19553
20306
  /api/v2/teams:
19554
20307
  get:
19555
20308
  description: Get all incident teams for the requesting user's organization.
@@ -20037,8 +20790,10 @@ paths:
20037
20790
  - description: 'Comma separated list of product families to retrieve. Available
20038
20791
  families are `all`, `analyzed_logs`,
20039
20792
 
20040
- `application_security`, `audit_logs`, `serverless`, `ci_app`, `cspm`, `custom_events`,
20041
- `cws`, `dbm`, `fargate`,
20793
+ `application_security`, `audit_logs`, `audit_trail`, `serverless`, `ci_app`,
20794
+ `cloud_cost_management`,
20795
+
20796
+ `cspm`, `custom_events`, `cws`, `dbm`, `fargate`,
20042
20797
 
20043
20798
  `infra_hosts`, `incident_management`, `indexed_logs`, `indexed_spans`, `ingested_spans`,
20044
20799
  `iot`,
@@ -20715,6 +21470,17 @@ tags:
20715
21470
  - description: Configure your Datadog Fastly integration directly through the Datadog
20716
21471
  API.
20717
21472
  name: Fastly Integration
21473
+ - description: 'The IP allowlist API is used to manage the IP addresses that
21474
+
21475
+ can access the Datadog API and web UI. It does not block
21476
+
21477
+ access to intake APIs or public dashboards.
21478
+
21479
+
21480
+ This is an enterprise-only feature. Request access by
21481
+
21482
+ contacting Datadog support.'
21483
+ name: IP Allowlist
20718
21484
  - description: Create, update, delete, and retrieve services which can be associated
20719
21485
  with incidents.
20720
21486
  name: Incident Services
@@ -20792,6 +21558,14 @@ tags:
20792
21558
  name: Processes
20793
21559
  - description: Search or aggregate your RUM events over HTTP.
20794
21560
  name: RUM
21561
+ - description: 'A restriction policy defines the access control rules for a resource,
21562
+ mapping a set of relations
21563
+
21564
+ (such as editor and viewer) to a set of allowed principals (such as roles). The
21565
+ restriction policy
21566
+
21567
+ determines who is authorized to perform what actions on the resource.'
21568
+ name: Restriction Policies
20795
21569
  - description: 'The Roles API is used to create and manage Datadog roles, what
20796
21570
 
20797
21571
  [global permissions](https://docs.datadoghq.com/account_management/rbac/)
@@ -20820,6 +21594,13 @@ tags:
20820
21594
  externalDocs:
20821
21595
  url: https://docs.datadoghq.com/tracing/service_catalog/
20822
21596
  name: Service Definition
21597
+ - description: "Datadog Synthetics uses simulated user requests and browser rendering
21598
+ to help you ensure uptime,\nidentify regional issues, and track your application
21599
+ performance. Datadog Synthetics tests come in\ntwo different flavors, [API tests](https://docs.datadoghq.com/synthetics/api_tests/)\nand
21600
+ [browser tests](https://docs.datadoghq.com/synthetics/browser_tests). You can
21601
+ use Datadog\u2019s API to\nmanage both test types programmatically.\n\nFor more
21602
+ information about Synthetics, see the [Synthetics overview](https://docs.datadoghq.com/synthetics/)."
21603
+ name: Synthetics
20823
21604
  - description: 'The usage metering API allows you to get hourly, daily, and
20824
21605
 
20825
21606
  monthly usage across multiple facets of Datadog.