From 32e8a083c1c928e130494a0708584fbab5f3d0e7 Mon Sep 17 00:00:00 2001 From: Or Sagie Date: Thu, 28 Jun 2018 11:07:05 +0300 Subject: [PATCH] fix: add --docker option to help --- help/help.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/help/help.txt b/help/help.txt index fea0316459..4c717c350e 100644 --- a/help/help.txt +++ b/help/help.txt @@ -39,6 +39,8 @@ Options: to true). Applicable to `snyk test`. --project-name= Specify a custom Snyk project name (`snyk monitor` only). + --docker ........... Test or monitor a local docker image for Linux + vulnerabilities (entitled orgs only). --insecure ......... Ignore unknown certificate authorities. --json ............. Return results in JSON format. --dry-run .......... Don't apply updates or patches during protect. @@ -56,6 +58,7 @@ Examples: $ snyk test --show-vulnerable-paths=false $ snyk monitor --org=my-team $ snyk monitor --project-name=my-project + $ snyk test --docker ubuntu:18.04 --org=my-team Pro tip: use `snyk test` in your test scripts, if a vulnerability is found, the process will exit with a non-zero exit code.