let mediumRisk = 2;
let hr = 'HR Information';
CognniIncidents_CL
| where Severity == mediumRisk
| where informationType_s == hr
| where TimeGenerated >= ago(5h)
| extend AccountCustomEntity = userId_s
relevantTechniques:
- T1530
name: Cognni Incidents for Medium Sensitivity HR Information
requiredDataConnectors:
- dataTypes:
- CognniIncidents_CL
connectorId: CognniSentinelDataConnector
entityMappings:
- fieldMappings:
- identifier: FullName
columnName: AccountCustomEntity
entityType: Account
triggerThreshold: 0
id: 75ff4f7d-0564-4a55-8b25-a75be951cde3
tactics:
- Collection
version: 1.0.0
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Cognni/Analytic Rules/CognniMediumRiskHRIncidents.yaml
queryPeriod: 5h
kind: Scheduled
queryFrequency: 5h
severity: Medium
status: Available
description: |
'Display incidents in which medium sensitivity HR information was placed at risk by user sharing.'
query: |
let mediumRisk = 2;
let hr = 'HR Information';
CognniIncidents_CL
| where Severity == mediumRisk
| where informationType_s == hr
| where TimeGenerated >= ago(5h)
| extend AccountCustomEntity = userId_s
triggerOperator: gt
{
"$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/75ff4f7d-0564-4a55-8b25-a75be951cde3')]",
"kind": "Scheduled",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/75ff4f7d-0564-4a55-8b25-a75be951cde3')]",
"properties": {
"alertRuleTemplateName": "75ff4f7d-0564-4a55-8b25-a75be951cde3",
"customDetails": null,
"description": "'Display incidents in which medium sensitivity HR information was placed at risk by user sharing.'\n",
"displayName": "Cognni Incidents for Medium Sensitivity HR Information",
"enabled": true,
"entityMappings": [
{
"entityType": "Account",
"fieldMappings": [
{
"columnName": "AccountCustomEntity",
"identifier": "FullName"
}
]
}
],
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Cognni/Analytic Rules/CognniMediumRiskHRIncidents.yaml",
"query": "let mediumRisk = 2;\nlet hr = 'HR Information';\nCognniIncidents_CL \n| where Severity == mediumRisk\n| where informationType_s == hr\n| where TimeGenerated >= ago(5h)\n| extend AccountCustomEntity = userId_s\n",
"queryFrequency": "PT5H",
"queryPeriod": "PT5H",
"severity": "Medium",
"status": "Available",
"subTechniques": [],
"suppressionDuration": "PT1H",
"suppressionEnabled": false,
"tactics": [
"Collection"
],
"techniques": [
"T1530"
],
"templateVersion": "1.0.0",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0
},
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
}
]
}