mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Move compile_yara
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
# Copyright Security Onion Solutions LLC and/or licensed to Security Onion Solutions LLC under one
|
||||||
|
# or more contributor license agreements. Licensed under the Elastic License 2.0 as shown at
|
||||||
|
# https://securityonion.net/license; you may not use this file except in compliance with the
|
||||||
|
# Elastic License 2.0.
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import yara
|
import yara
|
||||||
import glob
|
import glob
|
||||||
@@ -14,6 +14,14 @@ strelkaconfdir:
|
|||||||
- group: 939
|
- group: 939
|
||||||
- makedirs: True
|
- makedirs: True
|
||||||
|
|
||||||
|
strelkacompileyara:
|
||||||
|
file.managed:
|
||||||
|
- name: /opt/so/conf/strelka/compile_yara.py
|
||||||
|
- source: salt://strelka/compile_yara/compile_yara.py
|
||||||
|
- user: 939
|
||||||
|
- group: 939
|
||||||
|
- makedirs: True
|
||||||
|
|
||||||
strelkarulesdir:
|
strelkarulesdir:
|
||||||
file.directory:
|
file.directory:
|
||||||
- name: /opt/so/conf/strelka/rules
|
- name: /opt/so/conf/strelka/rules
|
||||||
|
|||||||
Reference in New Issue
Block a user