Azure user viewed CosmosDB connection string

Set up the azure integration.

Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

Goal

Detect when a user successfully requests to view a CosmoDB connection string with the Azure API. An attacker with the appropriate privileges can view a connection string and use it to access or modify data in the CosmoDB database.

Strategy

Monitor Azure CosmoDB logs where @evt.name is "MICROSOFT.DOCUMENTDB/DATABASEACCOUNTS/LISTCONNECTIONSTRINGS/ACTION" and @evt.outcome is Success.

Triage and response

  1. Verify that the user ({{@usr.name}}) should be viewing the connection string for the following CosmoDB database: ({{@resourceId}}).
  2. If the activity is not expected, investigate the activity around the CosmoDB ({{@resourceId}}).
PREVIEWING: brett0000FF/node-compatibility