-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathaction.yml
63 lines (60 loc) · 1.81 KB
/
action.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
name: 'StackHawk HawkScan Action'
description: 'Find security bugs in your application with HawkScan DAST'
author: 'Zachary Conger'
inputs:
apiKey:
description: StackHawk API key
required: true
args:
description: Arguments to be passed to the scan as a multi line option
required: false
command:
description: Command to be passed to HawkScan
default: scan
required: false
dryRun:
description: If set to `true`, show HawkScan commands, but don't run them
required: false
default: false
workspace:
description: Working directory accessed by HawkScan including configuration files
required: false
default: ${{ github.workspace }}
configurationFiles:
description: Space-separated list of HawkScan configuration files to use
required: false
default: stackhawk.yml
codeScanningAlerts:
description: If `true`, Register a Code Scanning Alert in GitHub if scan alerts exceed `hawk.failureThreshold`
required: false
default: false
githubToken:
description: GitHub Token for uploading Code Scanning Alert info - required if `codeScanningAlerts` is enabled
required: false
default: ${{ github.token }}
installCLIOnly:
description: If `true` the action will only install the CLI and not run a scan
required: false
default: false
sourceURL:
description: Source for ZIP file
required: false
default: https://download.stackhawk.com/hawk/cli
version:
description: HawkScan CLI version to use
required: false
default: latest
verbose:
description: HawkScan CLI verbose log output flag
required: false
default: false
debug:
description: HawkScan CLI debug log output flag
required: false
default: false
runs:
using: node20
main: dist/index.js
branding:
icon: 'octagon'
color: 'green'