initial commit

This commit is contained in:
Eli Trop
2020-12-30 09:43:04 +02:00
commit 0d06a288d6
3 changed files with 23 additions and 0 deletions

5
Dockerfile Normal file
View File

@ -0,0 +1,5 @@
FROM checkmarx/kics:latest
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]

15
action.yml Normal file
View File

@ -0,0 +1,15 @@
# action.yml
name: 'kics Github Action'
description: 'Run kics scan against IaC projects'
inputs:
directory:
description: 'directory with infrastructure code to scan'
default: '.'
required: false
branding:
icon: 'codesandbox'
color: 'green'
runs:
using: 'docker'
image: 'Dockerfile'

3
entrypoint.sh Normal file
View File

@ -0,0 +1,3 @@
#!/bin/sh -l
./app/bin/kics -p $INPUT_DIRECTORY