let timeframe = ago(1d);
AppServiceAntivirusScanAuditLogs
| where NumberOfInfectedFiles > 0
| extend timestamp = TimeGenerated
triggerThreshold: 1
entityMappings:
- entityType: Host
fieldMappings:
- identifier: AzureID
columnName: _ResourceId
requiredDataConnectors: []
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Detections/AzureAppServices/AVScan_Infected_Files_Found.yaml
name: AppServices AV Scan with Infected Files
query: |
let timeframe = ago(1d);
AppServiceAntivirusScanAuditLogs
| where NumberOfInfectedFiles > 0
| extend timestamp = TimeGenerated
version: 1.0.3
queryPeriod: 1d
kind: Scheduled
id: 9d0295ee-cb75-4f2c-9952-e5acfbb67036
description: |
'Identifies if an AV scan finds infected files in Azure App Services.'
queryFrequency: 1d
severity: Informational
triggerOperator: gt
metadata:
source:
kind: Community
categories:
domains:
- Security - Others
- Platform
support:
tier: Community
author:
name: SecurityJedi