Merge pull request #186 from giomke/master-1 #465
This file contains hidden or 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 |