mirror of
https://github.com/splunk/security_content
synced 2026-06-08 17:32:49 +00:00
now src files should be automatically generated
This commit is contained in:
@@ -44,7 +44,22 @@ jobs:
|
||||
virtualenv --clear venv
|
||||
source venv/bin/activate
|
||||
pip install -q -r requirements.txt
|
||||
- run:
|
||||
name: run validate manifest
|
||||
command: |
|
||||
source venv/bin/activate
|
||||
python bin/validate_manifests.py
|
||||
- run:
|
||||
name: run manifest to escu
|
||||
command: |
|
||||
source venv/bin/activate
|
||||
python bin/manifest_to_escu.py
|
||||
- store_artifacts:
|
||||
path: ~/repo/src/default/analyticstories.conf
|
||||
destination: src/default/analyticstories.conf
|
||||
- store_artifacts:
|
||||
path: ~/repo/src/default/analytic_stories.conf
|
||||
destination: src/default/analytic_stories.conf
|
||||
- save_cache:
|
||||
key: deps1-{{ .Branch }}-{{ checksum "requirements.txt" }}
|
||||
paths:
|
||||
|
||||
Binary file not shown.
@@ -10,7 +10,7 @@ import re
|
||||
ALL_UUIDS = []
|
||||
|
||||
MANIFEST_DIRECTORY = "."
|
||||
OUTPUT_DIRECTORY = 'src/'
|
||||
OUTPUT_DIRECTORY = 'src/default/'
|
||||
|
||||
def markdown(x):
|
||||
markdown=str(x)
|
||||
@@ -372,7 +372,7 @@ def main():
|
||||
asconf.write("narrative = %s\n" % narrative)
|
||||
asconf.write("\n")
|
||||
|
||||
usconf = open('usage_searches.conf', 'r')
|
||||
usconf = open('src/default/usage_searches.conf', 'r')
|
||||
usage_searches = usconf.read()
|
||||
usconf.close()
|
||||
ssconf.write('####################################################################\n\n')
|
||||
|
||||
Reference in New Issue
Block a user