|
15787 | 15787 | "$ref": "#/components/responses/internalServerError" |
15788 | 15788 | } |
15789 | 15789 | }, |
| 15790 | + "x-xgen-changelog": { |
| 15791 | + "2025-05-08": "Corrects an issue where the endpoint would include Atlas internal entries." |
| 15792 | + }, |
15790 | 15793 | "x-xgen-docs-url": "https://mongodb.com/docs/atlas/reference/api-resources-spec/v1/#tag/Project-IP-Access-List/operation/listProjectIpAccessLists" |
15791 | 15794 | }, |
15792 | 15795 | "post": { |
|
16930 | 16933 | "type": "integer", |
16931 | 16934 | "format": "int64" |
16932 | 16935 | } |
| 16936 | + }, |
| 16937 | + { |
| 16938 | + "name": "includeMetrics", |
| 16939 | + "in": "query", |
| 16940 | + "description": "Whether or not to include metrics extracted from the slow query log as separate fields.", |
| 16941 | + "schema": { |
| 16942 | + "type": "boolean", |
| 16943 | + "default": false |
| 16944 | + } |
| 16945 | + }, |
| 16946 | + { |
| 16947 | + "name": "includeReplicaState", |
| 16948 | + "in": "query", |
| 16949 | + "description": "Whether or not to include the replica state of the host when the slow query log was generated as a separate field.", |
| 16950 | + "schema": { |
| 16951 | + "type": "boolean", |
| 16952 | + "default": false |
| 16953 | + } |
| 16954 | + }, |
| 16955 | + { |
| 16956 | + "name": "includeOpType", |
| 16957 | + "in": "query", |
| 16958 | + "description": "Whether or not to include the operation type (read/write/command) extracted from the slow query log as a separate field.", |
| 16959 | + "schema": { |
| 16960 | + "type": "boolean", |
| 16961 | + "default": false |
| 16962 | + } |
16933 | 16963 | } |
16934 | 16964 | ], |
16935 | 16965 | "responses": { |
|
30944 | 30974 | "xgen-IPA-124-array-max-items": "Schema predates IPA validation" |
30945 | 30975 | } |
30946 | 30976 | }, |
| 30977 | + "severityOverride": { |
| 30978 | + "$ref": "#/components/schemas/EventSeverity" |
| 30979 | + }, |
30947 | 30980 | "updated": { |
30948 | 30981 | "type": "string", |
30949 | 30982 | "description": "Date and time when someone last updated this alert configuration. This parameter expresses its value in the ISO 8601 timestamp format in UTC.", |
|
31054 | 31087 | "xgen-IPA-124-array-max-items": "Schema predates IPA validation" |
31055 | 31088 | } |
31056 | 31089 | }, |
| 31090 | + "severityOverride": { |
| 31091 | + "$ref": "#/components/schemas/EventSeverity" |
| 31092 | + }, |
31057 | 31093 | "updated": { |
31058 | 31094 | "type": "string", |
31059 | 31095 | "description": "Date and time when someone last updated this alert configuration. This parameter expresses its value in the ISO 8601 timestamp format in UTC.", |
|
31277 | 31313 | "xgen-IPA-124-array-max-items": "Schema predates IPA validation" |
31278 | 31314 | } |
31279 | 31315 | }, |
| 31316 | + "severityOverride": { |
| 31317 | + "$ref": "#/components/schemas/EventSeverity" |
| 31318 | + }, |
31280 | 31319 | "threshold": { |
31281 | 31320 | "$ref": "#/components/schemas/GreaterThanRawThreshold" |
31282 | 31321 | }, |
|
31362 | 31401 | "xgen-IPA-124-array-max-items": "Schema predates IPA validation" |
31363 | 31402 | } |
31364 | 31403 | }, |
| 31404 | + "severityOverride": { |
| 31405 | + "$ref": "#/components/schemas/EventSeverity" |
| 31406 | + }, |
31365 | 31407 | "updated": { |
31366 | 31408 | "type": "string", |
31367 | 31409 | "description": "Date and time when someone last updated this alert configuration. This parameter expresses its value in the ISO 8601 timestamp format in UTC.", |
|
31479 | 31521 | "xgen-IPA-124-array-max-items": "Schema predates IPA validation" |
31480 | 31522 | } |
31481 | 31523 | }, |
| 31524 | + "severityOverride": { |
| 31525 | + "$ref": "#/components/schemas/EventSeverity" |
| 31526 | + }, |
31482 | 31527 | "threshold": { |
31483 | 31528 | "$ref": "#/components/schemas/GreaterThanTimeThreshold" |
31484 | 31529 | }, |
|
31779 | 31824 | "xgen-IPA-124-array-max-items": "Schema predates IPA validation" |
31780 | 31825 | } |
31781 | 31826 | }, |
| 31827 | + "severityOverride": { |
| 31828 | + "$ref": "#/components/schemas/EventSeverity" |
| 31829 | + }, |
31782 | 31830 | "updated": { |
31783 | 31831 | "type": "string", |
31784 | 31832 | "description": "Date and time when someone last updated this alert configuration. This parameter expresses its value in the ISO 8601 timestamp format in UTC.", |
|
31896 | 31944 | "xgen-IPA-124-array-max-items": "Schema predates IPA validation" |
31897 | 31945 | } |
31898 | 31946 | }, |
| 31947 | + "severityOverride": { |
| 31948 | + "$ref": "#/components/schemas/EventSeverity" |
| 31949 | + }, |
31899 | 31950 | "threshold": { |
31900 | 31951 | "$ref": "#/components/schemas/GreaterThanDaysThresholdView" |
31901 | 31952 | }, |
|
31926 | 31977 | "GCP_ENCRYPTION_KEY_INVALID" |
31927 | 31978 | ] |
31928 | 31979 | }, |
| 31980 | + "EventSeverity": { |
| 31981 | + "type": "string", |
| 31982 | + "description": "Severity of the event.", |
| 31983 | + "enum": ["INFO", "WARNING", "ERROR", "CRITICAL"] |
| 31984 | + }, |
31929 | 31985 | "FlexClusterMetricThreshold": { |
31930 | 31986 | "title": "Flex Cluster Metric Threshold", |
31931 | 31987 | "required": ["metricName"], |
|
32086 | 32142 | "xgen-IPA-124-array-max-items": "Schema predates IPA validation" |
32087 | 32143 | } |
32088 | 32144 | }, |
| 32145 | + "severityOverride": { |
| 32146 | + "$ref": "#/components/schemas/EventSeverity" |
| 32147 | + }, |
32089 | 32148 | "updated": { |
32090 | 32149 | "type": "string", |
32091 | 32150 | "description": "Date and time when someone last updated this alert configuration. This parameter expresses its value in the ISO 8601 timestamp format in UTC.", |
|
32215 | 32274 | "xgen-IPA-124-array-max-items": "Schema predates IPA validation" |
32216 | 32275 | } |
32217 | 32276 | }, |
| 32277 | + "severityOverride": { |
| 32278 | + "$ref": "#/components/schemas/EventSeverity" |
| 32279 | + }, |
32218 | 32280 | "threshold": { |
32219 | 32281 | "$ref": "#/components/schemas/GreaterThanRawThreshold" |
32220 | 32282 | }, |
|
32492 | 32554 | "xgen-IPA-124-array-max-items": "Schema predates IPA validation" |
32493 | 32555 | } |
32494 | 32556 | }, |
| 32557 | + "severityOverride": { |
| 32558 | + "$ref": "#/components/schemas/EventSeverity" |
| 32559 | + }, |
32495 | 32560 | "updated": { |
32496 | 32561 | "type": "string", |
32497 | 32562 | "description": "Date and time when someone last updated this alert configuration. This parameter expresses its value in the ISO 8601 timestamp format in UTC.", |
|
32603 | 32668 | "xgen-IPA-124-array-max-items": "Schema predates IPA validation" |
32604 | 32669 | } |
32605 | 32670 | }, |
| 32671 | + "severityOverride": { |
| 32672 | + "$ref": "#/components/schemas/EventSeverity" |
| 32673 | + }, |
32606 | 32674 | "updated": { |
32607 | 32675 | "type": "string", |
32608 | 32676 | "description": "Date and time when someone last updated this alert configuration. This parameter expresses its value in the ISO 8601 timestamp format in UTC.", |
|
32955 | 33023 | "xgen-IPA-124-array-max-items": "Schema predates IPA validation" |
32956 | 33024 | } |
32957 | 33025 | }, |
| 33026 | + "severityOverride": { |
| 33027 | + "$ref": "#/components/schemas/EventSeverity" |
| 33028 | + }, |
32958 | 33029 | "threshold": { |
32959 | 33030 | "$ref": "#/components/schemas/LessThanTimeThreshold" |
32960 | 33031 | }, |
|
33086 | 33157 | "xgen-IPA-124-array-max-items": "Schema predates IPA validation" |
33087 | 33158 | } |
33088 | 33159 | }, |
| 33160 | + "severityOverride": { |
| 33161 | + "$ref": "#/components/schemas/EventSeverity" |
| 33162 | + }, |
33089 | 33163 | "threshold": { |
33090 | 33164 | "$ref": "#/components/schemas/LessThanDaysThresholdView" |
33091 | 33165 | }, |
|
33465 | 33539 | "xgen-IPA-124-array-max-items": "Schema predates IPA validation" |
33466 | 33540 | } |
33467 | 33541 | }, |
| 33542 | + "severityOverride": { |
| 33543 | + "$ref": "#/components/schemas/EventSeverity" |
| 33544 | + }, |
33468 | 33545 | "threshold": { |
33469 | 33546 | "$ref": "#/components/schemas/AlertsThresholdInteger" |
33470 | 33547 | }, |
|
33597 | 33674 | "xgen-IPA-124-array-max-items": "Schema predates IPA validation" |
33598 | 33675 | } |
33599 | 33676 | }, |
| 33677 | + "severityOverride": { |
| 33678 | + "$ref": "#/components/schemas/EventSeverity" |
| 33679 | + }, |
33600 | 33680 | "threshold": { |
33601 | 33681 | "$ref": "#/components/schemas/AlertsThresholdInteger" |
33602 | 33682 | }, |
|
33734 | 33814 | "xgen-IPA-124-array-max-items": "Schema predates IPA validation" |
33735 | 33815 | } |
33736 | 33816 | }, |
| 33817 | + "severityOverride": { |
| 33818 | + "$ref": "#/components/schemas/EventSeverity" |
| 33819 | + }, |
33737 | 33820 | "updated": { |
33738 | 33821 | "type": "string", |
33739 | 33822 | "description": "Date and time when someone last updated this alert configuration. This parameter expresses its value in the ISO 8601 timestamp format in UTC.", |
|
33958 | 34041 | "xgen-IPA-124-array-max-items": "Schema predates IPA validation" |
33959 | 34042 | } |
33960 | 34043 | }, |
| 34044 | + "severityOverride": { |
| 34045 | + "$ref": "#/components/schemas/EventSeverity" |
| 34046 | + }, |
33961 | 34047 | "updated": { |
33962 | 34048 | "type": "string", |
33963 | 34049 | "description": "Date and time when someone last updated this alert configuration. This parameter expresses its value in the ISO 8601 timestamp format in UTC.", |
|
34054 | 34140 | "xgen-IPA-124-array-max-items": "Schema predates IPA validation" |
34055 | 34141 | } |
34056 | 34142 | }, |
| 34143 | + "severityOverride": { |
| 34144 | + "$ref": "#/components/schemas/EventSeverity" |
| 34145 | + }, |
34057 | 34146 | "threshold": { |
34058 | 34147 | "$ref": "#/components/schemas/StreamProcessorMetricThreshold" |
34059 | 34148 | }, |
|
34512 | 34601 | "xgen-IPA-124-array-max-items": "Schema predates IPA validation" |
34513 | 34602 | } |
34514 | 34603 | }, |
| 34604 | + "severityOverride": { |
| 34605 | + "$ref": "#/components/schemas/EventSeverity" |
| 34606 | + }, |
34515 | 34607 | "updated": { |
34516 | 34608 | "type": "string", |
34517 | 34609 | "description": "Date and time when someone last updated this alert configuration. This parameter expresses its value in the ISO 8601 timestamp format in UTC.", |
|
36220 | 36312 | "type": "array", |
36221 | 36313 | "description": "Atlas roles and the unique identifiers of the groups and organizations associated with each role. The array must include at least one element with an Organization role and its respective **orgId**. Each element in the array can have a value for **orgId** or **groupId**, but not both.", |
36222 | 36314 | "items": { |
36223 | | - "$ref": "#/components/schemas/RoleAssignment" |
| 36315 | + "$ref": "#/components/schemas/ConnectedOrgConfigRoleAssignment" |
36224 | 36316 | }, |
36225 | 36317 | "x-xgen-IPA-exception": { |
36226 | 36318 | "xgen-IPA-124-array-max-items": "Schema predates IPA validation" |
|
36229 | 36321 | }, |
36230 | 36322 | "description": "Mapping settings that link one IdP and MongoDB Cloud." |
36231 | 36323 | }, |
36232 | | - "RoleAssignment": { |
| 36324 | + "ConnectedOrgConfigRoleAssignment": { |
36233 | 36325 | "type": "object", |
36234 | 36326 | "properties": { |
36235 | 36327 | "groupId": { |
|
38355 | 38447 | "ATLAS_FLEX_GCP_200_USAGE_HOURS", |
38356 | 38448 | "ATLAS_FLEX_GCP_300_USAGE_HOURS", |
38357 | 38449 | "ATLAS_FLEX_GCP_400_USAGE_HOURS", |
38358 | | - "ATLAS_FLEX_GCP_500_USAGE_HOURS" |
| 38450 | + "ATLAS_FLEX_GCP_500_USAGE_HOURS", |
| 38451 | + "ATLAS_FLEX_AWS_LEGACY_100_USAGE_HOURS", |
| 38452 | + "ATLAS_FLEX_AWS_LEGACY_200_USAGE_HOURS", |
| 38453 | + "ATLAS_FLEX_AWS_LEGACY_300_USAGE_HOURS", |
| 38454 | + "ATLAS_FLEX_AWS_LEGACY_400_USAGE_HOURS", |
| 38455 | + "ATLAS_FLEX_AWS_LEGACY_500_USAGE_HOURS", |
| 38456 | + "ATLAS_FLEX_AZURE_LEGACY_100_USAGE_HOURS", |
| 38457 | + "ATLAS_FLEX_AZURE_LEGACY_200_USAGE_HOURS", |
| 38458 | + "ATLAS_FLEX_AZURE_LEGACY_300_USAGE_HOURS", |
| 38459 | + "ATLAS_FLEX_AZURE_LEGACY_400_USAGE_HOURS", |
| 38460 | + "ATLAS_FLEX_AZURE_LEGACY_500_USAGE_HOURS", |
| 38461 | + "ATLAS_FLEX_GCP_LEGACY_100_USAGE_HOURS", |
| 38462 | + "ATLAS_FLEX_GCP_LEGACY_200_USAGE_HOURS", |
| 38463 | + "ATLAS_FLEX_GCP_LEGACY_300_USAGE_HOURS", |
| 38464 | + "ATLAS_FLEX_GCP_LEGACY_400_USAGE_HOURS", |
| 38465 | + "ATLAS_FLEX_GCP_LEGACY_500_USAGE_HOURS" |
38359 | 38466 | ] |
38360 | 38467 | }, |
38361 | 38468 | "startDate": { |
@@ -49171,10 +49278,23 @@ |
49171 | 49278 | "description": "Text of the MongoDB log related to this slow query.", |
49172 | 49279 | "readOnly": true |
49173 | 49280 | }, |
| 49281 | + "metrics": { |
| 49282 | + "$ref": "#/components/schemas/PerformanceAdvisorSlowQueryMetrics" |
| 49283 | + }, |
49174 | 49284 | "namespace": { |
49175 | 49285 | "type": "string", |
49176 | 49286 | "description": "Human-readable label that identifies the namespace on the specified host. The resource expresses this parameter value as `<database>.<collection>`.", |
49177 | 49287 | "readOnly": true |
| 49288 | + }, |
| 49289 | + "opType": { |
| 49290 | + "type": "string", |
| 49291 | + "description": "Operation type (read/write/command) associated with this slow query log.", |
| 49292 | + "readOnly": true |
| 49293 | + }, |
| 49294 | + "replicaState": { |
| 49295 | + "type": "string", |
| 49296 | + "description": "Replica state associated with this slow query log.", |
| 49297 | + "readOnly": true |
49178 | 49298 | } |
49179 | 49299 | }, |
49180 | 49300 | "description": "Details of one slow query that the Performance Advisor detected.", |
|
49196 | 49316 | } |
49197 | 49317 | } |
49198 | 49318 | }, |
| 49319 | + "PerformanceAdvisorSlowQueryMetrics": { |
| 49320 | + "type": "object", |
| 49321 | + "properties": { |
| 49322 | + "docsExamined": { |
| 49323 | + "type": "integer", |
| 49324 | + "description": "The number of documents in the collection that MongoDB scanned in order to carry out the operation.", |
| 49325 | + "format": "int64", |
| 49326 | + "readOnly": true |
| 49327 | + }, |
| 49328 | + "docsExaminedReturnedRatio": { |
| 49329 | + "type": "number", |
| 49330 | + "description": "Ratio of documents examined to documents returned.", |
| 49331 | + "format": "double", |
| 49332 | + "readOnly": true |
| 49333 | + }, |
| 49334 | + "docsReturned": { |
| 49335 | + "type": "integer", |
| 49336 | + "description": "The number of documents returned by the operation.", |
| 49337 | + "format": "int64", |
| 49338 | + "readOnly": true |
| 49339 | + }, |
| 49340 | + "fromUserConnection": { |
| 49341 | + "type": "boolean", |
| 49342 | + "description": "This boolean will be true when the server can identfiy the query source as non-server. This field is only available for MDB 8.0+.", |
| 49343 | + "readOnly": true |
| 49344 | + }, |
| 49345 | + "hasIndexCoverage": { |
| 49346 | + "type": "boolean", |
| 49347 | + "description": "Indicates if the query has index coverage.", |
| 49348 | + "readOnly": true |
| 49349 | + }, |
| 49350 | + "hasSort": { |
| 49351 | + "type": "boolean", |
| 49352 | + "description": "This boolean will be true when a query cannot use the ordering in the index to return the requested sorted results; i.e. MongoDB must sort the documents after it receives the documents from a cursor.", |
| 49353 | + "readOnly": true |
| 49354 | + }, |
| 49355 | + "keysExamined": { |
| 49356 | + "type": "integer", |
| 49357 | + "description": "The number of index keys that MongoDB scanned in order to carry out the operation.", |
| 49358 | + "format": "int64", |
| 49359 | + "readOnly": true |
| 49360 | + }, |
| 49361 | + "keysExaminedReturnedRatio": { |
| 49362 | + "type": "number", |
| 49363 | + "description": "Ratio of keys examined to documents returned.", |
| 49364 | + "format": "double", |
| 49365 | + "readOnly": true |
| 49366 | + }, |
| 49367 | + "numYields": { |
| 49368 | + "type": "integer", |
| 49369 | + "description": "The number of times the operation yielded to allow other operations to complete.", |
| 49370 | + "format": "int64", |
| 49371 | + "readOnly": true |
| 49372 | + }, |
| 49373 | + "operationExecutionTime": { |
| 49374 | + "type": "integer", |
| 49375 | + "description": "Total execution time of a query in milliseconds.", |
| 49376 | + "format": "int64", |
| 49377 | + "readOnly": true |
| 49378 | + }, |
| 49379 | + "responseLength": { |
| 49380 | + "type": "integer", |
| 49381 | + "description": "The length in bytes of the operation's result document.", |
| 49382 | + "format": "int64", |
| 49383 | + "readOnly": true |
| 49384 | + } |
| 49385 | + }, |
| 49386 | + "description": "Metrics from a slow query log.", |
| 49387 | + "readOnly": true |
| 49388 | + }, |
49199 | 49389 | "BasicBSONList": { |
49200 | 49390 | "type": "array", |
49201 | 49391 | "description": "List that contains the search criteria that the query uses. To use the values in key-value pairs in these predicates requires **Project Data Access Read Only** permissions or greater. Otherwise, MongoDB Cloud redacts these values.", |
|
0 commit comments