mirror of
https://github.com/splunk/security_content
synced 2026-06-08 17:32:49 +00:00
Merge branch 'mcduck' of github.com:splunk/security_content into mcduck
This commit is contained in:
@@ -199,7 +199,7 @@ jobs:
|
||||
path: |
|
||||
content-pack-build-escu.tar.gz
|
||||
content-pack-build-ssa.tar.gz
|
||||
|
||||
|
||||
build-package:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [validate-content, build-sources]
|
||||
@@ -543,7 +543,17 @@ jobs:
|
||||
run: |
|
||||
source venv/bin/activate
|
||||
python3 contentctl.py --path . generate --product API --output dist/api
|
||||
|
||||
|
||||
- name: Generate content version and timestamp JSON
|
||||
run : |
|
||||
curl -o version-api.json https://api.github.com/repositories/162346001/releases/latest
|
||||
VERSION_VAL=$(cat version-api.json | jq '.name')
|
||||
VERSION_TS=$(cat version-api.json | jq '.published_at')
|
||||
echo "{\"version\":{\"name\":$VERSION_VAL,\"published_at\":$VERSION_TS}}" > dist/api/version.json
|
||||
echo "contents of version.json:"
|
||||
cat dist/api/version.json
|
||||
|
||||
|
||||
#Official, Verified Amazon-AWS Github Account Provided Action
|
||||
- uses: aws-actions/configure-aws-credentials@v1
|
||||
with:
|
||||
|
||||
+7
-2
@@ -244,14 +244,19 @@ GEM
|
||||
rb-fsevent (~> 0.10, >= 0.10.3)
|
||||
rb-inotify (~> 0.9, >= 0.9.10)
|
||||
mercenary (0.3.6)
|
||||
mini_portile2 (2.7.1)
|
||||
mini_portile2 (2.8.0)
|
||||
minima (2.5.1)
|
||||
jekyll (>= 3.5, < 5.0)
|
||||
jekyll-feed (~> 0.9)
|
||||
jekyll-seo-tag (~> 2.1)
|
||||
minitest (5.15.0)
|
||||
multipart-post (2.1.1)
|
||||
nokogiri (1.13.3-x86_64-linux)
|
||||
nokogiri (1.13.4)
|
||||
mini_portile2 (~> 2.8.0)
|
||||
racc (~> 1.4)
|
||||
nokogiri (1.13.4-x86_64-darwin)
|
||||
racc (~> 1.4)
|
||||
nokogiri (1.13.4-x86_64-linux)
|
||||
racc (~> 1.4)
|
||||
octokit (4.22.0)
|
||||
faraday (>= 0.9)
|
||||
|
||||
Reference in New Issue
Block a user