This repository was archived by the owner on Apr 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
set username to '_json_key' in example (#38)
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.
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 |
---|---|---|
|
@@ -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 | ||
|
@@ -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 }} | ||
|
@@ -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 }} | ||
|
@@ -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 | ||
``` | ||
|