initial commit
This commit is contained in:
5
Dockerfile
Normal file
5
Dockerfile
Normal file
@ -0,0 +1,5 @@
|
||||
FROM checkmarx/kics:latest
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
15
action.yml
Normal file
15
action.yml
Normal 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
3
entrypoint.sh
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh -l
|
||||
|
||||
./app/bin/kics -p $INPUT_DIRECTORY
|
Reference in New Issue
Block a user