Add simple tag capability #111
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: VQL build and archive | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: Install Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install python requirements | |
run: | | |
pip install PyYAML==6.0 -q | |
pip install requests -q | |
pip install pandas -q | |
- name: Update vql | |
run: | | |
mkdir -p ./vql | |
cd ./scripts | |
python amcache.py | |
python applications.py | |
python binaryrename.py | |
python evtx.py | |
python hijacklibs.py | |
python iseautosave.py | |
python loldrivers.py | |
python mft.py | |
python namedpipes.py | |
python psreadline.py | |
python webhistory.py | |
python zoneidentifier.py | |
python starthunts.py | |
python yarawebshell.py | |
- name: Git Auto Commit | |
uses: stefanzweifel/git-auto-commit-action@v4.15.4 | |
with: | |
commit_message: AutoUpdate VQL | |
file_pattern: vql/*.yaml | |
- name: Zip Folder | |
run: zip -r DetectRaptorVQL.zip vql/*.yaml | |
- uses: ncipollo/release-action@v1 | |
with: | |
artifacts: DetectRaptorVQL.zip | |
tag: DetectRaptor | |
allowUpdates: true |