-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
32 lines (32 loc) · 896 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
name: "Trivy Scan Issue Reporter"
description: "Creates GitHub Issues from Trivy scan results"
author: 'Chili Piper'
branding:
icon: 'shield'
color: 'orange'
inputs:
token:
description: "GitHub token"
required: true
input-filename:
description: "Filename containing Trivy scan results, in JSON format"
required: true
label:
description: "Issue label, separated by comma"
required: false
default: "vulnerability"
assignee:
description: "Issue assignees, separated by comma"
required: false
project-id:
description: "Project ID to associate the issue with"
required: false
runs:
using: "docker"
image: "Dockerfile"
env:
GITHUB_TOKEN: ${{ inputs.token }}
INPUT_LABEL: ${{ inputs.label }}
INPUT_ASSIGNEE: ${{ inputs.assignee }}
INPUT_PROJECT_ID: ${{ inputs.project-id }}
INPUT_FILENAME: ${{ inputs.input-filename }}