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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0d4438925584d09ccdb84d7ca39ed161debac07c8eb3a1e91dbbdd7647b2a759
4
- data.tar.gz: f17005c76532511cd0395574ed55dffaf3eb3ebc8f3800791c74da75ff8bd980
3
+ metadata.gz: b25f08c016affc6e2c420e17d7b7e25193edb4937292b54eb968c8161cf306d2
4
+ data.tar.gz: a8b6ad97893e7e22c37e4609e878057866af0e1834c657f79f25b21ef1e52b41
5
5
  SHA512:
6
- metadata.gz: ec5357fb20252469e9065436530cc8e52a060c99c105493b5f29ff3aa06612a4b874543cda2a774f30aaccb9d54619bdebf78b267569a483602b410a7802c8f3
7
- data.tar.gz: 639def99455b8ca4eb5da63190d7b42e715bc4a1828f59ca669872c39bedad8878bdaebb543f9e68653c6cdfb67d0936cb4f1ca31b23bedb146c3694f6117ea1
6
+ metadata.gz: 8b2f1f4c813d0de50b006a7f7e0a669fd56cd95e644e0da6054b667e3b6fbac4843289fdacdfb654d0fbbd1bf4f780e636e4a853fbefee892956d92dc601369b
7
+ data.tar.gz: d9110809415dc178bc1fa7821d9ba4583fa104ae110815ee26be2d3012f2e03a803349957e00cace1bcb84a53bdc5759438a70f58ac0741f1d1744506e7fbefd
data/.apigentools-info CHANGED
@@ -4,13 +4,13 @@
4
4
  "spec_versions": {
5
5
  "v1": {
6
6
  "apigentools_version": "1.6.6",
7
- "regenerated": "2023-12-11 19:49:04.458964",
8
- "spec_repo_commit": "5584abd0"
7
+ "regenerated": "2024-01-09 20:22:58.736067",
8
+ "spec_repo_commit": "ba6497ef"
9
9
  },
10
10
  "v2": {
11
11
  "apigentools_version": "1.6.6",
12
- "regenerated": "2023-12-11 19:49:04.477340",
13
- "spec_repo_commit": "5584abd0"
12
+ "regenerated": "2024-01-09 20:22:58.750894",
13
+ "spec_repo_commit": "ba6497ef"
14
14
  }
15
15
  }
16
16
  }
@@ -144,7 +144,6 @@ TIME_FORMATTER = {
144
144
  },
145
145
  }
146
146
 
147
-
148
147
  def relative_time(imports, calls, freezed_time, iso):
149
148
  time_re = re.compile(r"now( *([+-]) *(\d+)([smhdMy]))?")
150
149
 
@@ -224,6 +223,7 @@ def context(request, unique, freezed_time):
224
223
  "unique_hash": unique_hash,
225
224
  "timestamp": relative_time(imports, replace_values, freezed_time, False),
226
225
  "timeISO": relative_time(imports, replace_values, freezed_time, True),
226
+ "uuid": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
227
227
  "_replace_values": replace_values,
228
228
  "_imports": imports,
229
229
  "_given": given,
@@ -2,13 +2,13 @@
2
2
 
3
3
  [[package]]
4
4
  name = "click"
5
- version = "8.1.4"
5
+ version = "8.1.7"
6
6
  description = "Composable command line interface toolkit"
7
7
  optional = false
8
8
  python-versions = ">=3.7"
9
9
  files = [
10
- {file = "click-8.1.4-py3-none-any.whl", hash = "sha256:2739815aaa5d2c986a88f1e9230c55e17f0caad3d958a5e13ad0797c166db9e3"},
11
- {file = "click-8.1.4.tar.gz", hash = "sha256:b97d0c74955da062a7d4ef92fadb583806a585b2ea81958a81bd72726cbb8e37"},
10
+ {file = "click-8.1.7-py3-none-any.whl", hash = "sha256:ae74fb96c20a0277a1d615f1e4d73c8414f5a98db8b799a7931d1582f3390c28"},
11
+ {file = "click-8.1.7.tar.gz", hash = "sha256:ca9853ad459e787e2192211578cc907e7594e294c7ccc834310722b41b9ca6de"},
12
12
  ]
13
13
 
14
14
  [package.dependencies]
@@ -27,13 +27,13 @@ files = [
27
27
 
28
28
  [[package]]
29
29
  name = "exceptiongroup"
30
- version = "1.1.2"
30
+ version = "1.2.0"
31
31
  description = "Backport of PEP 654 (exception groups)"
32
32
  optional = false
33
33
  python-versions = ">=3.7"
34
34
  files = [
35
- {file = "exceptiongroup-1.1.2-py3-none-any.whl", hash = "sha256:e346e69d186172ca7cf029c8c1d16235aa0e04035e5750b4b95039e65204328f"},
36
- {file = "exceptiongroup-1.1.2.tar.gz", hash = "sha256:12c3e887d6485d16943a309616de20ae5582633e0a2eda17f4e10fd61c1e8af5"},
35
+ {file = "exceptiongroup-1.2.0-py3-none-any.whl", hash = "sha256:4bfd3996ac73b41e9b9628b04e079f193850720ea5945fc96a08633c66912f14"},
36
+ {file = "exceptiongroup-1.2.0.tar.gz", hash = "sha256:91f5c769735f051a4290d52edd0858999b57e5876e9f85937691bd4c9fa3ed68"},
37
37
  ]
38
38
 
39
39
  [package.extras]
@@ -80,13 +80,13 @@ files = [
80
80
 
81
81
  [[package]]
82
82
  name = "mako"
83
- version = "1.2.4"
83
+ version = "1.3.0"
84
84
  description = "A super-fast templating language that borrows the best ideas from the existing templating languages."
85
85
  optional = false
86
- python-versions = ">=3.7"
86
+ python-versions = ">=3.8"
87
87
  files = [
88
- {file = "Mako-1.2.4-py3-none-any.whl", hash = "sha256:c97c79c018b9165ac9922ae4f32da095ffd3c4e6872b45eded42926deea46818"},
89
- {file = "Mako-1.2.4.tar.gz", hash = "sha256:d60a3903dc3bb01a18ad6a89cdbe2e4eadc69c0bc8ef1e3773ba53d44c3f7a34"},
88
+ {file = "Mako-1.3.0-py3-none-any.whl", hash = "sha256:57d4e997349f1a92035aa25c17ace371a4213f2ca42f99bee9a602500cfd54d9"},
89
+ {file = "Mako-1.3.0.tar.gz", hash = "sha256:e3a9d388fd00e87043edbe8792f45880ac0114e9c4adc69f6e9bfb2c55e3b11b"},
90
90
  ]
91
91
 
92
92
  [package.dependencies]
@@ -158,24 +158,24 @@ files = [
158
158
 
159
159
  [[package]]
160
160
  name = "packaging"
161
- version = "23.1"
161
+ version = "23.2"
162
162
  description = "Core utilities for Python packages"
163
163
  optional = false
164
164
  python-versions = ">=3.7"
165
165
  files = [
166
- {file = "packaging-23.1-py3-none-any.whl", hash = "sha256:994793af429502c4ea2ebf6bf664629d07c1a9fe974af92966e4b8d2df7edc61"},
167
- {file = "packaging-23.1.tar.gz", hash = "sha256:a392980d2b6cffa644431898be54b0045151319d1e7ec34f0cfed48767dd334f"},
166
+ {file = "packaging-23.2-py3-none-any.whl", hash = "sha256:8c491190033a9af7e1d931d0b5dacc2ef47509b34dd0de67ed209b5203fc88c7"},
167
+ {file = "packaging-23.2.tar.gz", hash = "sha256:048fb0e9405036518eaaf48a55953c750c11e1a1b68e0dd1a9d62ed0c092cfc5"},
168
168
  ]
169
169
 
170
170
  [[package]]
171
171
  name = "parse"
172
- version = "1.19.1"
172
+ version = "1.20.0"
173
173
  description = "parse() is the opposite of format()"
174
174
  optional = false
175
175
  python-versions = "*"
176
176
  files = [
177
- {file = "parse-1.19.1-py2.py3-none-any.whl", hash = "sha256:371ed3800dc63983832159cc9373156613947707bc448b5215473a219dbd4362"},
178
- {file = "parse-1.19.1.tar.gz", hash = "sha256:cc3a47236ff05da377617ddefa867b7ba983819c664e1afe46249e5b469be464"},
177
+ {file = "parse-1.20.0-py2.py3-none-any.whl", hash = "sha256:5e171b001452fa9f004c5a58a93525175468daf69b493e9fa915347ed7ff6968"},
178
+ {file = "parse-1.20.0.tar.gz", hash = "sha256:bd28bae37714b45d5894d77160a16e2be36b64a3b618c81168b3684676aa498b"},
179
179
  ]
180
180
 
181
181
  [[package]]
@@ -200,13 +200,13 @@ testing = ["pytest (<5.0)", "pytest (>=5.0)", "pytest-html (>=1.19.0)"]
200
200
 
201
201
  [[package]]
202
202
  name = "pluggy"
203
- version = "1.2.0"
203
+ version = "1.3.0"
204
204
  description = "plugin and hook calling mechanisms for python"
205
205
  optional = false
206
- python-versions = ">=3.7"
206
+ python-versions = ">=3.8"
207
207
  files = [
208
- {file = "pluggy-1.2.0-py3-none-any.whl", hash = "sha256:c2fd55a7d7a3863cba1a013e4e2414658b1d07b6bc57b3919e0c63c9abb99849"},
209
- {file = "pluggy-1.2.0.tar.gz", hash = "sha256:d12f0c4b579b15f5e054301bb226ee85eeeba08ffec228092f8defbaa3a4c4b3"},
208
+ {file = "pluggy-1.3.0-py3-none-any.whl", hash = "sha256:d89c696a773f8bd377d18e5ecda92b7a3793cbe66c87060a6fb58c7b6e1061f7"},
209
+ {file = "pluggy-1.3.0.tar.gz", hash = "sha256:cf61ae8f126ac6f7c451172cf30e3e43d3ca77615509771b3a984a0730651e12"},
210
210
  ]
211
211
 
212
212
  [package.extras]
@@ -215,13 +215,13 @@ testing = ["pytest", "pytest-benchmark"]
215
215
 
216
216
  [[package]]
217
217
  name = "pytest"
218
- version = "7.4.0"
218
+ version = "7.4.3"
219
219
  description = "pytest: simple powerful testing with Python"
220
220
  optional = false
221
221
  python-versions = ">=3.7"
222
222
  files = [
223
- {file = "pytest-7.4.0-py3-none-any.whl", hash = "sha256:78bf16451a2eb8c7a2ea98e32dc119fd2aa758f1d5d66dbf0a59d69a3969df32"},
224
- {file = "pytest-7.4.0.tar.gz", hash = "sha256:b4bf8c45bd59934ed84001ad51e11b4ee40d40a1229d2c79f9c592b0a3f6bd8a"},
223
+ {file = "pytest-7.4.3-py3-none-any.whl", hash = "sha256:0d009c083ea859a71b76adf7c1d502e4bc170b80a8ef002da5806527b9591fac"},
224
+ {file = "pytest-7.4.3.tar.gz", hash = "sha256:d989d136982de4e3b29dabcc838ad581c64e8ed52c11fbe86ddebd9da0818cd5"},
225
225
  ]
226
226
 
227
227
  [package.dependencies]
@@ -269,51 +269,51 @@ six = ">=1.5"
269
269
 
270
270
  [[package]]
271
271
  name = "pyyaml"
272
- version = "6.0"
272
+ version = "6.0.1"
273
273
  description = "YAML parser and emitter for Python"
274
274
  optional = false
275
275
  python-versions = ">=3.6"
276
276
  files = [
277
- {file = "PyYAML-6.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:d4db7c7aef085872ef65a8fd7d6d09a14ae91f691dec3e87ee5ee0539d516f53"},
278
- {file = "PyYAML-6.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:9df7ed3b3d2e0ecfe09e14741b857df43adb5a3ddadc919a2d94fbdf78fea53c"},
279
- {file = "PyYAML-6.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:77f396e6ef4c73fdc33a9157446466f1cff553d979bd00ecb64385760c6babdc"},
280
- {file = "PyYAML-6.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a80a78046a72361de73f8f395f1f1e49f956c6be882eed58505a15f3e430962b"},
281
- {file = "PyYAML-6.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:f84fbc98b019fef2ee9a1cb3ce93e3187a6df0b2538a651bfb890254ba9f90b5"},
282
- {file = "PyYAML-6.0-cp310-cp310-win32.whl", hash = "sha256:2cd5df3de48857ed0544b34e2d40e9fac445930039f3cfe4bcc592a1f836d513"},
283
- {file = "PyYAML-6.0-cp310-cp310-win_amd64.whl", hash = "sha256:daf496c58a8c52083df09b80c860005194014c3698698d1a57cbcfa182142a3a"},
284
- {file = "PyYAML-6.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:d4b0ba9512519522b118090257be113b9468d804b19d63c71dbcf4a48fa32358"},
285
- {file = "PyYAML-6.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:81957921f441d50af23654aa6c5e5eaf9b06aba7f0a19c18a538dc7ef291c5a1"},
286
- {file = "PyYAML-6.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:afa17f5bc4d1b10afd4466fd3a44dc0e245382deca5b3c353d8b757f9e3ecb8d"},
287
- {file = "PyYAML-6.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:dbad0e9d368bb989f4515da330b88a057617d16b6a8245084f1b05400f24609f"},
288
- {file = "PyYAML-6.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:432557aa2c09802be39460360ddffd48156e30721f5e8d917f01d31694216782"},
289
- {file = "PyYAML-6.0-cp311-cp311-win32.whl", hash = "sha256:bfaef573a63ba8923503d27530362590ff4f576c626d86a9fed95822a8255fd7"},
290
- {file = "PyYAML-6.0-cp311-cp311-win_amd64.whl", hash = "sha256:01b45c0191e6d66c470b6cf1b9531a771a83c1c4208272ead47a3ae4f2f603bf"},
291
- {file = "PyYAML-6.0-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:897b80890765f037df3403d22bab41627ca8811ae55e9a722fd0392850ec4d86"},
292
- {file = "PyYAML-6.0-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:50602afada6d6cbfad699b0c7bb50d5ccffa7e46a3d738092afddc1f9758427f"},
293
- {file = "PyYAML-6.0-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:48c346915c114f5fdb3ead70312bd042a953a8ce5c7106d5bfb1a5254e47da92"},
294
- {file = "PyYAML-6.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:98c4d36e99714e55cfbaaee6dd5badbc9a1ec339ebfc3b1f52e293aee6bb71a4"},
295
- {file = "PyYAML-6.0-cp36-cp36m-win32.whl", hash = "sha256:0283c35a6a9fbf047493e3a0ce8d79ef5030852c51e9d911a27badfde0605293"},
296
- {file = "PyYAML-6.0-cp36-cp36m-win_amd64.whl", hash = "sha256:07751360502caac1c067a8132d150cf3d61339af5691fe9e87803040dbc5db57"},
297
- {file = "PyYAML-6.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:819b3830a1543db06c4d4b865e70ded25be52a2e0631ccd2f6a47a2822f2fd7c"},
298
- {file = "PyYAML-6.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:473f9edb243cb1935ab5a084eb238d842fb8f404ed2193a915d1784b5a6b5fc0"},
299
- {file = "PyYAML-6.0-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:0ce82d761c532fe4ec3f87fc45688bdd3a4c1dc5e0b4a19814b9009a29baefd4"},
300
- {file = "PyYAML-6.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:231710d57adfd809ef5d34183b8ed1eeae3f76459c18fb4a0b373ad56bedcdd9"},
301
- {file = "PyYAML-6.0-cp37-cp37m-win32.whl", hash = "sha256:c5687b8d43cf58545ade1fe3e055f70eac7a5a1a0bf42824308d868289a95737"},
302
- {file = "PyYAML-6.0-cp37-cp37m-win_amd64.whl", hash = "sha256:d15a181d1ecd0d4270dc32edb46f7cb7733c7c508857278d3d378d14d606db2d"},
303
- {file = "PyYAML-6.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:0b4624f379dab24d3725ffde76559cff63d9ec94e1736b556dacdfebe5ab6d4b"},
304
- {file = "PyYAML-6.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:213c60cd50106436cc818accf5baa1aba61c0189ff610f64f4a3e8c6726218ba"},
305
- {file = "PyYAML-6.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9fa600030013c4de8165339db93d182b9431076eb98eb40ee068700c9c813e34"},
306
- {file = "PyYAML-6.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:277a0ef2981ca40581a47093e9e2d13b3f1fbbeffae064c1d21bfceba2030287"},
307
- {file = "PyYAML-6.0-cp38-cp38-win32.whl", hash = "sha256:d4eccecf9adf6fbcc6861a38015c2a64f38b9d94838ac1810a9023a0609e1b78"},
308
- {file = "PyYAML-6.0-cp38-cp38-win_amd64.whl", hash = "sha256:1e4747bc279b4f613a09eb64bba2ba602d8a6664c6ce6396a4d0cd413a50ce07"},
309
- {file = "PyYAML-6.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:055d937d65826939cb044fc8c9b08889e8c743fdc6a32b33e2390f66013e449b"},
310
- {file = "PyYAML-6.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:e61ceaab6f49fb8bdfaa0f92c4b57bcfbea54c09277b1b4f7ac376bfb7a7c174"},
311
- {file = "PyYAML-6.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d67d839ede4ed1b28a4e8909735fc992a923cdb84e618544973d7dfc71540803"},
312
- {file = "PyYAML-6.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:cba8c411ef271aa037d7357a2bc8f9ee8b58b9965831d9e51baf703280dc73d3"},
313
- {file = "PyYAML-6.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:40527857252b61eacd1d9af500c3337ba8deb8fc298940291486c465c8b46ec0"},
314
- {file = "PyYAML-6.0-cp39-cp39-win32.whl", hash = "sha256:b5b9eccad747aabaaffbc6064800670f0c297e52c12754eb1d976c57e4f74dcb"},
315
- {file = "PyYAML-6.0-cp39-cp39-win_amd64.whl", hash = "sha256:b3d267842bf12586ba6c734f89d1f5b871df0273157918b0ccefa29deb05c21c"},
316
- {file = "PyYAML-6.0.tar.gz", hash = "sha256:68fb519c14306fec9720a2a5b45bc9f0c8d1b9c72adf45c37baedfcd949c35a2"},
277
+ {file = "PyYAML-6.0.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:d858aa552c999bc8a8d57426ed01e40bef403cd8ccdd0fc5f6f04a00414cac2a"},
278
+ {file = "PyYAML-6.0.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:fd66fc5d0da6d9815ba2cebeb4205f95818ff4b79c3ebe268e75d961704af52f"},
279
+ {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:69b023b2b4daa7548bcfbd4aa3da05b3a74b772db9e23b982788168117739938"},
280
+ {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:81e0b275a9ecc9c0c0c07b4b90ba548307583c125f54d5b6946cfee6360c733d"},
281
+ {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ba336e390cd8e4d1739f42dfe9bb83a3cc2e80f567d8805e11b46f4a943f5515"},
282
+ {file = "PyYAML-6.0.1-cp310-cp310-win32.whl", hash = "sha256:bd4af7373a854424dabd882decdc5579653d7868b8fb26dc7d0e99f823aa5924"},
283
+ {file = "PyYAML-6.0.1-cp310-cp310-win_amd64.whl", hash = "sha256:fd1592b3fdf65fff2ad0004b5e363300ef59ced41c2e6b3a99d4089fa8c5435d"},
284
+ {file = "PyYAML-6.0.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:6965a7bc3cf88e5a1c3bd2e0b5c22f8d677dc88a455344035f03399034eb3007"},
285
+ {file = "PyYAML-6.0.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:f003ed9ad21d6a4713f0a9b5a7a0a79e08dd0f221aff4525a2be4c346ee60aab"},
286
+ {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:42f8152b8dbc4fe7d96729ec2b99c7097d656dc1213a3229ca5383f973a5ed6d"},
287
+ {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:062582fca9fabdd2c8b54a3ef1c978d786e0f6b3a1510e0ac93ef59e0ddae2bc"},
288
+ {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d2b04aac4d386b172d5b9692e2d2da8de7bfb6c387fa4f801fbf6fb2e6ba4673"},
289
+ {file = "PyYAML-6.0.1-cp311-cp311-win32.whl", hash = "sha256:1635fd110e8d85d55237ab316b5b011de701ea0f29d07611174a1b42f1444741"},
290
+ {file = "PyYAML-6.0.1-cp311-cp311-win_amd64.whl", hash = "sha256:bf07ee2fef7014951eeb99f56f39c9bb4af143d8aa3c21b1677805985307da34"},
291
+ {file = "PyYAML-6.0.1-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:50550eb667afee136e9a77d6dc71ae76a44df8b3e51e41b77f6de2932bfe0f47"},
292
+ {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1fe35611261b29bd1de0070f0b2f47cb6ff71fa6595c077e42bd0c419fa27b98"},
293
+ {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:704219a11b772aea0d8ecd7058d0082713c3562b4e271b849ad7dc4a5c90c13c"},
294
+ {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:afd7e57eddb1a54f0f1a974bc4391af8bcce0b444685d936840f125cf046d5bd"},
295
+ {file = "PyYAML-6.0.1-cp36-cp36m-win32.whl", hash = "sha256:fca0e3a251908a499833aa292323f32437106001d436eca0e6e7833256674585"},
296
+ {file = "PyYAML-6.0.1-cp36-cp36m-win_amd64.whl", hash = "sha256:f22ac1c3cac4dbc50079e965eba2c1058622631e526bd9afd45fedd49ba781fa"},
297
+ {file = "PyYAML-6.0.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:b1275ad35a5d18c62a7220633c913e1b42d44b46ee12554e5fd39c70a243d6a3"},
298
+ {file = "PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:18aeb1bf9a78867dc38b259769503436b7c72f7a1f1f4c93ff9a17de54319b27"},
299
+ {file = "PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:596106435fa6ad000c2991a98fa58eeb8656ef2325d7e158344fb33864ed87e3"},
300
+ {file = "PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:baa90d3f661d43131ca170712d903e6295d1f7a0f595074f151c0aed377c9b9c"},
301
+ {file = "PyYAML-6.0.1-cp37-cp37m-win32.whl", hash = "sha256:9046c58c4395dff28dd494285c82ba00b546adfc7ef001486fbf0324bc174fba"},
302
+ {file = "PyYAML-6.0.1-cp37-cp37m-win_amd64.whl", hash = "sha256:4fb147e7a67ef577a588a0e2c17b6db51dda102c71de36f8549b6816a96e1867"},
303
+ {file = "PyYAML-6.0.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:1d4c7e777c441b20e32f52bd377e0c409713e8bb1386e1099c2415f26e479595"},
304
+ {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a0cd17c15d3bb3fa06978b4e8958dcdc6e0174ccea823003a106c7d4d7899ac5"},
305
+ {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:28c119d996beec18c05208a8bd78cbe4007878c6dd15091efb73a30e90539696"},
306
+ {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7e07cbde391ba96ab58e532ff4803f79c4129397514e1413a7dc761ccd755735"},
307
+ {file = "PyYAML-6.0.1-cp38-cp38-win32.whl", hash = "sha256:184c5108a2aca3c5b3d3bf9395d50893a7ab82a38004c8f61c258d4428e80206"},
308
+ {file = "PyYAML-6.0.1-cp38-cp38-win_amd64.whl", hash = "sha256:1e2722cc9fbb45d9b87631ac70924c11d3a401b2d7f410cc0e3bbf249f2dca62"},
309
+ {file = "PyYAML-6.0.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:9eb6caa9a297fc2c2fb8862bc5370d0303ddba53ba97e71f08023b6cd73d16a8"},
310
+ {file = "PyYAML-6.0.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:c8098ddcc2a85b61647b2590f825f3db38891662cfc2fc776415143f599bb859"},
311
+ {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5773183b6446b2c99bb77e77595dd486303b4faab2b086e7b17bc6bef28865f6"},
312
+ {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b786eecbdf8499b9ca1d697215862083bd6d2a99965554781d0d8d1ad31e13a0"},
313
+ {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bc1bf2925a1ecd43da378f4db9e4f799775d6367bdb94671027b73b393a7c42c"},
314
+ {file = "PyYAML-6.0.1-cp39-cp39-win32.whl", hash = "sha256:faca3bdcf85b2fc05d06ff3fbc1f83e1391b3e724afa3feba7d13eeab355484c"},
315
+ {file = "PyYAML-6.0.1-cp39-cp39-win_amd64.whl", hash = "sha256:510c9deebc5c0225e8c96813043e62b680ba2f9c50a08d3724c7f28a747d1486"},
316
+ {file = "PyYAML-6.0.1.tar.gz", hash = "sha256:bfdf460b1736c775f2ba9f6a92bca30bc2095067b8a9d77876d1fad6cc3b4a43"},
317
317
  ]
318
318
 
319
319
  [[package]]
@@ -340,13 +340,13 @@ files = [
340
340
 
341
341
  [[package]]
342
342
  name = "typing-extensions"
343
- version = "4.7.1"
344
- description = "Backported and Experimental Type Hints for Python 3.7+"
343
+ version = "4.9.0"
344
+ description = "Backported and Experimental Type Hints for Python 3.8+"
345
345
  optional = false
346
- python-versions = ">=3.7"
346
+ python-versions = ">=3.8"
347
347
  files = [
348
- {file = "typing_extensions-4.7.1-py3-none-any.whl", hash = "sha256:440d5dd3af93b060174bf433bccd69b0babc3b15b1a8dca43789fd7f61514b36"},
349
- {file = "typing_extensions-4.7.1.tar.gz", hash = "sha256:b75ddc264f0ba5615db7ba217daeb99701ad295353c45f9e95963337ceeeffb2"},
348
+ {file = "typing_extensions-4.9.0-py3-none-any.whl", hash = "sha256:af72aea155e91adfc61c3ae9e0e342dbc0cba726d6cba4b6c72c1f34e47291cd"},
349
+ {file = "typing_extensions-4.9.0.tar.gz", hash = "sha256:23478f88c37f27d76ac8aee6c905017a143b0b1b886c3c9f66bc2fd94f9f5783"},
350
350
  ]
351
351
 
352
352
  [metadata]
@@ -3211,9 +3211,16 @@ components:
3211
3211
  example: key:value,filter:example
3212
3212
  type: string
3213
3213
  is_cspm_enabled:
3214
+ description: 'When enabled, Datadog will activate the Cloud Security Monitoring
3215
+ product for this service account. Note: This requires resource_collection_enabled
3216
+ to be set to true.'
3217
+ example: true
3218
+ type: boolean
3219
+ is_security_command_center_enabled:
3214
3220
  default: false
3215
- description: When enabled, Datadog performs configuration checks across
3216
- your Google Cloud environment by continuously scanning every resource.
3221
+ description: 'When enabled, Datadog will attempt to collect Security Command
3222
+ Center Findings. Note: This requires additional permissions on the service
3223
+ account.'
3217
3224
  example: true
3218
3225
  type: boolean
3219
3226
  private_key:
@@ -3229,6 +3236,10 @@ components:
3229
3236
  key.
3230
3237
  example: datadog-apitest
3231
3238
  type: string
3239
+ resource_collection_enabled:
3240
+ description: When enabled, Datadog scans for all resources in your GCP environment.
3241
+ example: true
3242
+ type: boolean
3232
3243
  token_uri:
3233
3244
  description: Should be `https://accounts.google.com/o/oauth2/token`.
3234
3245
  example: https://accounts.google.com/o/oauth2/token
@@ -9348,7 +9359,7 @@ components:
9348
9359
  example: some description
9349
9360
  type: string
9350
9361
  name:
9351
- description: The name of the new child-organization, limited to 32 characters.
9362
+ description: The name of the child organization, limited to 32 characters.
9352
9363
  example: New child org
9353
9364
  maxLength: 32
9354
9365
  type: string
@@ -10233,6 +10244,13 @@ components:
10233
10244
  nullable: true
10234
10245
  type: string
10235
10246
  type: object
10247
+ SLODataSourceQueryDefinition:
10248
+ description: A formula and function query.
10249
+ example:
10250
+ data_source: metrics
10251
+ query: sum:trace.servlet.request.hits{*} by {env}.as_count()
10252
+ oneOf:
10253
+ - $ref: '#/components/schemas/FormulaAndFunctionMetricQueryDefinition'
10236
10254
  SLODeleteResponse:
10237
10255
  description: A response list of all service level objective deleted.
10238
10256
  properties:
@@ -10276,6 +10294,20 @@ components:
10276
10294
  - THIRTY_DAYS
10277
10295
  - NINETY_DAYS
10278
10296
  - ALL
10297
+ SLOFormula:
10298
+ description: A formula that specifies how to combine the results of multiple
10299
+ queries.
10300
+ example:
10301
+ formula: query1 - default_zero(query2)
10302
+ properties:
10303
+ formula:
10304
+ description: The formula string, which is an expression involving named
10305
+ queries.
10306
+ example: query1 - default_zero(query2)
10307
+ type: string
10308
+ required:
10309
+ - formula
10310
+ type: object
10279
10311
  SLOHistoryMetrics:
10280
10312
  description: 'A `metric` based SLO history response.
10281
10313
 
@@ -11005,6 +11037,8 @@ components:
11005
11037
  type: string
11006
11038
  query:
11007
11039
  $ref: '#/components/schemas/ServiceLevelObjectiveQuery'
11040
+ sli_specification:
11041
+ $ref: '#/components/schemas/SLOSliSpec'
11008
11042
  tags:
11009
11043
  description: 'A list of tags associated with this service level objective.
11010
11044
 
@@ -11059,6 +11093,11 @@ components:
11059
11093
  format: double
11060
11094
  type: number
11061
11095
  type: object
11096
+ SLOSliSpec:
11097
+ description: A generic SLI specification. This is currently used for time-slice
11098
+ SLOs only.
11099
+ oneOf:
11100
+ - $ref: '#/components/schemas/SLOTimeSliceSpec'
11062
11101
  SLOState:
11063
11102
  description: State of the SLO.
11064
11103
  enum:
@@ -11159,6 +11198,106 @@ components:
11159
11198
  - timeframe
11160
11199
  - target
11161
11200
  type: object
11201
+ SLOTimeSliceComparator:
11202
+ description: The comparator used to compare the SLI value to the threshold.
11203
+ enum:
11204
+ - '>'
11205
+ - '>='
11206
+ - <
11207
+ - <=
11208
+ example: '>'
11209
+ type: string
11210
+ x-enum-varnames:
11211
+ - GREATER
11212
+ - GREATER_EQUAL
11213
+ - LESS
11214
+ - LESS_EQUAL
11215
+ SLOTimeSliceCondition:
11216
+ description: 'The time-slice condition, composed of 3 parts: 1. the metric timeseries
11217
+ query, 2. the comparator,
11218
+
11219
+ and 3. the threshold.'
11220
+ example:
11221
+ comparator: <
11222
+ query:
11223
+ formulas:
11224
+ - formula: query2/query1
11225
+ queries:
11226
+ - data_source: metrics
11227
+ name: query1
11228
+ query: sum:trace.servlet.request.hits{*} by {env}.as_count()
11229
+ - data_source: metrics
11230
+ name: query1
11231
+ query: sum:trace.servlet.request.errors{*} by {env}.as_count()
11232
+ threshold: 5
11233
+ properties:
11234
+ comparator:
11235
+ $ref: '#/components/schemas/SLOTimeSliceComparator'
11236
+ query:
11237
+ $ref: '#/components/schemas/SLOTimeSliceQuery'
11238
+ threshold:
11239
+ description: The threshold value to which each SLI value will be compared.
11240
+ example: 5
11241
+ format: double
11242
+ type: number
11243
+ required:
11244
+ - comparator
11245
+ - threshold
11246
+ - query
11247
+ type: object
11248
+ SLOTimeSliceQuery:
11249
+ description: The queries and formula used to calculate the SLI value.
11250
+ example:
11251
+ formulas:
11252
+ - formula: query2/query1
11253
+ queries:
11254
+ - data_source: metrics
11255
+ name: query1
11256
+ query: sum:trace.servlet.request.hits{*} by {env}.as_count()
11257
+ - data_source: metrics
11258
+ name: query1
11259
+ query: sum:trace.servlet.request.errors{*} by {env}.as_count()
11260
+ properties:
11261
+ formulas:
11262
+ description: A list that contains exactly one formula, as only a single
11263
+ formula may be used in a time-slice SLO.
11264
+ items:
11265
+ $ref: '#/components/schemas/SLOFormula'
11266
+ maxItems: 1
11267
+ minItems: 1
11268
+ type: array
11269
+ queries:
11270
+ description: A list of queries that are used to calculate the SLI value.
11271
+ items:
11272
+ $ref: '#/components/schemas/SLODataSourceQueryDefinition'
11273
+ type: array
11274
+ required:
11275
+ - formulas
11276
+ - queries
11277
+ type: object
11278
+ SLOTimeSliceSpec:
11279
+ additionalProperties: false
11280
+ description: A time-slice SLI specification.
11281
+ example:
11282
+ time_slice:
11283
+ comparator: <
11284
+ query:
11285
+ formulas:
11286
+ - formula: query2/query1
11287
+ queries:
11288
+ - data_source: metrics
11289
+ name: query1
11290
+ query: sum:trace.servlet.request.hits{*} by {env}.as_count()
11291
+ - data_source: metrics
11292
+ name: query1
11293
+ query: sum:trace.servlet.request.errors{*} by {env}.as_count()
11294
+ threshold: 5
11295
+ properties:
11296
+ time_slice:
11297
+ $ref: '#/components/schemas/SLOTimeSliceCondition'
11298
+ required:
11299
+ - time_slice
11300
+ type: object
11162
11301
  SLOTimeframe:
11163
11302
  description: The SLO time window options.
11164
11303
  enum:
@@ -11178,11 +11317,13 @@ components:
11178
11317
  enum:
11179
11318
  - metric
11180
11319
  - monitor
11320
+ - time_slice
11181
11321
  example: metric
11182
11322
  type: string
11183
11323
  x-enum-varnames:
11184
11324
  - METRIC
11185
11325
  - MONITOR
11326
+ - TIME_SLICE
11186
11327
  SLOTypeNumeric:
11187
11328
  description: 'A numeric representation of the type of the service level objective
11188
11329
  (`0` for
@@ -11193,12 +11334,14 @@ components:
11193
11334
  enum:
11194
11335
  - 0
11195
11336
  - 1
11337
+ - 2
11196
11338
  example: 0
11197
11339
  format: int32
11198
11340
  type: integer
11199
11341
  x-enum-varnames:
11200
11342
  - MONITOR
11201
11343
  - METRIC
11344
+ - TIME_SLICE
11202
11345
  SLOWidgetDefinition:
11203
11346
  description: Use the SLO and uptime widget to track your SLOs (Service Level
11204
11347
  Objectives) and uptime on screenboards and timeboards.
@@ -12008,6 +12151,8 @@ components:
12008
12151
  type: string
12009
12152
  query:
12010
12153
  $ref: '#/components/schemas/ServiceLevelObjectiveQuery'
12154
+ sli_specification:
12155
+ $ref: '#/components/schemas/SLOSliSpec'
12011
12156
  tags:
12012
12157
  description: 'A list of tags associated with this service level objective.
12013
12158
 
@@ -12137,6 +12282,8 @@ components:
12137
12282
  type: string
12138
12283
  query:
12139
12284
  $ref: '#/components/schemas/ServiceLevelObjectiveQuery'
12285
+ sli_specification:
12286
+ $ref: '#/components/schemas/SLOSliSpec'
12140
12287
  tags:
12141
12288
  description: 'A list of tags associated with this service level objective.
12142
12289
 
@@ -18484,6 +18631,11 @@ components:
18484
18631
  over all hours in the current date all organizations.
18485
18632
  format: int64
18486
18633
  type: integer
18634
+ apm_devsecops_host_top99p:
18635
+ description: Shows the 99th percentile of all APM DevSecOps hosts over all
18636
+ hours in the current date for the given org.
18637
+ format: int64
18638
+ type: integer
18487
18639
  apm_fargate_count_avg:
18488
18640
  description: Shows the average of all APM ECS Fargate tasks over all hours
18489
18641
  in the current date for all organizations.
@@ -19009,6 +19161,11 @@ components:
19009
19161
  over all hours in the current date for the given org.
19010
19162
  format: int64
19011
19163
  type: integer
19164
+ apm_devsecops_host_top99p:
19165
+ description: Shows the 99th percentile of all APM DevSecOps hosts over all
19166
+ hours in the current date for the given org.
19167
+ format: int64
19168
+ type: integer
19012
19169
  apm_fargate_count_avg:
19013
19170
  description: Shows the average of all APM ECS Fargate tasks over all hours
19014
19171
  in the current months for the given org.
@@ -19547,6 +19704,11 @@ components:
19547
19704
  over all hours in the current months all organizations.
19548
19705
  format: int64
19549
19706
  type: integer
19707
+ apm_devsecops_host_top99p_sum:
19708
+ description: Shows the 99th percentile of all APM DevSecOps hosts over all
19709
+ hours in the current months for all organizations.
19710
+ format: int64
19711
+ type: integer
19550
19712
  apm_fargate_count_avg_sum:
19551
19713
  description: Shows the average of all APM ECS Fargate tasks over all hours
19552
19714
  in the current months for all organizations.
@@ -22971,7 +23133,9 @@ paths:
22971
23133
  x-codegen-request-body-name: body
22972
23134
  /api/v1/downtime:
22973
23135
  get:
22974
- description: Get all scheduled downtimes.
23136
+ deprecated: true
23137
+ description: Get all scheduled downtimes. **Note:** This endpoint has been deprecated.
23138
+ Please use v2 endpoints.
22975
23139
  operationId: ListDowntimes
22976
23140
  parameters:
22977
23141
  - description: Only return downtimes that are active when the request is made.
@@ -23012,7 +23176,9 @@ paths:
23012
23176
  tags:
23013
23177
  - Downtimes
23014
23178
  post:
23015
- description: Schedule a downtime.
23179
+ deprecated: true
23180
+ description: Schedule a downtime. **Note:** This endpoint has been deprecated.
23181
+ Please use v2 endpoints.
23016
23182
  operationId: CreateDowntime
23017
23183
  requestBody:
23018
23184
  content:
@@ -23053,7 +23219,11 @@ paths:
23053
23219
  x-codegen-request-body-name: body
23054
23220
  /api/v1/downtime/cancel/by_scope:
23055
23221
  post:
23056
- description: Delete all downtimes that match the scope of `X`.
23222
+ deprecated: true
23223
+ description: Delete all downtimes that match the scope of `X`. **Note:** This
23224
+ only interacts with Downtimes created using v1 endpoints. This endpoint has
23225
+ been deprecated and will not be replaced. Please use v2 endpoints to find
23226
+ and cancel downtimes.
23057
23227
  operationId: CancelDowntimesByScope
23058
23228
  requestBody:
23059
23229
  content:
@@ -23100,7 +23270,9 @@ paths:
23100
23270
  x-codegen-request-body-name: body
23101
23271
  /api/v1/downtime/{downtime_id}:
23102
23272
  delete:
23103
- description: Cancel a downtime.
23273
+ deprecated: true
23274
+ description: Cancel a downtime. **Note:** This endpoint has been deprecated.
23275
+ Please use v2 endpoints.
23104
23276
  operationId: CancelDowntime
23105
23277
  parameters:
23106
23278
  - description: ID of the downtime to cancel.
@@ -23137,7 +23309,9 @@ paths:
23137
23309
  tags:
23138
23310
  - Downtimes
23139
23311
  get:
23140
- description: Get downtime detail by `downtime_id`.
23312
+ deprecated: true
23313
+ description: Get downtime detail by `downtime_id`. **Note:** This endpoint has
23314
+ been deprecated. Please use v2 endpoints.
23141
23315
  operationId: GetDowntime
23142
23316
  parameters:
23143
23317
  - description: ID of the downtime to fetch.
@@ -23178,7 +23352,9 @@ paths:
23178
23352
  tags:
23179
23353
  - Downtimes
23180
23354
  put:
23181
- description: Update a single downtime by `downtime_id`.
23355
+ deprecated: true
23356
+ description: Update a single downtime by `downtime_id`. **Note:** This endpoint
23357
+ has been deprecated. Please use v2 endpoints.
23182
23358
  operationId: UpdateDowntime
23183
23359
  parameters:
23184
23360
  - description: ID of the downtime to update.
@@ -26332,7 +26508,7 @@ paths:
26332
26508
 
26333
26509
  - SLO: `slo alert`
26334
26510
 
26335
- - watchdog: `event alert`
26511
+ - watchdog: `event-v2 alert`
26336
26512
 
26337
26513
  - event-v2: `event-v2 alert`
26338
26514
 
@@ -27163,7 +27339,9 @@ paths:
27163
27339
  x-codegen-request-body-name: body
27164
27340
  /api/v1/monitor/{monitor_id}/downtimes:
27165
27341
  get:
27166
- description: Get all active downtimes for the specified monitor.
27342
+ deprecated: true
27343
+ description: Get all active v1 downtimes for the specified monitor. **Note:**
27344
+ This endpoint has been deprecated. Please use v2 endpoints.
27167
27345
  operationId: ListMonitorDowntimes
27168
27346
  parameters:
27169
27347
  - description: The id of the monitor