name: Get ADUser with PowerShell Script Block Unit Test tests: - name: Get ADUser with PowerShell Script Block file: endpoint/get_aduser_with_powershell_script_block.yml pass_condition: '| stats count | where count > 0' earliest_time: -24h latest_time: now attack_data: - file_name: aduser_powershell.log data: https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1087.002/AD_discovery/aduser_powershell.log source: XmlWinEventLog:Microsoft-Windows-PowerShell/Operational sourcetype: XmlWinEventLog