-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Felipe Costa
committed
May 6, 2020
1 parent
c45e10b
commit 4a7c12e
Showing
1 changed file
with
17 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |