MimecastCG
| where Type == "email_spam"
| extend SenderEnvelope = ['Sender Envelope']
incidentConfiguration:
createIncident: true
groupingConfiguration:
reopenClosedIncident: false
enabled: true
lookbackDuration: P7D
matchingMethod: AllEntities
relevantTechniques:
- T1083
description: |
'Detects threat from spam event thread protection logs.'
queryPeriod: 15m
suppressionDuration: 5h
queryFrequency: 15m
enabled: true
tactics:
- Discovery
name: Mimecast Secure Email Gateway - Spam Event Thread
suppressionEnabled: false
requiredDataConnectors:
- connectorId: MimecastSEGAPI
dataTypes:
- MimecastCG
entityMappings:
- entityType: MailMessage
fieldMappings:
- identifier: Sender
columnName: SenderEnvelope
- identifier: Recipient
columnName: Recipients
- identifier: Subject
columnName: Subject
triggerThreshold: 0
version: 1.0.0
id: 0cda82c8-e8f0-4117-896e-a10f1b43e64a
query: |
MimecastCG
| where Type == "email_spam"
| extend SenderEnvelope = ['Sender Envelope']
kind: Scheduled
status: Available
eventGroupingSettings:
aggregationKind: AlertPerResult
triggerOperator: gt
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Mimecast/Analytic Rules/MimecastSEG/MimecastCG_Spam_Event.yaml
severity: Low
{
"$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/0cda82c8-e8f0-4117-896e-a10f1b43e64a')]",
"kind": "Scheduled",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/0cda82c8-e8f0-4117-896e-a10f1b43e64a')]",
"properties": {
"alertRuleTemplateName": "0cda82c8-e8f0-4117-896e-a10f1b43e64a",
"customDetails": null,
"description": "'Detects threat from spam event thread protection logs.'\n",
"displayName": "Mimecast Secure Email Gateway - Spam Event Thread",
"enabled": true,
"entityMappings": [
{
"entityType": "MailMessage",
"fieldMappings": [
{
"columnName": "SenderEnvelope",
"identifier": "Sender"
},
{
"columnName": "Recipients",
"identifier": "Recipient"
},
{
"columnName": "Subject",
"identifier": "Subject"
}
]
}
],
"eventGroupingSettings": {
"aggregationKind": "AlertPerResult"
},
"incidentConfiguration": {
"createIncident": true,
"groupingConfiguration": {
"enabled": true,
"lookbackDuration": "P7D",
"matchingMethod": "AllEntities",
"reopenClosedIncident": false
}
},
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Mimecast/Analytic Rules/MimecastSEG/MimecastCG_Spam_Event.yaml",
"query": "MimecastCG\n| where Type == \"email_spam\"\n| extend SenderEnvelope = ['Sender Envelope'] \n",
"queryFrequency": "PT15M",
"queryPeriod": "PT15M",
"severity": "Low",
"status": "Available",
"subTechniques": [],
"suppressionDuration": "PT5H",
"suppressionEnabled": false,
"tactics": [
"Discovery"
],
"techniques": [
"T1083"
],
"templateVersion": "1.0.0",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0
},
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
}
]
}