Consultas para a tabela AFSAuditLogs

Consulta de operações de agregação

Liste todas as solicitações UnsuspendAmlFilesystem para uma duração de tempo de atribuição.

AFSAuditLogs
// The OperationName below can be replaced by obtain other operations such as "RebootAmlFilesystemNode" or "AmlFSRefreshHSMToken".
| where OperationName has "UnsuspendAmlFilesystem"
| project TimeGenerated, _ResourceId, ActivityId, ResultSignature, ResultDescription, Location
| sort by TimeGenerated asc
| limit 100

Consulta de solicitações não autorizadas

Contagem de solicitações AMLFilesystems com falha devido ao acesso não autorizado.

AFSAuditLogs
// 401 below could be replaced by other result signatures to obtain different operation results.
// For example, 'ResultSignature == 202' to obtain accepted requests.
| where ResultSignature == 401
| summarize count() by _ResourceId, OperationName