You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems the script is comparing an absolute path against a list of relative paths (although it says "$ExclusionFullPaths"), hence always False, and not taking into account the ExcludeList arg.
I added some verbosity and got such output (relative path in place of $ExclusionFullPaths):
FilePath : C:\Users\Bob\Repo\sysmon-modular\9_raw_access_read\include_general_commment.xml
ExclusionFullPaths : .\23_file_delete\exclude_google_chrome.xml .\23_file_delete\exclude_windows_services.xml .\23_file_delete\include_microsoft_sql_server.xml .\23_file_delete\include_qualys.xml .\23_file_delete\include_user_writable_folders.xml .\23_file_delete\include_writable_folders.xml
Am I missing something ?
The text was updated successfully, but these errors were encountered:
Hi,
I'm running this from powershell:
It seems that the generated file doesn't take into account the excludelist argument.
Having a quick look into the Merge-SysmonXml.ps1 file, I may have found something odd at :
sysmon-modular/Merge-SysmonXml.ps1
Line 130 in 5e5f6d9
It seems the script is comparing an absolute path against a list of relative paths (although it says "$ExclusionFullPaths"), hence always False, and not taking into account the ExcludeList arg.
I added some verbosity and got such output (relative path in place of $ExclusionFullPaths):
FilePath : C:\Users\Bob\Repo\sysmon-modular\9_raw_access_read\include_general_commment.xml
ExclusionFullPaths : .\23_file_delete\exclude_google_chrome.xml .\23_file_delete\exclude_windows_services.xml .\23_file_delete\include_microsoft_sql_server.xml .\23_file_delete\include_qualys.xml .\23_file_delete\include_user_writable_folders.xml .\23_file_delete\include_writable_folders.xml
Am I missing something ?
The text was updated successfully, but these errors were encountered: