datadog_api_client 2.22.0 → 2.23.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 (72) hide show
  1. checksums.yaml +4 -4
  2. data/.apigentools-info +4 -4
  3. data/.generator/schemas/v1/openapi.yaml +130 -60
  4. data/.generator/schemas/v2/openapi.yaml +149 -152
  5. data/CHANGELOG.md +18 -1
  6. data/examples/v1/synthetics/CreateSyntheticsAPITest_1487281163.rb +9 -0
  7. data/examples/v1/synthetics/CreateSyntheticsAPITest_960766374.rb +8 -0
  8. data/examples/v1/synthetics/UpdateAPITest.rb +8 -0
  9. data/examples/v2/{cloud-workload-security → csm-threats}/CreateCSMThreatsAgentRule.rb +2 -2
  10. data/examples/v2/{cloud-workload-security → csm-threats}/CreateCloudWorkloadSecurityAgentRule.rb +2 -2
  11. data/examples/v2/{cloud-workload-security → csm-threats}/DeleteCSMThreatsAgentRule.rb +1 -1
  12. data/examples/v2/{cloud-workload-security → csm-threats}/DeleteCloudWorkloadSecurityAgentRule.rb +1 -1
  13. data/examples/v2/{cloud-workload-security → csm-threats}/DownloadCSMThreatsPolicy.rb +1 -1
  14. data/examples/v2/{cloud-workload-security → csm-threats}/DownloadCloudWorkloadPolicyFile.rb +1 -1
  15. data/examples/v2/{cloud-workload-security → csm-threats}/GetCSMThreatsAgentRule.rb +1 -1
  16. data/examples/v2/{cloud-workload-security → csm-threats}/GetCloudWorkloadSecurityAgentRule.rb +1 -1
  17. data/examples/v2/{cloud-workload-security → csm-threats}/ListCSMThreatsAgentRules.rb +1 -1
  18. data/examples/v2/{cloud-workload-security → csm-threats}/ListCloudWorkloadSecurityAgentRules.rb +1 -1
  19. data/examples/v2/{cloud-workload-security → csm-threats}/UpdateCSMThreatsAgentRule.rb +1 -1
  20. data/examples/v2/{cloud-workload-security → csm-threats}/UpdateCloudWorkloadSecurityAgentRule.rb +1 -1
  21. data/examples/v2/roles/CreateRole.rb +14 -2
  22. data/examples/v2/roles/CreateRole_3862893229.rb +27 -0
  23. data/examples/v2/security-monitoring/CreateSecurityMonitoringSuppression.rb +1 -1
  24. data/examples/v2/security-monitoring/CreateSecurityMonitoringSuppression_3192265332.rb +1 -1
  25. data/lib/datadog_api_client/inflector.rb +6 -1
  26. data/lib/datadog_api_client/v1/api/authentication_api.rb +1 -1
  27. data/lib/datadog_api_client/v1/api/aws_integration_api.rb +1 -1
  28. data/lib/datadog_api_client/v1/api/logs_indexes_api.rb +1 -1
  29. data/lib/datadog_api_client/v1/api/logs_pipelines_api.rb +3 -3
  30. data/lib/datadog_api_client/v1/api/usage_metering_api.rb +11 -7
  31. data/lib/datadog_api_client/v1/api/users_api.rb +1 -1
  32. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +1 -0
  33. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +2 -0
  34. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +21 -1
  35. data/lib/datadog_api_client/v1/models/service_level_objective.rb +2 -1
  36. data/lib/datadog_api_client/v1/models/service_level_objective_request.rb +2 -1
  37. data/lib/datadog_api_client/v1/models/slo_history_monitor.rb +7 -1
  38. data/lib/datadog_api_client/v1/models/slo_history_sli_data.rb +8 -1
  39. data/lib/datadog_api_client/v1/models/slo_overall_statuses.rb +2 -1
  40. data/lib/datadog_api_client/v1/models/slo_response_data.rb +2 -1
  41. data/lib/datadog_api_client/v1/models/slo_threshold.rb +2 -1
  42. data/lib/datadog_api_client/v1/models/slo_timeframe.rb +2 -1
  43. data/lib/datadog_api_client/v1/models/synthetics_api_test_config.rb +14 -4
  44. data/lib/datadog_api_client/v1/models/synthetics_assertion.rb +1 -0
  45. data/lib/datadog_api_client/v1/models/synthetics_assertion_json_schema_meta_schema.rb +27 -0
  46. data/lib/datadog_api_client/v1/models/synthetics_assertion_json_schema_operator.rb +26 -0
  47. data/lib/datadog_api_client/v1/models/synthetics_assertion_json_schema_target.rb +129 -0
  48. data/lib/datadog_api_client/v1/models/synthetics_assertion_json_schema_target_target.rb +90 -0
  49. data/lib/datadog_api_client/v1/models/usage_billable_summary_keys.rb +11 -1
  50. data/lib/datadog_api_client/v2/api/apm_retention_filters_api.rb +2 -2
  51. data/lib/datadog_api_client/v2/api/authn_mappings_api.rb +2 -2
  52. data/lib/datadog_api_client/v2/api/case_management_api.rb +17 -16
  53. data/lib/datadog_api_client/v2/api/cloud_cost_management_api.rb +10 -10
  54. data/lib/datadog_api_client/v2/api/{cloud_workload_security_api.rb → csm_threats_api.rb} +35 -35
  55. data/lib/datadog_api_client/v2/api/events_api.rb +1 -1
  56. data/lib/datadog_api_client/v2/api/ip_allowlist_api.rb +2 -2
  57. data/lib/datadog_api_client/v2/api/logs_api.rb +1 -1
  58. data/lib/datadog_api_client/v2/api/logs_archives_api.rb +4 -4
  59. data/lib/datadog_api_client/v2/api/logs_metrics_api.rb +2 -2
  60. data/lib/datadog_api_client/v2/api/metrics_api.rb +3 -3
  61. data/lib/datadog_api_client/v2/api/restriction_policies_api.rb +2 -2
  62. data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +2 -1
  63. data/lib/datadog_api_client/v2/api/spans_api.rb +3 -3
  64. data/lib/datadog_api_client/v2/api/usage_metering_api.rb +10 -1
  65. data/lib/datadog_api_client/v2/models/logs_query_filter.rb +1 -1
  66. data/lib/datadog_api_client/v2/models/logs_storage_tier.rb +2 -1
  67. data/lib/datadog_api_client/v2/models/retention_filter_create_response.rb +80 -0
  68. data/lib/datadog_api_client/v2/models/retention_filter_response.rb +1 -1
  69. data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_response.rb +13 -1
  70. data/lib/datadog_api_client/v2/models/user_team_included.rb +2 -1
  71. data/lib/datadog_api_client/version.rb +1 -1
  72. metadata +21 -15
@@ -11736,15 +11736,17 @@ components:
11736
11736
  - DESCENDING
11737
11737
  LogsStorageTier:
11738
11738
  default: indexes
11739
- description: Specifies storage type as indexes or online-archives
11739
+ description: Specifies storage type as indexes, online-archives or flex
11740
11740
  enum:
11741
11741
  - indexes
11742
11742
  - online-archives
11743
+ - flex
11743
11744
  example: indexes
11744
11745
  type: string
11745
11746
  x-enum-varnames:
11746
11747
  - INDEXES
11747
11748
  - ONLINE_ARCHIVES
11749
+ - FLEX
11748
11750
  LogsWarning:
11749
11751
  description: A warning message indicating something that went wrong with the
11750
11752
  query
@@ -16174,12 +16176,18 @@ components:
16174
16176
  required:
16175
16177
  - data
16176
16178
  type: object
16177
- RetentionFilterResponse:
16179
+ RetentionFilterCreateResponse:
16178
16180
  description: The retention filters definition.
16179
16181
  properties:
16180
16182
  data:
16181
16183
  $ref: '#/components/schemas/RetentionFilter'
16182
16184
  type: object
16185
+ RetentionFilterResponse:
16186
+ description: The retention filters definition.
16187
+ properties:
16188
+ data:
16189
+ $ref: '#/components/schemas/RetentionFilterAll'
16190
+ type: object
16183
16191
  RetentionFilterType:
16184
16192
  default: spans-sampling-processor
16185
16193
  description: The type of retention filter. The value should always be spans-sampling-processor.
@@ -18231,6 +18239,14 @@ components:
18231
18239
  description: User ID of the user who created the rule.
18232
18240
  format: int64
18233
18241
  type: integer
18242
+ defaultTags:
18243
+ description: Default Tags for default rules (included in tags)
18244
+ example:
18245
+ - security:attacks
18246
+ items:
18247
+ description: Default Tag.
18248
+ type: string
18249
+ type: array
18234
18250
  deprecationDate:
18235
18251
  description: When the rule will be deprecated, timestamp in milliseconds.
18236
18252
  format: int64
@@ -22466,6 +22482,7 @@ components:
22466
22482
  description: Included resources related to the team membership
22467
22483
  oneOf:
22468
22484
  - $ref: '#/components/schemas/User'
22485
+ - $ref: '#/components/schemas/Team'
22469
22486
  UserTeamPermission:
22470
22487
  description: A user's permissions for a given team
22471
22488
  properties:
@@ -22715,20 +22732,28 @@ components:
22715
22732
  authorizationCode:
22716
22733
  authorizationUrl: /oauth2/v1/authorize
22717
22734
  scopes:
22735
+ apm_read: Read and query APM and Trace Analytics.
22718
22736
  apm_service_catalog_read: View service catalog and service definitions.
22719
22737
  apm_service_catalog_write: Add, modify, and delete service catalog definitions
22720
22738
  when those definitions are maintained by Datadog.
22721
- cases_read: Read all cases data.
22722
- cases_write: Create, update and delete cases data.
22723
22739
  ci_visibility_pipelines_write: Create CI Visibility pipeline spans using
22724
22740
  the API.
22725
22741
  ci_visibility_read: View CI Visibility.
22742
+ cloud_cost_management_read: View Cloud Cost pages. This does not restrict
22743
+ access to the cloud cost data source in dashboards and notebooks.
22744
+ cloud_cost_management_write: Configure cloud cost accounts and global
22745
+ customizations.
22746
+ continuous_profiler_pgo_read: Read and query Continuous Profiler data
22747
+ for Profile-Guided Optimization (PGO).
22726
22748
  create_webhooks: Create webhooks integrations.
22727
22749
  dashboards_public_share: Generate public and authenticated links to share
22728
22750
  dashboards or embeddable graphs externally.
22729
22751
  dashboards_read: View dashboards.
22730
22752
  dashboards_write: Create and change dashboards.
22753
+ data_scanner_read: View Data Scanner configurations.
22754
+ data_scanner_write: Edit Data Scanner configurations.
22731
22755
  events_read: Read Events data.
22756
+ hosts_read: List hosts and their attributes.
22732
22757
  incident_notification_settings_write: Configure Incidents Notification
22733
22758
  settings.
22734
22759
  incident_read: View incidents in Datadog.
@@ -22736,10 +22761,15 @@ components:
22736
22761
  incident_write: Create, view, and manage incidents in Datadog.
22737
22762
  metrics_read: View custom metrics.
22738
22763
  monitors_downtime: Set downtimes to suppress alerts from any monitor in
22739
- an organization. Mute and unmute hosts. The ability to write monitors
22764
+ an organization. Mute and unmute monitors. The ability to write monitors
22740
22765
  is not required to set downtimes.
22741
22766
  monitors_read: View monitors.
22742
22767
  monitors_write: Edit and delete individual monitors.
22768
+ org_management: Edit org configurations, including authentication and
22769
+ certain security preferences such as configuring SAML, renaming an org,
22770
+ configuring allowed login methods, creating child orgs, subscribing
22771
+ & unsubscribing from apps in the marketplace, and enabling & disabling
22772
+ Remote Configuration for the entire organization.
22743
22773
  security_monitoring_filters_read: Read Security Filters.
22744
22774
  security_monitoring_filters_write: Create, edit, and delete Security Filters.
22745
22775
  security_monitoring_findings_read: View CSPM Findings.
@@ -23321,7 +23351,7 @@ paths:
23321
23351
  content:
23322
23352
  application/json:
23323
23353
  schema:
23324
- $ref: '#/components/schemas/RetentionFilterResponse'
23354
+ $ref: '#/components/schemas/RetentionFilterCreateResponse'
23325
23355
  description: OK
23326
23356
  '400':
23327
23357
  $ref: '#/components/responses/BadRequestResponse'
@@ -23740,10 +23770,6 @@ paths:
23740
23770
  description: Authentication Error
23741
23771
  '429':
23742
23772
  $ref: '#/components/responses/TooManyRequestsResponse'
23743
- security:
23744
- - apiKeyAuth: []
23745
- appKeyAuth: []
23746
- - AuthZ: []
23747
23773
  summary: List all AuthN Mappings
23748
23774
  tags:
23749
23775
  - AuthN Mappings
@@ -23784,11 +23810,6 @@ paths:
23784
23810
  description: Not Found
23785
23811
  '429':
23786
23812
  $ref: '#/components/responses/TooManyRequestsResponse'
23787
- security:
23788
- - apiKeyAuth: []
23789
- appKeyAuth: []
23790
- - AuthZ:
23791
- - user_access_manage
23792
23813
  summary: Create an AuthN Mapping
23793
23814
  tags:
23794
23815
  - AuthN Mappings
@@ -23926,7 +23947,7 @@ paths:
23926
23947
  operationId: SearchCases
23927
23948
  parameters:
23928
23949
  - $ref: '#/components/parameters/PageSize'
23929
- - $ref: '#/components/parameters/PageOffset'
23950
+ - $ref: '#/components/parameters/PageNumber'
23930
23951
  - $ref: '#/components/parameters/CaseSortableFieldParameter'
23931
23952
  - description: Search query
23932
23953
  in: query
@@ -23959,17 +23980,12 @@ paths:
23959
23980
  $ref: '#/components/responses/NotFoundResponse'
23960
23981
  '429':
23961
23982
  $ref: '#/components/responses/TooManyRequestsResponse'
23962
- security:
23963
- - apiKeyAuth: []
23964
- appKeyAuth: []
23965
- - AuthZ:
23966
- - cases_read
23967
23983
  summary: Search cases
23968
23984
  tags:
23969
23985
  - Case Management
23970
23986
  x-pagination:
23971
23987
  limitParam: page[size]
23972
- pageOffsetParam: page[offset]
23988
+ pageParam: page[number]
23973
23989
  resultsPath: data
23974
23990
  post:
23975
23991
  description: Create a Case
@@ -23998,11 +24014,6 @@ paths:
23998
24014
  $ref: '#/components/responses/NotFoundResponse'
23999
24015
  '429':
24000
24016
  $ref: '#/components/responses/TooManyRequestsResponse'
24001
- security:
24002
- - apiKeyAuth: []
24003
- appKeyAuth: []
24004
- - AuthZ:
24005
- - cases_write
24006
24017
  summary: Create a case
24007
24018
  tags:
24008
24019
  - Case Management
@@ -24027,11 +24038,6 @@ paths:
24027
24038
  $ref: '#/components/responses/NotFoundResponse'
24028
24039
  '429':
24029
24040
  $ref: '#/components/responses/TooManyRequestsResponse'
24030
- security:
24031
- - apiKeyAuth: []
24032
- appKeyAuth: []
24033
- - AuthZ:
24034
- - cases_read
24035
24041
  summary: Get all projects
24036
24042
  tags:
24037
24043
  - Case Management
@@ -24062,11 +24068,6 @@ paths:
24062
24068
  $ref: '#/components/responses/NotFoundResponse'
24063
24069
  '429':
24064
24070
  $ref: '#/components/responses/TooManyRequestsResponse'
24065
- security:
24066
- - apiKeyAuth: []
24067
- appKeyAuth: []
24068
- - AuthZ:
24069
- - cases_write
24070
24071
  summary: Create a project
24071
24072
  tags:
24072
24073
  - Case Management
@@ -24089,11 +24090,6 @@ paths:
24089
24090
  description: API error response
24090
24091
  '429':
24091
24092
  $ref: '#/components/responses/TooManyRequestsResponse'
24092
- security:
24093
- - apiKeyAuth: []
24094
- appKeyAuth: []
24095
- - AuthZ:
24096
- - cases_write
24097
24093
  summary: Remove a project
24098
24094
  tags:
24099
24095
  - Case Management
@@ -24119,11 +24115,6 @@ paths:
24119
24115
  $ref: '#/components/responses/NotFoundResponse'
24120
24116
  '429':
24121
24117
  $ref: '#/components/responses/TooManyRequestsResponse'
24122
- security:
24123
- - apiKeyAuth: []
24124
- appKeyAuth: []
24125
- - AuthZ:
24126
- - cases_read
24127
24118
  summary: Get the details of a project
24128
24119
  tags:
24129
24120
  - Case Management
@@ -24150,11 +24141,6 @@ paths:
24150
24141
  $ref: '#/components/responses/NotFoundResponse'
24151
24142
  '429':
24152
24143
  $ref: '#/components/responses/TooManyRequestsResponse'
24153
- security:
24154
- - apiKeyAuth: []
24155
- appKeyAuth: []
24156
- - AuthZ:
24157
- - cases_read
24158
24144
  summary: Get the details of a case
24159
24145
  tags:
24160
24146
  - Case Management
@@ -24188,11 +24174,6 @@ paths:
24188
24174
  $ref: '#/components/responses/NotFoundResponse'
24189
24175
  '429':
24190
24176
  $ref: '#/components/responses/TooManyRequestsResponse'
24191
- security:
24192
- - apiKeyAuth: []
24193
- appKeyAuth: []
24194
- - AuthZ:
24195
- - cases_write
24196
24177
  summary: Archive case
24197
24178
  tags:
24198
24179
  - Case Management
@@ -24226,11 +24207,6 @@ paths:
24226
24207
  $ref: '#/components/responses/NotFoundResponse'
24227
24208
  '429':
24228
24209
  $ref: '#/components/responses/TooManyRequestsResponse'
24229
- security:
24230
- - apiKeyAuth: []
24231
- appKeyAuth: []
24232
- - AuthZ:
24233
- - cases_write
24234
24210
  summary: Assign case
24235
24211
  tags:
24236
24212
  - Case Management
@@ -24264,11 +24240,6 @@ paths:
24264
24240
  $ref: '#/components/responses/NotFoundResponse'
24265
24241
  '429':
24266
24242
  $ref: '#/components/responses/TooManyRequestsResponse'
24267
- security:
24268
- - apiKeyAuth: []
24269
- appKeyAuth: []
24270
- - AuthZ:
24271
- - cases_write
24272
24243
  summary: Update case priority
24273
24244
  tags:
24274
24245
  - Case Management
@@ -24302,11 +24273,6 @@ paths:
24302
24273
  $ref: '#/components/responses/NotFoundResponse'
24303
24274
  '429':
24304
24275
  $ref: '#/components/responses/TooManyRequestsResponse'
24305
- security:
24306
- - apiKeyAuth: []
24307
- appKeyAuth: []
24308
- - AuthZ:
24309
- - cases_write
24310
24276
  summary: Update case status
24311
24277
  tags:
24312
24278
  - Case Management
@@ -24340,11 +24306,6 @@ paths:
24340
24306
  $ref: '#/components/responses/NotFoundResponse'
24341
24307
  '429':
24342
24308
  $ref: '#/components/responses/TooManyRequestsResponse'
24343
- security:
24344
- - apiKeyAuth: []
24345
- appKeyAuth: []
24346
- - AuthZ:
24347
- - cases_write
24348
24309
  summary: Unarchive case
24349
24310
  tags:
24350
24311
  - Case Management
@@ -24378,11 +24339,6 @@ paths:
24378
24339
  $ref: '#/components/responses/NotFoundResponse'
24379
24340
  '429':
24380
24341
  $ref: '#/components/responses/TooManyRequestsResponse'
24381
- security:
24382
- - apiKeyAuth: []
24383
- appKeyAuth: []
24384
- - AuthZ:
24385
- - cases_write
24386
24342
  summary: Unassign case
24387
24343
  tags:
24388
24344
  - Case Management
@@ -24956,6 +24912,11 @@ paths:
24956
24912
  description: Forbidden
24957
24913
  '429':
24958
24914
  $ref: '#/components/responses/TooManyRequestsResponse'
24915
+ security:
24916
+ - apiKeyAuth: []
24917
+ appKeyAuth: []
24918
+ - AuthZ:
24919
+ - cloud_cost_management_read
24959
24920
  summary: List Cloud Cost Management AWS CUR configs
24960
24921
  tags:
24961
24922
  - Cloud Cost Management
@@ -24993,6 +24954,11 @@ paths:
24993
24954
  description: Forbidden
24994
24955
  '429':
24995
24956
  $ref: '#/components/responses/TooManyRequestsResponse'
24957
+ security:
24958
+ - apiKeyAuth: []
24959
+ appKeyAuth: []
24960
+ - AuthZ:
24961
+ - cloud_cost_management_write
24996
24962
  summary: Create Cloud Cost Management AWS CUR config
24997
24963
  tags:
24998
24964
  - Cloud Cost Management
@@ -25023,6 +24989,11 @@ paths:
25023
24989
  description: Not Found
25024
24990
  '429':
25025
24991
  $ref: '#/components/responses/TooManyRequestsResponse'
24992
+ security:
24993
+ - apiKeyAuth: []
24994
+ appKeyAuth: []
24995
+ - AuthZ:
24996
+ - cloud_cost_management_write
25026
24997
  summary: Delete Cloud Cost Management AWS CUR config
25027
24998
  tags:
25028
24999
  - Cloud Cost Management
@@ -25056,6 +25027,11 @@ paths:
25056
25027
  description: Forbidden
25057
25028
  '429':
25058
25029
  $ref: '#/components/responses/TooManyRequestsResponse'
25030
+ security:
25031
+ - apiKeyAuth: []
25032
+ appKeyAuth: []
25033
+ - AuthZ:
25034
+ - cloud_cost_management_write
25059
25035
  summary: Update Cloud Cost Management AWS CUR config
25060
25036
  tags:
25061
25037
  - Cloud Cost Management
@@ -25097,6 +25073,11 @@ paths:
25097
25073
  description: Forbidden
25098
25074
  '429':
25099
25075
  $ref: '#/components/responses/TooManyRequestsResponse'
25076
+ security:
25077
+ - apiKeyAuth: []
25078
+ appKeyAuth: []
25079
+ - AuthZ:
25080
+ - cloud_cost_management_read
25100
25081
  summary: List related AWS accounts
25101
25082
  tags:
25102
25083
  - Cloud Cost Management
@@ -25123,6 +25104,11 @@ paths:
25123
25104
  description: Forbidden
25124
25105
  '429':
25125
25106
  $ref: '#/components/responses/TooManyRequestsResponse'
25107
+ security:
25108
+ - apiKeyAuth: []
25109
+ appKeyAuth: []
25110
+ - AuthZ:
25111
+ - cloud_cost_management_read
25126
25112
  summary: List Cloud Cost Management Azure configs
25127
25113
  tags:
25128
25114
  - Cloud Cost Management
@@ -25160,6 +25146,11 @@ paths:
25160
25146
  description: Forbidden
25161
25147
  '429':
25162
25148
  $ref: '#/components/responses/TooManyRequestsResponse'
25149
+ security:
25150
+ - apiKeyAuth: []
25151
+ appKeyAuth: []
25152
+ - AuthZ:
25153
+ - cloud_cost_management_write
25163
25154
  summary: Create Cloud Cost Management Azure configs
25164
25155
  tags:
25165
25156
  - Cloud Cost Management
@@ -25190,6 +25181,11 @@ paths:
25190
25181
  description: Not Found
25191
25182
  '429':
25192
25183
  $ref: '#/components/responses/TooManyRequestsResponse'
25184
+ security:
25185
+ - apiKeyAuth: []
25186
+ appKeyAuth: []
25187
+ - AuthZ:
25188
+ - cloud_cost_management_write
25193
25189
  summary: Delete Cloud Cost Management Azure config
25194
25190
  tags:
25195
25191
  - Cloud Cost Management
@@ -25229,6 +25225,11 @@ paths:
25229
25225
  description: Forbidden
25230
25226
  '429':
25231
25227
  $ref: '#/components/responses/TooManyRequestsResponse'
25228
+ security:
25229
+ - apiKeyAuth: []
25230
+ appKeyAuth: []
25231
+ - AuthZ:
25232
+ - cloud_cost_management_write
25232
25233
  summary: Update Cloud Cost Management Azure config
25233
25234
  tags:
25234
25235
  - Cloud Cost Management
@@ -25255,6 +25256,11 @@ paths:
25255
25256
  description: Forbidden
25256
25257
  '429':
25257
25258
  $ref: '#/components/responses/TooManyRequestsResponse'
25259
+ security:
25260
+ - apiKeyAuth: []
25261
+ appKeyAuth: []
25262
+ - AuthZ:
25263
+ - cloud_cost_management_read
25258
25264
  summary: Cloud Cost Enabled
25259
25265
  tags:
25260
25266
  - Cloud Cost Management
@@ -25314,7 +25320,8 @@ paths:
25314
25320
  end_month)\ncursor := response.metadata.pagination.next_record_id\nWHILE cursor
25315
25321
  != null BEGIN\n sleep(5 seconds) # Avoid running into rate limit\n response
25316
25322
  := GetMonthlyCostAttribution(start_month, end_month, next_record_id=cursor)\n
25317
- \ cursor := response.metadata.pagination.next_record_id\nEND\n```"
25323
+ \ cursor := response.metadata.pagination.next_record_id\nEND\n```\n\nThis
25324
+ endpoint is only accessible for [parent-level organizations](https://docs.datadoghq.com/account_management/multi_organization/)."
25318
25325
  operationId: GetMonthlyCostAttribution
25319
25326
  parameters:
25320
25327
  - description: 'Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]`
@@ -26239,11 +26246,6 @@ paths:
26239
26246
  $ref: '#/components/responses/NotAuthorizedResponse'
26240
26247
  '429':
26241
26248
  $ref: '#/components/responses/TooManyRequestsResponse'
26242
- security:
26243
- - apiKeyAuth: []
26244
- appKeyAuth: []
26245
- - AuthZ:
26246
- - events_read
26247
26249
  summary: Search events
26248
26250
  tags:
26249
26251
  - Events
@@ -28005,6 +28007,11 @@ paths:
28005
28007
  $ref: '#/components/responses/NotFoundResponse'
28006
28008
  '429':
28007
28009
  $ref: '#/components/responses/TooManyRequestsResponse'
28010
+ security:
28011
+ - apiKeyAuth: []
28012
+ appKeyAuth: []
28013
+ - AuthZ:
28014
+ - org_management
28008
28015
  summary: Get IP Allowlist
28009
28016
  tags:
28010
28017
  - IP Allowlist
@@ -28032,6 +28039,11 @@ paths:
28032
28039
  $ref: '#/components/responses/NotFoundResponse'
28033
28040
  '429':
28034
28041
  $ref: '#/components/responses/TooManyRequestsResponse'
28042
+ security:
28043
+ - apiKeyAuth: []
28044
+ appKeyAuth: []
28045
+ - AuthZ:
28046
+ - org_management
28035
28047
  summary: Update IP Allowlist
28036
28048
  tags:
28037
28049
  - IP Allowlist
@@ -28312,10 +28324,6 @@ paths:
28312
28324
  description: Forbidden
28313
28325
  '429':
28314
28326
  $ref: '#/components/responses/TooManyRequestsResponse'
28315
- security:
28316
- - apiKeyAuth: []
28317
- appKeyAuth: []
28318
- - AuthZ: []
28319
28327
  summary: Get archive order
28320
28328
  tags:
28321
28329
  - Logs Archives
@@ -28388,10 +28396,6 @@ paths:
28388
28396
  description: Forbidden
28389
28397
  '429':
28390
28398
  $ref: '#/components/responses/TooManyRequestsResponse'
28391
- security:
28392
- - apiKeyAuth: []
28393
- appKeyAuth: []
28394
- - AuthZ: []
28395
28399
  summary: Get all archives
28396
28400
  tags:
28397
28401
  - Logs Archives
@@ -28494,10 +28498,6 @@ paths:
28494
28498
  description: Not found
28495
28499
  '429':
28496
28500
  $ref: '#/components/responses/TooManyRequestsResponse'
28497
- security:
28498
- - apiKeyAuth: []
28499
- appKeyAuth: []
28500
- - AuthZ: []
28501
28501
  summary: Get an archive
28502
28502
  tags:
28503
28503
  - Logs Archives
@@ -28620,10 +28620,6 @@ paths:
28620
28620
  description: Not found
28621
28621
  '429':
28622
28622
  $ref: '#/components/responses/TooManyRequestsResponse'
28623
- security:
28624
- - apiKeyAuth: []
28625
- appKeyAuth: []
28626
- - AuthZ: []
28627
28623
  summary: List read roles for an archive
28628
28624
  tags:
28629
28625
  - Logs Archives
@@ -28810,10 +28806,6 @@ paths:
28810
28806
  $ref: '#/components/responses/NotAuthorizedResponse'
28811
28807
  '429':
28812
28808
  $ref: '#/components/responses/TooManyRequestsResponse'
28813
- security:
28814
- - apiKeyAuth: []
28815
- appKeyAuth: []
28816
- - AuthZ: []
28817
28809
  summary: Get all log-based metrics
28818
28810
  tags:
28819
28811
  - Logs Metrics
@@ -28885,10 +28877,6 @@ paths:
28885
28877
  $ref: '#/components/responses/NotFoundResponse'
28886
28878
  '429':
28887
28879
  $ref: '#/components/responses/TooManyRequestsResponse'
28888
- security:
28889
- - apiKeyAuth: []
28890
- appKeyAuth: []
28891
- - AuthZ: []
28892
28880
  summary: Get a log-based metric
28893
28881
  tags:
28894
28882
  - Logs Metrics
@@ -29355,11 +29343,6 @@ paths:
29355
29343
  schema:
29356
29344
  $ref: '#/components/schemas/APIErrorResponse'
29357
29345
  description: Too Many Requests
29358
- security:
29359
- - apiKeyAuth: []
29360
- appKeyAuth: []
29361
- - AuthZ:
29362
- - metrics_read
29363
29346
  summary: List active tags and aggregations
29364
29347
  tags:
29365
29348
  - Metrics
@@ -29539,10 +29522,6 @@ paths:
29539
29522
  schema:
29540
29523
  $ref: '#/components/schemas/APIErrorResponse'
29541
29524
  description: Too Many Requests
29542
- security:
29543
- - apiKeyAuth: []
29544
- appKeyAuth: []
29545
- - AuthZ: []
29546
29525
  summary: Tag Configuration Cardinality Estimator
29547
29526
  tags:
29548
29527
  - Metrics
@@ -29774,10 +29753,6 @@ paths:
29774
29753
  schema:
29775
29754
  $ref: '#/components/schemas/APIErrorResponse'
29776
29755
  description: Too Many Requests
29777
- security:
29778
- - apiKeyAuth: []
29779
- appKeyAuth: []
29780
- - AuthZ: []
29781
29756
  summary: List distinct metric volumes by metric name
29782
29757
  tags:
29783
29758
  - Metrics
@@ -30673,7 +30648,7 @@ paths:
30673
30648
  $ref: '#/components/responses/TooManyRequestsResponse'
30674
30649
  summary: Get all CSM Threats Agent rules
30675
30650
  tags:
30676
- - Cloud Workload Security
30651
+ - CSM Threats
30677
30652
  post:
30678
30653
  description: Create a new Cloud Security Management Threats Agent rule with
30679
30654
  the given parameters.
@@ -30702,7 +30677,7 @@ paths:
30702
30677
  $ref: '#/components/responses/TooManyRequestsResponse'
30703
30678
  summary: Create a CSM Threats Agent rule
30704
30679
  tags:
30705
- - Cloud Workload Security
30680
+ - CSM Threats
30706
30681
  x-codegen-request-body-name: body
30707
30682
  /api/v2/remote_config/products/cws/agent_rules/{agent_rule_id}:
30708
30683
  delete:
@@ -30721,7 +30696,7 @@ paths:
30721
30696
  $ref: '#/components/responses/TooManyRequestsResponse'
30722
30697
  summary: Delete a CSM Threats Agent rule
30723
30698
  tags:
30724
- - Cloud Workload Security
30699
+ - CSM Threats
30725
30700
  get:
30726
30701
  description: Get the details of a specific Cloud Security Management Threats
30727
30702
  Agent rule.
@@ -30743,7 +30718,7 @@ paths:
30743
30718
  $ref: '#/components/responses/TooManyRequestsResponse'
30744
30719
  summary: Get a CSM Threats Agent rule
30745
30720
  tags:
30746
- - Cloud Workload Security
30721
+ - CSM Threats
30747
30722
  patch:
30748
30723
  description: 'Update a specific Cloud Security Management Threats Agent rule.
30749
30724
 
@@ -30777,7 +30752,7 @@ paths:
30777
30752
  $ref: '#/components/responses/TooManyRequestsResponse'
30778
30753
  summary: Update a CSM Threats Agent rule
30779
30754
  tags:
30780
- - Cloud Workload Security
30755
+ - CSM Threats
30781
30756
  x-codegen-request-body-name: body
30782
30757
  /api/v2/remote_config/products/cws/policy/download:
30783
30758
  get:
@@ -30803,7 +30778,7 @@ paths:
30803
30778
  $ref: '#/components/responses/TooManyRequestsResponse'
30804
30779
  summary: Get the latest CSM Threats policy
30805
30780
  tags:
30806
- - Cloud Workload Security
30781
+ - CSM Threats
30807
30782
  /api/v2/restriction_policy/{resource_id}:
30808
30783
  delete:
30809
30784
  description: Deletes the restriction policy associated with a specified resource.
@@ -30857,12 +30832,12 @@ paths:
30857
30832
 
30858
30833
  Restriction policies can be applied to the following resources:
30859
30834
 
30860
- - Connections: `connection`
30861
-
30862
30835
  - Dashboards: `dashboard`
30863
30836
 
30864
30837
  - Notebooks: `notebook`
30865
30838
 
30839
+ - Powerpacks: `powerpack`
30840
+
30866
30841
  - Security Rules: `security-rule`
30867
30842
 
30868
30843
  - Service Level Objectives: `slo`
@@ -30874,12 +30849,12 @@ paths:
30874
30849
 
30875
30850
  -------------------------|--------------------------
30876
30851
 
30877
- Connections | `viewer`, `editor`, `resolver`
30878
-
30879
30852
  Dashboards | `viewer`, `editor`
30880
30853
 
30881
30854
  Notebooks | `viewer`, `editor`
30882
30855
 
30856
+ Powerpacks | `viewer`, `editor`
30857
+
30883
30858
  Security Rules | `viewer`, `editor`
30884
30859
 
30885
30860
  Service Level Objectives | `viewer`, `editor`'
@@ -32088,7 +32063,7 @@ paths:
32088
32063
  $ref: '#/components/responses/TooManyRequestsResponse'
32089
32064
  summary: Get the latest Cloud Workload Security policy
32090
32065
  tags:
32091
- - Cloud Workload Security
32066
+ - CSM Threats
32092
32067
  /api/v2/security_monitoring/cloud_workload_security/agent_rules:
32093
32068
  get:
32094
32069
  description: Get the list of Agent rules.
@@ -32106,7 +32081,7 @@ paths:
32106
32081
  $ref: '#/components/responses/TooManyRequestsResponse'
32107
32082
  summary: Get all Cloud Workload Security Agent rules
32108
32083
  tags:
32109
- - Cloud Workload Security
32084
+ - CSM Threats
32110
32085
  post:
32111
32086
  description: Create a new Agent rule with the given parameters.
32112
32087
  operationId: CreateCloudWorkloadSecurityAgentRule
@@ -32134,7 +32109,7 @@ paths:
32134
32109
  $ref: '#/components/responses/TooManyRequestsResponse'
32135
32110
  summary: Create a Cloud Workload Security Agent rule
32136
32111
  tags:
32137
- - Cloud Workload Security
32112
+ - CSM Threats
32138
32113
  x-codegen-request-body-name: body
32139
32114
  /api/v2/security_monitoring/cloud_workload_security/agent_rules/{agent_rule_id}:
32140
32115
  delete:
@@ -32153,7 +32128,7 @@ paths:
32153
32128
  $ref: '#/components/responses/TooManyRequestsResponse'
32154
32129
  summary: Delete a Cloud Workload Security Agent rule
32155
32130
  tags:
32156
- - Cloud Workload Security
32131
+ - CSM Threats
32157
32132
  get:
32158
32133
  description: Get the details of a specific Agent rule.
32159
32134
  operationId: GetCloudWorkloadSecurityAgentRule
@@ -32174,7 +32149,7 @@ paths:
32174
32149
  $ref: '#/components/responses/TooManyRequestsResponse'
32175
32150
  summary: Get a Cloud Workload Security Agent rule
32176
32151
  tags:
32177
- - Cloud Workload Security
32152
+ - CSM Threats
32178
32153
  patch:
32179
32154
  description: 'Update a specific Agent rule.
32180
32155
 
@@ -32208,7 +32183,7 @@ paths:
32208
32183
  $ref: '#/components/responses/TooManyRequestsResponse'
32209
32184
  summary: Update a Cloud Workload Security Agent rule
32210
32185
  tags:
32211
- - Cloud Workload Security
32186
+ - CSM Threats
32212
32187
  x-codegen-request-body-name: body
32213
32188
  /api/v2/security_monitoring/configuration/security_filters:
32214
32189
  get:
@@ -32648,7 +32623,10 @@ paths:
32648
32623
  must be included. For example, when modifying a query all queries must be
32649
32624
  included.
32650
32625
 
32651
- Default rules can only be updated to be enabled and to change notifications.'
32626
+ Default rules can only be updated to be enabled, to change notifications,
32627
+ or to update
32628
+
32629
+ the tags (default tags cannot be removed).'
32652
32630
  operationId: UpdateSecurityMonitoringRule
32653
32631
  parameters:
32654
32632
  - $ref: '#/components/parameters/SecurityMonitoringRuleID'
@@ -34070,6 +34048,11 @@ paths:
34070
34048
  $ref: '#/components/responses/ForbiddenResponse'
34071
34049
  '429':
34072
34050
  $ref: '#/components/responses/TooManyRequestsResponse'
34051
+ security:
34052
+ - apiKeyAuth: []
34053
+ appKeyAuth: []
34054
+ - AuthZ:
34055
+ - apm_read
34073
34056
  summary: Aggregate spans
34074
34057
  tags:
34075
34058
  - Spans
@@ -34151,6 +34134,11 @@ paths:
34151
34134
  $ref: '#/components/responses/SpansUnprocessableEntityResponse'
34152
34135
  '429':
34153
34136
  $ref: '#/components/responses/SpansTooManyRequestsResponse'
34137
+ security:
34138
+ - apiKeyAuth: []
34139
+ appKeyAuth: []
34140
+ - AuthZ:
34141
+ - apm_read
34154
34142
  summary: Get a list of spans
34155
34143
  tags:
34156
34144
  - Spans
@@ -34194,6 +34182,11 @@ paths:
34194
34182
  $ref: '#/components/responses/SpansUnprocessableEntityResponse'
34195
34183
  '429':
34196
34184
  $ref: '#/components/responses/SpansTooManyRequestsResponse'
34185
+ security:
34186
+ - apiKeyAuth: []
34187
+ appKeyAuth: []
34188
+ - AuthZ:
34189
+ - apm_read
34197
34190
  summary: Search spans
34198
34191
  tags:
34199
34192
  - Spans
@@ -35214,7 +35207,10 @@ paths:
35214
35207
 
35215
35208
  [`/historical_cost`](https://docs.datadoghq.com/api/latest/usage-metering/#get-historical-cost-across-your-account)
35216
35209
 
35217
- instead.'
35210
+ instead.
35211
+
35212
+
35213
+ This endpoint is only accessible for [parent-level organizations](https://docs.datadoghq.com/account_management/multi_organization/).'
35218
35214
  operationId: GetCostByOrg
35219
35215
  parameters:
35220
35216
  - description: 'Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]`
@@ -35274,7 +35270,10 @@ paths:
35274
35270
 
35275
35271
  and is delayed by up to 72 hours from when it was incurred.
35276
35272
 
35277
- To access historical costs prior to this, use the `/historical_cost` endpoint.'
35273
+ To access historical costs prior to this, use the `/historical_cost` endpoint.
35274
+
35275
+
35276
+ This endpoint is only accessible for [parent-level organizations](https://docs.datadoghq.com/account_management/multi_organization/).'
35278
35277
  operationId: GetEstimatedCostByOrg
35279
35278
  parameters:
35280
35279
  - description: String to specify whether cost is broken down at a parent-org
@@ -35359,7 +35358,10 @@ paths:
35359
35358
  description: 'Get historical cost across multi-org and single root-org accounts.
35360
35359
 
35361
35360
  Cost data for a given month becomes available no later than the 16th of the
35362
- following month.'
35361
+ following month.
35362
+
35363
+
35364
+ This endpoint is only accessible for [parent-level organizations](https://docs.datadoghq.com/account_management/multi_organization/).'
35363
35365
  operationId: GetHistoricalCostByOrg
35364
35366
  parameters:
35365
35367
  - description: String to specify whether cost is broken down at a parent-org
@@ -35671,7 +35673,8 @@ paths:
35671
35673
  Projected cost data is only available for the current month and becomes available
35672
35674
  around the 12th of the month.
35673
35675
 
35674
- This endpoint requires the usage_read authorization scope.'
35676
+
35677
+ This endpoint is only accessible for [parent-level organizations](https://docs.datadoghq.com/account_management/multi_organization/).'
35675
35678
  operationId: GetProjectedCost
35676
35679
  parameters:
35677
35680
  - description: String to specify whether cost is broken down at a parent-org
@@ -36225,10 +36228,6 @@ tags:
36225
36228
  Cloud Cost Management accounts for AWS and Azure. See the [Cloud Cost Management
36226
36229
  page](https://docs.datadoghq.com/cloud_cost_management/) for more information.
36227
36230
  name: Cloud Cost Management
36228
- - description: Workload activity security rules for generating events using the Datadog
36229
- security Agent. See the [Setting up CSM Workload Security page](https://docs.datadoghq.com/security/cloud_security_management/setup/csm_workload_security/)
36230
- for more information.
36231
- name: Cloud Workload Security
36232
36231
  - description: Manage your Datadog Cloudflare integration directly through the Datadog
36233
36232
  API. See the [Cloudflare integration page](https://docs.datadoghq.com/integrations/cloudflare/)
36234
36233
  for more information.
@@ -36502,8 +36501,6 @@ tags:
36502
36501
 
36503
36502
  This API is available to all Pro and Enterprise customers.
36504
36503
 
36505
- Usage is only accessible for [parent-level organizations](https://docs.datadoghq.com/account_management/multi_organization/).
36506
-
36507
36504
 
36508
36505
  **Note**: Usage data is delayed by up to 72 hours from when it was incurred.
36509
36506