Skip to content

Commit

Permalink
Merge pull request #27 from snyk/develop
Browse files Browse the repository at this point in the history
Merge develop into master for release
  • Loading branch information
maxjeffos authored Aug 28, 2020
2 parents 664bc6e + d3432de commit 4a94736
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @snyk/bizdev-engineering
* @snyk/hammer
8 changes: 8 additions & 0 deletions src/commands/scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ steps:
# install snyk
- run:
name: Download Snyk CLI
environment:
SNYK_INTEGRATION_NAME: CIRCLECI_ORB
command: |
if [[ ! -x "/usr/local/bin/snyk" ]]; then
if [[ "<<parameters.os>>" == "alpine" && "<<parameters.install-alpine-dependencies>>" == "true" ]]; then
Expand All @@ -79,11 +81,15 @@ steps:
steps:
- run:
name: "Run Snyk protect to apply patches from .snyk file"
environment:
SNYK_INTEGRATION_NAME: CIRCLECI_ORB
command: |
snyk protect <<parameters.additional-arguments>>
# snyk test
- run:
name: "Run Snyk test to scan app for vulnerabilities"
environment:
SNYK_INTEGRATION_NAME: CIRCLECI_ORB
command: >
snyk test
<<#parameters.docker-image-name>>--docker <<parameters.docker-image-name>><</parameters.docker-image-name>>
Expand All @@ -98,6 +104,8 @@ steps:
steps:
- run:
name: "Run Snyk monitor for continuous monitoring on snyk.io"
environment:
SNYK_INTEGRATION_NAME: CIRCLECI_ORB
command: >
snyk monitor
<<#parameters.docker-image-name>>--docker <<parameters.docker-image-name>><</parameters.docker-image-name>>
Expand Down

0 comments on commit 4a94736

Please sign in to comment.