Skip to content

Commit b014ebe

Browse files
authored
Merge pull request #12 from jmrplens/fix/dependabot-security-updates
fix(security): resolve node-forge vulnerabilities via pnpm overrides
2 parents e71947e + 7aea9cf commit b014ebe

3 files changed

Lines changed: 13 additions & 26 deletions

File tree

.github/workflows/python-app.yml

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -44,25 +44,4 @@ jobs:
4444
4545
- name: Verify graph generation
4646
run: |
47-
python generate_graphs.py
48-
49-
- name: Snyk Security Scan
50-
uses: snyk/actions/python@9adf32b1121593767fc3c057af55b55db032dc04 # master
51-
env:
52-
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
53-
continue-on-error: true
54-
with:
55-
args: --sarif-file-output=snyk.sarif
56-
57-
- name: Upload Snyk scan results to GitHub Code Scanning
58-
uses: github/codeql-action/upload-sarif@45c373516f557556c15d420e3f5e0aa3d64366bc # v3.28.5
59-
continue-on-error: true
60-
with:
61-
sarif_file: snyk.sarif
62-
63-
- name: SonarQube Scan
64-
uses: SonarSource/sonarqube-scan-action@bfd4e558cda28cda6b5defafb9232d191be8c203 # v4.2.1
65-
env:
66-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
67-
GITHUB_TOKEN: ${{ secrets.TOKEN_GH }}
68-
continue-on-error: true
47+
python generate_graphs.py

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,10 @@
22
"devDependencies": {
33
"snyk": "^1.1301.2",
44
"sonarqube-scanner": "^4.3.2"
5+
},
6+
"pnpm": {
7+
"overrides": {
8+
"node-forge": ">=1.3.2"
9+
}
510
}
611
}

pnpm-lock.yaml

Lines changed: 7 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)