fix runner

This commit is contained in:
Eli Trop
2021-03-11 16:51:02 +02:00
parent a9e2c0e133
commit 9468d41aea
3 changed files with 57 additions and 36 deletions

View File

@ -1,33 +1,33 @@
# action.yml
name: 'KICS Github Action'
description: 'Run KICS scan against IaC projects'
inputs:
path:
description: 'path to file or directory to scan'
required: true
output_path:
description: 'file path to store result in json format'
required: false
payload_path:
description: 'file path to store source internal representation in JSON format'
required: false
queries:
description: 'path to directory with queries (default "./assets/queries")'
required: false
verbose:
description: 'verbose scan'
outputs:
results:
description: 'the result of KICS scan'
branding:
icon: 'shield'
color: 'green'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.path }}
- ${{ inputs.output_path }}
- ${{ inputs.payload_path }}
- ${{ inputs.queries }}
- ${{ inputs.versbose }}
# action.yml
name: 'KICS Github Action'
description: 'Run KICS scan against IaC projects'
inputs:
path:
description: 'path to file or directory to scan'
required: true
output_path:
description: 'file path to store result in json format'
required: false
payload_path:
description: 'file path to store source internal representation in JSON format'
required: false
queries:
description: 'path to directory with queries (default "./assets/queries")'
required: false
verbose:
description: 'verbose scan'
outputs:
results:
description: 'the result of KICS scan'
branding:
icon: 'shield'
color: 'green'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.path }}
- ${{ inputs.output_path }}
- ${{ inputs.payload_path }}
- ${{ inputs.queries }}
- ${{ inputs.versbose }}