Test (#1)
* add params to scan * fix typo * try silent output * add logging * fix time on logging * fix format
This commit is contained in:
23
action.yml
23
action.yml
@ -2,9 +2,20 @@
|
||||
name: 'kics Github Action'
|
||||
description: 'Run kics scan against IaC projects'
|
||||
inputs:
|
||||
directory:
|
||||
description: 'directory with IaC to scan'
|
||||
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'
|
||||
@ -13,4 +24,10 @@ branding:
|
||||
color: 'green'
|
||||
runs:
|
||||
using: 'docker'
|
||||
image: 'Dockerfile'
|
||||
image: 'Dockerfile'
|
||||
args:
|
||||
- ${{ inputs.path }}
|
||||
- ${{ inputs.output_path }}
|
||||
- ${{ inputs.payload_path }}
|
||||
- ${{ inputs.queries }}
|
||||
- ${{ inputs.versbose }}
|
Reference in New Issue
Block a user