Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
mukul975 avatar

Analyzing Azure Activity Logs For Threats

  • 386 installs
  • 27.3k repo stars
  • Updated August 2, 2026
  • mukul975/anthropic-cybersecurity-skills

Analyzing Azure Activity Logs to detect and investigate security threats and suspicious activities in cloud infrastructure.

About

This skill teaches you how to leverage Azure Activity Logs to identify and investigate security threats within your cloud infrastructure. Solo builders use this skill when they need to monitor Azure environments for unauthorized access, suspicious behavior, or policy violations. It matters because proactive threat detection and audit trails are essential for maintaining cloud security, meeting compliance requirements, and responding quickly to incidents.

  • Detect suspicious login attempts and unauthorized access patterns
  • Audit resource changes and configuration modifications
  • Identify potential data exfiltration or malicious activities

Analyzing Azure Activity Logs For Threats by the numbers

  • 386 all-time installs (skills.sh)
  • +23 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #563 of 2,203 Security skills by installs in the Skillselion catalog
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/mukul975/anthropic-cybersecurity-skills --skill analyzing-azure-activity-logs-for-threats

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs386
repo stars27.3k
Security audit3 / 3 scanners passed
Last updatedAugust 2, 2026
Repositorymukul975/anthropic-cybersecurity-skills

What it does

Analyzing Azure Activity Logs to detect and investigate security threats and suspicious activities in cloud infrastructure.

Files

SKILL.mdMarkdownGitHub ↗

Analyzing Azure Activity Logs for Threats

When to Use

  • When investigating security incidents that require analyzing azure activity logs for threats
  • When building detection rules or threat hunting queries for this domain
  • When SOC analysts need structured procedures for this analysis type
  • When validating security monitoring coverage for related attack techniques

Prerequisites

  • Familiarity with security operations concepts and tools
  • Access to a test or lab environment for safe execution
  • Python 3.8+ with required dependencies installed
  • Appropriate authorization for any testing activities

Instructions

Use azure-monitor-query to execute KQL queries against Azure Log Analytics workspaces, detecting suspicious admin operations and sign-in anomalies.

from azure.identity import DefaultAzureCredential
from azure.monitor.query import LogsQueryClient
from datetime import timedelta

credential = DefaultAzureCredential()
client = LogsQueryClient(credential)

response = client.query_workspace(
    workspace_id="WORKSPACE_ID",
    query="AzureActivity | where OperationNameValue has 'MICROSOFT.AUTHORIZATION/ROLEASSIGNMENTS/WRITE' | take 10",
    timespan=timedelta(hours=24),
)

Key detection queries: 1. Role assignment changes (privilege escalation) 2. Resource group and subscription modifications 3. Key vault secret access from new IPs 4. Network security group rule changes 5. Conditional access policy modifications

Examples

# Detect new Global Admin role assignments
query = '''
AuditLogs
| where OperationName == "Add member to role"
| where TargetResources[0].modifiedProperties[0].newValue has "Global Administrator"
'''

Related skills

FAQ

Is Analyzing Azure Activity Logs For Threats safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

Securityauditcompliance

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.