From a2f0ed3fc071fab56b6e386fd7152518bd363e9f Mon Sep 17 00:00:00 2001 From: Translator Date: Wed, 22 Jan 2025 09:53:31 +0000 Subject: [PATCH] Translated ['src/pentesting-cloud/azure-security/az-services/az-cosmosDB --- .../azure-security/az-services/az-cosmosDB.md | 25 +++++++++++++------ 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/src/pentesting-cloud/azure-security/az-services/az-cosmosDB.md b/src/pentesting-cloud/azure-security/az-services/az-cosmosDB.md index 2d2cf30fd..4d5b0f752 100644 --- a/src/pentesting-cloud/azure-security/az-services/az-cosmosDB.md +++ b/src/pentesting-cloud/azure-security/az-services/az-cosmosDB.md @@ -21,7 +21,7 @@ Learn & practice GCP Hacking: ## Show the identities for a Azure Cosmos DB database account. az cosmosdb identity show --resource-group --name +## MongoDB +# List all MongoDB databases in a specified Azure Cosmos DB account +az cosmosdb mongodb database list --account-name --resource-group +# List all collections in a specific MongoDB database within an Azure Cosmos DB account +az cosmosdb mongodb collection list --account-name --database-name --resource-group + +# List all role definitions for MongoDB within an Azure Cosmos DB account +az cosmosdb mongodb role definition list --account-name --resource-group +# List all user definitions for MongoDB within an Azure Cosmos DB account +az cosmosdb mongodb user definition list --account-name --resource-group + ``` {% endcode %} {% endtab %} @@ -349,8 +360,8 @@ GCP हैकिंग सीखें और अभ्यास करें: < HackTricks का समर्थन करें -* [**सदस्यता योजनाएँ**](https://github.com/sponsors/carlospolop) देखें! -* **💬 [**Discord समूह**](https://discord.gg/hRep4RUj7f) या [**टेलीग्राम समूह**](https://t.me/peass) में शामिल हों या **Twitter** 🐦 पर हमें **फॉलो** करें [**@hacktricks\_live**](https://twitter.com/hacktricks_live)**.** +* [**सदस्यता योजनाएँ**](https://github.com/sponsors/carlospolop) की जाँच करें! +* **💬 [**Discord समूह**](https://discord.gg/hRep4RUj7f) या [**टेलीग्राम समूह**](https://t.me/peass) में शामिल हों या **Twitter** 🐦 पर हमें **फॉलो करें** [**@hacktricks\_live**](https://twitter.com/hacktricks_live)**.** * **हैकिंग ट्रिक्स साझा करें और [**HackTricks**](https://github.com/carlospolop/hacktricks) और [**HackTricks Cloud**](https://github.com/carlospolop/hacktricks-cloud) गिटहब रिपोजिटरी में PR सबमिट करें।**