--- # Every setting the role understands, with the value used when you say nothing. # Override in group_vars or host_vars. Do not edit this file. wef_collector_subscription_name: iac-baseline wef_collector_dir: C:\ProgramData\iac\wef # Which computers may send. The default is every member computer (DC is the # SDDL name for Domain Computers) and every domain controller (DD), which are # not members of Domain Computers and are usually the sources that matter # most. Narrow it by putting a group's SID in place of DC. wef_collector_allowed_sources_sddl: "O:NSG:BAD:P(A;;GA;;;DC)(A;;GA;;;DD)S:" # What to collect. Security and Sysmon in full; from the other logs, only the # events that answer investigation questions. Every log named here must exist # on every source. Check wecutil gr after a change for sources in error. wef_collector_selects: - { path: Security, query: "*" } - { path: Microsoft-Windows-Sysmon/Operational, query: "*" } # 7045: a new service was installed. 104: a log was cleared. - { path: System, query: "*[System[(EventID=7045 or EventID=104)]]" } # 4104: a PowerShell script block ran. - { path: Microsoft-Windows-PowerShell/Operational, query: "*[System[(EventID=4104)]]" } # 1116 and 1117: Defender found something, and what it did about it. - { path: Microsoft-Windows-Windows Defender/Operational, query: "*[System[(EventID=1116 or EventID=1117)]]" } # ForwardedEvents is small by default. The collector's own disk is the buffer # between the sources and whatever reads this log next, so size it for the # time that reader could be down. wef_collector_log_max_bytes: 4294967296