Azure user viewed CosmosDB access keys

Set up the azure integration.

このページは日本語には対応しておりません。随時翻訳に取り組んでいます。翻訳に関してご質問やご意見ございましたら、お気軽にご連絡ください。

Goal

Detect when a user successfully requests to view a CosmoDB access key with the Azure API. An attacker with the appropriate privileges can view an access key and use it to access and manage the CosmoDB database.

Strategy

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

Triage and response

  1. Verify that the user ({{@usr.name}}) should be viewing the access key for the following CosmoDB database: ({{@resourceId}}).
  2. If the activity is not expected, investigate the activity around the CosmoDB Database ({{@resourceId}}).