-
Notifications
You must be signed in to change notification settings - Fork 48
68 lines (59 loc) · 2.35 KB
/
run-wss-scans.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: Run WS Scans
on:
workflow_dispatch:
inputs:
path:
description: >
The path of the specific project to scan. This defaults to empty string, triggering
a scan for all projects.
default: ''
schedule:
- cron: "0 19 * * 1" # Run at 11:00 AM PST on Monday
jobs:
run-wss-scans:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@f095bcc56b7c2baf48f3ac70d6d6782f4f553222
- uses: ./.github/actions/setup-wss-env
- name: Run WS Scan - Java SecureMemory
uses: ./.github/actions/run-wss-scan
if: ${{ !github.event.inputs.path || github.event.inputs.path == 'java/secure-memory' }}
with:
path: java/secure-memory
wssProject: asherah-java-secure-memory
wssApiKey: ${{ secrets.WSS_API_KEY }}
- name: Run WS Scan - Java AppEncryption
uses: ./.github/actions/run-wss-scan
if: ${{ !github.event.inputs.path || github.event.inputs.path == 'java/app-encryption' }}
with:
path: java/app-encryption
wssProject: asherah-java-app-encryption
wssApiKey: ${{ secrets.WSS_API_KEY }}
- name: Run WS Scan - C# SecureMemory
uses: ./.github/actions/run-wss-scan
if: ${{ !github.event.inputs.path || github.event.inputs.path == 'csharp/SecureMemory' }}
with:
path: csharp/SecureMemory
wssProject: asherah-csharp-secure-memory
wssApiKey: ${{ secrets.WSS_API_KEY }}
- name: Run WS Scan - C# AppEncryption
uses: ./.github/actions/run-wss-scan
if: ${{ !github.event.inputs.path || github.event.inputs.path == 'csharp/AppEncryption' }}
with:
path: csharp/AppEncryption
wssProject: asherah-csharp-app-encryption
wssApiKey: ${{ secrets.WSS_API_KEY }}
- name: Run WS Scan - Go SecureMemory
uses: ./.github/actions/run-wss-scan
if: ${{ !github.event.inputs.path || github.event.inputs.path == 'go/securememory' }}
with:
path: go/securememory
wssProject: asherah-go-secure-memory
wssApiKey: ${{ secrets.WSS_API_KEY }}
- name: Run WS Scan - Go AppEncryption
uses: ./.github/actions/run-wss-scan
if: ${{ !github.event.inputs.path || github.event.inputs.path == 'go/appencryption' }}
with:
path: go/appencryption
wssProject: asherah-go-app-encryption
wssApiKey: ${{ secrets.WSS_API_KEY }}