datadog_api_client 2.18.0 → 2.19.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (123) hide show
  1. checksums.yaml +4 -4
  2. data/.apigentools-info +4 -4
  3. data/.generator/conftest.py +1 -1
  4. data/.generator/poetry.lock +69 -69
  5. data/.generator/schemas/v1/openapi.yaml +189 -11
  6. data/.generator/schemas/v2/openapi.yaml +1321 -188
  7. data/.generator/src/generator/templates/model_generic.j2 +2 -2
  8. data/CHANGELOG.md +18 -0
  9. data/examples/v1/azure-integration/CreateAzureIntegration.rb +4 -4
  10. data/examples/v1/azure-integration/DeleteAzureIntegration.rb +2 -15
  11. data/examples/v1/azure-integration/UpdateAzureIntegration.rb +4 -4
  12. data/examples/v1/gcp-integration/CreateGCPIntegration.rb +4 -5
  13. data/examples/v1/gcp-integration/DeleteGCPIntegration.rb +2 -14
  14. data/examples/v1/gcp-integration/UpdateGCPIntegration.rb +4 -5
  15. data/examples/v1/service-level-objectives/CreateSLO_3765703239.rb +46 -0
  16. data/examples/v2/ci-visibility-pipelines/CreateCIAppPipelineEvent.rb +0 -3
  17. data/examples/v2/ci-visibility-pipelines/CreateCIAppPipelineEvent_129899466.rb +0 -3
  18. data/examples/v2/cloud-cost-management/CreateCostAWSCURConfig.rb +18 -0
  19. data/examples/v2/cloud-cost-management/CreateCostAzureUCConfigs.rb +29 -0
  20. data/examples/v2/cloud-cost-management/DeleteCostAWSCURConfig.rb +5 -0
  21. data/examples/v2/cloud-cost-management/DeleteCostAzureUCConfig.rb +5 -0
  22. data/examples/v2/cloud-cost-management/GetCloudCostActivity.rb +5 -0
  23. data/examples/v2/cloud-cost-management/ListAWSRelatedAccounts.rb +5 -0
  24. data/examples/v2/cloud-cost-management/ListCostAWSCURConfigs.rb +5 -0
  25. data/examples/v2/cloud-cost-management/ListCostAzureUCConfigs.rb +5 -0
  26. data/examples/v2/cloud-cost-management/UpdateCostAWSCURConfig.rb +14 -0
  27. data/examples/v2/cloud-cost-management/UpdateCostAzureUCConfigs.rb +14 -0
  28. data/examples/v2/cloudflare-integration/CreateCloudflareAccount.rb +1 -1
  29. data/examples/v2/cloudflare-integration/UpdateCloudflareAccount.rb +4 -1
  30. data/examples/v2/downtimes/ListMonitorDowntimes_3316718253.rb +5 -0
  31. data/examples/v2/gcp-integration/CreateGCPSTSAccount_130557025.rb +16 -0
  32. data/examples/v2/gcp-integration/CreateGCPSTSAccount_2597004741.rb +16 -0
  33. data/examples/v2/gcp-integration/CreateGCPSTSAccount_4235664992.rb +17 -0
  34. data/examples/v2/gcp-integration/UpdateGCPSTSAccount_3205636354.rb +19 -0
  35. data/examples/v2/security-monitoring/CreateSecurityMonitoringRule_3367706049.rb +46 -0
  36. data/examples/v2/sensitive-data-scanner/CreateScanningRule.rb +7 -0
  37. data/examples/v2/sensitive-data-scanner/UpdateScanningRule.rb +7 -10
  38. data/examples/v2/teams/CreateTeamMembership.rb +6 -0
  39. data/lib/datadog_api_client/configuration.rb +0 -1
  40. data/lib/datadog_api_client/inflector.rb +52 -0
  41. data/lib/datadog_api_client/v1/api/downtimes_api.rb +28 -7
  42. data/lib/datadog_api_client/v1/api/monitors_api.rb +1 -1
  43. data/lib/datadog_api_client/v1/models/gcp_account.rb +22 -2
  44. data/lib/datadog_api_client/v1/models/organization.rb +1 -1
  45. data/lib/datadog_api_client/v1/models/service_level_objective.rb +11 -1
  46. data/lib/datadog_api_client/v1/models/service_level_objective_request.rb +11 -1
  47. data/lib/datadog_api_client/v1/models/slo_data_source_query_definition.rb +62 -0
  48. data/lib/datadog_api_client/v1/models/slo_formula.rb +98 -0
  49. data/lib/datadog_api_client/v1/models/slo_response_data.rb +11 -1
  50. data/lib/datadog_api_client/v1/models/slo_sli_spec.rb +62 -0
  51. data/lib/datadog_api_client/v1/models/slo_time_slice_comparator.rb +29 -0
  52. data/lib/datadog_api_client/v1/models/slo_time_slice_condition.rb +141 -0
  53. data/lib/datadog_api_client/v1/models/slo_time_slice_query.rb +131 -0
  54. data/lib/datadog_api_client/v1/models/slo_time_slice_spec.rb +99 -0
  55. data/lib/datadog_api_client/v1/models/slo_type.rb +1 -0
  56. data/lib/datadog_api_client/v1/models/slo_type_numeric.rb +1 -0
  57. data/lib/datadog_api_client/v1/models/usage_summary_date.rb +11 -1
  58. data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +11 -1
  59. data/lib/datadog_api_client/v1/models/usage_summary_response.rb +11 -1
  60. data/lib/datadog_api_client/v2/api/ci_visibility_pipelines_api.rb +0 -6
  61. data/lib/datadog_api_client/v2/api/cloud_cost_management_api.rb +680 -0
  62. data/lib/datadog_api_client/v2/api/downtimes_api.rb +25 -0
  63. data/lib/datadog_api_client/v2/api/metrics_api.rb +3 -2
  64. data/lib/datadog_api_client/v2/models/aws_cur_config.rb +129 -0
  65. data/lib/datadog_api_client/v2/models/aws_cur_config_attributes.rb +305 -0
  66. data/lib/datadog_api_client/v2/models/aws_cur_config_patch_data.rb +119 -0
  67. data/lib/datadog_api_client/v2/models/aws_cur_config_patch_request.rb +98 -0
  68. data/lib/datadog_api_client/v2/models/aws_cur_config_patch_request_attributes.rb +98 -0
  69. data/lib/datadog_api_client/v2/models/aws_cur_config_patch_request_type.rb +26 -0
  70. data/lib/datadog_api_client/v2/models/aws_cur_config_post_data.rb +119 -0
  71. data/lib/datadog_api_client/v2/models/aws_cur_config_post_request.rb +98 -0
  72. data/lib/datadog_api_client/v2/models/aws_cur_config_post_request_attributes.rb +202 -0
  73. data/lib/datadog_api_client/v2/models/aws_cur_config_post_request_type.rb +26 -0
  74. data/lib/datadog_api_client/v2/models/aws_cur_config_response.rb +80 -0
  75. data/lib/datadog_api_client/v2/models/aws_cur_config_type.rb +26 -0
  76. data/lib/datadog_api_client/v2/models/aws_cur_configs_response.rb +82 -0
  77. data/lib/datadog_api_client/v2/models/aws_related_account.rb +129 -0
  78. data/lib/datadog_api_client/v2/models/aws_related_account_attributes.rb +90 -0
  79. data/lib/datadog_api_client/v2/models/aws_related_account_type.rb +26 -0
  80. data/lib/datadog_api_client/v2/models/aws_related_accounts_response.rb +82 -0
  81. data/lib/datadog_api_client/v2/models/azure_uc_config.rb +378 -0
  82. data/lib/datadog_api_client/v2/models/azure_uc_config_pair.rb +129 -0
  83. data/lib/datadog_api_client/v2/models/azure_uc_config_pair_attributes.rb +110 -0
  84. data/lib/datadog_api_client/v2/models/azure_uc_config_pair_type.rb +26 -0
  85. data/lib/datadog_api_client/v2/models/azure_uc_config_pairs_response.rb +80 -0
  86. data/lib/datadog_api_client/v2/models/azure_uc_config_patch_data.rb +119 -0
  87. data/lib/datadog_api_client/v2/models/azure_uc_config_patch_request.rb +98 -0
  88. data/lib/datadog_api_client/v2/models/azure_uc_config_patch_request_attributes.rb +98 -0
  89. data/lib/datadog_api_client/v2/models/azure_uc_config_patch_request_type.rb +26 -0
  90. data/lib/datadog_api_client/v2/models/azure_uc_config_post_data.rb +119 -0
  91. data/lib/datadog_api_client/v2/models/azure_uc_config_post_request.rb +98 -0
  92. data/lib/datadog_api_client/v2/models/azure_uc_config_post_request_attributes.rb +192 -0
  93. data/lib/datadog_api_client/v2/models/azure_uc_config_post_request_type.rb +26 -0
  94. data/lib/datadog_api_client/v2/models/azure_uc_configs_response.rb +82 -0
  95. data/lib/datadog_api_client/v2/models/bill_config.rb +161 -0
  96. data/lib/datadog_api_client/v2/models/ci_app_git_info.rb +2 -2
  97. data/lib/datadog_api_client/v2/models/cloud_cost_activity.rb +119 -0
  98. data/lib/datadog_api_client/v2/models/cloud_cost_activity_attributes.rb +98 -0
  99. data/lib/datadog_api_client/v2/models/cloud_cost_activity_response.rb +80 -0
  100. data/lib/datadog_api_client/v2/models/cloud_cost_activity_type.rb +26 -0
  101. data/lib/datadog_api_client/v2/models/cloudflare_account_create_request_attributes.rb +28 -4
  102. data/lib/datadog_api_client/v2/models/cloudflare_account_response_attributes.rb +28 -4
  103. data/lib/datadog_api_client/v2/models/cloudflare_account_update_request_attributes.rb +28 -4
  104. data/lib/datadog_api_client/v2/models/dora_git_info.rb +2 -2
  105. data/lib/datadog_api_client/v2/models/gcpsts_service_account_attributes.rb +25 -5
  106. data/lib/datadog_api_client/v2/models/relationship_to_user_team_team.rb +98 -0
  107. data/lib/datadog_api_client/v2/models/relationship_to_user_team_team_data.rb +119 -0
  108. data/lib/datadog_api_client/v2/models/security_monitoring_rule_options.rb +14 -4
  109. data/lib/datadog_api_client/v2/models/security_monitoring_rule_third_party_options.rb +114 -0
  110. data/lib/datadog_api_client/v2/models/security_monitoring_rule_update_payload.rb +13 -1
  111. data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_create_payload.rb +13 -1
  112. data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_response.rb +13 -1
  113. data/lib/datadog_api_client/v2/models/security_monitoring_third_party_root_query.rb +92 -0
  114. data/lib/datadog_api_client/v2/models/security_monitoring_third_party_rule_case.rb +112 -0
  115. data/lib/datadog_api_client/v2/models/security_monitoring_third_party_rule_case_create.rb +130 -0
  116. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_included_keyword_configuration.rb +134 -0
  117. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_attributes.rb +46 -1
  118. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_standard_pattern_attributes.rb +33 -1
  119. data/lib/datadog_api_client/v2/models/user_team_attributes.rb +24 -1
  120. data/lib/datadog_api_client/v2/models/user_team_relationships.rb +11 -1
  121. data/lib/datadog_api_client/v2/models/user_team_team_type.rb +26 -0
  122. data/lib/datadog_api_client/version.rb +1 -1
  123. metadata +71 -2
@@ -151,6 +151,13 @@ components:
151
151
  required: true
152
152
  schema:
153
153
  type: string
154
+ CloudAccountID:
155
+ description: Cloud Account id.
156
+ in: path
157
+ name: cloud_account_id
158
+ required: true
159
+ schema:
160
+ type: string
154
161
  CloudWorkloadSecurityAgentRuleID:
155
162
  description: The ID of the Agent rule.
156
163
  example: 3b5-v82-ns6
@@ -741,6 +748,49 @@ components:
741
748
  type: string
742
749
  x-enum-varnames:
743
750
  - API_KEYS
751
+ AWSRelatedAccount:
752
+ description: AWS related account.
753
+ properties:
754
+ attributes:
755
+ $ref: '#/components/schemas/AWSRelatedAccountAttributes'
756
+ id:
757
+ description: The AWS account ID.
758
+ example: '123456789123'
759
+ type: string
760
+ type:
761
+ $ref: '#/components/schemas/AWSRelatedAccountType'
762
+ required:
763
+ - id
764
+ - type
765
+ type: object
766
+ AWSRelatedAccountAttributes:
767
+ description: Attributes for an AWS related account.
768
+ properties:
769
+ has_datadog_integration:
770
+ description: Whether or not the AWS account has a Datadog integration.
771
+ type: boolean
772
+ name:
773
+ description: The name of the AWS account.
774
+ type: string
775
+ type: object
776
+ AWSRelatedAccountType:
777
+ default: aws_account
778
+ description: Type of AWS related account.
779
+ enum:
780
+ - aws_account
781
+ example: aws_account
782
+ type: string
783
+ x-enum-varnames:
784
+ - AWS_ACCOUNT
785
+ AWSRelatedAccountsResponse:
786
+ description: List of AWS related accounts.
787
+ properties:
788
+ data:
789
+ description: An AWS related account.
790
+ items:
791
+ $ref: '#/components/schemas/AWSRelatedAccount'
792
+ type: array
793
+ type: object
744
794
  ActiveBillingDimensionsAttributes:
745
795
  description: List of active billing dimensions.
746
796
  properties:
@@ -1369,6 +1419,459 @@ components:
1369
1419
  type: string
1370
1420
  x-enum-varnames:
1371
1421
  - AUTHN_MAPPINGS
1422
+ AwsCURConfig:
1423
+ description: AWS CUR config.
1424
+ properties:
1425
+ attributes:
1426
+ $ref: '#/components/schemas/AwsCURConfigAttributes'
1427
+ id:
1428
+ description: The ID of the AWS CUR config.
1429
+ format: int64
1430
+ type: integer
1431
+ type:
1432
+ $ref: '#/components/schemas/AwsCURConfigType'
1433
+ required:
1434
+ - attributes
1435
+ - type
1436
+ type: object
1437
+ AwsCURConfigAttributes:
1438
+ description: Attributes for An AWS CUR config.
1439
+ properties:
1440
+ account_id:
1441
+ description: The AWS account ID.
1442
+ example: '123456789123'
1443
+ type: string
1444
+ bucket_name:
1445
+ description: The AWS bucket name used to store the Cost and Usage Report.
1446
+ example: dd-cost-bucket
1447
+ type: string
1448
+ bucket_region:
1449
+ description: The region the bucket is located in.
1450
+ example: us-east-1
1451
+ type: string
1452
+ created_at:
1453
+ description: The timestamp when the AWS CUR config was created.
1454
+ pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{6}$
1455
+ type: string
1456
+ error_messages:
1457
+ description: The error messages for the AWS CUR config.
1458
+ items:
1459
+ type: string
1460
+ type: array
1461
+ months:
1462
+ deprecated: true
1463
+ description: The number of months the report has been backfilled.
1464
+ format: int32
1465
+ maximum: 36
1466
+ type: integer
1467
+ report_name:
1468
+ description: The name of the Cost and Usage Report.
1469
+ example: dd-report-name
1470
+ type: string
1471
+ report_prefix:
1472
+ description: The report prefix used for the Cost and Usage Report.
1473
+ example: dd-report-prefix
1474
+ type: string
1475
+ status:
1476
+ description: The status of the AWS CUR.
1477
+ example: active
1478
+ type: string
1479
+ status_updated_at:
1480
+ description: The timestamp when the AWS CUR config status was updated.
1481
+ pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{6}$
1482
+ type: string
1483
+ updated_at:
1484
+ description: The timestamp when the AWS CUR config status was updated.
1485
+ pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{6}$
1486
+ type: string
1487
+ required:
1488
+ - account_id
1489
+ - bucket_name
1490
+ - bucket_region
1491
+ - report_name
1492
+ - report_prefix
1493
+ - status
1494
+ type: object
1495
+ AwsCURConfigPatchData:
1496
+ description: AWS CUR config Patch data.
1497
+ properties:
1498
+ attributes:
1499
+ $ref: '#/components/schemas/AwsCURConfigPatchRequestAttributes'
1500
+ type:
1501
+ $ref: '#/components/schemas/AwsCURConfigPatchRequestType'
1502
+ required:
1503
+ - attributes
1504
+ - type
1505
+ type: object
1506
+ AwsCURConfigPatchRequest:
1507
+ description: AWS CUR config Patch Request.
1508
+ properties:
1509
+ data:
1510
+ $ref: '#/components/schemas/AwsCURConfigPatchData'
1511
+ required:
1512
+ - data
1513
+ type: object
1514
+ AwsCURConfigPatchRequestAttributes:
1515
+ description: Attributes for AWS CUR config Patch Request.
1516
+ properties:
1517
+ is_enabled:
1518
+ description: Whether or not the Cloud Cost Management account is enabled.
1519
+ example: true
1520
+ type: boolean
1521
+ required:
1522
+ - is_enabled
1523
+ type: object
1524
+ AwsCURConfigPatchRequestType:
1525
+ default: aws_cur_config_patch_request
1526
+ description: Type of AWS CUR config Patch Request.
1527
+ enum:
1528
+ - aws_cur_config_patch_request
1529
+ example: aws_cur_config_patch_request
1530
+ type: string
1531
+ x-enum-varnames:
1532
+ - AWS_CUR_CONFIG_PATCH_REQUEST
1533
+ AwsCURConfigPostData:
1534
+ description: AWS CUR config Post data.
1535
+ properties:
1536
+ attributes:
1537
+ $ref: '#/components/schemas/AwsCURConfigPostRequestAttributes'
1538
+ type:
1539
+ $ref: '#/components/schemas/AwsCURConfigPostRequestType'
1540
+ required:
1541
+ - attributes
1542
+ - type
1543
+ type: object
1544
+ AwsCURConfigPostRequest:
1545
+ description: AWS CUR config Post Request.
1546
+ properties:
1547
+ data:
1548
+ $ref: '#/components/schemas/AwsCURConfigPostData'
1549
+ required:
1550
+ - data
1551
+ type: object
1552
+ AwsCURConfigPostRequestAttributes:
1553
+ description: Attributes for AWS CUR config Post Request.
1554
+ properties:
1555
+ account_id:
1556
+ description: The AWS account ID.
1557
+ example: '123456789123'
1558
+ type: string
1559
+ bucket_name:
1560
+ description: The AWS bucket name used to store the Cost and Usage Report.
1561
+ example: dd-cost-bucket
1562
+ type: string
1563
+ bucket_region:
1564
+ description: The region the bucket is located in.
1565
+ example: us-east-1
1566
+ type: string
1567
+ is_enabled:
1568
+ description: Whether or not the Cloud Cost Management account is enabled.
1569
+ type: boolean
1570
+ months:
1571
+ description: The month of the report.
1572
+ format: int32
1573
+ maximum: 36
1574
+ type: integer
1575
+ report_name:
1576
+ description: The name of the Cost and Usage Report.
1577
+ example: dd-report-name
1578
+ type: string
1579
+ report_prefix:
1580
+ description: The report prefix used for the Cost and Usage Report.
1581
+ example: dd-report-prefix
1582
+ type: string
1583
+ required:
1584
+ - account_id
1585
+ - bucket_name
1586
+ - report_name
1587
+ - report_prefix
1588
+ type: object
1589
+ AwsCURConfigPostRequestType:
1590
+ default: aws_cur_config_post_request
1591
+ description: Type of AWS CUR config Post Request.
1592
+ enum:
1593
+ - aws_cur_config_post_request
1594
+ example: aws_cur_config_post_request
1595
+ type: string
1596
+ x-enum-varnames:
1597
+ - AWS_CUR_CONFIG_POST_REQUEST
1598
+ AwsCURConfigResponse:
1599
+ description: Response of AWS CUR config.
1600
+ properties:
1601
+ data:
1602
+ $ref: '#/components/schemas/AwsCURConfig'
1603
+ type: object
1604
+ AwsCURConfigType:
1605
+ default: aws_cur_config
1606
+ description: Type of AWS CUR config.
1607
+ enum:
1608
+ - aws_cur_config
1609
+ example: aws_cur_config
1610
+ type: string
1611
+ x-enum-varnames:
1612
+ - AWS_CUR_CONFIG
1613
+ AwsCURConfigsResponse:
1614
+ description: List of AWS CUR configs.
1615
+ properties:
1616
+ data:
1617
+ description: An AWS CUR config.
1618
+ items:
1619
+ $ref: '#/components/schemas/AwsCURConfig'
1620
+ type: array
1621
+ type: object
1622
+ AzureUCConfig:
1623
+ description: Azure config.
1624
+ properties:
1625
+ account_id:
1626
+ description: The tenant ID of the azure account.
1627
+ example: 1234abcd-1234-abcd-1234-1234abcd1234
1628
+ type: string
1629
+ client_id:
1630
+ description: The client ID of the Azure account.
1631
+ example: 1234abcd-1234-abcd-1234-1234abcd1234
1632
+ type: string
1633
+ created_at:
1634
+ description: The timestamp when the Azure config was created.
1635
+ pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{6}$
1636
+ type: string
1637
+ dataset_type:
1638
+ description: The dataset type of the Azure config.
1639
+ example: actual
1640
+ type: string
1641
+ error_messages:
1642
+ description: The error messages for the Azure config.
1643
+ items:
1644
+ type: string
1645
+ type: array
1646
+ export_name:
1647
+ description: The name of the configured Azure Export.
1648
+ example: dd-actual-export
1649
+ type: string
1650
+ export_path:
1651
+ description: The path where the Azure Export is saved.
1652
+ example: dd-export-path
1653
+ type: string
1654
+ id:
1655
+ description: The ID of the Azure config.
1656
+ format: int64
1657
+ type: integer
1658
+ months:
1659
+ deprecated: true
1660
+ description: The number of months the report has been backfilled.
1661
+ format: int32
1662
+ maximum: 36
1663
+ type: integer
1664
+ scope:
1665
+ description: The scope of your observed subscription.
1666
+ example: subscriptions/1234abcd-1234-abcd-1234-1234abcd1234
1667
+ type: string
1668
+ status:
1669
+ description: The status of the Azure config.
1670
+ example: active
1671
+ type: string
1672
+ status_updated_at:
1673
+ description: The timestamp when the Azure config status was last updated.
1674
+ pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{6}$
1675
+ type: string
1676
+ storage_account:
1677
+ description: The name of the storage account where the Azure Export is saved.
1678
+ example: dd-storage-account
1679
+ type: string
1680
+ storage_container:
1681
+ description: The name of the storage container where the Azure Export is
1682
+ saved.
1683
+ example: dd-storage-container
1684
+ type: string
1685
+ updated_at:
1686
+ description: The timestamp when the Azure config was last updated.
1687
+ pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{6}$
1688
+ type: string
1689
+ required:
1690
+ - account_id
1691
+ - client_id
1692
+ - dataset_type
1693
+ - export_name
1694
+ - export_path
1695
+ - scope
1696
+ - status
1697
+ - storage_account
1698
+ - storage_container
1699
+ type: object
1700
+ AzureUCConfigPair:
1701
+ description: Azure config pair.
1702
+ properties:
1703
+ attributes:
1704
+ $ref: '#/components/schemas/AzureUCConfigPairAttributes'
1705
+ id:
1706
+ description: The ID of Cloud Cost Management account.
1707
+ format: int64
1708
+ type: integer
1709
+ type:
1710
+ $ref: '#/components/schemas/AzureUCConfigPairType'
1711
+ required:
1712
+ - attributes
1713
+ - type
1714
+ type: object
1715
+ AzureUCConfigPairAttributes:
1716
+ description: Attributes for Azure config pair.
1717
+ properties:
1718
+ configs:
1719
+ description: An Azure config.
1720
+ items:
1721
+ $ref: '#/components/schemas/AzureUCConfig'
1722
+ type: array
1723
+ id:
1724
+ description: The ID of the Azure config pair.
1725
+ format: int64
1726
+ type: integer
1727
+ required:
1728
+ - configs
1729
+ type: object
1730
+ AzureUCConfigPairType:
1731
+ default: azure_uc_configs
1732
+ description: Type of Azure config pair.
1733
+ enum:
1734
+ - azure_uc_configs
1735
+ example: azure_uc_configs
1736
+ type: string
1737
+ x-enum-varnames:
1738
+ - AZURE_UC_CONFIGS
1739
+ AzureUCConfigPairsResponse:
1740
+ description: Response of Azure config pair.
1741
+ properties:
1742
+ data:
1743
+ $ref: '#/components/schemas/AzureUCConfigPair'
1744
+ type: object
1745
+ AzureUCConfigPatchData:
1746
+ description: Azure config Patch data.
1747
+ properties:
1748
+ attributes:
1749
+ $ref: '#/components/schemas/AzureUCConfigPatchRequestAttributes'
1750
+ type:
1751
+ $ref: '#/components/schemas/AzureUCConfigPatchRequestType'
1752
+ required:
1753
+ - attributes
1754
+ - type
1755
+ type: object
1756
+ AzureUCConfigPatchRequest:
1757
+ description: Azure config Patch Request.
1758
+ properties:
1759
+ data:
1760
+ $ref: '#/components/schemas/AzureUCConfigPatchData'
1761
+ required:
1762
+ - data
1763
+ type: object
1764
+ AzureUCConfigPatchRequestAttributes:
1765
+ description: Attributes for Azure config Patch Request.
1766
+ properties:
1767
+ is_enabled:
1768
+ description: Whether or not the Cloud Cost Management account is enabled.
1769
+ example: true
1770
+ type: boolean
1771
+ required:
1772
+ - is_enabled
1773
+ type: object
1774
+ AzureUCConfigPatchRequestType:
1775
+ default: azure_uc_config_patch_request
1776
+ description: Type of Azure config Patch Request.
1777
+ enum:
1778
+ - azure_uc_config_patch_request
1779
+ example: azure_uc_config_patch_request
1780
+ type: string
1781
+ x-enum-varnames:
1782
+ - AZURE_UC_CONFIG_PATCH_REQUEST
1783
+ AzureUCConfigPostData:
1784
+ description: Azure config Post data.
1785
+ properties:
1786
+ attributes:
1787
+ $ref: '#/components/schemas/AzureUCConfigPostRequestAttributes'
1788
+ type:
1789
+ $ref: '#/components/schemas/AzureUCConfigPostRequestType'
1790
+ required:
1791
+ - attributes
1792
+ - type
1793
+ type: object
1794
+ AzureUCConfigPostRequest:
1795
+ description: Azure config Post Request.
1796
+ properties:
1797
+ data:
1798
+ $ref: '#/components/schemas/AzureUCConfigPostData'
1799
+ required:
1800
+ - data
1801
+ type: object
1802
+ AzureUCConfigPostRequestAttributes:
1803
+ description: Attributes for Azure config Post Request.
1804
+ properties:
1805
+ account_id:
1806
+ description: The tenant ID of the azure account.
1807
+ example: 1234abcd-1234-abcd-1234-1234abcd1234
1808
+ type: string
1809
+ actual_bill_config:
1810
+ $ref: '#/components/schemas/BillConfig'
1811
+ amortized_bill_config:
1812
+ $ref: '#/components/schemas/BillConfig'
1813
+ client_id:
1814
+ description: The client ID of the azure account.
1815
+ example: 1234abcd-1234-abcd-1234-1234abcd1234
1816
+ type: string
1817
+ is_enabled:
1818
+ description: Whether or not the Cloud Cost Management account is enabled.
1819
+ type: boolean
1820
+ scope:
1821
+ description: The scope of your observed subscription.
1822
+ example: subscriptions/1234abcd-1234-abcd-1234-1234abcd1234
1823
+ type: string
1824
+ required:
1825
+ - account_id
1826
+ - actual_bill_config
1827
+ - amortized_bill_config
1828
+ - client_id
1829
+ - scope
1830
+ type: object
1831
+ AzureUCConfigPostRequestType:
1832
+ default: azure_uc_config_post_request
1833
+ description: Type of Azure config Post Request.
1834
+ enum:
1835
+ - azure_uc_config_post_request
1836
+ example: azure_uc_config_post_request
1837
+ type: string
1838
+ x-enum-varnames:
1839
+ - AZURE_UC_CONFIG_POST_REQUEST
1840
+ AzureUCConfigsResponse:
1841
+ description: List of Azure accounts with configs.
1842
+ properties:
1843
+ data:
1844
+ description: An Azure config pair.
1845
+ items:
1846
+ $ref: '#/components/schemas/AzureUCConfigPair'
1847
+ type: array
1848
+ type: object
1849
+ BillConfig:
1850
+ description: Bill config.
1851
+ properties:
1852
+ export_name:
1853
+ description: The name of the configured Azure Export.
1854
+ example: dd-actual-export
1855
+ type: string
1856
+ export_path:
1857
+ description: The path where the Azure Export is saved.
1858
+ example: dd-export-path
1859
+ type: string
1860
+ storage_account:
1861
+ description: The name of the storage account where the Azure Export is saved.
1862
+ example: dd-storage-account
1863
+ type: string
1864
+ storage_container:
1865
+ description: The name of the storage container where the Azure Export is
1866
+ saved.
1867
+ example: dd-storage-container
1868
+ type: string
1869
+ required:
1870
+ - export_name
1871
+ - export_path
1872
+ - storage_account
1873
+ - storage_container
1874
+ type: object
1372
1875
  BulkMuteFindingsRequest:
1373
1876
  description: The new bulk mute finding request.
1374
1877
  properties:
@@ -3005,16 +3508,52 @@ components:
3005
3508
  type: string
3006
3509
  x-enum-varnames:
3007
3510
  - CLOUD_CONFIGURATION
3008
- CloudWorkloadSecurityAgentRuleAttributes:
3009
- description: A Cloud Workload Security Agent rule returned by the API.
3511
+ CloudCostActivity:
3512
+ description: Cloud Cost Activity.
3010
3513
  properties:
3011
- agentConstraint:
3012
- description: The version of the agent.
3013
- type: string
3014
- category:
3015
- description: The category of the Agent rule.
3016
- example: Process Activity
3017
- type: string
3514
+ attributes:
3515
+ $ref: '#/components/schemas/CloudCostActivityAttributes'
3516
+ type:
3517
+ $ref: '#/components/schemas/CloudCostActivityType'
3518
+ required:
3519
+ - attributes
3520
+ - type
3521
+ type: object
3522
+ CloudCostActivityAttributes:
3523
+ description: Attributes for Cloud Cost activity.
3524
+ properties:
3525
+ is_enabled:
3526
+ description: Whether or not the cloud account is enabled.
3527
+ example: true
3528
+ type: boolean
3529
+ required:
3530
+ - is_enabled
3531
+ type: object
3532
+ CloudCostActivityResponse:
3533
+ description: Response for Cloud Cost activity.
3534
+ properties:
3535
+ data:
3536
+ $ref: '#/components/schemas/CloudCostActivity'
3537
+ type: object
3538
+ CloudCostActivityType:
3539
+ default: cloud_cost_activity
3540
+ description: Type of Cloud Cost Activity.
3541
+ enum:
3542
+ - cloud_cost_activity
3543
+ example: cloud_cost_activity
3544
+ type: string
3545
+ x-enum-varnames:
3546
+ - CLOUD_COST_ACTIVITY
3547
+ CloudWorkloadSecurityAgentRuleAttributes:
3548
+ description: A Cloud Workload Security Agent rule returned by the API.
3549
+ properties:
3550
+ agentConstraint:
3551
+ description: The version of the agent.
3552
+ type: string
3553
+ category:
3554
+ description: The category of the Agent rule.
3555
+ example: Process Activity
3556
+ type: string
3018
3557
  creationAuthorUuId:
3019
3558
  description: The ID of the user who created the rule.
3020
3559
  example: e51c9744-d158-11ec-ad23-da7ad0900002
@@ -3237,6 +3776,22 @@ components:
3237
3776
  description: The name of the Cloudflare account.
3238
3777
  example: test-name
3239
3778
  type: string
3779
+ resources:
3780
+ description: An allowlist of resources to restrict pulling metrics for.
3781
+ example:
3782
+ - web
3783
+ - dns
3784
+ items:
3785
+ type: string
3786
+ type: array
3787
+ zones:
3788
+ description: An allowlist of zones to restrict pulling metrics for.
3789
+ example:
3790
+ - zone_id_1
3791
+ - zone_id_2
3792
+ items:
3793
+ type: string
3794
+ type: array
3240
3795
  required:
3241
3796
  - api_key
3242
3797
  - name
@@ -3269,6 +3824,22 @@ components:
3269
3824
  description: The name of the Cloudflare account.
3270
3825
  example: test-name
3271
3826
  type: string
3827
+ resources:
3828
+ description: An allowlist of resources to restrict pulling metrics for.
3829
+ example:
3830
+ - web
3831
+ - dns
3832
+ items:
3833
+ type: string
3834
+ type: array
3835
+ zones:
3836
+ description: An allowlist of zones to restrict pulling metrics for.
3837
+ example:
3838
+ - zone_id_1
3839
+ - zone_id_2
3840
+ items:
3841
+ type: string
3842
+ type: array
3272
3843
  required:
3273
3844
  - name
3274
3845
  type: object
@@ -3317,6 +3888,22 @@ components:
3317
3888
  key is provided (and not a token), this field is also required.
3318
3889
  example: test-email@example.com
3319
3890
  type: string
3891
+ resources:
3892
+ description: An allowlist of resources to restrict pulling metrics for.
3893
+ example:
3894
+ - web
3895
+ - dns
3896
+ items:
3897
+ type: string
3898
+ type: array
3899
+ zones:
3900
+ description: An allowlist of zones to restrict pulling metrics for.
3901
+ example:
3902
+ - zone_id_1
3903
+ - zone_id_2
3904
+ items:
3905
+ type: string
3906
+ type: array
3320
3907
  required:
3321
3908
  - api_key
3322
3909
  type: object
@@ -6393,8 +6980,19 @@ components:
6393
6980
  type: string
6394
6981
  type: array
6395
6982
  is_cspm_enabled:
6396
- description: When enabled, Datadog performs configuration checks across
6397
- your Google Cloud environment by continuously scanning every resource.
6983
+ description: 'When enabled, Datadog will activate the Cloud Security Monitoring
6984
+ product for this service account. Note: This requires resource_collection_enabled
6985
+ to be set to true.'
6986
+ type: boolean
6987
+ is_security_command_center_enabled:
6988
+ default: false
6989
+ description: 'When enabled, Datadog will attempt to collect Security Command
6990
+ Center Findings. Note: This requires additional permissions on the service
6991
+ account.'
6992
+ example: true
6993
+ type: boolean
6994
+ resource_collection_enabled:
6995
+ description: When enabled, Datadog scans for all resources in your GCP environment.
6398
6996
  type: boolean
6399
6997
  type: object
6400
6998
  GCPSTSServiceAccountCreateRequest:
@@ -13628,6 +14226,27 @@ components:
13628
14226
  - id
13629
14227
  - type
13630
14228
  type: object
14229
+ RelationshipToUserTeamTeam:
14230
+ description: Relationship between team membership and team
14231
+ properties:
14232
+ data:
14233
+ $ref: '#/components/schemas/RelationshipToUserTeamTeamData'
14234
+ required:
14235
+ - data
14236
+ type: object
14237
+ RelationshipToUserTeamTeamData:
14238
+ description: The team associated with the membership
14239
+ properties:
14240
+ id:
14241
+ description: The ID of the team associated with the membership
14242
+ example: d7e15d9d-d346-43da-81d8-3d9e71d9a5e9
14243
+ type: string
14244
+ type:
14245
+ $ref: '#/components/schemas/UserTeamTeamType'
14246
+ required:
14247
+ - id
14248
+ - type
14249
+ type: object
13631
14250
  RelationshipToUserTeamUser:
13632
14251
  description: Relationship between team membership and user
13633
14252
  properties:
@@ -15045,6 +15664,8 @@ components:
15045
15664
  $ref: '#/components/schemas/SecurityMonitoringRuleMaxSignalDuration'
15046
15665
  newValueOptions:
15047
15666
  $ref: '#/components/schemas/SecurityMonitoringRuleNewValueOptions'
15667
+ thirdPartyRuleOptions:
15668
+ $ref: '#/components/schemas/SecurityMonitoringRuleThirdPartyOptions'
15048
15669
  type: object
15049
15670
  SecurityMonitoringRuleQuery:
15050
15671
  description: Query for matching rule.
@@ -15093,6 +15714,30 @@ components:
15093
15714
  - MEDIUM
15094
15715
  - HIGH
15095
15716
  - CRITICAL
15717
+ SecurityMonitoringRuleThirdPartyOptions:
15718
+ description: Options on third party rules.
15719
+ properties:
15720
+ defaultNotifications:
15721
+ description: Notification targets for the logs that do not correspond to
15722
+ any of the cases.
15723
+ items:
15724
+ description: Notification.
15725
+ type: string
15726
+ type: array
15727
+ defaultStatus:
15728
+ $ref: '#/components/schemas/SecurityMonitoringRuleSeverity'
15729
+ rootQueries:
15730
+ description: Queries to be combined with third party case queries. Each
15731
+ of them can have different group by fields, to aggregate differently based
15732
+ on the type of alert.
15733
+ items:
15734
+ $ref: '#/components/schemas/SecurityMonitoringThirdPartyRootQuery'
15735
+ type: array
15736
+ signalTitleTemplate:
15737
+ description: A template for the signal title; if omitted, the title is generated
15738
+ based on the case name.
15739
+ type: string
15740
+ type: object
15096
15741
  SecurityMonitoringRuleTypeCreate:
15097
15742
  description: The rule type.
15098
15743
  enum:
@@ -15162,6 +15807,13 @@ components:
15162
15807
  description: Tag.
15163
15808
  type: string
15164
15809
  type: array
15810
+ thirdPartyCases:
15811
+ description: Cases for generating signals from third party rules. Only available
15812
+ for third party rules.
15813
+ example: []
15814
+ items:
15815
+ $ref: '#/components/schemas/SecurityMonitoringThirdPartyRuleCase'
15816
+ type: array
15165
15817
  version:
15166
15818
  description: The version of the rule being updated.
15167
15819
  example: 1
@@ -15791,6 +16443,13 @@ components:
15791
16443
  description: Tag.
15792
16444
  type: string
15793
16445
  type: array
16446
+ thirdPartyCases:
16447
+ description: Cases for generating signals from third party rules. Only available
16448
+ for third party rules.
16449
+ example: []
16450
+ items:
16451
+ $ref: '#/components/schemas/SecurityMonitoringThirdPartyRuleCaseCreate'
16452
+ type: array
15794
16453
  type:
15795
16454
  $ref: '#/components/schemas/SecurityMonitoringRuleTypeCreate'
15796
16455
  required:
@@ -15912,6 +16571,13 @@ components:
15912
16571
  description: Tag.
15913
16572
  type: string
15914
16573
  type: array
16574
+ thirdPartyCases:
16575
+ description: Cases for generating signals from third party rules. Only available
16576
+ for third party rules.
16577
+ example: []
16578
+ items:
16579
+ $ref: '#/components/schemas/SecurityMonitoringThirdPartyRuleCase'
16580
+ type: array
15915
16581
  type:
15916
16582
  $ref: '#/components/schemas/SecurityMonitoringRuleTypeRead'
15917
16583
  updateAuthorId:
@@ -15922,6 +16588,58 @@ components:
15922
16588
  description: The version of the rule.
15923
16589
  format: int64
15924
16590
  type: integer
16591
+ SecurityMonitoringThirdPartyRootQuery:
16592
+ description: A query to be combined with the third party case query.
16593
+ properties:
16594
+ groupByFields:
16595
+ description: Fields to group by.
16596
+ items:
16597
+ description: Field.
16598
+ type: string
16599
+ type: array
16600
+ query:
16601
+ description: Query to run on logs.
16602
+ example: source:cloudtrail
16603
+ type: string
16604
+ type: object
16605
+ SecurityMonitoringThirdPartyRuleCase:
16606
+ description: Case when signal is generated by a third party rule.
16607
+ properties:
16608
+ name:
16609
+ description: Name of the case.
16610
+ type: string
16611
+ notifications:
16612
+ description: Notification targets for each rule case.
16613
+ items:
16614
+ description: Notification.
16615
+ type: string
16616
+ type: array
16617
+ query:
16618
+ description: A query to map a third party event to this case.
16619
+ type: string
16620
+ status:
16621
+ $ref: '#/components/schemas/SecurityMonitoringRuleSeverity'
16622
+ type: object
16623
+ SecurityMonitoringThirdPartyRuleCaseCreate:
16624
+ description: Case when a signal is generated by a third party rule.
16625
+ properties:
16626
+ name:
16627
+ description: Name of the case.
16628
+ type: string
16629
+ notifications:
16630
+ description: Notification targets for each rule case.
16631
+ items:
16632
+ description: Notification.
16633
+ type: string
16634
+ type: array
16635
+ query:
16636
+ description: A query to map a third party event to this case.
16637
+ type: string
16638
+ status:
16639
+ $ref: '#/components/schemas/SecurityMonitoringRuleSeverity'
16640
+ required:
16641
+ - status
16642
+ type: object
15925
16643
  SecurityMonitoringTriageUser:
15926
16644
  description: Object representing a given user entity.
15927
16645
  properties:
@@ -16208,6 +16926,44 @@ components:
16208
16926
  meta:
16209
16927
  $ref: '#/components/schemas/SensitiveDataScannerMetaVersionOnly'
16210
16928
  type: object
16929
+ SensitiveDataScannerIncludedKeywordConfiguration:
16930
+ description: 'Object defining a set of keywords and a number of characters that
16931
+ help reduce noise.
16932
+
16933
+ You can provide a list of keywords you would like to check within a defined
16934
+ proximity of the matching pattern.
16935
+
16936
+ If any of the keywords are found within the proximity check, the match is
16937
+ kept.
16938
+
16939
+ If none are found, the match is discarded.'
16940
+ properties:
16941
+ character_count:
16942
+ description: 'The number of characters behind a match detected by Sensitive
16943
+ Data Scanner to look for the keywords defined.
16944
+
16945
+ `character_count` should be greater than the maximum length of a keyword
16946
+ defined for a rule.'
16947
+ example: 30
16948
+ format: int64
16949
+ maximum: 50
16950
+ minimum: 1
16951
+ type: integer
16952
+ keywords:
16953
+ description: 'Keyword list that will be checked during scanning in order
16954
+ to validate a match.
16955
+
16956
+ The number of keywords in the list must be less than or equal to 20.'
16957
+ example:
16958
+ - credit card
16959
+ - cc
16960
+ items:
16961
+ type: string
16962
+ type: array
16963
+ required:
16964
+ - keywords
16965
+ - character_count
16966
+ type: object
16211
16967
  SensitiveDataScannerMeta:
16212
16968
  description: Meta response containing information about the API.
16213
16969
  properties:
@@ -16301,6 +17057,8 @@ components:
16301
17057
  items:
16302
17058
  type: string
16303
17059
  type: array
17060
+ included_keyword_configuration:
17061
+ $ref: '#/components/schemas/SensitiveDataScannerIncludedKeywordConfiguration'
16304
17062
  is_enabled:
16305
17063
  description: Whether or not the rule is enabled.
16306
17064
  type: boolean
@@ -16320,6 +17078,12 @@ components:
16320
17078
  pattern:
16321
17079
  description: Not included if there is a relationship to a standard pattern.
16322
17080
  type: string
17081
+ priority:
17082
+ description: Integer from 1 (high) to 5 (low) indicating rule issue severity.
17083
+ format: int64
17084
+ maximum: 5
17085
+ minimum: 1
17086
+ type: integer
16323
17087
  tags:
16324
17088
  description: List of tags.
16325
17089
  items:
@@ -16475,6 +17239,13 @@ components:
16475
17239
  pattern:
16476
17240
  description: Regex to match.
16477
17241
  type: string
17242
+ priority:
17243
+ description: Integer from 1 (high) to 5 (low) indicating standard pattern
17244
+ issue severity.
17245
+ format: int64
17246
+ maximum: 5
17247
+ minimum: 1
17248
+ type: integer
16478
17249
  tags:
16479
17250
  description: List of tags.
16480
17251
  items:
@@ -19589,6 +20360,20 @@ components:
19589
20360
  UserTeamAttributes:
19590
20361
  description: Team membership attributes
19591
20362
  properties:
20363
+ provisioned_by:
20364
+ description: 'The mechanism responsible for provisioning the team relationship.
20365
+
20366
+ Possible values: null for added by a user, "service_account" if added
20367
+ by a service account, and "saml_mapping" if provisioned via SAML mapping.'
20368
+ nullable: true
20369
+ readOnly: true
20370
+ type: string
20371
+ provisioned_by_id:
20372
+ description: UUID of the User or Service Account who provisioned this team
20373
+ membership, or null if provisioned via SAML mapping.
20374
+ nullable: true
20375
+ readOnly: true
20376
+ type: string
19592
20377
  role:
19593
20378
  $ref: '#/components/schemas/UserTeamRole'
19594
20379
  type: object
@@ -19640,6 +20425,8 @@ components:
19640
20425
  UserTeamRelationships:
19641
20426
  description: Relationship between membership and a user
19642
20427
  properties:
20428
+ team:
20429
+ $ref: '#/components/schemas/RelationshipToUserTeamTeam'
19643
20430
  user:
19644
20431
  $ref: '#/components/schemas/RelationshipToUserTeamUser'
19645
20432
  type: object
@@ -19665,6 +20452,15 @@ components:
19665
20452
  type: string
19666
20453
  x-enum-varnames:
19667
20454
  - ADMIN
20455
+ UserTeamTeamType:
20456
+ default: team
20457
+ description: User team team type
20458
+ enum:
20459
+ - team
20460
+ example: team
20461
+ type: string
20462
+ x-enum-varnames:
20463
+ - TEAM
19668
20464
  UserTeamType:
19669
20465
  default: team_memberships
19670
20466
  description: Team membership type
@@ -20899,9 +21695,6 @@ paths:
20899
21695
  tags:
20900
21696
  - CI Visibility Pipelines
20901
21697
  x-codegen-request-body-name: body
20902
- x-unstable: '**Note:** This endpoint is in public beta.
20903
-
20904
- If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
20905
21698
  /api/v2/ci/pipelines/analytics/aggregate:
20906
21699
  post:
20907
21700
  description: Use this API endpoint to aggregate CI Visibility pipeline events
@@ -21158,197 +21951,501 @@ paths:
21158
21951
  content:
21159
21952
  application/json:
21160
21953
  schema:
21161
- $ref: '#/components/schemas/CIAppTestEventsResponse'
21954
+ $ref: '#/components/schemas/CIAppTestEventsResponse'
21955
+ description: OK
21956
+ '400':
21957
+ $ref: '#/components/responses/BadRequestResponse'
21958
+ '403':
21959
+ $ref: '#/components/responses/NotAuthorizedResponse'
21960
+ '429':
21961
+ $ref: '#/components/responses/TooManyRequestsResponse'
21962
+ security:
21963
+ - apiKeyAuth: []
21964
+ appKeyAuth: []
21965
+ - AuthZ:
21966
+ - ci_visibility_read
21967
+ summary: Get a list of tests events
21968
+ tags:
21969
+ - CI Visibility Tests
21970
+ x-pagination:
21971
+ cursorParam: page[cursor]
21972
+ cursorPath: meta.page.after
21973
+ limitParam: page[limit]
21974
+ resultsPath: data
21975
+ /api/v2/ci/tests/events/search:
21976
+ post:
21977
+ description: 'List endpoint returns CI Visibility test events that match a [log
21978
+ search query](https://docs.datadoghq.com/logs/explorer/search_syntax/).
21979
+
21980
+ [Results are paginated similarly to logs](https://docs.datadoghq.com/logs/guide/collect-multiple-logs-with-pagination).
21981
+
21982
+
21983
+ Use this endpoint to build complex events filtering and search.'
21984
+ operationId: SearchCIAppTestEvents
21985
+ requestBody:
21986
+ content:
21987
+ application/json:
21988
+ schema:
21989
+ $ref: '#/components/schemas/CIAppTestEventsRequest'
21990
+ required: false
21991
+ responses:
21992
+ '200':
21993
+ content:
21994
+ application/json:
21995
+ schema:
21996
+ $ref: '#/components/schemas/CIAppTestEventsResponse'
21997
+ description: OK
21998
+ '400':
21999
+ $ref: '#/components/responses/BadRequestResponse'
22000
+ '403':
22001
+ $ref: '#/components/responses/NotAuthorizedResponse'
22002
+ '429':
22003
+ $ref: '#/components/responses/TooManyRequestsResponse'
22004
+ security:
22005
+ - apiKeyAuth: []
22006
+ appKeyAuth: []
22007
+ - AuthZ:
22008
+ - ci_visibility_read
22009
+ summary: Search tests events
22010
+ tags:
22011
+ - CI Visibility Tests
22012
+ x-codegen-request-body-name: body
22013
+ x-pagination:
22014
+ cursorParam: body.page.cursor
22015
+ cursorPath: meta.page.after
22016
+ limitParam: body.page.limit
22017
+ resultsPath: data
22018
+ /api/v2/container_images:
22019
+ get:
22020
+ description: Get all Container Images for your organization.
22021
+ operationId: ListContainerImages
22022
+ parameters:
22023
+ - description: Comma-separated list of tags to filter Container Images by.
22024
+ example: short_image:redis,status:running
22025
+ in: query
22026
+ name: filter[tags]
22027
+ required: false
22028
+ schema:
22029
+ type: string
22030
+ - description: Comma-separated list of tags to group Container Images by.
22031
+ example: registry,image_tags
22032
+ in: query
22033
+ name: group_by
22034
+ required: false
22035
+ schema:
22036
+ type: string
22037
+ - description: Attribute to sort Container Images by.
22038
+ example: container_count
22039
+ in: query
22040
+ name: sort
22041
+ required: false
22042
+ schema:
22043
+ type: string
22044
+ - description: Maximum number of results returned.
22045
+ in: query
22046
+ name: page[size]
22047
+ required: false
22048
+ schema:
22049
+ default: 1000
22050
+ format: int32
22051
+ maximum: 10000
22052
+ minimum: 1
22053
+ type: integer
22054
+ - description: 'String to query the next page of results.
22055
+
22056
+ This key is provided with each valid response from the API in `meta.pagination.next_cursor`.'
22057
+ in: query
22058
+ name: page[cursor]
22059
+ required: false
22060
+ schema:
22061
+ type: string
22062
+ responses:
22063
+ '200':
22064
+ content:
22065
+ application/json:
22066
+ schema:
22067
+ $ref: '#/components/schemas/ContainerImagesResponse'
22068
+ description: OK
22069
+ '400':
22070
+ content:
22071
+ application/json:
22072
+ schema:
22073
+ $ref: '#/components/schemas/APIErrorResponse'
22074
+ description: Bad Request
22075
+ '403':
22076
+ content:
22077
+ application/json:
22078
+ schema:
22079
+ $ref: '#/components/schemas/APIErrorResponse'
22080
+ description: Authentication Error
22081
+ '429':
22082
+ $ref: '#/components/responses/TooManyRequestsResponse'
22083
+ security:
22084
+ - apiKeyAuth: []
22085
+ appKeyAuth: []
22086
+ - AuthZ: []
22087
+ summary: Get all Container Images
22088
+ tags:
22089
+ - Container Images
22090
+ x-pagination:
22091
+ cursorParam: page[cursor]
22092
+ cursorPath: meta.pagination.next_cursor
22093
+ limitParam: page[size]
22094
+ resultsPath: data
22095
+ /api/v2/containers:
22096
+ get:
22097
+ description: Get all containers for your organization.
22098
+ operationId: ListContainers
22099
+ parameters:
22100
+ - description: Comma-separated list of tags to filter containers by.
22101
+ example: env:prod,short_image:cassandra
22102
+ in: query
22103
+ name: filter[tags]
22104
+ required: false
22105
+ schema:
22106
+ type: string
22107
+ - description: Comma-separated list of tags to group containers by.
22108
+ example: datacenter,cluster
22109
+ in: query
22110
+ name: group_by
22111
+ required: false
22112
+ schema:
22113
+ type: string
22114
+ - description: Attribute to sort containers by.
22115
+ example: started_at
22116
+ in: query
22117
+ name: sort
22118
+ required: false
22119
+ schema:
22120
+ type: string
22121
+ - description: Maximum number of results returned.
22122
+ in: query
22123
+ name: page[size]
22124
+ required: false
22125
+ schema:
22126
+ default: 1000
22127
+ format: int32
22128
+ maximum: 10000
22129
+ minimum: 1
22130
+ type: integer
22131
+ - description: 'String to query the next page of results.
22132
+
22133
+ This key is provided with each valid response from the API in `meta.pagination.next_cursor`.'
22134
+ in: query
22135
+ name: page[cursor]
22136
+ required: false
22137
+ schema:
22138
+ type: string
22139
+ responses:
22140
+ '200':
22141
+ content:
22142
+ application/json:
22143
+ schema:
22144
+ $ref: '#/components/schemas/ContainersResponse'
22145
+ description: OK
22146
+ '400':
22147
+ content:
22148
+ application/json:
22149
+ schema:
22150
+ $ref: '#/components/schemas/APIErrorResponse'
22151
+ description: Bad Request
22152
+ '403':
22153
+ content:
22154
+ application/json:
22155
+ schema:
22156
+ $ref: '#/components/schemas/APIErrorResponse'
22157
+ description: Authentication Error
22158
+ '429':
22159
+ $ref: '#/components/responses/TooManyRequestsResponse'
22160
+ security:
22161
+ - apiKeyAuth: []
22162
+ appKeyAuth: []
22163
+ - AuthZ: []
22164
+ summary: Get All Containers
22165
+ tags:
22166
+ - Containers
22167
+ x-pagination:
22168
+ cursorParam: page[cursor]
22169
+ cursorPath: meta.pagination.next_cursor
22170
+ limitParam: page[size]
22171
+ resultsPath: data
22172
+ /api/v2/cost/aws_cur_config:
22173
+ get:
22174
+ description: List the AWS CUR configs.
22175
+ operationId: ListCostAWSCURConfigs
22176
+ responses:
22177
+ '200':
22178
+ content:
22179
+ application/json:
22180
+ schema:
22181
+ $ref: '#/components/schemas/AwsCURConfigsResponse'
22182
+ description: OK
22183
+ '403':
22184
+ content:
22185
+ application/json:
22186
+ schema:
22187
+ $ref: '#/components/schemas/APIErrorResponse'
22188
+ description: Forbidden
22189
+ '429':
22190
+ $ref: '#/components/responses/TooManyRequestsResponse'
22191
+ summary: List Cloud Cost Management AWS CUR configs
22192
+ tags:
22193
+ - Cloud Cost Management
22194
+ x-permission:
22195
+ operator: OR
22196
+ permissions:
22197
+ - CLOUD_COST_MANAGEMENT_READ
22198
+ post:
22199
+ description: Create a Cloud Cost Management account for an AWS CUR config.
22200
+ operationId: CreateCostAWSCURConfig
22201
+ requestBody:
22202
+ content:
22203
+ application/json:
22204
+ schema:
22205
+ $ref: '#/components/schemas/AwsCURConfigPostRequest'
22206
+ required: true
22207
+ responses:
22208
+ '200':
22209
+ content:
22210
+ application/json:
22211
+ schema:
22212
+ $ref: '#/components/schemas/AwsCURConfigResponse'
22213
+ description: OK
22214
+ '400':
22215
+ content:
22216
+ application/json:
22217
+ schema:
22218
+ $ref: '#/components/schemas/APIErrorResponse'
22219
+ description: Bad Request
22220
+ '403':
22221
+ content:
22222
+ application/json:
22223
+ schema:
22224
+ $ref: '#/components/schemas/APIErrorResponse'
22225
+ description: Forbidden
22226
+ '429':
22227
+ $ref: '#/components/responses/TooManyRequestsResponse'
22228
+ summary: Create Cloud Cost Management AWS CUR config
22229
+ tags:
22230
+ - Cloud Cost Management
22231
+ x-permission:
22232
+ operator: OR
22233
+ permissions:
22234
+ - CLOUD_COST_MANAGEMENT_WRITE
22235
+ /api/v2/cost/aws_cur_config/{cloud_account_id}:
22236
+ delete:
22237
+ description: Archive a Cloud Cost Management Account.
22238
+ operationId: DeleteCostAWSCURConfig
22239
+ parameters:
22240
+ - $ref: '#/components/parameters/CloudAccountID'
22241
+ responses:
22242
+ '204':
22243
+ description: No Content
22244
+ '400':
22245
+ content:
22246
+ application/json:
22247
+ schema:
22248
+ $ref: '#/components/schemas/APIErrorResponse'
22249
+ description: Bad Request
22250
+ '404':
22251
+ content:
22252
+ application/json:
22253
+ schema:
22254
+ $ref: '#/components/schemas/APIErrorResponse'
22255
+ description: Not Found
22256
+ '429':
22257
+ $ref: '#/components/responses/TooManyRequestsResponse'
22258
+ summary: Delete Cloud Cost Management AWS CUR config
22259
+ tags:
22260
+ - Cloud Cost Management
22261
+ x-permission:
22262
+ operator: OR
22263
+ permissions:
22264
+ - CLOUD_COST_MANAGEMENT_WRITE
22265
+ patch:
22266
+ description: Update the status of an AWS CUR config (active/archived).
22267
+ operationId: UpdateCostAWSCURConfig
22268
+ parameters:
22269
+ - $ref: '#/components/parameters/CloudAccountID'
22270
+ requestBody:
22271
+ content:
22272
+ application/json:
22273
+ schema:
22274
+ $ref: '#/components/schemas/AwsCURConfigPatchRequest'
22275
+ required: true
22276
+ responses:
22277
+ '200':
22278
+ content:
22279
+ application/json:
22280
+ schema:
22281
+ $ref: '#/components/schemas/AwsCURConfigsResponse'
22282
+ description: OK
22283
+ '403':
22284
+ content:
22285
+ application/json:
22286
+ schema:
22287
+ $ref: '#/components/schemas/APIErrorResponse'
22288
+ description: Forbidden
22289
+ '429':
22290
+ $ref: '#/components/responses/TooManyRequestsResponse'
22291
+ summary: Update Cloud Cost Management AWS CUR config
22292
+ tags:
22293
+ - Cloud Cost Management
22294
+ x-permission:
22295
+ operator: OR
22296
+ permissions:
22297
+ - CLOUD_COST_MANAGEMENT_WRITE
22298
+ /api/v2/cost/aws_related_accounts:
22299
+ get:
22300
+ description: List the AWS accounts in an organization by calling 'organizations:ListAccounts'
22301
+ from the specified management account.
22302
+ operationId: ListAWSRelatedAccounts
22303
+ parameters:
22304
+ - description: The ID of the management account to filter by.
22305
+ example: '123456789123'
22306
+ in: query
22307
+ name: filter[management_account_id]
22308
+ required: true
22309
+ schema:
22310
+ type: string
22311
+ responses:
22312
+ '200':
22313
+ content:
22314
+ application/json:
22315
+ schema:
22316
+ $ref: '#/components/schemas/AWSRelatedAccountsResponse'
22317
+ description: OK
22318
+ '400':
22319
+ content:
22320
+ application/json:
22321
+ schema:
22322
+ $ref: '#/components/schemas/APIErrorResponse'
22323
+ description: Bad Request
22324
+ '403':
22325
+ content:
22326
+ application/json:
22327
+ schema:
22328
+ $ref: '#/components/schemas/APIErrorResponse'
22329
+ description: Forbidden
22330
+ '429':
22331
+ $ref: '#/components/responses/TooManyRequestsResponse'
22332
+ summary: List related AWS accounts
22333
+ tags:
22334
+ - Cloud Cost Management
22335
+ x-permission:
22336
+ operator: OR
22337
+ permissions:
22338
+ - CLOUD_COST_MANAGEMENT_READ
22339
+ /api/v2/cost/azure_uc_config:
22340
+ get:
22341
+ description: List the Azure configs.
22342
+ operationId: ListCostAzureUCConfigs
22343
+ responses:
22344
+ '200':
22345
+ content:
22346
+ application/json:
22347
+ schema:
22348
+ $ref: '#/components/schemas/AzureUCConfigsResponse'
21162
22349
  description: OK
21163
- '400':
21164
- $ref: '#/components/responses/BadRequestResponse'
21165
22350
  '403':
21166
- $ref: '#/components/responses/NotAuthorizedResponse'
22351
+ content:
22352
+ application/json:
22353
+ schema:
22354
+ $ref: '#/components/schemas/APIErrorResponse'
22355
+ description: Forbidden
21167
22356
  '429':
21168
22357
  $ref: '#/components/responses/TooManyRequestsResponse'
21169
- security:
21170
- - apiKeyAuth: []
21171
- appKeyAuth: []
21172
- - AuthZ:
21173
- - ci_visibility_read
21174
- summary: Get a list of tests events
22358
+ summary: List Cloud Cost Management Azure configs
21175
22359
  tags:
21176
- - CI Visibility Tests
21177
- x-pagination:
21178
- cursorParam: page[cursor]
21179
- cursorPath: meta.page.after
21180
- limitParam: page[limit]
21181
- resultsPath: data
21182
- /api/v2/ci/tests/events/search:
22360
+ - Cloud Cost Management
22361
+ x-permission:
22362
+ operator: OR
22363
+ permissions:
22364
+ - CLOUD_COST_MANAGEMENT_READ
21183
22365
  post:
21184
- description: 'List endpoint returns CI Visibility test events that match a [log
21185
- search query](https://docs.datadoghq.com/logs/explorer/search_syntax/).
21186
-
21187
- [Results are paginated similarly to logs](https://docs.datadoghq.com/logs/guide/collect-multiple-logs-with-pagination).
21188
-
21189
-
21190
- Use this endpoint to build complex events filtering and search.'
21191
- operationId: SearchCIAppTestEvents
22366
+ description: Create a Cloud Cost Management account for an Azure config.
22367
+ operationId: CreateCostAzureUCConfigs
21192
22368
  requestBody:
21193
22369
  content:
21194
22370
  application/json:
21195
22371
  schema:
21196
- $ref: '#/components/schemas/CIAppTestEventsRequest'
21197
- required: false
22372
+ $ref: '#/components/schemas/AzureUCConfigPostRequest'
22373
+ required: true
21198
22374
  responses:
21199
22375
  '200':
21200
22376
  content:
21201
22377
  application/json:
21202
22378
  schema:
21203
- $ref: '#/components/schemas/CIAppTestEventsResponse'
22379
+ $ref: '#/components/schemas/AzureUCConfigPairsResponse'
21204
22380
  description: OK
21205
22381
  '400':
21206
- $ref: '#/components/responses/BadRequestResponse'
22382
+ content:
22383
+ application/json:
22384
+ schema:
22385
+ $ref: '#/components/schemas/APIErrorResponse'
22386
+ description: Bad Request
21207
22387
  '403':
21208
- $ref: '#/components/responses/NotAuthorizedResponse'
22388
+ content:
22389
+ application/json:
22390
+ schema:
22391
+ $ref: '#/components/schemas/APIErrorResponse'
22392
+ description: Forbidden
21209
22393
  '429':
21210
22394
  $ref: '#/components/responses/TooManyRequestsResponse'
21211
- security:
21212
- - apiKeyAuth: []
21213
- appKeyAuth: []
21214
- - AuthZ:
21215
- - ci_visibility_read
21216
- summary: Search tests events
22395
+ summary: Create Cloud Cost Management Azure configs
21217
22396
  tags:
21218
- - CI Visibility Tests
21219
- x-codegen-request-body-name: body
21220
- x-pagination:
21221
- cursorParam: body.page.cursor
21222
- cursorPath: meta.page.after
21223
- limitParam: body.page.limit
21224
- resultsPath: data
21225
- /api/v2/container_images:
21226
- get:
21227
- description: Get all Container Images for your organization.
21228
- operationId: ListContainerImages
22397
+ - Cloud Cost Management
22398
+ x-permission:
22399
+ operator: OR
22400
+ permissions:
22401
+ - CLOUD_COST_MANAGEMENT_WRITE
22402
+ /api/v2/cost/azure_uc_config/{cloud_account_id}:
22403
+ delete:
22404
+ description: Archive a Cloud Cost Management Account.
22405
+ operationId: DeleteCostAzureUCConfig
21229
22406
  parameters:
21230
- - description: Comma-separated list of tags to filter Container Images by.
21231
- example: short_image:redis,status:running
21232
- in: query
21233
- name: filter[tags]
21234
- required: false
21235
- schema:
21236
- type: string
21237
- - description: Comma-separated list of tags to group Container Images by.
21238
- example: registry,image_tags
21239
- in: query
21240
- name: group_by
21241
- required: false
21242
- schema:
21243
- type: string
21244
- - description: Attribute to sort Container Images by.
21245
- example: container_count
21246
- in: query
21247
- name: sort
21248
- required: false
21249
- schema:
21250
- type: string
21251
- - description: Maximum number of results returned.
21252
- in: query
21253
- name: page[size]
21254
- required: false
21255
- schema:
21256
- default: 1000
21257
- format: int32
21258
- maximum: 10000
21259
- minimum: 1
21260
- type: integer
21261
- - description: 'String to query the next page of results.
21262
-
21263
- This key is provided with each valid response from the API in `meta.pagination.next_cursor`.'
21264
- in: query
21265
- name: page[cursor]
21266
- required: false
21267
- schema:
21268
- type: string
22407
+ - $ref: '#/components/parameters/CloudAccountID'
21269
22408
  responses:
21270
- '200':
21271
- content:
21272
- application/json:
21273
- schema:
21274
- $ref: '#/components/schemas/ContainerImagesResponse'
21275
- description: OK
22409
+ '204':
22410
+ description: No Content
21276
22411
  '400':
21277
22412
  content:
21278
22413
  application/json:
21279
22414
  schema:
21280
22415
  $ref: '#/components/schemas/APIErrorResponse'
21281
22416
  description: Bad Request
21282
- '403':
22417
+ '404':
21283
22418
  content:
21284
22419
  application/json:
21285
22420
  schema:
21286
22421
  $ref: '#/components/schemas/APIErrorResponse'
21287
- description: Authentication Error
22422
+ description: Not Found
21288
22423
  '429':
21289
22424
  $ref: '#/components/responses/TooManyRequestsResponse'
21290
- security:
21291
- - apiKeyAuth: []
21292
- appKeyAuth: []
21293
- - AuthZ: []
21294
- summary: Get all Container Images
22425
+ summary: Delete Cloud Cost Management Azure config
21295
22426
  tags:
21296
- - Container Images
21297
- x-pagination:
21298
- cursorParam: page[cursor]
21299
- cursorPath: meta.pagination.next_cursor
21300
- limitParam: page[size]
21301
- resultsPath: data
21302
- /api/v2/containers:
21303
- get:
21304
- description: Get all containers for your organization.
21305
- operationId: ListContainers
22427
+ - Cloud Cost Management
22428
+ x-permission:
22429
+ operator: OR
22430
+ permissions:
22431
+ - CLOUD_COST_MANAGEMENT_WRITE
22432
+ patch:
22433
+ description: Update the status of an Azure config (active/archived).
22434
+ operationId: UpdateCostAzureUCConfigs
21306
22435
  parameters:
21307
- - description: Comma-separated list of tags to filter containers by.
21308
- example: env:prod,short_image:cassandra
21309
- in: query
21310
- name: filter[tags]
21311
- required: false
21312
- schema:
21313
- type: string
21314
- - description: Comma-separated list of tags to group containers by.
21315
- example: datacenter,cluster
21316
- in: query
21317
- name: group_by
21318
- required: false
21319
- schema:
21320
- type: string
21321
- - description: Attribute to sort containers by.
21322
- example: started_at
21323
- in: query
21324
- name: sort
21325
- required: false
21326
- schema:
21327
- type: string
21328
- - description: Maximum number of results returned.
21329
- in: query
21330
- name: page[size]
21331
- required: false
21332
- schema:
21333
- default: 1000
21334
- format: int32
21335
- maximum: 10000
21336
- minimum: 1
21337
- type: integer
21338
- - description: 'String to query the next page of results.
21339
-
21340
- This key is provided with each valid response from the API in `meta.pagination.next_cursor`.'
21341
- in: query
21342
- name: page[cursor]
21343
- required: false
21344
- schema:
21345
- type: string
22436
+ - $ref: '#/components/parameters/CloudAccountID'
22437
+ requestBody:
22438
+ content:
22439
+ application/json:
22440
+ schema:
22441
+ $ref: '#/components/schemas/AzureUCConfigPatchRequest'
22442
+ required: true
21346
22443
  responses:
21347
22444
  '200':
21348
22445
  content:
21349
22446
  application/json:
21350
22447
  schema:
21351
- $ref: '#/components/schemas/ContainersResponse'
22448
+ $ref: '#/components/schemas/AzureUCConfigPairsResponse'
21352
22449
  description: OK
21353
22450
  '400':
21354
22451
  content:
@@ -21361,21 +22458,42 @@ paths:
21361
22458
  application/json:
21362
22459
  schema:
21363
22460
  $ref: '#/components/schemas/APIErrorResponse'
21364
- description: Authentication Error
22461
+ description: Forbidden
21365
22462
  '429':
21366
22463
  $ref: '#/components/responses/TooManyRequestsResponse'
21367
- security:
21368
- - apiKeyAuth: []
21369
- appKeyAuth: []
21370
- - AuthZ: []
21371
- summary: Get All Containers
22464
+ summary: Update Cloud Cost Management Azure config
21372
22465
  tags:
21373
- - Containers
21374
- x-pagination:
21375
- cursorParam: page[cursor]
21376
- cursorPath: meta.pagination.next_cursor
21377
- limitParam: page[size]
21378
- resultsPath: data
22466
+ - Cloud Cost Management
22467
+ x-permission:
22468
+ operator: OR
22469
+ permissions:
22470
+ - CLOUD_COST_MANAGEMENT_WRITE
22471
+ /api/v2/cost/enabled:
22472
+ get:
22473
+ description: Get the Cloud Cost Management activity.
22474
+ operationId: GetCloudCostActivity
22475
+ responses:
22476
+ '200':
22477
+ content:
22478
+ application/json:
22479
+ schema:
22480
+ $ref: '#/components/schemas/CloudCostActivityResponse'
22481
+ description: OK
22482
+ '403':
22483
+ content:
22484
+ application/json:
22485
+ schema:
22486
+ $ref: '#/components/schemas/APIErrorResponse'
22487
+ description: Forbidden
22488
+ '429':
22489
+ $ref: '#/components/responses/TooManyRequestsResponse'
22490
+ summary: Cloud Cost Enabled
22491
+ tags:
22492
+ - Cloud Cost Management
22493
+ x-permission:
22494
+ operator: OR
22495
+ permissions:
22496
+ - CLOUD_COST_MANAGEMENT_READ
21379
22497
  /api/v2/cost_by_tag/active_billing_dimensions:
21380
22498
  get:
21381
22499
  description: Get active billing dimensions for cost attribution. Cost data for
@@ -21947,8 +23065,7 @@ paths:
21947
23065
  tags:
21948
23066
  - DORA Metrics
21949
23067
  x-codegen-request-body-name: body
21950
- x-unstable: '**Note**: This endpoint is in private beta for CI Pipeline Visibility
21951
- customers.
23068
+ x-unstable: '**Note**: This endpoint is in private beta.
21952
23069
 
21953
23070
  If you want to request access, complete the [form](https://forms.gle/Eqq6uXfGjYxmqpjDA).'
21954
23071
  /api/v2/dora/incident:
@@ -21998,8 +23115,7 @@ paths:
21998
23115
  tags:
21999
23116
  - DORA Metrics
22000
23117
  x-codegen-request-body-name: body
22001
- x-unstable: '**Note**: This endpoint is in private beta for CI Pipeline Visibility
22002
- customers.
23118
+ x-unstable: '**Note**: This endpoint is in private beta.
22003
23119
 
22004
23120
  If you want to request access, complete the [form](https://forms.gle/Eqq6uXfGjYxmqpjDA).'
22005
23121
  /api/v2/downtime:
@@ -25109,8 +26225,8 @@ paths:
25109
26225
  required: false
25110
26226
  schema:
25111
26227
  type: boolean
25112
- - description: 'Filter custom metrics that have or have not been queried in
25113
- the specified window[seconds].
26228
+ - description: '(Beta) Filter custom metrics that have or have not been queried
26229
+ in the specified window[seconds].
25114
26230
 
25115
26231
  If no window is provided or the window is less than 2 hours, a default of
25116
26232
  2 hours will be applied.'
@@ -25578,7 +26694,9 @@ paths:
25578
26694
  queryable.
25579
26695
 
25580
26696
  Can only be used with application keys from users with the `Manage Tags for
25581
- Metrics` permission.'
26697
+ Metrics` permission. This endpoint requires
26698
+
26699
+ a tag configuration to be created first.'
25582
26700
  operationId: UpdateTagConfiguration
25583
26701
  parameters:
25584
26702
  - $ref: '#/components/parameters/MetricName'
@@ -25931,6 +27049,16 @@ paths:
25931
27049
  schema:
25932
27050
  format: int64
25933
27051
  type: integer
27052
+ - $ref: '#/components/parameters/PageOffset'
27053
+ - description: Maximum number of downtimes in the response.
27054
+ example: 100
27055
+ in: query
27056
+ name: page[limit]
27057
+ required: false
27058
+ schema:
27059
+ default: 30
27060
+ format: int64
27061
+ type: integer
25934
27062
  responses:
25935
27063
  '200':
25936
27064
  content:
@@ -25955,6 +27083,10 @@ paths:
25955
27083
  tags:
25956
27084
  - Downtimes
25957
27085
  x-codegen-request-body-name: body
27086
+ x-pagination:
27087
+ limitParam: page[limit]
27088
+ pageOffsetParam: page[offset]
27089
+ resultsPath: data
25958
27090
  /api/v2/permissions:
25959
27091
  get:
25960
27092
  description: Returns a list of all permissions, including name, description,
@@ -26544,10 +27676,9 @@ paths:
26544
27676
  - Metrics
26545
27677
  x-codegen-request-body-name: body
26546
27678
  x-unstable: '**Note**: This endpoint is GA for Metrics, Real User Monitoring
26547
- (RUM), and Cloud Cost Management data sources.
27679
+ (RUM), Cloud Cost Management, and Log Management data sources.
26548
27680
 
26549
- Support for logs is in beta. We are gradually onboarding support for more
26550
- sources. If you have any
27681
+ We are gradually onboarding support for more sources. If you have any
26551
27682
 
26552
27683
  feedback, contact [Datadog Support](https://docs.datadoghq.com/help/).'
26553
27684
  /api/v2/query/timeseries:
@@ -26587,10 +27718,9 @@ paths:
26587
27718
  - Metrics
26588
27719
  x-codegen-request-body-name: body
26589
27720
  x-unstable: '**Note**: This endpoint is GA for Metrics, Real User Monitoring
26590
- (RUM), and Cloud Cost Management data sources.
27721
+ (RUM), Cloud Cost Management, and Log Management data sources.
26591
27722
 
26592
- Support for logs is in beta. We are gradually onboarding support for more
26593
- sources. If you have any
27723
+ We are gradually onboarding support for more sources. If you have any
26594
27724
 
26595
27725
  feedback, contact [Datadog Support](https://docs.datadoghq.com/help/).'
26596
27726
  /api/v2/restriction_policy/{resource_id}:
@@ -31682,6 +32812,9 @@ tags:
31682
32812
  name: CI Visibility Pipelines
31683
32813
  - description: Search or aggregate your CI Visibility test events over HTTP.
31684
32814
  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.
32817
+ name: Cloud Cost Management
31685
32818
  - description: Workload activity security rules for generating events using the Datadog
31686
32819
  security Agent.
31687
32820
  name: Cloud Workload Security