-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
39 lines (39 loc) · 1.43 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
name : 'Zscaler IaC Scan'
description: 'Zscaler scanner to identify the vulnerabilities and violations within deployment IAC files'
author : 'Zscaler CWP'
branding:
icon: 'shield'
color: 'blue'
inputs: # user can input the name inside the name of user variable , descriptions etc
client_id :
description : 'Zscanner ClientID'
required: true
client_secret :
description : 'Zscanner Client Secret key'
required : true
region:
description: 'Zscanner Login Region'
required : true
iac_dir :
description: 'The IAC folder which needs scan'
required : false
iac_file :
description: 'The IAC file that needs to be scanned. This is applicable for single IAC file scans'
required : false
output_format:
description: 'The format of output you want the scanner to write the results to. Available formats are json/csv/yaml/sarif/txt'
required : false
fail_build :
description: 'This is needed if you just want the scanner to highlight the violations in IAC files rather than fail the workflow'
required : false
log_level :
description : 'This is to run the scanner in a specific log mode. Accepted Levels are debug/info/warn/error/panic/fatal'
required : false
outputs:
sarif_file_path:
description: 'Path for the sarif file generated on IaC scan'
scan_status:
description: 'Final status of IaC scan. Can be passed/failed/aborted'
runs:
using: 'node16'
main: 'dist/index.js'