datadog_api_client 2.19.0 → 2.20.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 (80) hide show
  1. checksums.yaml +4 -4
  2. data/.apigentools-info +4 -4
  3. data/.generator/schemas/v1/openapi.yaml +97 -44
  4. data/.generator/schemas/v2/openapi.yaml +704 -42
  5. data/.generator/src/generator/templates/api.j2 +5 -5
  6. data/CHANGELOG.md +20 -0
  7. data/examples/v1/logs-indexes/CreateLogsIndex.rb +5 -0
  8. data/examples/v1/logs-indexes/UpdateLogsIndex.rb +5 -0
  9. data/examples/v1/synthetics/CreateSyntheticsAPITest.rb +1 -1
  10. data/examples/v1/synthetics/CreateSyntheticsBrowserTest.rb +1 -1
  11. data/examples/v1/synthetics/TriggerCITests.rb +1 -1
  12. data/examples/v1/synthetics/UpdateBrowserTest.rb +1 -1
  13. data/examples/v1/usage-metering/GetUsageLambda.rb +5 -2
  14. data/examples/v2/api-management/CreateOpenAPI.rb +11 -0
  15. data/examples/v2/api-management/DeleteOpenAPI.rb +11 -0
  16. data/examples/v2/api-management/GetOpenAPI.rb +11 -0
  17. data/examples/v2/api-management/UpdateOpenAPI.rb +14 -0
  18. data/examples/v2/okta-integration/CreateOktaAccount.rb +1 -1
  19. data/examples/v2/security-monitoring/CreateSecurityMonitoringSuppression.rb +19 -0
  20. data/examples/v2/security-monitoring/DeleteSecurityMonitoringSuppression.rb +8 -0
  21. data/examples/v2/security-monitoring/GetSecurityMonitoringSuppression.rb +8 -0
  22. data/examples/v2/security-monitoring/ListSecurityMonitoringSuppressions.rb +5 -0
  23. data/examples/v2/security-monitoring/UpdateSecurityMonitoringSuppression.rb +17 -0
  24. data/examples/v2/teams/GetTeamMemberships_3799131168.rb +8 -0
  25. data/examples/v2/usage-metering/GetUsageLambdaTracedInvocations.rb +1 -1
  26. data/lib/datadog_api_client/configuration.rb +4 -0
  27. data/lib/datadog_api_client/inflector.rb +22 -0
  28. data/lib/datadog_api_client/v1/api/organizations_api.rb +1 -1
  29. data/lib/datadog_api_client/v1/api/usage_metering_api.rb +3 -3
  30. data/lib/datadog_api_client/v1/models/dashboard.rb +5 -1
  31. data/lib/datadog_api_client/v1/models/dashboard_summary_definition.rb +2 -0
  32. data/lib/datadog_api_client/v1/models/log.rb +1 -1
  33. data/lib/datadog_api_client/v1/models/logs_daily_limit_reset.rb +90 -0
  34. data/lib/datadog_api_client/v1/models/logs_index.rb +36 -1
  35. data/lib/datadog_api_client/v1/models/logs_index_update_request.rb +36 -1
  36. data/lib/datadog_api_client/v1/models/metrics_payload.rb +1 -1
  37. data/lib/datadog_api_client/v1/models/metrics_query_metadata.rb +1 -1
  38. data/lib/datadog_api_client/v1/models/slo_correction_create_request_attributes.rb +1 -1
  39. data/lib/datadog_api_client/v1/models/slo_correction_response_attributes.rb +1 -1
  40. data/lib/datadog_api_client/v1/models/slo_correction_update_request_attributes.rb +1 -1
  41. data/lib/datadog_api_client/v1/models/slo_history_metrics.rb +2 -2
  42. data/lib/datadog_api_client/v1/models/slo_history_metrics_series.rb +1 -1
  43. data/lib/datadog_api_client/v1/models/slo_history_monitor.rb +1 -1
  44. data/lib/datadog_api_client/v1/models/slo_history_sli_data.rb +1 -1
  45. data/lib/datadog_api_client/v1/models/split_config.rb +6 -6
  46. data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +11 -1
  47. data/lib/datadog_api_client/v1/models/usage_lambda_hour.rb +1 -1
  48. data/lib/datadog_api_client/v1/models/usage_lambda_response.rb +1 -1
  49. data/lib/datadog_api_client/v2/api/api_management_api.rb +319 -0
  50. data/lib/datadog_api_client/v2/api/organizations_api.rb +1 -1
  51. data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +329 -0
  52. data/lib/datadog_api_client/v2/api/teams_api.rb +22 -0
  53. data/lib/datadog_api_client/v2/api/usage_metering_api.rb +3 -3
  54. data/lib/datadog_api_client/v2/models/create_open_api_response.rb +80 -0
  55. data/lib/datadog_api_client/v2/models/create_open_api_response_attributes.rb +82 -0
  56. data/lib/datadog_api_client/v2/models/create_open_api_response_data.rb +90 -0
  57. data/lib/datadog_api_client/v2/models/dora_deployment_request_attributes.rb +11 -1
  58. data/lib/datadog_api_client/v2/models/dora_incident_request_attributes.rb +11 -1
  59. data/lib/datadog_api_client/v2/models/metric_payload.rb +1 -1
  60. data/lib/datadog_api_client/v2/models/open_api_endpoint.rb +90 -0
  61. data/lib/datadog_api_client/v2/models/open_api_file.rb +80 -0
  62. data/lib/datadog_api_client/v2/models/security_monitoring_suppression.rb +100 -0
  63. data/lib/datadog_api_client/v2/models/security_monitoring_suppression_attributes.rb +198 -0
  64. data/lib/datadog_api_client/v2/models/security_monitoring_suppression_create_attributes.rb +181 -0
  65. data/lib/datadog_api_client/v2/models/security_monitoring_suppression_create_data.rb +119 -0
  66. data/lib/datadog_api_client/v2/models/security_monitoring_suppression_create_request.rb +98 -0
  67. data/lib/datadog_api_client/v2/models/security_monitoring_suppression_response.rb +80 -0
  68. data/lib/datadog_api_client/v2/models/security_monitoring_suppression_type.rb +26 -0
  69. data/lib/datadog_api_client/v2/models/security_monitoring_suppression_update_attributes.rb +166 -0
  70. data/lib/datadog_api_client/v2/models/security_monitoring_suppression_update_data.rb +119 -0
  71. data/lib/datadog_api_client/v2/models/security_monitoring_suppression_update_request.rb +98 -0
  72. data/lib/datadog_api_client/v2/models/security_monitoring_suppressions_response.rb +82 -0
  73. data/lib/datadog_api_client/v2/models/security_monitoring_user.rb +98 -0
  74. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_included_keyword_configuration.rb +1 -1
  75. data/lib/datadog_api_client/v2/models/update_open_api_response.rb +80 -0
  76. data/lib/datadog_api_client/v2/models/update_open_api_response_attributes.rb +82 -0
  77. data/lib/datadog_api_client/v2/models/update_open_api_response_data.rb +90 -0
  78. data/lib/datadog_api_client/version.rb +1 -1
  79. metadata +34 -3
  80. data/examples/v1/usage-metering/GetUsageLambda_3132428705.rb +0 -8
@@ -432,6 +432,13 @@ components:
432
432
  required: true
433
433
  schema:
434
434
  type: string
435
+ SecurityMonitoringSuppressionID:
436
+ description: The ID of the suppression rule
437
+ in: path
438
+ name: suppression_id
439
+ required: true
440
+ schema:
441
+ type: string
435
442
  SensitiveDataScannerGroupID:
436
443
  description: The ID of a group of rules.
437
444
  in: path
@@ -832,6 +839,11 @@ components:
832
839
  type: string
833
840
  x-enum-varnames:
834
841
  - BILLING_DIMENSIONS
842
+ ApiID:
843
+ description: API identifier.
844
+ example: 90646597-5fdb-4a17-a240-647003f8c028
845
+ format: uuid
846
+ type: string
835
847
  ApmRetentionFilterType:
836
848
  default: apm_retention_filter
837
849
  description: The type of the resource.
@@ -4866,6 +4878,29 @@ components:
4866
4878
  type: string
4867
4879
  x-enum-varnames:
4868
4880
  - COST_BY_ORG
4881
+ CreateOpenAPIResponse:
4882
+ description: Response for `CreateOpenAPI` operation.
4883
+ properties:
4884
+ data:
4885
+ $ref: '#/components/schemas/CreateOpenAPIResponseData'
4886
+ type: object
4887
+ CreateOpenAPIResponseAttributes:
4888
+ description: Attributes for `CreateOpenAPI`.
4889
+ properties:
4890
+ failed_endpoints:
4891
+ description: List of endpoints which couldn't be parsed.
4892
+ items:
4893
+ $ref: '#/components/schemas/OpenAPIEndpoint'
4894
+ type: array
4895
+ type: object
4896
+ CreateOpenAPIResponseData:
4897
+ description: Data envelope for `CreateOpenAPIResponse`.
4898
+ properties:
4899
+ attributes:
4900
+ $ref: '#/components/schemas/CreateOpenAPIResponseAttributes'
4901
+ id:
4902
+ $ref: '#/components/schemas/ApiID'
4903
+ type: object
4869
4904
  CreateRuleRequest:
4870
4905
  description: Scorecard create rule request.
4871
4906
  properties:
@@ -4923,6 +4958,10 @@ components:
4923
4958
  DORADeploymentRequestAttributes:
4924
4959
  description: Attributes to create a DORA deployment event.
4925
4960
  properties:
4961
+ env:
4962
+ description: Environment name to where the service was deployed.
4963
+ example: staging
4964
+ type: string
4926
4965
  finished_at:
4927
4966
  description: Unix timestamp in nanoseconds when the deployment finished.
4928
4967
  It should not be older than 3 hours.
@@ -5011,6 +5050,10 @@ components:
5011
5050
  DORAIncidentRequestAttributes:
5012
5051
  description: Attributes to create a DORA incident event.
5013
5052
  properties:
5053
+ env:
5054
+ description: Environment name that was impacted by the incident.
5055
+ example: staging
5056
+ type: string
5014
5057
  finished_at:
5015
5058
  description: Unix timestamp in nanoseconds when the incident finished. It
5016
5059
  should not be older than 3 hours.
@@ -11040,7 +11083,7 @@ components:
11040
11083
  description: The metrics' payload.
11041
11084
  properties:
11042
11085
  series:
11043
- description: A list of time series to submit to Datadog.
11086
+ description: A list of timeseries to submit to Datadog.
11044
11087
  example:
11045
11088
  - metric: system.load.1
11046
11089
  points:
@@ -12064,6 +12107,24 @@ components:
12064
12107
  type: string
12065
12108
  x-enum-varnames:
12066
12109
  - ON_DEMAND_CONCURRENCY_CAP
12110
+ OpenAPIEndpoint:
12111
+ description: Endpoint info extracted from an `OpenAPI` specification.
12112
+ properties:
12113
+ method:
12114
+ description: The endpoint method.
12115
+ type: string
12116
+ path:
12117
+ description: The endpoint path.
12118
+ type: string
12119
+ type: object
12120
+ OpenAPIFile:
12121
+ description: Object for API data in an `OpenAPI` format as a file.
12122
+ properties:
12123
+ openapi_spec_file:
12124
+ description: Binary `OpenAPI` spec file
12125
+ format: binary
12126
+ type: string
12127
+ type: object
12067
12128
  OpsgenieServiceCreateAttributes:
12068
12129
  description: The Opsgenie service attributes for a create request.
12069
12130
  properties:
@@ -16588,6 +16649,219 @@ components:
16588
16649
  description: The version of the rule.
16589
16650
  format: int64
16590
16651
  type: integer
16652
+ SecurityMonitoringSuppression:
16653
+ description: The suppression rule's properties.
16654
+ properties:
16655
+ attributes:
16656
+ $ref: '#/components/schemas/SecurityMonitoringSuppressionAttributes'
16657
+ id:
16658
+ $ref: '#/components/schemas/SecurityMonitoringSuppressionID'
16659
+ type:
16660
+ $ref: '#/components/schemas/SecurityMonitoringSuppressionType'
16661
+ type: object
16662
+ SecurityMonitoringSuppressionAttributes:
16663
+ description: The attributes of the suppression rule.
16664
+ properties:
16665
+ creation_date:
16666
+ description: A Unix millisecond timestamp given the creation date of the
16667
+ suppression rule.
16668
+ format: int64
16669
+ type: integer
16670
+ creator:
16671
+ $ref: '#/components/schemas/SecurityMonitoringUser'
16672
+ description:
16673
+ description: A description for the suppression rule.
16674
+ example: This rule suppresses low-severity signals in staging environments.
16675
+ type: string
16676
+ enabled:
16677
+ description: Whether the suppression rule is enabled.
16678
+ example: true
16679
+ type: boolean
16680
+ expiration_date:
16681
+ description: A Unix millisecond timestamp giving an expiration date for
16682
+ the suppression rule. After this date, it won't suppress signals anymore.
16683
+ example: 1703187336000
16684
+ format: int64
16685
+ type: integer
16686
+ name:
16687
+ description: The name of the suppression rule.
16688
+ example: Custom suppression
16689
+ type: string
16690
+ rule_query:
16691
+ description: The rule query of the suppression rule, with the same syntax
16692
+ as the search bar for detection rules.
16693
+ example: type:log_detection source:cloudtrail
16694
+ type: string
16695
+ suppression_query:
16696
+ description: The suppression query of the suppression rule. If a signal
16697
+ matches this query, it is suppressed and not triggered. Same syntax as
16698
+ the queries to search signals in the signal explorer.
16699
+ example: env:staging status:low
16700
+ type: string
16701
+ update_date:
16702
+ description: A Unix millisecond timestamp given the update date of the suppression
16703
+ rule.
16704
+ format: int64
16705
+ type: integer
16706
+ updater:
16707
+ $ref: '#/components/schemas/SecurityMonitoringUser'
16708
+ version:
16709
+ description: The version of the suppression rule; it starts at 1, and is
16710
+ incremented at each update.
16711
+ example: 42
16712
+ format: int32
16713
+ maximum: 2147483647
16714
+ type: integer
16715
+ type: object
16716
+ SecurityMonitoringSuppressionCreateAttributes:
16717
+ description: Object containing the attributes of the suppression rule to be
16718
+ created.
16719
+ properties:
16720
+ description:
16721
+ description: A description for the suppression rule.
16722
+ example: This rule suppresses low-severity signals in staging environments.
16723
+ type: string
16724
+ enabled:
16725
+ description: Whether the suppression rule is enabled.
16726
+ example: true
16727
+ type: boolean
16728
+ expiration_date:
16729
+ description: A Unix millisecond timestamp giving an expiration date for
16730
+ the suppression rule. After this date, it won't suppress signals anymore.
16731
+ example: 1703187336000
16732
+ format: int64
16733
+ type: integer
16734
+ name:
16735
+ description: The name of the suppression rule.
16736
+ example: Custom suppression
16737
+ type: string
16738
+ rule_query:
16739
+ description: The rule query of the suppression rule, with the same syntax
16740
+ as the search bar for detection rules.
16741
+ example: type:log_detection source:cloudtrail
16742
+ type: string
16743
+ suppression_query:
16744
+ description: The suppression query of the suppression rule. If a signal
16745
+ matches this query, it is suppressed and is not triggered . Same syntax
16746
+ as the queries to search signals in the signal explorer.
16747
+ example: env:staging status:low
16748
+ type: string
16749
+ required:
16750
+ - name
16751
+ - enabled
16752
+ - rule_query
16753
+ - suppression_query
16754
+ type: object
16755
+ SecurityMonitoringSuppressionCreateData:
16756
+ description: Object for a single suppression rule.
16757
+ properties:
16758
+ attributes:
16759
+ $ref: '#/components/schemas/SecurityMonitoringSuppressionCreateAttributes'
16760
+ type:
16761
+ $ref: '#/components/schemas/SecurityMonitoringSuppressionType'
16762
+ required:
16763
+ - type
16764
+ - attributes
16765
+ type: object
16766
+ SecurityMonitoringSuppressionCreateRequest:
16767
+ description: Request object that includes the suppression rule that you would
16768
+ like to create.
16769
+ properties:
16770
+ data:
16771
+ $ref: '#/components/schemas/SecurityMonitoringSuppressionCreateData'
16772
+ required:
16773
+ - data
16774
+ type: object
16775
+ SecurityMonitoringSuppressionID:
16776
+ description: The ID of the suppression rule.
16777
+ example: 3dd-0uc-h1s
16778
+ type: string
16779
+ SecurityMonitoringSuppressionResponse:
16780
+ description: Response object containing a single suppression rule.
16781
+ properties:
16782
+ data:
16783
+ $ref: '#/components/schemas/SecurityMonitoringSuppression'
16784
+ type: object
16785
+ SecurityMonitoringSuppressionType:
16786
+ default: suppressions
16787
+ description: The type of the resource. The value should always be `suppressions`.
16788
+ enum:
16789
+ - suppressions
16790
+ example: suppressions
16791
+ type: string
16792
+ x-enum-varnames:
16793
+ - SUPPRESSIONS
16794
+ SecurityMonitoringSuppressionUpdateAttributes:
16795
+ description: The suppression rule properties to be updated.
16796
+ properties:
16797
+ description:
16798
+ description: A description for the suppression rule.
16799
+ example: This rule suppresses low-severity signals in staging environments.
16800
+ type: string
16801
+ enabled:
16802
+ description: Whether the suppression rule is enabled.
16803
+ example: true
16804
+ type: boolean
16805
+ expiration_date:
16806
+ description: A Unix millisecond timestamp giving an expiration date for
16807
+ the suppression rule. After this date, it won't suppress signals anymore.
16808
+ If unset, the expiration date of the suppression rule is left untouched.
16809
+ If set to `null`, the expiration date is removed.
16810
+ example: 1703187336000
16811
+ format: int64
16812
+ nullable: true
16813
+ type: integer
16814
+ name:
16815
+ description: The name of the suppression rule.
16816
+ example: Custom suppression
16817
+ type: string
16818
+ rule_query:
16819
+ description: The rule query of the suppression rule, with the same syntax
16820
+ as the search bar for detection rules.
16821
+ example: type:log_detection source:cloudtrail
16822
+ type: string
16823
+ suppression_query:
16824
+ description: The suppression query of the suppression rule. If a signal
16825
+ matches this query, it is suppressed and not triggered. Same syntax as
16826
+ the queries to search signals in the signal explorer.
16827
+ example: env:staging status:low
16828
+ type: string
16829
+ version:
16830
+ description: The current version of the suppression. This is optional, but
16831
+ it can help prevent concurrent modifications.
16832
+ format: int32
16833
+ maximum: 2147483647
16834
+ type: integer
16835
+ type: object
16836
+ SecurityMonitoringSuppressionUpdateData:
16837
+ description: The new suppression properties; partial updates are supported.
16838
+ properties:
16839
+ attributes:
16840
+ $ref: '#/components/schemas/SecurityMonitoringSuppressionUpdateAttributes'
16841
+ type:
16842
+ $ref: '#/components/schemas/SecurityMonitoringSuppressionType'
16843
+ required:
16844
+ - type
16845
+ - attributes
16846
+ type: object
16847
+ SecurityMonitoringSuppressionUpdateRequest:
16848
+ description: Request object containing the fields to update on the suppression
16849
+ rule.
16850
+ properties:
16851
+ data:
16852
+ $ref: '#/components/schemas/SecurityMonitoringSuppressionUpdateData'
16853
+ required:
16854
+ - data
16855
+ type: object
16856
+ SecurityMonitoringSuppressionsResponse:
16857
+ description: Response object containing the available suppression rules.
16858
+ properties:
16859
+ data:
16860
+ description: A list of suppressions objects.
16861
+ items:
16862
+ $ref: '#/components/schemas/SecurityMonitoringSuppression'
16863
+ type: array
16864
+ type: object
16591
16865
  SecurityMonitoringThirdPartyRootQuery:
16592
16866
  description: A query to be combined with the third party case query.
16593
16867
  properties:
@@ -16666,6 +16940,19 @@ components:
16666
16940
  required:
16667
16941
  - uuid
16668
16942
  type: object
16943
+ SecurityMonitoringUser:
16944
+ description: A user.
16945
+ properties:
16946
+ handle:
16947
+ description: The handle of the user.
16948
+ example: john.doe@datadoghq.com
16949
+ type: string
16950
+ name:
16951
+ description: The name of the user.
16952
+ example: John Doe
16953
+ nullable: true
16954
+ type: string
16955
+ type: object
16669
16956
  SensitiveDataScannerConfigRequest:
16670
16957
  description: Group reorder request.
16671
16958
  properties:
@@ -16953,7 +17240,7 @@ components:
16953
17240
  description: 'Keyword list that will be checked during scanning in order
16954
17241
  to validate a match.
16955
17242
 
16956
- The number of keywords in the list must be less than or equal to 20.'
17243
+ The number of keywords in the list must be less than or equal to 30.'
16957
17244
  example:
16958
17245
  - credit card
16959
17246
  - cc
@@ -20043,6 +20330,29 @@ components:
20043
20330
  example: min
20044
20331
  type: string
20045
20332
  type: object
20333
+ UpdateOpenAPIResponse:
20334
+ description: Response for `UpdateOpenAPI`.
20335
+ properties:
20336
+ data:
20337
+ $ref: '#/components/schemas/UpdateOpenAPIResponseData'
20338
+ type: object
20339
+ UpdateOpenAPIResponseAttributes:
20340
+ description: Attributes for `UpdateOpenAPI`.
20341
+ properties:
20342
+ failed_endpoints:
20343
+ description: List of endpoints which couldn't be parsed.
20344
+ items:
20345
+ $ref: '#/components/schemas/OpenAPIEndpoint'
20346
+ type: array
20347
+ type: object
20348
+ UpdateOpenAPIResponseData:
20349
+ description: Data envelope for `UpdateOpenAPIResponse`.
20350
+ properties:
20351
+ attributes:
20352
+ $ref: '#/components/schemas/UpdateOpenAPIResponseAttributes'
20353
+ id:
20354
+ $ref: '#/components/schemas/ApiID'
20355
+ type: object
20046
20356
  UsageApplicationSecurityMonitoringResponse:
20047
20357
  description: Application Security Monitoring usage response.
20048
20358
  properties:
@@ -20869,6 +21179,195 @@ paths:
20869
21179
  tags:
20870
21180
  - Key Management
20871
21181
  x-codegen-request-body-name: body
21182
+ /api/v2/apicatalog/api/{id}:
21183
+ delete:
21184
+ description: Delete a specific API by ID.
21185
+ operationId: DeleteOpenAPI
21186
+ parameters:
21187
+ - description: ID of the API to delete
21188
+ in: path
21189
+ name: id
21190
+ required: true
21191
+ schema:
21192
+ $ref: '#/components/schemas/ApiID'
21193
+ responses:
21194
+ '204':
21195
+ description: API deleted successfully
21196
+ '400':
21197
+ content:
21198
+ application/json:
21199
+ schema:
21200
+ $ref: '#/components/schemas/JSONAPIErrorResponse'
21201
+ description: Bad request
21202
+ '403':
21203
+ content:
21204
+ application/json:
21205
+ schema:
21206
+ $ref: '#/components/schemas/JSONAPIErrorResponse'
21207
+ description: Forbidden
21208
+ '404':
21209
+ content:
21210
+ application/json:
21211
+ schema:
21212
+ $ref: '#/components/schemas/JSONAPIErrorResponse'
21213
+ description: API not found error
21214
+ '429':
21215
+ $ref: '#/components/responses/TooManyRequestsResponse'
21216
+ summary: Delete an API
21217
+ tags:
21218
+ - API Management
21219
+ x-unstable: '**Note**: This endpoint is in public beta.
21220
+
21221
+ If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
21222
+ /api/v2/apicatalog/api/{id}/openapi:
21223
+ get:
21224
+ description: Retrieve information about a specific API in [OpenAPI](https://spec.openapis.org/oas/latest.html)
21225
+ format file.
21226
+ operationId: GetOpenAPI
21227
+ parameters:
21228
+ - description: ID of the API to retrieve
21229
+ in: path
21230
+ name: id
21231
+ required: true
21232
+ schema:
21233
+ $ref: '#/components/schemas/ApiID'
21234
+ responses:
21235
+ '200':
21236
+ content:
21237
+ multipart/form-data:
21238
+ schema:
21239
+ format: binary
21240
+ type: string
21241
+ description: OK
21242
+ '400':
21243
+ content:
21244
+ application/json:
21245
+ schema:
21246
+ $ref: '#/components/schemas/JSONAPIErrorResponse'
21247
+ description: Bad request
21248
+ '403':
21249
+ content:
21250
+ application/json:
21251
+ schema:
21252
+ $ref: '#/components/schemas/JSONAPIErrorResponse'
21253
+ description: Forbidden
21254
+ '404':
21255
+ content:
21256
+ application/json:
21257
+ schema:
21258
+ $ref: '#/components/schemas/JSONAPIErrorResponse'
21259
+ description: API not found error
21260
+ '429':
21261
+ $ref: '#/components/responses/TooManyRequestsResponse'
21262
+ summary: Get an API
21263
+ tags:
21264
+ - API Management
21265
+ x-unstable: '**Note**: This endpoint is in public beta.
21266
+
21267
+ If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
21268
+ put:
21269
+ description: 'Update information about a specific API. The given content will
21270
+ replace all API content of the given ID.
21271
+
21272
+ The ID is returned by the create API, or can be found in the URL in the API
21273
+ catalog UI.
21274
+
21275
+ '
21276
+ operationId: UpdateOpenAPI
21277
+ parameters:
21278
+ - description: ID of the API to modify
21279
+ in: path
21280
+ name: id
21281
+ required: true
21282
+ schema:
21283
+ $ref: '#/components/schemas/ApiID'
21284
+ requestBody:
21285
+ content:
21286
+ multipart/form-data:
21287
+ schema:
21288
+ $ref: '#/components/schemas/OpenAPIFile'
21289
+ required: true
21290
+ responses:
21291
+ '200':
21292
+ content:
21293
+ application/json:
21294
+ schema:
21295
+ $ref: '#/components/schemas/UpdateOpenAPIResponse'
21296
+ description: API updated successfully
21297
+ '400':
21298
+ content:
21299
+ application/json:
21300
+ schema:
21301
+ $ref: '#/components/schemas/JSONAPIErrorResponse'
21302
+ description: Bad request
21303
+ '403':
21304
+ content:
21305
+ application/json:
21306
+ schema:
21307
+ $ref: '#/components/schemas/JSONAPIErrorResponse'
21308
+ description: Forbidden
21309
+ '404':
21310
+ content:
21311
+ application/json:
21312
+ schema:
21313
+ $ref: '#/components/schemas/JSONAPIErrorResponse'
21314
+ description: API not found error
21315
+ '429':
21316
+ $ref: '#/components/responses/TooManyRequestsResponse'
21317
+ summary: Update an API
21318
+ tags:
21319
+ - API Management
21320
+ x-unstable: '**Note**: This endpoint is in public beta.
21321
+
21322
+ If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
21323
+ /api/v2/apicatalog/openapi:
21324
+ post:
21325
+ description: 'Create a new API from the [OpenAPI](https://spec.openapis.org/oas/latest.html)
21326
+ specification given.
21327
+
21328
+ It supports version `2.0`, `3.0` and `3.1` of the specification. A specific
21329
+ extension section, `x-datadog`,
21330
+
21331
+ let you specify the `teamHandle` for your team responsible for the API in
21332
+ Datadog.
21333
+
21334
+ It returns the created API ID.
21335
+
21336
+ '
21337
+ operationId: CreateOpenAPI
21338
+ requestBody:
21339
+ content:
21340
+ multipart/form-data:
21341
+ schema:
21342
+ $ref: '#/components/schemas/OpenAPIFile'
21343
+ required: true
21344
+ responses:
21345
+ '201':
21346
+ content:
21347
+ application/json:
21348
+ schema:
21349
+ $ref: '#/components/schemas/CreateOpenAPIResponse'
21350
+ description: API created successfully
21351
+ '400':
21352
+ content:
21353
+ application/json:
21354
+ schema:
21355
+ $ref: '#/components/schemas/JSONAPIErrorResponse'
21356
+ description: Bad request
21357
+ '403':
21358
+ content:
21359
+ application/json:
21360
+ schema:
21361
+ $ref: '#/components/schemas/JSONAPIErrorResponse'
21362
+ description: Forbidden
21363
+ '429':
21364
+ $ref: '#/components/responses/TooManyRequestsResponse'
21365
+ summary: Create a new API
21366
+ tags:
21367
+ - API Management
21368
+ x-unstable: '**Note**: This endpoint is in public beta.
21369
+
21370
+ If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
20872
21371
  /api/v2/apm/config/metrics:
20873
21372
  get:
20874
21373
  description: Get the list of configured span-based metrics with their definitions.
@@ -22527,7 +23026,8 @@ paths:
22527
23026
  security:
22528
23027
  - apiKeyAuth: []
22529
23028
  appKeyAuth: []
22530
- - AuthZ: []
23029
+ - AuthZ:
23030
+ - usage_read
22531
23031
  summary: Get active billing dimensions for cost attribution
22532
23032
  tags:
22533
23033
  - Usage Metering
@@ -22648,7 +23148,8 @@ paths:
22648
23148
  security:
22649
23149
  - apiKeyAuth: []
22650
23150
  appKeyAuth: []
22651
- - AuthZ: []
23151
+ - AuthZ:
23152
+ - usage_read
22652
23153
  summary: Get Monthly Cost Attribution
22653
23154
  tags:
22654
23155
  - Usage Metering
@@ -28825,10 +29326,9 @@ paths:
28825
29326
  tags:
28826
29327
  - Service Scorecards
28827
29328
  x-codegen-request-body-name: body
28828
- x-unstable: '**Note**: This endpoint is in private beta. To request access,
28829
- fill out this [sign-up form](https://forms.gle/CcEyp1uJmZpxRv8U8),
29329
+ x-unstable: '**Note**: This endpoint is in public beta.
28830
29330
 
28831
- and we will be in touch. If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
29331
+ If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
28832
29332
  /api/v2/scorecard/rules:
28833
29333
  get:
28834
29334
  description: Fetch all rules.
@@ -28953,10 +29453,9 @@ paths:
28953
29453
  tags:
28954
29454
  - Service Scorecards
28955
29455
  x-codegen-request-body-name: body
28956
- x-unstable: '**Note**: This endpoint is in private beta. To request access,
28957
- fill out this [sign-up form](https://forms.gle/CcEyp1uJmZpxRv8U8),
29456
+ x-unstable: '**Note**: This endpoint is in public beta.
28958
29457
 
28959
- and we will be in touch. If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
29458
+ If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
28960
29459
  /api/v2/scorecard/rules/{rule_id}:
28961
29460
  delete:
28962
29461
  description: Deletes a single rule.
@@ -28982,10 +29481,9 @@ paths:
28982
29481
  summary: Delete a rule
28983
29482
  tags:
28984
29483
  - Service Scorecards
28985
- x-unstable: '**Note**: This endpoint is in private beta. To request access,
28986
- fill out this [sign-up form](https://forms.gle/CcEyp1uJmZpxRv8U8),
29484
+ x-unstable: '**Note**: This endpoint is in public beta.
28987
29485
 
28988
- and we will be in touch. If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
29486
+ If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
28989
29487
  /api/v2/security/cloud_workload/policy/download:
28990
29488
  get:
28991
29489
  description: 'The download endpoint generates a Cloud Workload Security policy
@@ -29288,6 +29786,149 @@ paths:
29288
29786
  tags:
29289
29787
  - Security Monitoring
29290
29788
  x-codegen-request-body-name: body
29789
+ /api/v2/security_monitoring/configuration/suppressions:
29790
+ get:
29791
+ description: Get the list of all suppression rules.
29792
+ operationId: ListSecurityMonitoringSuppressions
29793
+ responses:
29794
+ '200':
29795
+ content:
29796
+ application/json:
29797
+ schema:
29798
+ $ref: '#/components/schemas/SecurityMonitoringSuppressionsResponse'
29799
+ description: OK
29800
+ '403':
29801
+ $ref: '#/components/responses/NotAuthorizedResponse'
29802
+ '429':
29803
+ $ref: '#/components/responses/TooManyRequestsResponse'
29804
+ security:
29805
+ - apiKeyAuth: []
29806
+ appKeyAuth: []
29807
+ - AuthZ:
29808
+ - security_monitoring_suppressions_read
29809
+ summary: Get all suppression rules
29810
+ tags:
29811
+ - Security Monitoring
29812
+ post:
29813
+ description: Create a new suppression rule.
29814
+ operationId: CreateSecurityMonitoringSuppression
29815
+ requestBody:
29816
+ content:
29817
+ application/json:
29818
+ schema:
29819
+ $ref: '#/components/schemas/SecurityMonitoringSuppressionCreateRequest'
29820
+ description: The definition of the new suppression rule.
29821
+ required: true
29822
+ responses:
29823
+ '200':
29824
+ content:
29825
+ application/json:
29826
+ schema:
29827
+ $ref: '#/components/schemas/SecurityMonitoringSuppressionResponse'
29828
+ description: OK
29829
+ '400':
29830
+ $ref: '#/components/responses/BadRequestResponse'
29831
+ '403':
29832
+ $ref: '#/components/responses/NotAuthorizedResponse'
29833
+ '409':
29834
+ $ref: '#/components/responses/ConflictResponse'
29835
+ '429':
29836
+ $ref: '#/components/responses/TooManyRequestsResponse'
29837
+ security:
29838
+ - apiKeyAuth: []
29839
+ appKeyAuth: []
29840
+ - AuthZ:
29841
+ - security_monitoring_suppressions_write
29842
+ summary: Create a suppression rule
29843
+ tags:
29844
+ - Security Monitoring
29845
+ x-codegen-request-body-name: body
29846
+ /api/v2/security_monitoring/configuration/suppressions/{suppression_id}:
29847
+ delete:
29848
+ description: Delete a specific suppression rule.
29849
+ operationId: DeleteSecurityMonitoringSuppression
29850
+ parameters:
29851
+ - $ref: '#/components/parameters/SecurityMonitoringSuppressionID'
29852
+ responses:
29853
+ '204':
29854
+ description: OK
29855
+ '403':
29856
+ $ref: '#/components/responses/NotAuthorizedResponse'
29857
+ '404':
29858
+ $ref: '#/components/responses/NotFoundResponse'
29859
+ '429':
29860
+ $ref: '#/components/responses/TooManyRequestsResponse'
29861
+ security:
29862
+ - apiKeyAuth: []
29863
+ appKeyAuth: []
29864
+ - AuthZ:
29865
+ - security_monitoring_suppressions_write
29866
+ summary: Delete a suppression rule
29867
+ tags:
29868
+ - Security Monitoring
29869
+ get:
29870
+ description: Get the details of a specific suppression rule.
29871
+ operationId: GetSecurityMonitoringSuppression
29872
+ parameters:
29873
+ - $ref: '#/components/parameters/SecurityMonitoringSuppressionID'
29874
+ responses:
29875
+ '200':
29876
+ content:
29877
+ application/json:
29878
+ schema:
29879
+ $ref: '#/components/schemas/SecurityMonitoringSuppressionResponse'
29880
+ description: OK
29881
+ '403':
29882
+ $ref: '#/components/responses/NotAuthorizedResponse'
29883
+ '404':
29884
+ $ref: '#/components/responses/NotFoundResponse'
29885
+ '429':
29886
+ $ref: '#/components/responses/TooManyRequestsResponse'
29887
+ security:
29888
+ - apiKeyAuth: []
29889
+ appKeyAuth: []
29890
+ - AuthZ:
29891
+ - security_monitoring_suppressions_read
29892
+ summary: Get a suppression rule
29893
+ tags:
29894
+ - Security Monitoring
29895
+ patch:
29896
+ description: Update a specific suppression rule.
29897
+ operationId: UpdateSecurityMonitoringSuppression
29898
+ parameters:
29899
+ - $ref: '#/components/parameters/SecurityMonitoringSuppressionID'
29900
+ requestBody:
29901
+ content:
29902
+ application/json:
29903
+ schema:
29904
+ $ref: '#/components/schemas/SecurityMonitoringSuppressionUpdateRequest'
29905
+ description: New definition of the suppression rule. Supports partial updates.
29906
+ required: true
29907
+ responses:
29908
+ '200':
29909
+ content:
29910
+ application/json:
29911
+ schema:
29912
+ $ref: '#/components/schemas/SecurityMonitoringSuppressionResponse'
29913
+ description: OK
29914
+ '400':
29915
+ $ref: '#/components/responses/BadRequestResponse'
29916
+ '403':
29917
+ $ref: '#/components/responses/NotAuthorizedResponse'
29918
+ '404':
29919
+ $ref: '#/components/responses/NotFoundResponse'
29920
+ '409':
29921
+ $ref: '#/components/responses/ConcurrentModificationResponse'
29922
+ '429':
29923
+ $ref: '#/components/responses/TooManyRequestsResponse'
29924
+ security:
29925
+ - apiKeyAuth: []
29926
+ appKeyAuth: []
29927
+ - AuthZ:
29928
+ - security_monitoring_suppressions_write
29929
+ summary: Update a suppression rule
29930
+ tags:
29931
+ - Security Monitoring
29291
29932
  /api/v2/security_monitoring/rules:
29292
29933
  get:
29293
29934
  description: List rules.
@@ -31350,6 +31991,10 @@ paths:
31350
31991
  summary: Get team memberships
31351
31992
  tags:
31352
31993
  - Teams
31994
+ x-pagination:
31995
+ limitParam: page[size]
31996
+ pageParam: page[number]
31997
+ resultsPath: data
31353
31998
  post:
31354
31999
  description: Add a user to a team.
31355
32000
  operationId: CreateTeamMembership
@@ -32154,7 +32799,7 @@ paths:
32154
32799
  - Usage Metering
32155
32800
  /api/v2/usage/lambda_traced_invocations:
32156
32801
  get:
32157
- description: 'Get hourly usage for lambda traced invocations.
32802
+ description: 'Get hourly usage for Lambda traced invocations.
32158
32803
 
32159
32804
  **Note:** hourly usage data for all products is now available in the [Get
32160
32805
  hourly usage by product family API](https://docs.datadoghq.com/api/latest/usage-metering/#get-hourly-usage-by-product-family)'
@@ -32208,7 +32853,7 @@ paths:
32208
32853
  appKeyAuth: []
32209
32854
  - AuthZ:
32210
32855
  - usage_read
32211
- summary: Get hourly usage for lambda traced invocations
32856
+ summary: Get hourly usage for Lambda traced invocations
32212
32857
  tags:
32213
32858
  - Usage Metering
32214
32859
  /api/v2/usage/observability_pipelines:
@@ -32792,44 +33437,59 @@ servers:
32792
33437
  default: api
32793
33438
  description: The subdomain where the API is deployed.
32794
33439
  tags:
33440
+ - description: Configure your API endpoints through the Datadog API.
33441
+ name: API Management
32795
33442
  - description: Manage configuration of [APM retention filters](https://app.datadoghq.com/apm/traces/retention-filters)
32796
33443
  for your organization. You need an API and application key with Admin rights to
32797
- interact with this endpoint.
33444
+ interact with this endpoint. See [retention filters](https://docs.datadoghq.com/tracing/trace_pipeline/trace_retention/#retention-filters)
33445
+ on the Trace Retention page for more information.
32798
33446
  externalDocs:
32799
33447
  description: Find out more at
32800
33448
  url: https://docs.datadoghq.com/tracing/trace_pipeline/trace_retention/
32801
33449
  name: APM Retention Filters
32802
33450
  - description: Search your Audit Logs events over HTTP.
32803
33451
  name: Audit
32804
- - description: '[AuthN Mappings API](https://docs.datadoghq.com/account_management/authn_mapping/?tab=example)
33452
+ - description: '[The AuthN Mappings API](https://docs.datadoghq.com/account_management/authn_mapping/?tab=example)
32805
33453
 
32806
- is used to automatically map group of users to roles in Datadog using attributes
33454
+ is used to automatically map groups of users to roles in Datadog using attributes
32807
33455
 
32808
- sent from Identity Providers.'
33456
+ sent from Identity Providers. Use these endpoints to manage your AuthN Mappings.'
32809
33457
  name: AuthN Mappings
32810
33458
  - description: Search or aggregate your CI Visibility pipeline events and send them
32811
- to your Datadog site over HTTP.
33459
+ to your Datadog site over HTTP. See the [CI Pipeline Visibility in Datadog page](https://docs.datadoghq.com/continuous_integration/pipelines/)
33460
+ for more information.
32812
33461
  name: CI Visibility Pipelines
32813
- - description: Search or aggregate your CI Visibility test events over HTTP.
33462
+ - description: Search or aggregate your CI Visibility test events over HTTP. See the
33463
+ [Test Visibility in Datadog page](https://docs.datadoghq.com/tests/) for more
33464
+ information.
32814
33465
  name: CI Visibility Tests
32815
- - description: The Cloud Cost Management API allows you to setup, edit and delete
32816
- cloud cost management accounts for AWS & Azure.
33466
+ - description: The Cloud Cost Management API allows you to set up, edit, and delete
33467
+ Cloud Cost Management accounts for AWS and Azure. See the [Cloud Cost Management
33468
+ page](https://docs.datadoghq.com/cloud_cost_management/) for more information.
32817
33469
  name: Cloud Cost Management
32818
33470
  - description: Workload activity security rules for generating events using the Datadog
32819
- security Agent.
33471
+ security Agent. See the [Setting up CSM Workload Security page](https://docs.datadoghq.com/security/cloud_security_management/setup/csm_workload_security/)
33472
+ for more information.
32820
33473
  name: Cloud Workload Security
32821
- - description: Configure your Datadog Cloudflare integration directly through the
32822
- Datadog API.
33474
+ - description: Manage your Datadog Cloudflare integration directly through the Datadog
33475
+ API. See the [Cloudflare integration page](https://docs.datadoghq.com/integrations/cloudflare/)
33476
+ for more information.
32823
33477
  name: Cloudflare Integration
32824
- - description: Configure your Datadog Confluent Cloud integration directly through
32825
- the Datadog API.
33478
+ - description: Manage your Datadog Confluent Cloud integration accounts and account
33479
+ resources directly through the Datadog API. See the [Confluent Cloud page](https://docs.datadoghq.com/integrations/confluent_cloud/)
33480
+ for more information.
32826
33481
  name: Confluent Cloud
32827
33482
  - description: The Container Images API allows you to query Container Image data for
32828
- your organization.
33483
+ your organization. See the [Container Images View page](https://docs.datadoghq.com/infrastructure/containers/container_images/)
33484
+ for more information.
32829
33485
  name: Container Images
32830
33486
  - description: The Containers API allows you to query container data for your organization.
33487
+ See the [Container Monitoring page](https://docs.datadoghq.com/containers/) for
33488
+ more information.
32831
33489
  name: Containers
32832
33490
  - description: Send events for DORA Metrics to measure and improve software delivery.
33491
+ See the [DORA Metrics page](https://docs.datadoghq.com/dora_metrics/) for more
33492
+ information.
32833
33493
  name: DORA Metrics
32834
33494
  - description: 'Interact with your dashboard lists through the API to
32835
33495
 
@@ -32849,18 +33509,15 @@ tags:
32849
33509
 
32850
33510
  end times, prevent all alerting related to specified Datadog tags.'
32851
33511
  name: Downtimes
32852
- - description: 'The events service allows you to programmatically post events to the
32853
- event stream
32854
-
32855
- and fetch events from the event stream. Events are limited to 4000 characters.
33512
+ - description: 'The Event Management API allows you to programmatically post events
33513
+ to the Events Explorer
32856
33514
 
32857
- If an event is sent out with a message containing more than 4000 characters, only
32858
- the
32859
-
32860
- first 4000 characters are displayed.'
33515
+ and fetch events from the Events Explorer. See the [Event Management page](https://docs.datadoghq.com/service_management/events/)
33516
+ for more information.'
32861
33517
  name: Events
32862
- - description: Configure your Datadog Fastly integration directly through the Datadog
32863
- API.
33518
+ - description: Manage your Datadog Fastly integration accounts and services directly
33519
+ through the Datadog API. See the [Fastly integration page](https://docs.datadoghq.com/integrations/fastly/)
33520
+ for more information.
32864
33521
  name: Fastly Integration
32865
33522
  - description: 'Configure your Datadog-Google Cloud Platform (GCP) integration directly
32866
33523
 
@@ -32880,12 +33537,15 @@ tags:
32880
33537
  contacting Datadog support.'
32881
33538
  name: IP Allowlist
32882
33539
  - description: Create, update, delete, and retrieve services which can be associated
32883
- with incidents.
33540
+ with incidents. See the [Incident Management page](https://docs.datadoghq.com/service_management/incident_management/)
33541
+ for more information.
32884
33542
  name: Incident Services
32885
33543
  - description: The Incident Teams endpoints are deprecated. See the [Teams API endpoints](https://docs.datadoghq.com/api/latest/teams/)
32886
33544
  to create, update, delete, and retrieve teams which can be associated with incidents.
32887
33545
  name: Incident Teams
32888
- - description: Manage incident response.
33546
+ - description: Manage incident response, as well as associated attachments, metadata,
33547
+ and todos. See the [Incident Management page](https://docs.datadoghq.com/service_management/incident_management/)
33548
+ for more information.
32889
33549
  name: Incidents
32890
33550
  - description: 'Manage your Datadog API and application keys. You need an API key
32891
33551
  and
@@ -33051,7 +33711,9 @@ tags:
33051
33711
 
33052
33712
  You can retrieve up to 24 hours of hourly usage data for multiple organizations,
33053
33713
 
33054
- and up to two months of hourly usage data for a single organization in one request.'
33714
+ and up to two months of hourly usage data for a single organization in one request.
33715
+
33716
+ Learn more on the [usage details documentation](https://docs.datadoghq.com/account_management/billing/usage_details/).'
33055
33717
  externalDocs:
33056
33718
  description: Find out more at
33057
33719
  url: https://docs.datadoghq.com/account_management/billing/usage_details/