-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
43 lines (37 loc) · 1.18 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
name: 'Azure Compliance Checker'
description: 'Azure Compliance Testing Action using Chef Inspec, Dev-Sec and Inspec-Azure'
branding:
icon: 'alert-triangle'
color: 'orange'
inputs:
subscriptionId:
description: 'Azure Subscription ID'
required: true
clientId:
description: 'Azure Client ID'
required: true
clientSecret:
description: 'Azure Client Secret'
required: true
tenantId:
description: 'Azure Tenant ID'
required: true
compliance_test_profile_url:
description: 'Compliance test file url'
required: false
runs:
using: "composite"
steps:
- run: echo "azure_compliance_action execution started"
shell: bash
- run: ${{ github.action_path }}/app/index.sh
shell: bash
env:
INPUT_ACTION_PATH: ${{ github.action_path }}
INPUT_SUBSCRIPTIONID: ${{ inputs.subscriptionId }}
INPUT_CLIENTID: ${{ inputs.clientId }}
INPUT_TENANTID: ${{ inputs.tenantId }}
INPUT_CLIENTSECRET: ${{ inputs.clientSecret }}
INPUT_COMPLIANCE_TEST_PROFILE_URL: ${{ inputs.compliance_test_profile_url }}
- run: echo "azure_compliance_action execution completed"
shell: bash