Microsoft Sentinel Analytic Rules
cloudbrothers.infoAzure Sentinel RepoToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

Cookies SameSite Flag Not Used

Back
Idf4a06203-66f0-4f84-8bc8-05a44161b426
RulenameCookies: SameSite Flag Not Used
DescriptionCookies: SameSite Flag Not Used
SeverityInformational
Required data connectorsHVPollingIDAzureFunctions
KindScheduled
Query frequency5m
Query period5m
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CTM360/Analytic Rules/CookiesSamesiteFlagNotUsed.yaml
Version1.0.1
Arm templatef4a06203-66f0-4f84-8bc8-05a44161b426.json
Deploy To Azure
HackerViewLog_Azure_1_CL | where severity_s == "informational" | where progress_status_s == "New" | where status_s != "inactive"  | where issue_name_s == "Cookies: SameSite Flag Not Used"
queryPeriod: 5m
suppressionEnabled: false
entityMappings:
- fieldMappings:
  - columnName: meta_resolved_ip_s
    identifier: Address
  entityType: IP
- fieldMappings:
  - columnName: hackerview_link_s
    identifier: Url
  entityType: URL
- fieldMappings:
  - columnName: meta_host_s
    identifier: HostName
  entityType: Host
id: f4a06203-66f0-4f84-8bc8-05a44161b426
name: 'Cookies: SameSite Flag Not Used'
kind: Scheduled
status: Available
description: |
    'Cookies: SameSite Flag Not Used'
version: 1.0.1
triggerOperator: gt
query: 'HackerViewLog_Azure_1_CL | where severity_s == "informational" | where progress_status_s == "New" | where status_s != "inactive"  | where issue_name_s == "Cookies: SameSite Flag Not Used"'
queryFrequency: 5m
incidentConfiguration:
  groupingConfiguration:
    lookbackDuration: PT5H
    reopenClosedIncident: false
    groupByEntities: []
    matchingMethod: AllEntities
    enabled: false
    groupByAlertDetails: []
    groupByCustomDetails: []
  createIncident: true
triggerThreshold: 0
eventGroupingSettings:
  aggregationKind: SingleAlert
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CTM360/Analytic Rules/CookiesSamesiteFlagNotUsed.yaml
requiredDataConnectors:
- dataTypes:
  - HackerViewLog_Azure_1_CL
  connectorId: HVPollingIDAzureFunctions
suppressionDuration: 5h
severity: Informational
{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "workspace": {
      "type": "String"
    }
  },
  "resources": [
    {
      "apiVersion": "2023-02-01-preview",
      "id": "[concat(resourceId('Microsoft.OperationalInsights/workspaces/providers', parameters('workspace'), 'Microsoft.SecurityInsights'),'/alertRules/f4a06203-66f0-4f84-8bc8-05a44161b426')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/f4a06203-66f0-4f84-8bc8-05a44161b426')]",
      "properties": {
        "alertRuleTemplateName": "f4a06203-66f0-4f84-8bc8-05a44161b426",
        "customDetails": null,
        "description": "'Cookies: SameSite Flag Not Used'\n",
        "displayName": "Cookies: SameSite Flag Not Used",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "IP",
            "fieldMappings": [
              {
                "columnName": "meta_resolved_ip_s",
                "identifier": "Address"
              }
            ]
          },
          {
            "entityType": "URL",
            "fieldMappings": [
              {
                "columnName": "hackerview_link_s",
                "identifier": "Url"
              }
            ]
          },
          {
            "entityType": "Host",
            "fieldMappings": [
              {
                "columnName": "meta_host_s",
                "identifier": "HostName"
              }
            ]
          }
        ],
        "eventGroupingSettings": {
          "aggregationKind": "SingleAlert"
        },
        "incidentConfiguration": {
          "createIncident": true,
          "groupingConfiguration": {
            "enabled": false,
            "groupByAlertDetails": [],
            "groupByCustomDetails": [],
            "groupByEntities": [],
            "lookbackDuration": "PT5H",
            "matchingMethod": "AllEntities",
            "reopenClosedIncident": false
          }
        },
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CTM360/Analytic Rules/CookiesSamesiteFlagNotUsed.yaml",
        "query": "HackerViewLog_Azure_1_CL | where severity_s == \"informational\" | where progress_status_s == \"New\" | where status_s != \"inactive\"  | where issue_name_s == \"Cookies: SameSite Flag Not Used\"",
        "queryFrequency": "PT5M",
        "queryPeriod": "PT5M",
        "severity": "Informational",
        "status": "Available",
        "suppressionDuration": "PT5H",
        "suppressionEnabled": false,
        "templateVersion": "1.0.1",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}