Browse Source

Add ShiftLeft scan

Frank Denis 5 năm trước cách đây
mục cha
commit
84ecd06eb8
1 tập tin đã thay đổi với 22 bổ sung0 xóa
  1. 22 0
      .github/workflows/shiftleft-analysis.yml

+ 22 - 0
.github/workflows/shiftleft-analysis.yml

@@ -0,0 +1,22 @@
+name: ShiftLeft Scan
+
+on: push
+
+jobs:
+  Scan-Build:
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@v1
+
+    - name: Perform ShiftLeft Scan
+      uses: ShiftLeftSecurity/scan-action@master
+      env:
+        WORKSPACE: ""
+        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+      with:
+        output: reports
+
+    - name: Upload report
+      uses: github/codeql-action/upload-sarif@v1
+      with:
+        sarif_file: reports