Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Felipe Costa committed May 6, 2020
1 parent c45e10b commit 4a7c12e
Showing 1 changed file with 17 additions and 22 deletions.
39 changes: 17 additions & 22 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,30 @@
name: 'Deep Security Smart Check'
description: 'Scan container images with Deep Security Smart Check.'
# inputs:
# IMAGE:
# description: Container repository, eg myorg/myimage.
# required: true
# DSSC_HOST:
# description: Deep Security Smart Check url, eg mydomain.com.
# required: true
# DSSC_USER:
# description: Deep Security Smart Check username, eg admin.
# required: true
# DSSC_PASS:
# description: Deep Security Smart Check password, eg 12345.
# required: true
# PULL_AUTH:
# description: Container registry credentials in a json format, eg {"username":"<user>","password":"<password>"} or {"aws":{"region":"us-east-1","accessKeyID":"'AWS_ACCESS_KEY_ID'","secretAccessKey":"'AWS_SECRET_ACCESS_KEY'"}}'
# required: true
inputs:
IMAGE:
description: Container repository, eg myorg/myimage.
required: true
DSSC_HOST:
description: Deep Security Smart Check url, eg mydomain.com.
required: true
DSSC_USER:
description: Deep Security Smart Check username, eg admin.
required: true
DSSC_PASS:
description: Deep Security Smart Check password, eg 12345.
required: true
PULL_AUTH:
description: Container registry credentials in a json format, eg '{"username":"<user>","password":"<password>"}' or {"aws":{"region":"us-east-1","accessKeyID":"'AWS_ACCESS_KEY_ID'","secretAccessKey":"'AWS_SECRET_ACCESS_KEY'"}}'
required: true
branding:
icon: 'check'
color: 'red'
runs:
using: "docker"
image: "docker://deepsecurity/smartcheck-scan-action:latest"
# args:
# - --image-name=${{ inputs.IMAGE }}
# - --smartcheck-host=${{ inputs.DSSC_HOST }}
# - --smartcheck-user=${{ inputs.DSSC_USER }}
# - --smartcheck-password=${{ inputs.DSSC_PASS }}
# - --image-pull-auth=${{ inputs.PULL_AUTH }}
# '{"aws":{"region":"us-east-1","accessKeyID":"'$AWS_ACCESS_KEY_ID'","secretAccessKey":"'$AWS_SECRET_ACCESS_KEY'"}}'
# 650143975734.dkr.ecr.us-east-1.amazonaws.com/djangonv

# - ${{ inputs.src }}
# - "--report_file"
# - ${{ inputs.report_file }}

0 comments on commit 4a7c12e

Please sign in to comment.