Skip to content

Commit

Permalink
disable package.json scanning for harmon-stack
Browse files Browse the repository at this point in the history
  • Loading branch information
evanharmon1 committed Feb 1, 2025
1 parent ede51c9 commit cae5c1a
Showing 1 changed file with 38 additions and 36 deletions.
74 changes: 38 additions & 36 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,23 @@ jobs:
steps:
- uses: actions/checkout@v4
# Node.js dependencies scan
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "22"
cache: "npm"
- name: Install Node dependencies
run: npm ci
- name: Run Snyk for Node.js
uses: snyk/actions/node@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
command: test
args: >
--severity-threshold=high
--show-vulnerable-paths=all
# Disabled since harmon-stack doesn not build a package.json file
# - name: Setup Node.js
# uses: actions/setup-node@v4
# with:
# node-version: "22"
# cache: "npm"
# - name: Install Node dependencies
# run: npm ci
# - name: Run Snyk for Node.js
# uses: snyk/actions/node@master
# env:
# SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
# with:
# command: test
# args: >
# --severity-threshold=high
# --show-vulnerable-paths=all
# Python dependencies scan
- name: Setup Python
uses: actions/setup-python@v4
Expand All @@ -65,23 +66,24 @@ jobs:
--file=requirements.txt
--severity-threshold=high
--show-vulnerable-paths=all
sast-code:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "22"
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/node@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
command: code test
args: >
--severity-threshold=high
--json-file-output=snyk-code-test.json
# Disabled since harmon-stack doesn not build a package.json file
# sast-code:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - name: Setup Node.js
# uses: actions/setup-node@v4
# with:
# node-version: "22"
# cache: "npm"
# - name: Install dependencies
# run: npm ci
# - name: Run Snyk to check for vulnerabilities
# uses: snyk/actions/node@master
# env:
# SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
# with:
# command: code test
# args: >
# --severity-threshold=high
# --json-file-output=snyk-code-test.json

0 comments on commit cae5c1a

Please sign in to comment.