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

AppServices AV Scan Failure

Back
Idc2da1106-bfe4-4a63-bf14-5ab73130ccd5
RulenameAppServices AV Scan Failure
DescriptionIdentifies if an AV scan fails in Azure App Services.
SeverityInformational
KindScheduled
Query frequency1d
Query period1d
Trigger threshold1
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Detections/AzureAppServices/AVScan_Failure.yaml
Version1.0.3
Arm templatec2da1106-bfe4-4a63-bf14-5ab73130ccd5.json
Deploy To Azure
let timeframe = ago(1d);
AppServiceAntivirusScanAuditLogs
| where ScanStatus == "Failed"
| extend timestamp = TimeGenerated
kind: Scheduled
queryPeriod: 1d
description: |
    'Identifies if an AV scan fails in Azure App Services.'
id: c2da1106-bfe4-4a63-bf14-5ab73130ccd5
requiredDataConnectors: []
severity: Informational
version: 1.0.3
entityMappings:
- entityType: Host
  fieldMappings:
  - identifier: AzureID
    columnName: _ResourceId
name: AppServices AV Scan Failure
triggerOperator: gt
query: |
  let timeframe = ago(1d);
  AppServiceAntivirusScanAuditLogs
  | where ScanStatus == "Failed"
  | extend timestamp = TimeGenerated  
queryFrequency: 1d
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Detections/AzureAppServices/AVScan_Failure.yaml
metadata:
  support:
    tier: Community
  source:
    kind: Community
  author:
    name: SecurityJedi
  categories:
    domains:
    - Security - Others
    - Platform
triggerThreshold: 1
{
  "$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/c2da1106-bfe4-4a63-bf14-5ab73130ccd5')]",
      "kind": "Scheduled",
      "name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/c2da1106-bfe4-4a63-bf14-5ab73130ccd5')]",
      "properties": {
        "alertRuleTemplateName": "c2da1106-bfe4-4a63-bf14-5ab73130ccd5",
        "customDetails": null,
        "description": "'Identifies if an AV scan fails in Azure App Services.'\n",
        "displayName": "AppServices AV Scan Failure",
        "enabled": true,
        "entityMappings": [
          {
            "entityType": "Host",
            "fieldMappings": [
              {
                "columnName": "_ResourceId",
                "identifier": "AzureID"
              }
            ]
          }
        ],
        "OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Detections/AzureAppServices/AVScan_Failure.yaml",
        "query": "let timeframe = ago(1d);\nAppServiceAntivirusScanAuditLogs\n| where ScanStatus == \"Failed\"\n| extend timestamp = TimeGenerated\n",
        "queryFrequency": "P1D",
        "queryPeriod": "P1D",
        "severity": "Informational",
        "suppressionDuration": "PT1H",
        "suppressionEnabled": false,
        "templateVersion": "1.0.3",
        "triggerOperator": "GreaterThan",
        "triggerThreshold": 1
      },
      "type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
    }
  ]
}