-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaction.yaml
36 lines (36 loc) · 893 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: 'GUAC Ingest'
description: 'Ingest files into GUAC'
branding:
icon: "shield"
color: "purple"
author: 'Kusari'
inputs:
files:
description: 'Path to directory or specific file to ingest'
required: true
api-addr:
description: 'Kusari hosted GUAC tenant api endpoint'
required: true
client-id:
description: 'Client id for auth token provider'
required: true
client-secret:
description: 'Client secret for auth token provider'
required: true
token-url:
description: 'Url for auth token provider'
required: true
default: https://auth.us.kusari.cloud/oauth2/token
outputs:
console_out:
description: 'GUAC ingestion output'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.files }}
- ${{ inputs.client-id }}
- ${{ inputs.client-secret }}
- ${{ inputs.api-addr }}
- ${{ inputs.token-url }}