Analytic rule catalog
Pulumi Cloud - Stack deleted
Back
| Id | bc489413-747f-41c7-bfe7-0ab66ded788e |
| Rulename | Pulumi Cloud - Stack deleted |
| Description | Identifies deletion of a Pulumi stack. Stack deletion is a destructive operation that removes the stack’s infrastructure state, and may be legitimate maintenance or unauthorized activity. |
| Severity | Medium |
| Tactics | Impact |
| Techniques | T1485 |
| Required data connectors | PulumiAuditLogsDefinition |
| Kind | Scheduled |
| Query frequency | 1h |
| Query period | 1h |
| Trigger threshold | 0 |
| Trigger operator | gt |
| Source Uri | https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/PulumiCloudAuditLogs/Analytic%20Rules/StackDeletion.yaml |
| Version | 1.0.0 |
| Arm template | bc489413-747f-41c7-bfe7-0ab66ded788e.json |
PulumiAuditLogs_CL
| where Event_s == "stack-deleted"
entityMappings:
- fieldMappings:
- identifier: Name
columnName: UserLogin_s
entityType: Account
- fieldMappings:
- identifier: Address
columnName: SourceIP_s
entityType: IP
id: bc489413-747f-41c7-bfe7-0ab66ded788e
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/PulumiCloudAuditLogs/Analytic%20Rules/StackDeletion.yaml
triggerOperator: gt
tactics:
- Impact
kind: Scheduled
requiredDataConnectors:
- dataTypes:
- PulumiAuditLogs_CL
connectorId: PulumiAuditLogsDefinition
queryPeriod: 1h
severity: Medium
relevantTechniques:
- T1485
triggerThreshold: 0
version: 1.0.0
name: Pulumi Cloud - Stack deleted
status: Available
query: |
PulumiAuditLogs_CL
| where Event_s == "stack-deleted"
description: |
Identifies deletion of a Pulumi stack. Stack deletion is a destructive operation that removes the stack's infrastructure state, and may be legitimate maintenance or unauthorized activity.
queryFrequency: 1h
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"workspace": {
"type": "String"
}
},
"resources": [
{
"apiVersion": "2024-01-01-preview",
"id": "[concat(resourceId('Microsoft.OperationalInsights/workspaces/providers', parameters('workspace'), 'Microsoft.SecurityInsights'),'/alertRules/bc489413-747f-41c7-bfe7-0ab66ded788e')]",
"kind": "Scheduled",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/bc489413-747f-41c7-bfe7-0ab66ded788e')]",
"properties": {
"alertRuleTemplateName": "bc489413-747f-41c7-bfe7-0ab66ded788e",
"customDetails": null,
"description": "Identifies deletion of a Pulumi stack. Stack deletion is a destructive operation that removes the stack's infrastructure state, and may be legitimate maintenance or unauthorized activity.\n",
"displayName": "Pulumi Cloud - Stack deleted",
"enabled": true,
"entityMappings": [
{
"entityType": "Account",
"fieldMappings": [
{
"columnName": "UserLogin_s",
"identifier": "Name"
}
]
},
{
"entityType": "IP",
"fieldMappings": [
{
"columnName": "SourceIP_s",
"identifier": "Address"
}
]
}
],
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/PulumiCloudAuditLogs/Analytic%20Rules/StackDeletion.yaml",
"query": "PulumiAuditLogs_CL\n| where Event_s == \"stack-deleted\"\n",
"queryFrequency": "PT1H",
"queryPeriod": "PT1H",
"severity": "Medium",
"status": "Available",
"subTechniques": [],
"suppressionDuration": "PT1H",
"suppressionEnabled": false,
"tactics": [
"Impact"
],
"techniques": [
"T1485"
],
"templateVersion": "1.0.0",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0
},
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
}
]
}