azure-monitor-audit

Audit Azure activity with Monitor and Activity Logs.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "azure-monitor-audit" with this command: npx skills add bagelhole/devops-security-agent-skills/bagelhole-devops-security-agent-skills-azure-monitor-audit

Azure Monitor Audit

Audit Azure activity with Monitor and Activity Logs.

Diagnostic Settings

Enable diagnostic settings

az monitor diagnostic-settings create
--name audit-logs
--resource /subscriptions/{sub}/resourceGroups/{rg}/providers/...
--logs '[{"category":"AuditEvent","enabled":true}]'
--workspace /subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.OperationalInsights/workspaces/{workspace}

Activity Log Export

Export activity log to Log Analytics

az monitor diagnostic-settings subscription create
--name activity-log-export
--location global
--logs '[{"category":"Administrative","enabled":true},{"category":"Security","enabled":true}]'
--workspace /subscriptions/.../workspaces/audit-workspace

Log Analytics Queries

// Failed login attempts AuditLogs | where TimeGenerated > ago(24h) | where ResultType != "0" | project TimeGenerated, Identity, ResultDescription, IPAddress

// Administrative changes AzureActivity | where CategoryValue == "Administrative" | where OperationNameValue contains "write" or OperationNameValue contains "delete" | project TimeGenerated, Caller, OperationNameValue, ResourceGroup

Best Practices

  • Centralize to Log Analytics

  • Long-term archive to Storage

  • Configure alerts

  • Regular query reviews

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Security

linux-administration

No summary provided by upstream source.

Repository SourceNeeds Review
Security

sops-encryption

No summary provided by upstream source.

Repository SourceNeeds Review
Security

linux-hardening

No summary provided by upstream source.

Repository SourceNeeds Review
Security

windows-server

No summary provided by upstream source.

Repository SourceNeeds Review