SkillsReviewed · BagelHole

Azure Monitor Audit

Azure Monitor Audit is an assistant skill for Azure operations and security teams that provides audit-logging examples, but its commands require adaptation and their current compatibility is unverified. It covers Log Analytics, Activity Log exports, resource diagnostics, Azure Policy, KQL investigation queries, alerts and a workbook snippet.

Researched 16 Nov 2026

In short.

Azure Monitor Audit is an assistant skill for Azure operations and security teams that brings audit setup and investigation examples together, but it does not establish a working deployment or regulatory compliance. Its single SKILL.md connects log collection, retention, policy assignments, queries, alerts and dashboard reporting. Several dependencies remain manual, including identity-log connections, permissions and environment-specific configuration. No commands or queries were executed; current Azure compatibility, operational results and total cost are unknown.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage is limited to the compliance/auditing/azure-monitor-audit folder in BagelHole/DevOps-Security-Agent-Skills at commit 0365f57a079b1332f95cf26e31dd2d5332a8399f, represented by its single SKILL.md, plus the repository root LICENSE as the related notice. Other repository skills, external service documentation and live Azure environments are outside this scope. No commands, queries, policy assignments, alerts or workbook deployments were executed. Runtime behavior, current compatibility, costs and compliance outcomes remain unknown.

The overview

Identity

Azure Monitor Audit is the azure-monitor-audit skill in BagelHole/DevOps-Security-Agent-Skills, under compliance/auditing/azure-monitor-audit. Its front matter declares version 1.0, author devops-skills and an MIT license.

The resource consists of a SKILL.md containing instructions and embedded Bash, KQL, JSON and YAML examples. It is intended to guide an assistant through Azure auditing tasks; no standalone application or executable agent implementation is supplied.

Assessment

This is a useful starting reference for teams that want an assistant to connect Azure logging setup with investigation and reporting. Its strength is the range of related examples in one document, including subscription exports, resource diagnostics, policy assignments and security queries.

It requires an operator who can review Azure commands and fill in missing configuration. The document supplies no deployment results, alert-firing evidence or compliance assessment. References to SOC 2, HIPAA, PCI DSS and ISO 27001 describe intended uses rather than demonstrated compliance.

Users

The intended users are Azure administrators, DevOps engineers, security engineers and teams preparing audit evidence. Investigators can use the queries as starting points for examining administrative changes, sign-in failures, Key Vault access and privileged role assignments.

Beginners receive concrete examples, but the file assumes familiarity with subscriptions, resource identifiers, access permissions and command-line tools. Auditors may benefit from its reporting ideas and suggested Log Analytics Reader access; the access assignment itself is not implemented in the examples.

Capabilities

The skill supplies examples for creating a Log Analytics workspace, exporting subscription Activity Logs to that workspace and an archive storage account, and configuring diagnostics for Key Vault, Azure SQL Database, App Service and Network Security Groups. It also includes two Azure Policy assignment examples.

Its KQL queries cover failed and geographically varied sign-ins, risky sign-ins, administrative writes and deletions, Key Vault operations, network-rule changes, policy noncompliance and privileged role assignments. Notification examples include scheduled-query alerts, an Activity Log alert, email and a PagerDuty webhook.

A workbook template snippet illustrates a failed-sign-in chart. Broader dashboards, scheduled evidence exports and quarterly access reviews appear as goals or checklist items rather than complete implementations.

Using it

Requirements

Using the examples requires access to an Azure subscription, an authenticated Azure CLI environment and permissions for the resources and configuration changes involved. The command syntax assumes a Bash-style shell, including shell variables and command substitution. Required Azure CLI versions, extensions and exact permission sets are unspecified.

Queries require their referenced tables and fields to exist. These include AzureActivity, AzureDiagnostics, SigninLogs, AuditLogs and PolicyInsights. Connecting Azure identity sign-in and audit logs is listed in the checklist, but no connection procedure is supplied.

An assistant must be able to consume the skill instructions. Supported assistant products, installation locations, model requirements and tool permissions are unknown.

Mechanism

The document guides an assistant or operator through configuring Azure services. Diagnostic settings route selected events to Log Analytics or storage. KQL, Azure's log-query language, then filters and groups available records for investigation.

Scheduled-query alerts evaluate query results, while the Activity Log alert targets a specified administrative operation. Action groups identify notification destinations. The workbook snippet adds a visual query result, and Azure Policy examples describe an approach to enforcing diagnostic settings.

The skill supplies instructions and examples. Actual collection, querying, storage and notification depend on the Azure services and their configuration.

Setup

Adapt the example resource group, workspace, region and retention settings to the intended environment. The workspace example uses rg-audit, audit-workspace, eastus, 365 days of retention and the PerGB2018 SKU. It retrieves the workspace resource ID into WORKSPACE_ID for subsequent commands.

Replace subscription and resource placeholders such as {sub}, {rg}, {vault}, {server}, {db}, {app} and {nsg}. Review the diagnostic categories, policy identifiers and parameters against the services being configured. Replace the sample email address and webhook placeholder with authorized notification destinations.

Complete the dependencies mentioned without implementation, including identity-log connections, auditor access and daily-cap configuration. The document provides no complete installation procedure for an assistant host or end-to-end deployment script.

Example

For investigating administrative changes, the skill first shows exporting the Administrative Activity Log category to Log Analytics. Its related AzureActivity query selects the previous 24 hours, filters successful administrative operations whose names contain write or delete, and returns the caller, operation, resource group, resource and subscription.

If the configured export populates the expected table and fields, this query could help an investigator identify who changed Azure resources. No query output is supplied, so event coverage and usefulness in a particular subscription are unknown.

Assessment & evidence

Limitations

No supplied command or query was executed. Azure CLI compatibility, supported diagnostic categories, policy behavior, table schemas, deployed retention and alert delivery remain unverified. The policy examples do not explain the permissions, identity or remediation setup needed to establish their deployment behavior.

The Network Security Group section calls its setting nsg-flow-logs, but the configuration lists NetworkSecurityGroupEvent and NetworkSecurityGroupRuleCounter categories. This does not establish that network flow logging is configured. Likewise, immutable archival storage is recommended, but the storage-creation example shows no immutability configuration.

Several queries depend on data connections that are only checklist items. The failed-sign-in alert also combines a grouped query threshold with an additional count condition; its deployed threshold behavior needs validation. Notification reliability, detection accuracy, dashboard completeness and regulatory suitability are unknown.

Reasoning

The resource's practical value comes from linking collection, investigation and reporting. A query has limited value without its required events, while centralized logs need useful queries and notifications to support investigations. The document exposes these related parts in one place.

That breadth also increases adaptation work: subscription logs, identity logs, resource diagnostics and policy information have different prerequisites. Teams with Azure expertise can use the examples to draft a targeted runbook. Teams seeking automatic compliance evidence collection or a fully configured deployment would need substantial additional implementation and verification.

Alternatives

The embedded Azure CLI commands and KQL queries can serve as a manual reference without loading the document into an assistant. Within the file, direct diagnostic-setting commands address individual resources, while Azure Policy assignments present an enforcement approach.

For an investigation-only need, the relevant queries may be sufficient once their data sources are available. No competing skill or monitoring product is documented, so comparative coverage, reliability and cost are unknown.

Evidence

The technical source is compliance/auditing/azure-monitor-audit/SKILL.md at repository commit 0365f57a079b1332f95cf26e31dd2d5332a8399f. The pinned original is available at [https://raw.githubusercontent.com/BagelHole/DevOps-Security-Agent-Skills/0365f57a079b1332f95cf26e31dd2d5332a8399f/compliance/auditing/azure-monitor-audit/SKILL.md].

The accompanying rights source is the repository root LICENSE at the same commit [https://raw.githubusercontent.com/BagelHole/DevOps-Security-Agent-Skills/0365f57a079b1332f95cf26e31dd2d5332a8399f/LICENSE]. These sources establish the documented examples and license terms. They contain no deployment receipts, query results, performance benchmarks or independent validation.

Access & freshness

Costs

The MIT license permits use of the supplied material without a license fee. Azure service rates, assistant-provider charges and total operating cost are unknown.

Potential Azure spending depends on log volume, retention, storage and alert configuration. The examples specify a PerGB2018 workspace with 365-day retention and a Standard_GRS archive account, with 2,555-day retention settings shown for two exported categories. No usage assumptions or price calculation is provided.

A daily cap appears in the checklist, but no command configures it. The examples therefore do not establish a spending limit.

Rights

The skill declares MIT licensing, and the repository LICENSE supplies the MIT terms with copyright attributed to Toby Miller, 2026. These terms allow use, copying, modification, publication, distribution, sublicensing and sale.

Copies or substantial portions must retain the copyright and permission notice. The license provides the material without warranty and disclaims liability. Redistributing the skill should therefore preserve the accompanying license notice.

Freshness

The available source snapshot was captured on 16 November 2026 at 00:44:42 UTC and is pinned to commit 0365f57a079b1332f95cf26e31dd2d5332a8399f. The skill labels itself version 1.0.

The capture date does not establish the file's publication or last-maintenance date. No change history, supported Azure CLI version or compatibility matrix is supplied. Compatibility with current Azure commands, policies and logging schemas is unknown.

Actions

Before adopting the examples, identify the subscriptions, resource types, required events and retention periods for the intended investigation or audit. Confirm permissions, data destinations, notification recipients and applicable Azure pricing. Review current command syntax and policy definitions.

Start with a limited non-production configuration. Verify that expected events arrive, required query tables exist, queries return meaningful results and alerts reach their intended recipients. Check the deployed retention and archive protections separately from the requested settings.

Resolve the incomplete identity-log, flow-log, access-control and cost-cap steps before relying on them. If the skill is redistributed, include the original MIT copyright and permission notice.

Evidence for this report

LICENSEnotice · checked 2026-11-16