mirror of
https://github.com/splunk/security_content
synced 2026-06-08 17:32:49 +00:00
Fixed issue with github action workflow for enrich-detections
This commit is contained in:
committed by
GitHub
parent
27fd9cbe44
commit
faa286d5b2
@@ -424,16 +424,14 @@ jobs:
|
||||
run: |
|
||||
source venv/bin/activate
|
||||
python3 contentctl.py -p . docgen -o docs
|
||||
|
||||
# this step is creating some TOKEN issues while tagging a build, commenting this out for now
|
||||
|
||||
# - name: Enrich detections with TAs
|
||||
# env:
|
||||
# GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# run: |
|
||||
# source venv/bin/activate
|
||||
# python3 -m pip install -r security_content_automation/requirements.txt
|
||||
# python3 security_content_automation/enrich_detections.py
|
||||
- name: Enrich detections with TAs
|
||||
env:
|
||||
GITHUB_ACCESS_TOKEN: ${{ secrets.GIT_ACCESS_TOKEN }}
|
||||
run: |
|
||||
source venv/bin/activate
|
||||
python3 -m pip install -r security_content_automation/requirements.txt
|
||||
python3 security_content_automation/enrich_detections.py
|
||||
|
||||
- name: Update github with new docs and package bits
|
||||
run: |
|
||||
@@ -583,4 +581,4 @@ jobs:
|
||||
if [ "$API_STATUS" != "200" ]; then
|
||||
echo "Error [Security Content API status: $API_STATUS]"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user