Files
splunk-security_content/tests/endpoint/get_domainpolicy_with_powershell_script_block.test.yml
2021-08-31 10:31:08 +02:00

12 lines
587 B
YAML

name: Get DomainPolicy with Powershell Script Block Unit Test
tests:
- name: Get DomainPolicy with Powershell Script Block
file: endpoint/get_domainpolicy_with_powershell_script_block.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/T1201/pwd_policy_discovery/windows-powershell.log
source: WinEventLog:Microsoft-Windows-PowerShell/Operational
sourcetype: WinEventLog