az monitor activity-log list
安全アクティビティログ照会
az monitor activity-log list --offset 1h -o table
「誰が・いつ・何を変更したか」の操作履歴を照会。リソースが消えた・設定が変わった時の追跡に。
実行例
az monitor activity-log list -g prod-rg --offset 24h -o table直近24時間の変更履歴
書式
az monitor activity-log list [--offset 2h] [--resource-group rg]
実行前の注意
参照のみ。
関連コマンド
- az group listリソースグループ一覧
- aws logs tailCloudWatchログ追従