Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

M365 Auditor

БесплатноБез исполняемых скриптовНе проверен

Design Microsoft 365 audit log query specifications and compliance reporting for FINRA, state insurance examiner, and internal audit requirements in financial…

TheLobbiот TheLobbi★ 22 звезды на GitHub

Об этом скилле

M365 Auditor

Produce a Microsoft 365 audit specification that covers audit log query design, report templates, alert rules, and retention configuration for financial services compliance requirements. The output must be ready for use by a Microsoft Purview administrator and IT security team.

Audit Log Sources and Enablement

Verify and document audit enablement status for each workload:

Workload Audit Source Enable Command
Exchange Online Microsoft Purview Audit Enabled by default for E3/E5
SharePoint Online Microsoft Purview Audit Enabled by default
Microsoft Teams Microsoft Purview Audit Enabled by default
Azure AD / Entra ID Microsoft Purview Audit Enabled by default
Power Platform Microsoft Purview Audit Must be enabled per environment
Microsoft Defender for O365 Defender portal Separate configuration

Audit log retention tier:

License Retention Period Coverage
E3 or Business Premium 90 days Standard audit
E5 1 year Standard + advanced audit
Microsoft Purview Audit (Premium) add-on 1 year or 10 years Advanced audit events

For FINRA-regulated broker-dealers: 10-year retention add-on is required for broker communications (FINRA Rule 17a-4). For state-regulated insurance agencies: confirm state-specific retention requirements (typically 5-7 years). Document the license tier and resulting retention period for this client.

Key Audit Event Categories

User Authentication and Identity

Events to capture and review:

Operation Description Risk Signal
UserLoggedIn Successful sign-in Baseline — look for anomalous locations
UserLoginFailed Failed sign-in >5 failures = potential brute force
MFADenied MFA challenge denied User denying legitimate login
UserPasswordChanged Password change Verify it was user-initiated
Set-MsolUserPassword Admin password reset Privilege action — must be logged
Add member to role Role assignment Any admin role grant requires review
Remove member from role Role removal Ensure it was authorized offboarding

Document Access and Sharing

Operation Description Risk Signal
FileAccessed File opened or downloaded Baseline — look for bulk access
FileDownloaded File downloaded to device >50 files in 1 hour = alert
SharingInvitationCreated External share initiated Any sharing outside approved domains
AnonymousLinkCreated Anyone link created Should be blocked by policy — if seen, alert
FileDeleted File deleted Bulk deletion (>20 files) = alert
FileModified File edited Useful for content audit trails

Email Activity

Operation Description Risk Signal
Send Email sent High volume from single user
SendAs Email sent as another identity Any occurrence warrants review
HardDelete Email permanently deleted During investigation period = alert
MessageForwardingRuleEnabled Auto-forward rule created External auto-forward = data exfiltration risk
New-InboxRule New inbox rule Check destination for external address

Teams Activity

Operation Description Risk Signal
TeamCreated New team created Verify naming policy compliance
MemberAddedToTeam Member added External guest added = review
ChatMessageSent Chat message Keyword detection for compliance
FileUploadedToChannel File uploaded Large file uploads
MeetingRecordingCreated Recording started Verify recording policy compliance

Admin Configuration Changes

Operation Description Risk Signal
Set-TransportRule Mail flow rule changed All changes require change ticket
Set-AdminAuditLogConfig Audit config changed Attempt to disable auditing = critical alert
New-RoleGroupMember Admin role granted Privileged access change
Set-RetentionCompliancePolicy Retention policy changed Compliance risk

Query Design Templates

Provide ready-to-use Search-UnifiedAuditLog PowerShell query templates.

Weekly security summary query:

# Run every Monday for prior week
$StartDate = (Get-Date).AddDays(-7).ToString("MM/dd/yyyy")
$EndDate = (Get-Date).ToString("MM/dd/yyyy")

# Authentication failures
Search-UnifiedAuditLog -StartDate $StartDate -EndDate $EndDate `
  -Operations "UserLoginFailed" `
  -ResultSize 1000 |
  Select-Object -ExpandProperty AuditData |
  ConvertFrom-Json |
  Select-Object CreationTime, UserId, Operation, ClientIPAddress, UserAgent |
  Export-Csv ".\weekly-auth-failures.csv" -NoTypeInformation

# External sharing events
Search-UnifiedAuditLog -StartDate $StartDate -EndDate $EndDate `
  -
Полный SKILL.md на GitHub

Установить M365 Auditor в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Grep
Bash
Write

FAQ

Что делает скилл M365 Auditor?

Design Microsoft 365 audit log query specifications and compliance reporting for FINRA, state insurance examiner, and internal audit requirements in financial services tenants.

Как установить скилл M365 Auditor?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл M365 Auditor запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить M365 Auditor с