forked from bridgecrewio/checkov-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
42 lines (41 loc) · 1.25 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
# action.yml
name: 'Checkov Github Action'
author: 'Chris Mavrakis'
description: 'Run Checkov against Terraform/CloudFormation infrastructure code, as a pre-packaged Github Action.'
inputs:
directory:
description: 'directory with infrastructure code to scan'
default: '.'
required: false
check:
description: 'Run scan only on a specific check identifier (comma separated)'
required: false
skip_check:
description: 'Run scan on all checks but a specific check identifier (comma separated)'
required: false
quiet:
description: 'display only failed checks'
required: false
framework:
description: 'run only on a specific infrastructure'
required: false
external_checks_dirs:
description: 'comma separated list of external (custom) checks directories'
required: false
external_checks_repos:
description: 'comma separated list of external (custom) checks repositories'
required: false
branding:
icon: 'shield'
color: 'purple'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.directory }}
- ${{ inputs.check }}
- ${{ inputs.skip_check }}
- ${{ inputs.quiet }}
- ${{ inputs.framework }}
- ${{ inputs.external_checks_dirs }}
- ${{ inputs.external_checks_repos }}