OCILogs
| where data_eventName_s =~ 'DeleteRule'
| extend IPCustomEntity = SrcIpAddr
name: OCI - Event rule deleted
version: 1.0.1
severity: High
queryFrequency: 1h
triggerOperator: gt
relevantTechniques:
- T1070
status: Available
description: |
'Detects when event rule was deleted.'
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Oracle Cloud Infrastructure/Analytic Rules/OCIEventRuleDeleted.yaml
requiredDataConnectors:
- connectorId: OracleCloudInfrastructureLogsConnector
dataTypes:
- OCILogs
entityMappings:
- fieldMappings:
- identifier: Address
columnName: IPCustomEntity
entityType: IP
tactics:
- DefenseEvasion
queryPeriod: 1h
query: |
OCILogs
| where data_eventName_s =~ 'DeleteRule'
| extend IPCustomEntity = SrcIpAddr
kind: Scheduled
triggerThreshold: 0
id: 31b15699-0b55-4246-851e-93f9cefb6f5c
{
"$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/31b15699-0b55-4246-851e-93f9cefb6f5c')]",
"kind": "Scheduled",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/31b15699-0b55-4246-851e-93f9cefb6f5c')]",
"properties": {
"alertRuleTemplateName": "31b15699-0b55-4246-851e-93f9cefb6f5c",
"customDetails": null,
"description": "'Detects when event rule was deleted.'\n",
"displayName": "OCI - Event rule deleted",
"enabled": true,
"entityMappings": [
{
"entityType": "IP",
"fieldMappings": [
{
"columnName": "IPCustomEntity",
"identifier": "Address"
}
]
}
],
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Oracle Cloud Infrastructure/Analytic Rules/OCIEventRuleDeleted.yaml",
"query": "OCILogs\n| where data_eventName_s =~ 'DeleteRule'\n| extend IPCustomEntity = SrcIpAddr\n",
"queryFrequency": "PT1H",
"queryPeriod": "PT1H",
"severity": "High",
"status": "Available",
"subTechniques": [],
"suppressionDuration": "PT1H",
"suppressionEnabled": false,
"tactics": [
"DefenseEvasion"
],
"techniques": [
"T1070"
],
"templateVersion": "1.0.1",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0
},
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
}
]
}