Files
splunk-security_content/tests/endpoint/get_domaintrust_with_powershell_script_block.test.yml
mhaag-spl 2920c25c93 fixes
2022-06-29 11:45:21 -06:00

13 lines
588 B
YAML

name: Get-DomainTrust with PowerShell Script Block Unit Test
tests:
- name: Get-DomainTrust with PowerShell Script Block
file: endpoint/get_domaintrust_with_powershell_script_block.yml
pass_condition: '| stats count | where count > 0'
earliest_time: -24h
latest_time: now
attack_data:
- file_name: domaintrust.log
data: https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1059.001/powershell_script_block_logging/domaintrust.log
source: XmlWinEventLog:Microsoft-Windows-PowerShell/Operational
sourcetype: xmlwineventlog