Skip to content
This repository was archived by the owner on Apr 3, 2024. It is now read-only.

Commit

Permalink
set username to '_json_key' in example (#38)
Browse files Browse the repository at this point in the history
specify proper action
  • Loading branch information
gregt authored and GitHub Enterprise committed Oct 6, 2020
1 parent ac01fab commit 416037b
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ Smart Check.

```yml
- name: Deep Security Smart Check
uses: deepsecurity/Deep-Security-Smart-Check@version*
# Be sure to specify the latest version of smartcheck-scan-action
uses: deep-security/[email protected]
with:
# Mandatory
DSSC_IMAGE_NAME: registryhost/myimage
Expand Down Expand Up @@ -180,7 +181,8 @@ jobs:
# AWS Example:
- name: Deep Security Smart Check Scan ECR
uses: deepsecurity/Deep-Security-Smart-Check@version*
# Be sure to specify the latest version of smartcheck-scan-action
uses: deep-security/[email protected]
with:
DSSC_IMAGE_NAME: myECRrepo/myimage
DSSC_SMARTCHECK_HOST: ${{ secrets.DSSC_SMARTCHECK_HOST }}
Expand All @@ -194,7 +196,8 @@ jobs:
# Azure Example:
- name: Deep Security Smart Check Scan ACR
uses: deepsecurity/Deep-Security-Smart-Check@version*
# Be sure to specify the latest version of smartcheck-scan-action
uses: deep-security/[email protected]
with:
DSSC_IMAGE_NAME: myrepo.azurecr.io/myimage
DSSC_SMARTCHECK_HOST: ${{ secrets.DSSC_SMARTCHECK_HOST }}
Expand All @@ -205,14 +208,15 @@ jobs:
DSSC_INSECURE_SKIP_REGISTRY_TLS_VERIFY: true
- name: Cloud One Container Security Scan GCR
uses: felipecosta09/Deep-Security-Smart-Check-Scan-Action@version*
# Be sure to specify the latest version of smartcheck-scan-action
uses: deep-security/[email protected]
with:
DSSC_IMAGE_NAME: region.gcr.io/projectname/myimage
DSSC_SMARTCHECK_HOST: ${{ secrets.DSSC_SMARTCHECK_HOST }}
DSSC_SMARTCHECK_USER: ${{ secrets.DSSC_SMARTCHECK_USER }}
DSSC_SMARTCHECK_PASSWORD: ${{ secrets.DSSC_SMARTCHECK_PASSWORD }}
# You will need to generate a JSON service account key in GCP and save it as a secret
DSSC_IMAGE_PULL_AUTH: '{"username": "_json_token", "password": "${{ secrets.GCP_JSON_KEY }}"}'
DSSC_IMAGE_PULL_AUTH: '{"username": "_json_key", "password": "${{ secrets.GCP_JSON_KEY }}"}'
DSSC_FINDINGS_THRESHOLD: '{"malware": 100, "vulnerabilities": { "defcon1": 100, "critical": 100, "high": 100 }, "contents": { "defcon1": 100, "critical": 100, "high": 100 }, "checklists": { "defcon1": 100, "critical": 100, "high": 100 }}' DSSC_INSECURE_SKIP_TLS_VERIFY: true
DSSC_INSECURE_SKIP_REGISTRY_TLS_VERIFY: true
```
Expand Down

0 comments on commit 416037b

Please sign in to comment.