[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7B560YVQJ1J8D42JQSMP8JG":3,"skill-same:01M7B560YVQJ1J8D42JQSMP8JG":89},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":15,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":53,"commitSha":54,"skillDirectory":55,"forksCount":13,"repositoryHtmlUrl":56,"repositoryHomepageUrl":6,"ownerHtmlUrl":57,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":58,"install":59,"resources":72},"01M7B560YVQJ1J8D42JQSMP8JG","building-cloud-siem-with-sentinel",null,"Deploy Microsoft Sentinel as a cloud-native SIEM\u002FSOAR by configuring multi-cloud data connectors (AWS, Azure, GCP), writing KQL detection and hunting queries, and building automated Logic Apps response playbooks. Use when establishing a centralized SOC for multi-cloud environments, migrating from a legacy SIEM, or performing petabyte-scale threat hunting; not for AWS-only setups where Security Hub\u002FGuardDuty suffice or for endpoint EDR needs.","vikasvardhanv\u002Fjerry_skills","vikasvardhanv","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99010657?v=4","01M7B2B0VN78W7529RQX5BR6DZ","01M7B2B0WDNTXJHRK3QNPNWRP6",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fbuilding-cloud-siem-with-sentinel\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fbuilding-cloud-siem-with-sentinel\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: building-cloud-siem-with-sentinel\ndescription: Deploy Microsoft Sentinel as a cloud-native SIEM\u002FSOAR by configuring multi-cloud data connectors (AWS, Azure, GCP), writing KQL detection and hunting queries, and building automated Logic Apps response playbooks. Use when establishing a centralized SOC for multi-cloud environments, migrating from a legacy SIEM, or performing petabyte-scale threat hunting; not for AWS-only setups where Security Hub\u002FGuardDuty suffice or for endpoint EDR needs.\ndomain: cybersecurity\nsubdomain: cloud-security\ntags:\n- microsoft-sentinel\n- cloud-siem\n- kql-queries\n- soar-automation\n- threat-detection\nversion: 1.0.0\nauthor: mahipal\nlicense: Apache-2.0\nnist_ai_rmf:\n- MEASURE-2.7\n- MAP-5.1\n- MANAGE-2.4\natlas_techniques:\n- AML.T0070\n- AML.T0066\n- AML.T0082\nnist_csf:\n- PR.IR-01\n- ID.AM-08\n- GV.SC-06\n- DE.CM-01\nmitre_attack:\n- T1078.004\n- T1548.005\n- T1485\n- T1530\n- T1021.007\n---\n\n# Building Cloud SIEM with Sentinel\n\n## When to Use\n\n- When establishing a centralized security operations center for multi-cloud environments\n- When migrating from legacy SIEM platforms (Splunk, QRadar) to cloud-native architecture\n- When building automated incident response workflows for cloud-specific threats\n- When performing large-scale threat hunting across petabytes of security telemetry\n- When integrating threat intelligence feeds with cloud security log analysis\n\n**Do not use** for AWS-only environments where Security Hub and GuardDuty suffice, for endpoint detection requiring EDR capabilities (use Defender for Endpoint), or for compliance posture monitoring (see building-cloud-security-posture-management).\n\n## Prerequisites\n\n- Azure subscription with Microsoft Sentinel enabled on a Log Analytics workspace\n- Data connector permissions for target log sources (AWS CloudTrail, Azure Activity, GCP)\n- Logic Apps or Azure Functions for automated response playbooks\n- KQL (Kusto Query Language) proficiency for writing detection rules and hunting queries\n\n## Workflow\n\n### Step 1: Provision Sentinel Workspace and Data Connectors\n\nCreate a Log Analytics workspace optimized for security data and enable data connectors for multi-cloud ingestion.\n\n```powershell\n# Create Log Analytics workspace\naz monitor log-analytics workspace create \\\n  --resource-group security-rg \\\n  --workspace-name sentinel-workspace \\\n  --location eastus \\\n  --retention-time 365 \\\n  --sku PerGB2018\n\n# Enable Microsoft Sentinel on the workspace\naz sentinel onboarding-state create \\\n  --resource-group security-rg \\\n  --workspace-name sentinel-workspace\n\n# Enable AWS CloudTrail connector\naz sentinel data-connector create \\\n  --resource-group security-rg \\\n  --workspace-name sentinel-workspace \\\n  --data-connector-id aws-cloudtrail \\\n  --kind AmazonWebServicesCloudTrail \\\n  --aws-cloud-trail-data-connector '{\n    \"awsRoleArn\": \"arn:aws:iam::123456789012:role\u002FSentinelCloudTrailRole\",\n    \"dataTypes\": {\"logs\": {\"state\": \"Enabled\"}}\n  }'\n\n# Enable Azure AD sign-in and audit logs\naz sentinel data-connector create \\\n  --resource-group security-rg \\\n  --workspace-name sentinel-workspace \\\n  --data-connector-id azure-ad \\\n  --kind AzureActiveDirectory \\\n  --azure-active-directory '{\n    \"dataTypes\": {\n      \"alerts\": {\"state\": \"Enabled\"},\n      \"signinLogs\": {\"state\": \"Enabled\"},\n      \"auditLogs\": {\"state\": \"Enabled\"}\n    }\n  }'\n```\n\n### Step 2: Write KQL Detection Rules\n\nCreate analytics rules using Kusto Query Language to detect cloud-specific threats. Map each rule to MITRE ATT&CK techniques.\n\n```kql\n\u002F\u002F Detect impossible travel - sign-ins from geographically distant locations\nlet timeframe = 1h;\nlet distance_threshold = 500; \u002F\u002F km\nSigninLogs\n| where TimeGenerated > ago(timeframe)\n| where ResultType == 0 \u002F\u002F Successful sign-ins only\n| project TimeGenerated, UserPrincipalName, IPAddress, Location,\n          Latitude = toreal(LocationDetails.geoCoordinates.latitude),\n          Longitude = toreal(LocationDetails.geoCoordinates.longitude)\n| sort by UserPrincipalName asc, TimeGenerated asc\n| extend PrevLatitude = prev(Latitude, 1), PrevLongitude = prev(Longitude, 1),\n         PrevTime = prev(TimeGenerated, 1), PrevUser = prev(UserPrincipalName, 1)\n| where UserPrincipalName == PrevUser\n| extend TimeDiff = datetime_diff('minute', TimeGenerated, PrevTime)\n| where TimeDiff \u003C 60\n| extend Distance = geo_distance_2points(Longitude, Latitude, PrevLongitude, PrevLatitude) \u002F 1000\n| where Distance > distance_threshold\n| project TimeGenerated, UserPrincipalName, IPAddress, Location, Distance, TimeDiff\n```\n\n```kql\n\u002F\u002F Detect AWS IAM credential abuse from CloudTrail\nAWSCloudTrail\n| where TimeGenerated > ago(24h)\n| where EventName in (\"ConsoleLogin\", \"AssumeRole\", \"GetSessionToken\")\n| where ErrorCode == \"\"\n| summarize LoginCount = count(), DistinctIPs = dcount(SourceIpAddress),\n            IPList = make_set(SourceIpAddress, 10)\n            by UserIdentityArn, bin(TimeGenerated, 1h)\n| where DistinctIPs > 3\n| project TimeGenerated, UserIdentityArn, LoginCount, DistinctIPs, IPList\n```\n\n```kql\n\u002F\u002F Detect mass S3 object deletion (potential ransomware)\nAWSCloudTrail\n| where TimeGenerated > ago(1h)\n| where EventName == \"DeleteObject\" or EventName == \"DeleteObjects\"\n| summarize DeleteCount = count(), BucketsAffected = dcount(RequestParameters_bucketName)\n            by UserIdentityArn, bin(TimeGenerated, 10m)\n| where DeleteCount > 100\n| project TimeGenerated, UserIdentityArn, DeleteCount, BucketsAffected\n```\n\n### Step 3: Build SOAR Playbooks with Logic Apps\n\nCreate automated response playbooks that execute when analytics rules trigger incidents. Common actions include blocking users, isolating resources, and enriching alerts with threat intelligence.\n\n```json\n{\n  \"definition\": {\n    \"triggers\": {\n      \"Microsoft_Sentinel_incident\": {\n        \"type\": \"ApiConnectionWebhook\",\n        \"inputs\": {\n          \"body\": {\"incidentArmId\": \"subscriptions\u002F@{triggerBody()?['workspaceInfo']?['SubscriptionId']}\u002FresourceGroups\u002F@{triggerBody()?['workspaceInfo']?['ResourceGroupName']}\u002Fproviders\u002FMicrosoft.OperationalInsights\u002Fworkspaces\u002F@{triggerBody()?['workspaceInfo']?['WorkspaceName']}\u002Fproviders\u002FMicrosoft.SecurityInsights\u002FIncidents\u002F@{triggerBody()?['object']?['properties']?['incidentNumber']}\"},\n          \"host\": {\"connection\": {\"name\": \"@parameters('$connections')['microsoftsentinel']['connectionId']\"}}\n        }\n      }\n    },\n    \"actions\": {\n      \"Get_incident_entities\": {\n        \"type\": \"ApiConnection\",\n        \"inputs\": {\"method\": \"post\", \"path\": \"\u002FIncidents\u002Fentities\"}\n      },\n      \"For_each_account_entity\": {\n        \"type\": \"Foreach\",\n        \"foreach\": \"@body('Get_incident_entities')?['Accounts']\",\n        \"actions\": {\n          \"Disable_Azure_AD_user\": {\n            \"type\": \"ApiConnection\",\n            \"inputs\": {\n              \"method\": \"PATCH\",\n              \"path\": \"\u002Fv1.0\u002Fusers\u002F@{items('For_each_account_entity')?['AadUserId']}\",\n              \"body\": {\"accountEnabled\": false}\n            }\n          },\n          \"Add_comment_to_incident\": {\n            \"type\": \"ApiConnection\",\n            \"inputs\": {\n              \"body\": {\"message\": \"User @{items('For_each_account_entity')?['Name']} disabled by automated playbook\"}\n            }\n          }\n        }\n      }\n    }\n  }\n}\n```\n\n### Step 4: Configure Sentinel Data Lake for Long-Term Hunting\n\nEnable the Sentinel data lake for petabyte-scale log retention and advanced threat hunting using both KQL and SQL endpoints.\n\n```kql\n\u002F\u002F Threat hunting query: detect lateral movement across AWS accounts\nlet suspicious_roles = AWSCloudTrail\n| where TimeGenerated > ago(7d)\n| where EventName == \"AssumeRole\"\n| extend AssumedRoleArn = tostring(parse_json(RequestParameters).roleArn)\n| where AssumedRoleArn contains \"cross-account\" or AssumedRoleArn contains \"admin\"\n| summarize AssumeCount = count(), UniqueSourceAccounts = dcount(RecipientAccountId)\n            by UserIdentityArn, AssumedRoleArn\n| where AssumeCount > 10 and UniqueSourceAccounts > 2;\nsuspicious_roles\n| join kind=inner (\n    AWSCloudTrail\n    | where TimeGenerated > ago(7d)\n    | where EventName in (\"RunInstances\", \"CreateFunction\", \"PutBucketPolicy\")\n) on UserIdentityArn\n| project TimeGenerated, UserIdentityArn, AssumedRoleArn, EventName, SourceIpAddress\n```\n\n### Step 5: Integrate Threat Intelligence\n\nConnect threat intelligence providers and create indicator-based matching rules to detect communication with known malicious infrastructure.\n\n```powershell\n# Enable Microsoft Threat Intelligence connector\naz sentinel data-connector create \\\n  --resource-group security-rg \\\n  --workspace-name sentinel-workspace \\\n  --data-connector-id microsoft-ti \\\n  --kind MicrosoftThreatIntelligence \\\n  --microsoft-threat-intelligence '{\n    \"dataTypes\": {\"microsoftEmergingThreatFeed\": {\"lookbackPeriod\": \"2025-01-01T00:00:00Z\", \"state\": \"Enabled\"}}\n  }'\n```\n\n```kql\n\u002F\u002F Match network indicators against cloud flow logs\nlet TI_IPs = ThreatIntelligenceIndicator\n| where TimeGenerated > ago(30d)\n| where isnotempty(NetworkIP)\n| distinct NetworkIP;\nAzureNetworkAnalytics_CL\n| where TimeGenerated > ago(24h)\n| where DestIP_s in (TI_IPs)\n| project TimeGenerated, SrcIP_s, DestIP_s, DestPort_d, FlowType_s\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| KQL | Kusto Query Language, the primary query language for Microsoft Sentinel used to search, analyze, and visualize security data |\n| Analytics Rule | Detection logic in Sentinel that evaluates log data on a schedule and creates incidents when conditions match |\n| SOAR Playbook | Automated workflow triggered by incidents that performs response actions such as blocking accounts, enriching alerts, or notifying teams |\n| Data Connector | Integration module that ingests security logs from cloud services, identity providers, and third-party tools into Sentinel |\n| Sentinel Data Lake | Petabyte-scale storage layer providing long-term log retention with KQL and SQL query interfaces for advanced hunting |\n| Workbook | Interactive dashboard in Sentinel displaying visualizations of security data, trends, and operational metrics |\n| Watchlist | Reference data tables in Sentinel used to enrich alerts with context such as VIP user lists or approved IP ranges |\n| Fusion Detection | Machine learning-powered correlation engine that automatically detects multi-stage attacks across data sources |\n\n## Tools & Systems\n\n- **Microsoft Sentinel**: Cloud-native SIEM\u002FSOAR platform built on Azure Log Analytics with AI-powered threat detection\n- **Azure Logic Apps**: Low-code automation platform for building SOAR playbooks triggered by Sentinel incidents\n- **Microsoft Threat Intelligence**: Integrated threat feeds providing IP, domain, and URL indicators for matching against security logs\n- **Azure Data Explorer**: High-performance analytics engine underlying Sentinel KQL queries for large-scale data exploration\n- **MITRE ATT&CK Navigator**: Framework for mapping Sentinel detection rules to adversary tactics and techniques\n\n## Common Scenarios\n\n### Scenario: Detecting Cross-Cloud Credential Theft Campaign\n\n**Context**: An attacker compromises an Azure AD account through phishing, then uses the account to access AWS resources via federated identity. Sentinel needs to correlate the Azure sign-in anomaly with unusual AWS API activity.\n\n**Approach**:\n1. Create an analytics rule detecting Azure AD impossible travel or anomalous sign-in risk\n2. Write a KQL query correlating the compromised Azure AD identity with AWS CloudTrail AssumeRoleWithSAML events\n3. Build a Fusion detection rule that links Azure AD risk events with subsequent AWS privilege escalation activity\n4. Deploy a SOAR playbook that automatically disables the Azure AD account and revokes AWS STS sessions\n5. Create a workbook showing the timeline from initial compromise through lateral movement to AWS\n6. Run a hunting query across the data lake to check for similar patterns affecting other accounts\n\n**Pitfalls**: Not correlating identity across cloud providers misses the full attack chain. Setting analytics rule frequency too low (e.g., 24 hours) allows attackers hours of undetected access.\n\n## Output Format\n\n```\nMicrosoft Sentinel SOC Operations Report\n==========================================\nWorkspace: sentinel-workspace\nData Sources: 14 connectors active\nReport Period: 2025-02-01 to 2025-02-23\n\nDATA INGESTION:\n  Azure AD Sign-in Logs:     2.3 TB (23 days)\n  AWS CloudTrail:            1.8 TB (23 days)\n  Azure Activity:            0.9 TB (23 days)\n  Defender for Cloud Alerts: 45 GB (23 days)\n  Total Ingestion:           5.1 TB\n\nDETECTION SUMMARY:\n  Active Analytics Rules: 87\n  Incidents Created: 234\n    Critical: 8 | High: 34 | Medium: 89 | Low: 103\n  Mean Time to Detect (MTTD): 4.2 minutes\n  Mean Time to Respond (MTTR): 18 minutes\n\nTOP INCIDENT TYPES:\n  Impossible Travel Detected:          42 incidents\n  AWS Unauthorized API Call Pattern:   28 incidents\n  Mass File Deletion in S3:            3 incidents\n  Suspicious Azure AD App Registration: 12 incidents\n\nAUTOMATION:\n  Playbooks Executed: 156\n  Accounts Auto-Disabled: 23\n  Incidents Auto-Enriched: 198\n  False Positive Rate: 12%\n```\n","# Building Cloud SIEM with Sentinel\n\n## When to Use\n\n- When establishing a centralized security operations center for multi-cloud environments\n- When migrating from legacy SIEM platforms (Splunk, QRadar) to cloud-native architecture\n- When building automated incident response workflows for cloud-specific threats\n- When performing large-scale threat hunting across petabytes of security telemetry\n- When integrating threat intelligence feeds with cloud security log analysis\n\n**Do not use** for AWS-only environments where Security Hub and GuardDuty suffice, for endpoint detection requiring EDR capabilities (use Defender for Endpoint), or for compliance posture monitoring (see building-cloud-security-posture-management).\n\n## Prerequisites\n\n- Azure subscription with Microsoft Sentinel enabled on a Log Analytics workspace\n- Data connector permissions for target log sources (AWS CloudTrail, Azure Activity, GCP)\n- Logic Apps or Azure Functions for automated response playbooks\n- KQL (Kusto Query Language) proficiency for writing detection rules and hunting queries\n\n## Workflow\n\n### Step 1: Provision Sentinel Workspace and Data Connectors\n\nCreate a Log Analytics workspace optimized for security data and enable data connectors for multi-cloud ingestion.\n\n```powershell\n# Create Log Analytics workspace\naz monitor log-analytics workspace create \\\n  --resource-group security-rg \\\n  --workspace-name sentinel-workspace \\\n  --location eastus \\\n  --retention-time 365 \\\n  --sku PerGB2018\n\n# Enable Microsoft Sentinel on the workspace\naz sentinel onboarding-state create \\\n  --resource-group security-rg \\\n  --workspace-name sentinel-workspace\n\n# Enable AWS CloudTrail connector\naz sentinel data-connector create \\\n  --resource-group security-rg \\\n  --workspace-name sentinel-workspace \\\n  --data-connector-id aws-cloudtrail \\\n  --kind AmazonWebServicesCloudTrail \\\n  --aws-cloud-trail-data-connector '{\n    \"awsRoleArn\": \"arn:aws:iam::123456789012:role\u002FSentinelCloudTrailRole\",\n    \"dataTypes\": {\"logs\": {\"state\": \"Enabled\"}}\n  }'\n\n# Enable Azure AD sign-in and audit logs\naz sentinel data-connector create \\\n  --resource-group security-rg \\\n  --workspace-name sentinel-workspace \\\n  --data-connector-id azure-ad \\\n  --kind AzureActiveDirectory \\\n  --azure-active-directory '{\n    \"dataTypes\": {\n      \"alerts\": {\"state\": \"Enabled\"},\n      \"signinLogs\": {\"state\": \"Enabled\"},\n      \"auditLogs\": {\"state\": \"Enabled\"}\n    }\n  }'\n```\n\n### Step 2: Write KQL Detection Rules\n\nCreate analytics rules using Kusto Query Language to detect cloud-specific threats. Map each rule to MITRE ATT&CK techniques.\n\n```kql\n\u002F\u002F Detect impossible travel - sign-ins from geographically distant locations\nlet timeframe = 1h;\nlet distance_threshold = 500; \u002F\u002F km\nSigninLogs\n| where TimeGenerated > ago(timeframe)\n| where ResultType == 0 \u002F\u002F Successful sign-ins only\n| project TimeGenerated, UserPrincipalName, IPAddress, Location,\n          Latitude = toreal(LocationDetails.geoCoordinates.latitude),\n          Longitude = toreal(LocationDetails.geoCoordinates.longitude)\n| sort by UserPrincipalName asc, TimeGenerated asc\n| extend PrevLatitude = prev(Latitude, 1), PrevLongitude = prev(Longitude, 1),\n         PrevTime = prev(TimeGenerated, 1), PrevUser = prev(UserPrincipalName, 1)\n| where UserPrincipalName == PrevUser\n| extend TimeDiff = datetime_diff('minute', TimeGenerated, PrevTime)\n| where TimeDiff \u003C 60\n| extend Distance = geo_distance_2points(Longitude, Latitude, PrevLongitude, PrevLatitude) \u002F 1000\n| where Distance > distance_threshold\n| project TimeGenerated, UserPrincipalName, IPAddress, Location, Distance, TimeDiff\n```\n\n```kql\n\u002F\u002F Detect AWS IAM credential abuse from CloudTrail\nAWSCloudTrail\n| where TimeGenerated > ago(24h)\n| where EventName in (\"ConsoleLogin\", \"AssumeRole\", \"GetSessionToken\")\n| where ErrorCode == \"\"\n| summarize LoginCount = count(), DistinctIPs = dcount(SourceIpAddress),\n            IPList = make_set(SourceIpAddress, 10)\n            by UserIdentityArn, bin(TimeGenerated, 1h)\n| where DistinctIPs > 3\n| project TimeGenerated, UserIdentityArn, LoginCount, DistinctIPs, IPList\n```\n\n```kql\n\u002F\u002F Detect mass S3 object deletion (potential ransomware)\nAWSCloudTrail\n| where TimeGenerated > ago(1h)\n| where EventName == \"DeleteObject\" or EventName == \"DeleteObjects\"\n| summarize DeleteCount = count(), BucketsAffected = dcount(RequestParameters_bucketName)\n            by UserIdentityArn, bin(TimeGenerated, 10m)\n| where DeleteCount > 100\n| project TimeGenerated, UserIdentityArn, DeleteCount, BucketsAffected\n```\n\n### Step 3: Build SOAR Playbooks with Logic Apps\n\nCreate automated response playbooks that execute when analytics rules trigger incidents. Common actions include blocking users, isolating resources, and enriching alerts with threat intelligence.\n\n```json\n{\n  \"definition\": {\n    \"triggers\": {\n      \"Microsoft_Sentinel_incident\": {\n        \"type\": \"ApiConnectionWebhook\",\n        \"inputs\": {\n          \"body\": {\"incidentArmId\": \"subscriptions\u002F@{triggerBody()?['workspaceInfo']?['SubscriptionId']}\u002FresourceGroups\u002F@{triggerBody()?['workspaceInfo']?['ResourceGroupName']}\u002Fproviders\u002FMicrosoft.OperationalInsights\u002Fworkspaces\u002F@{triggerBody()?['workspaceInfo']?['WorkspaceName']}\u002Fproviders\u002FMicrosoft.SecurityInsights\u002FIncidents\u002F@{triggerBody()?['object']?['properties']?['incidentNumber']}\"},\n          \"host\": {\"connection\": {\"name\": \"@parameters('$connections')['microsoftsentinel']['connectionId']\"}}\n        }\n      }\n    },\n    \"actions\": {\n      \"Get_incident_entities\": {\n        \"type\": \"ApiConnection\",\n        \"inputs\": {\"method\": \"post\", \"path\": \"\u002FIncidents\u002Fentities\"}\n      },\n      \"For_each_account_entity\": {\n        \"type\": \"Foreach\",\n        \"foreach\": \"@body('Get_incident_entities')?['Accounts']\",\n        \"actions\": {\n          \"Disable_Azure_AD_user\": {\n            \"type\": \"ApiConnection\",\n            \"inputs\": {\n              \"method\": \"PATCH\",\n              \"path\": \"\u002Fv1.0\u002Fusers\u002F@{items('For_each_account_entity')?['AadUserId']}\",\n              \"body\": {\"accountEnabled\": false}\n            }\n          },\n          \"Add_comment_to_incident\": {\n            \"type\": \"ApiConnection\",\n            \"inputs\": {\n              \"body\": {\"message\": \"User @{items('For_each_account_entity')?['Name']} disabled by automated playbook\"}\n            }\n          }\n        }\n      }\n    }\n  }\n}\n```\n\n### Step 4: Configure Sentinel Data Lake for Long-Term Hunting\n\nEnable the Sentinel data lake for petabyte-scale log retention and advanced threat hunting using both KQL and SQL endpoints.\n\n```kql\n\u002F\u002F Threat hunting query: detect lateral movement across AWS accounts\nlet suspicious_roles = AWSCloudTrail\n| where TimeGenerated > ago(7d)\n| where EventName == \"AssumeRole\"\n| extend AssumedRoleArn = tostring(parse_json(RequestParameters).roleArn)\n| where AssumedRoleArn contains \"cross-account\" or AssumedRoleArn contains \"admin\"\n| summarize AssumeCount = count(), UniqueSourceAccounts = dcount(RecipientAccountId)\n            by UserIdentityArn, AssumedRoleArn\n| where AssumeCount > 10 and UniqueSourceAccounts > 2;\nsuspicious_roles\n| join kind=inner (\n    AWSCloudTrail\n    | where TimeGenerated > ago(7d)\n    | where EventName in (\"RunInstances\", \"CreateFunction\", \"PutBucketPolicy\")\n) on UserIdentityArn\n| project TimeGenerated, UserIdentityArn, AssumedRoleArn, EventName, SourceIpAddress\n```\n\n### Step 5: Integrate Threat Intelligence\n\nConnect threat intelligence providers and create indicator-based matching rules to detect communication with known malicious infrastructure.\n\n```powershell\n# Enable Microsoft Threat Intelligence connector\naz sentinel data-connector create \\\n  --resource-group security-rg \\\n  --workspace-name sentinel-workspace \\\n  --data-connector-id microsoft-ti \\\n  --kind MicrosoftThreatIntelligence \\\n  --microsoft-threat-intelligence '{\n    \"dataTypes\": {\"microsoftEmergingThreatFeed\": {\"lookbackPeriod\": \"2025-01-01T00:00:00Z\", \"state\": \"Enabled\"}}\n  }'\n```\n\n```kql\n\u002F\u002F Match network indicators against cloud flow logs\nlet TI_IPs = ThreatIntelligenceIndicator\n| where TimeGenerated > ago(30d)\n| where isnotempty(NetworkIP)\n| distinct NetworkIP;\nAzureNetworkAnalytics_CL\n| where TimeGenerated > ago(24h)\n| where DestIP_s in (TI_IPs)\n| project TimeGenerated, SrcIP_s, DestIP_s, DestPort_d, FlowType_s\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|------------|\n| KQL | Kusto Query Language, the primary query language for Microsoft Sentinel used to search, analyze, and visualize security data |\n| Analytics Rule | Detection logic in Sentinel that evaluates log data on a schedule and creates incidents when conditions match |\n| SOAR Playbook | Automated workflow triggered by incidents that performs response actions such as blocking accounts, enriching alerts, or notifying teams |\n| Data Connector | Integration module that ingests security logs from cloud services, identity providers, and third-party tools into Sentinel |\n| Sentinel Data Lake | Petabyte-scale storage layer providing long-term log retention with KQL and SQL query interfaces for advanced hunting |\n| Workbook | Interactive dashboard in Sentinel displaying visualizations of security data, trends, and operational metrics |\n| Watchlist | Reference data tables in Sentinel used to enrich alerts with context such as VIP user lists or approved IP ranges |\n| Fusion Detection | Machine learning-powered correlation engine that automatically detects multi-stage attacks across data sources |\n\n## Tools & Systems\n\n- **Microsoft Sentinel**: Cloud-native SIEM\u002FSOAR platform built on Azure Log Analytics with AI-powered threat detection\n- **Azure Logic Apps**: Low-code automation platform for building SOAR playbooks triggered by Sentinel incidents\n- **Microsoft Threat Intelligence**: Integrated threat feeds providing IP, domain, and URL indicators for matching against security logs\n- **Azure Data Explorer**: High-performance analytics engine underlying Sentinel KQL queries for large-scale data exploration\n- **MITRE ATT&CK Navigator**: Framework for mapping Sentinel detection rules to adversary tactics and techniques\n\n## Common Scenarios\n\n### Scenario: Detecting Cross-Cloud Credential Theft Campaign\n\n**Context**: An attacker compromises an Azure AD account through phishing, then uses the account to access AWS resources via federated identity. Sentinel needs to correlate the Azure sign-in anomaly with unusual AWS API activity.\n\n**Approach**:\n1. Create an analytics rule detecting Azure AD impossible travel or anomalous sign-in risk\n2. Write a KQL query correlating the compromised Azure AD identity with AWS CloudTrail AssumeRoleWithSAML events\n3. Build a Fusion detection rule that links Azure AD risk events with subsequent AWS privilege escalation activity\n4. Deploy a SOAR playbook that automatically disables the Azure AD account and revokes AWS STS sessions\n5. Create a workbook showing the timeline from initial compromise through lateral movement to AWS\n6. Run a hunting query across the data lake to check for similar patterns affecting other accounts\n\n**Pitfalls**: Not correlating identity across cloud providers misses the full attack chain. Setting analytics rule frequency too low (e.g., 24 hours) allows attackers hours of undetected access.\n\n## Output Format\n\n```\nMicrosoft Sentinel SOC Operations Report\n==========================================\nWorkspace: sentinel-workspace\nData Sources: 14 connectors active\nReport Period: 2025-02-01 to 2025-02-23\n\nDATA INGESTION:\n  Azure AD Sign-in Logs:     2.3 TB (23 days)\n  AWS CloudTrail:            1.8 TB (23 days)\n  Azure Activity:            0.9 TB (23 days)\n  Defender for Cloud Alerts: 45 GB (23 days)\n  Total Ingestion:           5.1 TB\n\nDETECTION SUMMARY:\n  Active Analytics Rules: 87\n  Incidents Created: 234\n    Critical: 8 | High: 34 | Medium: 89 | Low: 103\n  Mean Time to Detect (MTTD): 4.2 minutes\n  Mean Time to Respond (MTTR): 18 minutes\n\nTOP INCIDENT TYPES:\n  Impossible Travel Detected:          42 incidents\n  AWS Unauthorized API Call Pattern:   28 incidents\n  Mass File Deletion in S3:            3 incidents\n  Suspicious Azure AD App Registration: 12 incidents\n\nAUTOMATION:\n  Playbooks Executed: 156\n  Accounts Auto-Disabled: 23\n  Incidents Auto-Enriched: 198\n  False Positive Rate: 12%\n```\n",{"name":5,"tags":24,"author":30,"domain":31,"license":14,"version":32,"nist_csf":33,"subdomain":38,"description":7,"nist_ai_rmf":39,"mitre_attack":43,"atlas_techniques":49},[25,26,27,28,29],"microsoft-sentinel","cloud-siem","kql-queries","soar-automation","threat-detection","mahipal","cybersecurity","1.0.0",[34,35,36,37],"PR.IR-01","ID.AM-08","GV.SC-06","DE.CM-01","cloud-security",[40,41,42],"MEASURE-2.7","MAP-5.1","MANAGE-2.4",[44,45,46,47,48],"T1078.004","T1548.005","T1485","T1530","T1021.007",[50,51,52],"AML.T0070","AML.T0066","AML.T0082","main","1eb986d0b0ecc180291597e08eb5a58288843536","skills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fbuilding-cloud-siem-with-sentinel","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv","2026-08-25 13:16:33",{"source":8,"skillName":5,"commands":60,"prompt":70,"zipAvailable":71},[61,64,67],{"tool":62,"command":63},"npx","npx skills add vikasvardhanv\u002Fjerry_skills --skill building-cloud-siem-with-sentinel",{"tool":65,"command":66},"bunx","bunx skills add vikasvardhanv\u002Fjerry_skills --skill building-cloud-siem-with-sentinel",{"tool":68,"command":69},"pnpm","pnpm dlx skills add vikasvardhanv\u002Fjerry_skills --skill building-cloud-siem-with-sentinel","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fbuilding-cloud-siem-with-sentinel\u002FSKILL.md",true,[73,77,83],{"path":74,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":76,"sourceHtmlUrl":15},"LICENSE","许可证",11255,{"path":78,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":81,"sourceHtmlUrl":82},"references\u002Fapi-reference.md","REFERENCE","参考文档",1903,"https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fbuilding-cloud-siem-with-sentinel\u002Freferences\u002Fapi-reference.md",{"path":84,"resourceType":85,"resourceTypeDesc":86,"sizeBytes":87,"sourceHtmlUrl":88},"scripts\u002Fagent.py","SCRIPT","脚本",6860,"https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fbuilding-cloud-siem-with-sentinel\u002Fscripts\u002Fagent.py",[90,98,105,112,119,126],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":94,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M7BESR1CJ3H5SP9XM8KYJZ9W","syllabus","Generates a curated supplementary reading list from any course syllabus using Consensus academic search. Grill-me intake (syllabus input format + course audience + year range) plus a grouping forcing-options checkpoint before any search runs — so the reading list matches the course's level and recency need. Parses the syllabus to extract topics and learning outcomes, searches Consensus for recent peer-reviewed papers per topic, and produces a professionally formatted .docx with clickable Consensus links, plain-language summaries calibrated to audience level, and Bloom-higher-order discussion questions tied to course learning goals. Use when the user uploads a syllabus, course outline, or curriculum document and wants supplementary readings (e.g., 'create a reading list from this syllabus', 'find recent papers for my course') — even casual mentions with a syllabus attached should trigger this skill.","MIT","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fsyllabus\u002Fskills\u002Fsyllabus\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":94,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":19},"01M7BES1YA6R97W7QPMFFM1PED","pulse","Multi-source recency research skill that takes the pulse of any topic across Reddit, Hacker News, the open web, and optionally X\u002FTwitter within a configurable recent window (default 30 days). Forcing intake clarifies topic specificity, angle (trend\u002Fsentiment\u002Fproblems\u002Fopportunities\u002Fcomparison), time window, and platform scope before searching. Returns a synthesized briefing with citations, engagement metrics, and cross-platform pattern analysis. Use when the user requests multi-source recency intelligence on a topic (e.g., 'pulse on [topic]', 'what's happening with [topic]', 'what are people saying about [topic]', 'current conversation about [topic]', 'take the pulse of [topic]', 'trending: [topic]', 'find me info on [topic]'), and for competitor research, trend discovery, tool comparisons, and audience sentiment analysis.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fpulse\u002Fskills\u002Fpulse\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":94,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":19},"01M7BERNHYGY035AR00VRT03KE","patent","Patent prior-art and landscape intelligence skill — not generic patent help. Commits to one of five sub-use-cases via forcing intake (novelty search \u002F freedom-to-operate \u002F competitive landscape \u002F acquisition diligence \u002F litigation prior-art) before any search runs. Searches Google Patents, Espacenet, USPTO, and optionally Lens.org for citation-graph signals. Output is an editable Word document (.docx) with verdict, ranked closest art (claim-text extracted), CPC-class-aware landscape, family-resolved hits, geographic coverage, FTO flags where applicable, strategy recommendations, and full audit log. Use when the user asks for patent searching or analysis (e.g., 'prior art search for [invention]', 'freedom to operate analysis for [product]'). Produces search signal, not legal advice — always recommends consulting a patent attorney before filing or licensing decisions. Trademark, copyright, and trade-secret questions are out of scope.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fpatent\u002Fskills\u002Fpatent\u002FSKILL.md",[],[],{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":94,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":19},"01M7BERCK1EAKTWW7R436WAR0J","notebooklm","Browser automation skill for controlling Google's NotebookLM. Use when the user wants anything done in NotebookLM (e.g., 'open NotebookLM', 'check my [name] notebook', 'ask my notebook about X', 'add [source] to NotebookLM', 'generate a Video Overview from my notebook', 'use NotebookLM Studio'). Handles reading and querying notebooks, adding sources (URLs, text, files, YouTube links, synthesized content), generating Studio outputs (Audio\u002FVideo Overviews, Mind Maps, Reports incl. Briefing Doc\u002FStudy Guide\u002FFAQ, Flashcards, Quiz, slide decks, infographics — discover the exact set from the live Studio panel; the UI evolves fast), and creating new notebooks. Requires browser automation environment — fails gracefully when unavailable.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fnotebooklm\u002Fskills\u002Fnotebooklm\u002FSKILL.md",[],[],{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":94,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":19},"01M7BEQZAZAQRTXFJRY7RHV3TY","litreview","Academic literature orientation skill that searches papers via free keyless APIs (PubMed E-utilities + OpenAlex) by default — with the Consensus MCP as an optional enhancement lane when connected — builds a strategic search plan using PICO (default) or SPIDER \u002F Decomposition \u002F hybrid as fallbacks, and synthesizes findings into a formatted Word (.docx) research guide. Grill-me intake (research question specificity + framework hint + tentative depth) before the recon search; a second forcing checkpoint after Phase 2 confirms framework + sub-areas + depth before searches consume budget. Configurable depth (5\u002F10\u002F20 queries) controls coverage vs. speed. Output is a 'launching pad' — an orientation guide that lets a researcher dive in confidently, not a finished review. Use when the user starts literature-oriented research (e.g., 'litreview on [topic]', 'literature review on [topic]', 'I'm starting a literature review on X', 'I'm writing a paper on X', 'help me research X', 'I'm doing research on X', 'can you help me research X'). Do NOT use for single one-off paper searches wanting a quick list — that's a plain PubMed\u002FOpenAlex (or Consensus) query.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Flitreview\u002Fskills\u002Flitreview\u002FSKILL.md",[],[],{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":94,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":19},"01M7BEQKJ45K31QK5VRAQSVJCJ","grants","NIH grant research skill for clinical researchers. Grill-me intake (research idea + career stage + preliminary data + environment + submission posture + known institute targets) locks down the funding strategy before any search runs. Runs a 5-facet Consensus positioning analysis (with draft Significance\u002FInnovation language), maps the research to the right NIH institutes and study sections via RePORTER, finds NOSIs and funded overlap, and produces an editable Word document (.docx) with budget\u002Fscope-aware mechanism recommendations, submission timelines, and a mandatory program officer recommendation. Use when the user asks about research funding or makes any grant-related request (e.g., 'grants for [topic]', 'find grants for my research idea', 'what grants match my research', 'help me find NIH funding', 'grant opportunities for my research'). NIH-only scope — non-NIH funders (PCORI, DOD CDMRP, VA, foundations) are out of scope and flagged at intake.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fgrants\u002Fskills\u002Fgrants\u002FSKILL.md",[],[]]