-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yaml
36 lines (34 loc) · 831 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
29
30
31
32
33
34
35
36
name: IAM SARIF Report
author: George Alton
description: Generate SARIF from AWS IAM Access Analyzer findings
branding:
icon: check-square
color: green
inputs:
policies:
description: Path to a Policy files
required: true
policy_type:
default: IDENTITY_POLICY
locale:
default: EN
resource_type:
required: false
result:
description: |-
The file where results are written.
For example, 'results/iam-sarif-report.sarif'
By default results are written to stdout.
default: "-"
runs:
using: docker
image: Dockerfile
args:
- "--policy-type ${{ inputs.policy_type }}"
- "--locale ${{ inputs.locale }}"
- "${{ inputs.policies }}"
- "--output-file ${{ inputs.result }}"
- "${{ inputs.resource_type }}"
outputs:
result:
description: The result path