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

Header Content Security Policy Missing

Back
Id0765fa90-1198-4241-960b-975387ac73fa
RulenameHeader: Content Security Policy Missing
DescriptionHeader: Content Security Policy Missing
SeverityHigh
TacticsInitialAccess
TechniquesT1190
T1566
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/HeaderContentSecurityPolicyMissing.yaml
Version1.0.2
Arm template0765fa90-1198-4241-960b-975387ac73fa.json
Deploy To Azure
HackerViewLog_Azure_1_CL | where severity_s == "high" | where progress_status_s == "New" | where status_s != "inactive"  | where issue_name_s == "Header: Content Security Policy Missing"
name: 'Header: Content Security Policy Missing'
version: 1.0.2
severity: High
queryFrequency: 5m
triggerOperator: gt
suppressionEnabled: false
relevantTechniques:
- T1190
- T1566
status: Available
description: |
    'Header: Content Security Policy Missing'
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/CTM360/Analytic Rules/HeaderContentSecurityPolicyMissing.yaml
requiredDataConnectors:
- connectorId: HVPollingIDAzureFunctions
  dataTypes:
  - HackerViewLog_Azure_1_CL
entityMappings:
- fieldMappings:
  - identifier: Address
    columnName: meta_resolved_ip_s
  entityType: IP
- fieldMappings:
  - identifier: HostName
    columnName: meta_host_s
  entityType: Host
- fieldMappings:
  - identifier: Url
    columnName: hackerview_link_s
  entityType: URL
tactics:
- InitialAccess
queryPeriod: 5m
suppressionDuration: 5h
query: 'HackerViewLog_Azure_1_CL | where severity_s == "high" | where progress_status_s == "New" | where status_s != "inactive"  | where issue_name_s == "Header: Content Security Policy Missing"'
incidentConfiguration:
  createIncident: true
  groupingConfiguration:
    matchingMethod: AllEntities
    lookbackDuration: PT5H
    enabled: false
    groupByEntities: []
    reopenClosedIncident: false
    groupByAlertDetails: []
    groupByCustomDetails: []
kind: Scheduled
eventGroupingSettings:
  aggregationKind: SingleAlert
triggerThreshold: 0
id: 0765fa90-1198-4241-960b-975387ac73fa
{
  "$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/0765fa90-1198-4241-960b-975387ac73fa')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/0765fa90-1198-4241-960b-975387ac73fa')]",
      "properties": {
        "alertRuleTemplateName": "0765fa90-1198-4241-960b-975387ac73fa",
        "customDetails": null,
        "description": "'Header: Content Security Policy Missing'\n",
        "displayName": "Header: Content Security Policy Missing",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "IP",
            "fieldMappings": [
              {
                "columnName": "meta_resolved_ip_s",
                "identifier": "Address"
              }
            ]
          },
          {
            "entityType": "Host",
            "fieldMappings": [
              {
                "columnName": "meta_host_s",
                "identifier": "HostName"
              }
            ]
          },
          {
            "entityType": "URL",
            "fieldMappings": [
              {
                "columnName": "hackerview_link_s",
                "identifier": "Url"
              }
            ]
          }
        ],
        "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/HeaderContentSecurityPolicyMissing.yaml",
        "query": "HackerViewLog_Azure_1_CL | where severity_s == \"high\" | where progress_status_s == \"New\" | where status_s != \"inactive\"  | where issue_name_s == \"Header: Content Security Policy Missing\"",
        "queryFrequency": "PT5M",
        "queryPeriod": "PT5M",
        "severity": "High",
        "status": "Available",
        "subTechniques": [],
        "suppressionDuration": "PT5H",
        "suppressionEnabled": false,
        "tactics": [
          "InitialAccess"
        ],
        "techniques": [
          "T1190",
          "T1566"
        ],
        "templateVersion": "1.0.2",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 0
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}