Files
splunk-security_content/tests/endpoint/powershell_windows_defender_exclusion_commands.test.yml
2021-11-25 12:27:39 +01:00

12 lines
587 B
YAML

name: Powershell Windows Defender Exclusion Commands Unit Test
tests:
- name: Powershell Windows Defender Exclusion Commands
file: endpoint/powershell_windows_defender_exclusion_commands.yml
pass_condition: '| stats count | where count > 0'
earliest_time: '-24h'
latest_time: 'now'
attack_data:
- file_name: powershell.log
data: https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1562.001/defender_exclusion_powershell/powershell.log
source: WinEventLog:Microsoft-Windows-PowerShell/Operational
sourcetype: WinEventLog