CHSMManagementAuditLogs 테이블에 대한 쿼리

집계 작업 쿼리

특정 HSM 파티션 작업에 대한 로그를 나열합니다.

CHSMManagementAuditLogs
| where OperationName == "END_MARKER_OPCODE (0xffff)/SPECIAL (0xffff)" 
| where OperationName == "CN_GENERATE_KEY_PAIR (0x19)/CN_MGMT_CMD (0x0)"
| sort by TimeGenerated desc 
| limit 100

실패한 작업 수

userId, operationName 및 opCode별 실패한 HSM 파티션 작업 요청 수입니다.

CHSMManagementAuditLogs
| where not(Response contains "FAIL")
| summarize count() by TimeGenerated, UserId, OperationName, Opcode

사용자당 작업

사용자당 수행된 총 HSM 파티션 작업의 수입니다.

CHSMManagementAuditLogs
| summarize count() by UserId