Skip to content

Commit

Permalink
fix yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryosuke Tomita committed Dec 16, 2023
1 parent d928a09 commit f170cb2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/react-dependency-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,17 @@ jobs:
uses: actions/checkout@v3

- name: use trivy
uses: aquasecurity/trivy-action@v0.2.0
uses: aquasecurity/trivy-action@v0.16.0
with:
scan-type: 'fs'
exit-code: 1
scanners: 'vuln'
vuln-type: 'library'
hide-progress: true
format: table
output: 'sca-report.txt'
output: 'sca-report.sarif'
severity: CRITICAL,HIGH
- name: upload result
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: 'sca-report.sarif'
3 changes: 2 additions & 1 deletion .github/workflows/react-semgrep.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Semgrep Full Scan

# sarifファイルをアップロードするために事前にgithubのリソースに対するアクセス権を与える必用がある。
#リポジトリの設定から --> Code and automation --> Actions --> GeneralのWorkflow permissionsをRead and write permissionsに[参考画像](../../doc/fig/semgrep_upgrade_grant.png)
on:
push:
schedule:
Expand Down
Binary file added doc/fig/semgrep_upgrade_grant.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f170cb2

Please sign in to comment.