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