Create include_powershell_profiles.xml #457
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Sysmon config with all modules | |
on: | |
push: | |
branches: | |
- "*" | |
pull_request: | |
branches: [ master ] | |
jobs: | |
generate-config: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Import Merge-SysmonXml.ps1 and generate config | |
run: | | |
Import-Module .\Merge-SysmonXml.ps1 | |
Merge-AllSysmonXml -Path ( Get-ChildItem '[0-9]*\*.xml') -AsString | Out-File sysmonconfig.xml | |
shell: pwsh | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: sysmonconfig | |
path: sysmonconfig.xml |