-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
65 lines (65 loc) · 1.82 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
64
65
name: 'go-sec'
description: 'Run go-sec'
author: 'Conventional Actions'
inputs:
version:
required: false
description: 'version of gosec to use'
default: latest
output_path:
required: false
description: 'output file path'
default: gosec.sarif
package:
required: false
description: 'package to scan'
default: ./...
config_path:
required: false
description: 'path to config file'
confidence:
required: false
default: 'low'
description: 'filter out the issues with a lower confidence than the given value. Valid options are: low, medium, high'
exclude:
required: false
description: 'comma-separated list of rules IDs to exclude. (see rule list)'
include:
required: false
description: 'comma-separated list of rules IDs to include. (see rule list)'
exclude_generated:
required: false
default: 'true'
description: 'exclude generated files'
format:
required: false
default: 'sarif'
description: 'set output format. Valid options are: json, yaml, csv, junit-xml, html, sonarqube, golint, sarif or text'
fail_on_error:
required: false
default: 'false'
description: 'fail the scanning if issues are found'
include_tests:
required: false
default: 'false'
description: 'scan tests files'
severity:
required: false
default: 'low'
description: 'filter out the issues with a lower severity than the given value. Valid options are: low, medium, high'
tags:
required: false
description: 'comma-separated list of build tags'
exclude_path:
required: false
description: 'exclude folder from scan (can be specified multiple times)'
outputs:
output_path:
description: 'output file path'
runs:
using: 'node20'
pre: 'dist/setup/index.js'
main: 'dist/main/index.js'
branding:
icon: lock
color: purple