name: PowerShell Domain Enumeration Unit Test tests: - name: PowerShell Domain Enumeration file: endpoint/powershell_domain_enumeration.yml pass_condition: '| stats count | where count > 0' earliest_time: '-24h' latest_time: 'now' attack_data: - file_name: windows-powershell.log data: https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1059.001/powershell_script_block_logging/windows-powershell.log source: WinEventLog:Microsoft-Windows-PowerShell/Operational sourcetype: WinEventLog