Commit d2bf556 1 parent 256e07c commit d2bf556 Copy full SHA for d2bf556
File tree 1 file changed +50
-0
lines changed
1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Wasp (Semgrep) - SAST Check
2
+
3
+ on :
4
+ pull_request_target :
5
+ branches :
6
+ - master
7
+
8
+ schedule :
9
+ - cron : ' 0 */24 * * *'
10
+ workflow_dispatch :
11
+
12
+ jobs :
13
+ wasp-scan :
14
+ name : Wasp scan
15
+ runs-on :
16
+ group : security-lrg
17
+ steps :
18
+ - name : Setting permission
19
+ run : sudo chown runner:runner -R .*
20
+
21
+ - name : Repository checkout
22
+ uses : actions/checkout@v4
23
+
24
+ - name : Running Wasp scan
25
+ uses : freshactions/wasp@latest
26
+ env :
27
+ WASP_LOG_LEVEL : DEBUG
28
+ WASP_SAVE_JSON : true
29
+ WASP_SAVE_HTML : true
30
+ WASP_SAVE_CSV : true
31
+ WASP_FRESHRELEASE_PR_PROJECT_KEY : ${{ vars.SECURITY_APPSEC_FRESHRELEASE_PROJECT_KEY }}
32
+ WASP_DRY_RUN : ${{ vars.SECURITY_APPSEC_WASP_DRY_RUN }}
33
+
34
+ WASP_FRESHRELEASE_URL : ${{ vars.SECURITY_APPSEC_FRESHRELEASE_URL }}
35
+ WASP_FRESHRELEASE_PR_ISSUE_TYPE : ${{ vars.SECURITY_APPSEC_FRESHRELEASE_PR_ISSUE_TYPE }}
36
+
37
+ WASP_TOKEN : ${{ secrets.SECURITY_APPSEC_WASP_TOKEN }}
38
+ WASP_FRESHRELEASE_TOKEN : ${{ secrets.SECURITY_APPSEC_FRESHRELEASE_TOKEN }}
39
+ WASP_SLACK_TOKEN : ${{ secrets.SECURITY_APPSEC_SLACK_TOKEN }}
40
+ GITHUB_TOKEN : ${{ secrets.SECURITY_APPSEC_GH_TOKEN }}
41
+
42
+ - uses : actions/upload-artifact@v4
43
+ if : always()
44
+ with :
45
+ name : Wasp scan report archive
46
+ retention-days : ${{ vars.SECURITY_APPSEC_WASP_RESULT_RETENTION_DAYS }}
47
+ path : |
48
+ wasp-report.csv
49
+ wasp-report.json
50
+ wasp-report.html
You can’t perform that action at this time.
0 commit comments