-
Notifications
You must be signed in to change notification settings - Fork 3
/
action.yaml
28 lines (27 loc) · 989 Bytes
/
action.yaml
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
name: 'nodejsscan'
author: 'Ajin Abraham <[email protected]>'
description: 'njsscan finds insecure code patterns in your node.js applications.'
inputs:
args:
description: |
positional arguments:
path Path can be file(s) or directories with source code
optional arguments:
-h, --help show this help message and exit
--json set output format as JSON
--sarif set output format as SARIF 2.1.0
--sonarqube set output format compatible with SonarQube
-o OUTPUT, --output OUTPUT
output filename to save the result
--missing-controls enable missing security controls check
-w, --exit-warning non zero exit code on warning
-v, --version show njsscan version
required: true
runs:
using: docker
image: Dockerfile
args:
- ${{ inputs.args }}
branding:
icon: 'code'
color: 'green'