-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
35 lines (32 loc) · 930 Bytes
/
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
name: "Conformity Template Scanner"
author: "Manu Chandrasekhar"
description: "Scans the infrastructure template using Cloud Conformity template scanner"
branding:
icon: "git-branch"
color: "red"
inputs:
template_type:
description: Type of template to scan
required: true
default: "terraform-template"
template_path:
description: Path to the template to scan
required: true
conformity_region:
description: Conformity region
required: true
default: "us-1"
conformity_api_key:
description: Conformity API key
required: true
runs:
using: "composite"
steps:
- name: Initiate scan
run: |
python "${{ github.action_path }}/main.py" \
--region ${{inputs.conformity_region}} \
--api_key ${{inputs.conformity_api_key}} \
--template_type ${{inputs.template_type}} \
--template_path ${{inputs.template_path}}
shell: bash